SOLUTION: The sum of two numbers is 18. If the sum of their squares is a minimum find the numbers.

Algebra ->  Quadratic Equations and Parabolas -> SOLUTION: The sum of two numbers is 18. If the sum of their squares is a minimum find the numbers.      Log On


   



Question 132033: The sum of two numbers is 18. If the sum of their squares is a minimum find the numbers.
Answer by solver91311(24713) About Me  (Show Source):
You can put this solution on YOUR website!
x%2By=18, or put another way, y=18-x.

The sum of the two numbers squares is x%5E2%2By%5E2, but because of the first equation, can be expressed as x%5E2%2B%2818-x%29%5E2, which is a function in x.

f%28x%29=x%5E2%2B%2818-x%29%5E2

Expand the binomial:
f%28x%29=x%5E2%2B324-36x%2Bx%5E2
f%28x%29=2x%5E2-36x%2B324

Two ways to find a minimum for this function. The algebra way is to recognize that this is a convex up parabola and solve for the vertex. The calculus way is to set the first derivitive equal to zero and solve.

The x-coordinate of the vertex of a parabola in the form f%28x%29=ax%5E2%2Bbx%2Bc is found by evaluating -b%2F2a.

36%2F4=9, so the sum of squares is a minimum when x = 9 => y = 9.


Calculus method:
Take the first derivitive %28df%28x%29%29%2Fdx=4x-36
Set it equal to zero and solve
4x-36=0
4x=36
x=9, so f has a local extreme point at x = 9

Now take the second derivitive
%28d%5E2f%28x%29%29%2Fdx%5E2=4, which is positive, therefore the local extreme is a minimum. So the function is minimum when x = 9 => y = 9.

Same answer.