Let P=xy3
Given, x+y=60 ⇒x=60−y
On putting this value in P=xy3, we get P=(60−y)y3 ⇒P=60y3−y4
On differentiating w.r.t. y, we ge dydP=180y2−4y3 ⇒dy2d2P=360y−12y2
For maxima, we must have dydP=0. ∴180y2−4y3=0 ⇒4y2(45−y)=0 ⇒y=0, 45
But y=0, so y=45
At y=45, (dy2d2P)y=45=360×45−12×(45)2 =16200−24300=−8100<0 ⇒P has a local maxima at y=45.
By second derivative test, y=45 is a point of local maxima of P. Thus, function xy3 is maximum when y=45 and x=60−45=15.