yeah i got same as you and also though the thing was messed up (confirmed after entering in calc)
also... the sum of 2 numbers is 10. find the sum of the squares is to be a minimum. can you show me how YOU do this
a+b=10 ==> a=10-b
So, let f(a,b)=a^2+b^2 - which in one dimension, is equivalently f(b)=(10-b)^2+b^2=100-20b+b^2+b^2=2(b^2-10b+50)
Now the problem is your classic min/max calc problem. However, for funsies, let's look at it from a different perspective:
We have a quadratic - and a quadratic is VERY easy to minimise. Since we have a positive quadratic, the minimum will occur at the turning point - which occurs at -b/2a=10/2=5.
So, the minimum occurs at b=5 ==> a=10-5=5, so our final answer is a=b=5. Intuitively, this also makes sense given the initial linear relationship - if we raise one, the other goes down, so we'd want to pick a point of equilibria. (if that's hard to explain, consider b=6. This implies that a must be 4 - however, if this is true, a=6 and b=4 should also satisfy, but we want one solution).