SOLUTION: The sum of two non-negative numbers is 30. Find the numbers if: (a) The sum of their squares is as large as possible; as small as possible (b) The square of one number plus

Algebra ->  Coordinate Systems and Linear Equations  -> Linear Equations and Systems Word Problems -> SOLUTION: The sum of two non-negative numbers is 30. Find the numbers if: (a) The sum of their squares is as large as possible; as small as possible (b) The square of one number plus      Log On


   



Question 1190186: The sum of two non-negative numbers is 30. Find the numbers if:
(a) The sum of their squares is as large as possible;
as small as possible
(b) The square of one number plus the square root of the other
number is as large as possible; as small as possible

Found 2 solutions by ikleyn, Edwin McCravy:
Answer by ikleyn(52767) About Me  (Show Source):
You can put this solution on YOUR website!
.
The sum of two non-negative numbers is 30. Find the numbers if:
(a) The sum of their squares is as large as possible; as small as possible
(b) The square of one number plus the square root of the other number is as large as possible; as small as possible
~~~~~~~~~~~~~~~~


            I will answer/solve question/problem  (a),  ONLY.


Let one number be 15+x;  then the other number is 15-x.



The sum of their squares is then

    (15+x)^2 + (15-x)^2 = (225 + 2x + x^2) + (225 - 2x + x^2) = 450 + 2x^2.



The addend 2x^2 is always non-negative and is minimal at x= 0.

The sum of the squares is as small as possible at x= 0, when the sum of the squares is 450.

This minimum is provided when both the numbers are equal to 15.



The maximum of the sum of squares is reached at x = +/-15, when x^2 is as large as possible.

Under this condition, the numbers itself are 0 and 30.

Parts (a) is solved.



Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
(a) The sum of their squares is as large as possible;
as small as possible
Let one number be x and the other be 30-x.
Let y be the sum of the squares of the two numbers.

Since they are non-negative, 

x%3E=0 and 30-x%3E=0
               -x%3E=-30
               x%3C=30

Thus the domain of the function is [0,30]

Let y = the sum of their squares  

y=x%5E2%2B%2830-x%29%5E2

Take the derivatives of both sides:

dy%2Fdx=2x%2B2%2830-x%29%28-1%29

dy%2Fdx=2x-2%2830-x%29

dy%2Fdx=2x-60%2B2x

dy%2Fdx=4x-60

Set derivative = 0 to find extremum points

4x-60=0

4x=60

x=15

The candidates for extremum values are this 15 and the endpoints
of the range, 0 and 30

We substitute 0

y=x%5E2%2B%2830-x%29%5E2
y=0%5E2%2B%2830-0%29%5E2
y=0%2B%2830%29%5E2
y=900

We substitute 30

y=30%5E2%2B%2830-30%29%5E2
y=900%2B%280%29%5E2
y=900%2B0
y=900

We substitute 15

y=15%5E2%2B%2830-15%29%5E2
y=225%2B%2815%29%5E2
y=225%2B225
y=450

So the sum of the squares, which is y, is as large as possible, 900,
when x=0 and when x=30.
The sum of the squares is as small as possible, 450,
when x=15.

----------------------------------------------------

Let y = the square of one number plus the square root of the other
number 

y=x%5E2%2Bsqrt%2830-x%29

You can do it the same way, but the going get's really tough.

It has a minimum value at approximately x = 0.0456786468
It has a maximum value at x=30

Edwin