(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,
and
Thus the domain of the function is [0,30]
Let y = the sum of their squares
Take the derivatives of both sides:
Set derivative = 0 to find extremum points
The candidates for extremum values are this 15 and the endpoints
of the range, 0 and 30
We substitute 0
We substitute 30
We substitute 15
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
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