You ought to get this one!!

Calculus Level 3

Find the Maximum value of this function.

x 3 + y 3 12 x 3 y + 16 x^3 + y^3 -12x -3y +16

For 3 x , y 3 -3\leq x,y \leq 3 .


The answer is 50.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Pranav Gupta
Dec 16, 2014

( This solution is performed using the "Double Differentiation Test for Maxima and Minima". There are Several other ways to solve this problem as well ) f ( x , y ) = x ( 3 ) + y ( 3 ) 12 x 3 y + 16 f(x,y)= x^(3) + y^(3) - 12x -3y + 16

Now, first we partially differentiate f(x,y) with respect to x.

d f ( x , y ) d x = d ( x 3 + y 3 12 x 3 y + 16 ) d x f x = 3 x 2 12 \frac {df(x,y)}{dx} = \frac {d (x^{3} + y^{3} - 12x -3y + 16)}{dx} \Rightarrow f_{x} = 3x^{2} -12 .......[1]

Now, we partially differentiate f(x,y) with respect to y.

d f ( x , y ) d y = d ( x 3 + y 3 12 x 3 y + 16 ) d y f y = 3 y 2 3 \frac {df(x,y)}{dy} = \frac {d (x^{3} + y^{3} - 12x -3y + 16)}{dy} \Rightarrow f_{y} = 3y^{2} - 3 .......[2]

Now, we equate both equations [1] & [2] to zero and get these results: x = ± 2 x=\pm 2 ...........[3] y = ± 1 y=\pm 1 ...........[4]

Now, we obtain the 2 n d 2^{nd} partial derivative of f(x,y) seperately with respect to x & y. So, f x x = 6 x f_{xx} = 6x .........[5] f y y = 6 y f_{yy} = 6y ..........[6]

Substituting the values of x and y from equations [3] & [4] in equations [5] & [6] respectively. We get,

f x x ( 2 ) = 12 > 0 P o i n t o f M i n i m a f_{xx}(2) = 12 >0 \rightarrow Point of Minima f x x ( 2 ) = 12 < 0 P o i n t o f M a x i m a f_{xx}(-2) = -12 <0 \rightarrow Point of Maxima

Similarly,

f y y ( 1 ) = 6 > 0 P o i n t o f M i n i m a f_{yy}(1) = 6 >0 \rightarrow Point of Minima f y y ( 1 ) = 6 < 0 P o i n t o f M a x i m a f_{yy}(-1) = -6 <0 \rightarrow Point of Maxima

Thus, the point of local maxima for f(x,y) is x=-2, y=-1 in agreement with the Constraint ( 3 x , y 3 ) ( -3\leq x,y \leq3 ) . Substing the above value of point of Maxima in f(x,y) we'll get the maximum value of the function.

f ( 2 , 1 ) = ( 2 ) ( 3 ) + ( 1 ) ( 3 ) 12 × ( 2 ) 3 × ( 1 ) + 16 \Rightarrow f(-2,-1) = (-2)^(3) + (-1)^(3) - 12\times (-2) -3\times (-1) + 16 f ( 2 , 1 ) = 8 1 + 24 + 3 + 16 \Rightarrow f(-2,-1) = -8 -1 + 24 + 3 + 16 \Rightarrow f(-2,-1) = 34 L o c a l M a x i m a \rightarrow Local Maxima

Now, lets check for the boundary points as well. f ( 3 , 3 ) = 7 < 34 f(-3,-3) = 7 <34 f ( 3 , 3 ) = 25 < 34 f(3,3) = 25 <34 f ( 3 , 3 ) = 45 > 34 f(-3,3) = 45 >34 f ( 3 , 3 ) = 11 < 34 f(3,-3) = -11 <34

Now Lets check by taking one boundary point and one point that we calculated out in equations [3] & [4]. f ( 3 , 1 ) = 5 < 34 f(3,1) = 5 <34 f ( 3 , 1 ) = 10 < 34 f(3,-1) = 10 <34 f ( 2 , 3 ) = 17 < 34 f(2,3) = 17 <34 f ( 2 , 3 ) = 18 < 34 f(2,-3) = -18 <34 f ( 2 , 3 ) = 50 > 34 f(-2,3) = 50 >34 \Leftarrow \Leftarrow f ( 2 , 3 ) = 14 < 34 f(-2,-3) = 14 <34

Therefore, point (-2,3) is the Point of Global Maxima and the Globally Maximum value of this function is 50 .

Observe that f ( 2 , 2.9 ) = 47.49 > 34 f( -2, 2.9) = 47. 49 > 34 . Hence 34 is not the maximum.

You only found the local maxima . You did not find the global maxima . This is a common mistake made, where the boundary is not checked. For example, the maximum of g ( x ) = x 2 g(x) = x^2 in the interval [ 1 , 2 ] [-1, 2 ] is 4, even though g ( 2 ) 0 g'(2) \neq 0 .

The answer has been updated to 50.
I have updated the interval to allow for the endpoints, to avoid using the word supremum.

Calvin Lin Staff - 6 years, 5 months ago

Log in to reply

Thank you Calvin for helping and Acknowledging me.

Pranav Gupta - 6 years, 5 months ago

Log in to reply

Can you add more details on how to check the boundary points? Otherwise that seems to be a "magical" step. Also, the value occurs at f ( 2 , 3 ) f ( -2, 3 ) ,

Calvin Lin Staff - 6 years, 5 months ago

Log in to reply

@Calvin Lin Is this Explanation Good enough?!

Pranav Gupta - 6 years, 5 months ago

Log in to reply

@Pranav Gupta Not quite, you cannot simply check " a few random points" on the boundary.

Instead, you need to check all of the points on the boundary. For example, apply the same analysis when x = 3 x = 3 and y ranges from -3 to 3. IE what is the maximum value of 3 3 + y 3 12 3 3 y + 16 3 ^3 + y^3 - 12*3 - 3 y + 16 . Do this for all the boundaries.

And then, check the boundaries of your boundaries, of "corner" cases that you might have missed since the derivative approach only gives us interior points.

Calvin Lin Staff - 6 years, 5 months ago

Log in to reply

@Calvin Lin We have already determined out 2 points each for x &y. All we need to check for now are the Boundary Points for the Global Maxima might at them. Other than these points, there are no others points that we are supposed to check. Why shoukd we check for all the points between -3 and 3; You are disregarding the very purpose of existence of Double Differentiation Test !!!!!!

Pranav Gupta - 6 years, 5 months ago

Log in to reply

@Pranav Gupta So, we're actually saying the same thing. However, your phrasing makes it unclear what you want / why you are doing it.

In your phrasing of "Now Lets check by taking one boundary point and one point that we calculated out in equations [3] & [4]", it is not entirely clear what you mean. This is what I meant by "check all the points on the boundary".

In your phrasing of "Now, lets check for the boundary points as well" is unclear, because you are only checking 4 corner points, which do not constitute all of the boundary. This is what I meant by "check the boundary of the boundary".

Calvin Lin Staff - 6 years, 5 months ago

Log in to reply

@Calvin Lin Oh, Yees. That's just misunderstanding of words. To what I am referring as "boundary point", you are calling them "corner points". I mean, I don't know, boundary seems more appropriate to me. Is it not? Please tell, so I would make changes!!

Pranav Gupta - 6 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...