Solution Given function is x+y=35 ……(i)
y=35−x ……(i)
Consider z=x2⋅y5
From equation (i), z=x2⋅(35−x)5
Now, differentiate z with respect to x:
dxdz=x2⋅5(35−x)4⋅(−1)+(35−x)5⋅2x
dxdz=x(35−x)4[−5x+2(35−x)]
dxdz=x(35−x)4[−5x+70−2x]
dxdz=x(35−x)4[70−7x]……(ii)
Now, set dxdz=0:
x(35−x)4(70−7x)=0
Thus, x=0, 35−x=0, or 70−7x=0.
So, x=0, x=35, or x=10.
Now, x=0 is rejected because according to the question, x is a positive number.
Also, x=35 is rejected because from equation (i), y=35−35=0, but y is positive.
Therefore, x=10 is the only turning point.
Now, apply the second derivative test:
dx2d2z=7(35−x)3[6x2−120x+350]
At x=10:
dx2d2z=7(25)3[6(100)−120(10)+350]
=7(25)3[600−1200+350]=7(25)3(−250)<0
By second derivative test, z will be maximum at x=10 when y=35−10=25.
Therefore, the required numbers are 10 and 25.