Find the Maximum value of this function.
x 3 + y 3 − 1 2 x − 3 y + 1 6
For − 3 ≤ x , y ≤ 3 .
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.
Observe that f ( − 2 , 2 . 9 ) = 4 7 . 4 9 > 3 4 . 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 in the interval [ − 1 , 2 ] is 4, even though g ′ ( 2 ) = 0 .
The answer has been updated to 50.
I have updated the interval to allow for the endpoints, to avoid using the word supremum.
Log in to reply
Thank you Calvin for helping and Acknowledging me.
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 ) ,
Log in to reply
@Calvin Lin – Is this Explanation Good enough?!
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 and y ranges from -3 to 3. IE what is the maximum value of 3 3 + y 3 − 1 2 ∗ 3 − 3 y + 1 6 . 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.
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 !!!!!!
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".
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!!
Problem Loading...
Note Loading...
Set Loading...
( 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 ) − 1 2 x − 3 y + 1 6
Now, first we partially differentiate f(x,y) with respect to x.
d x d f ( x , y ) = d x d ( x 3 + y 3 − 1 2 x − 3 y + 1 6 ) ⇒ f x = 3 x 2 − 1 2 .......[1]
Now, we partially differentiate f(x,y) with respect to y.
d y d f ( x , y ) = d y d ( x 3 + y 3 − 1 2 x − 3 y + 1 6 ) ⇒ f y = 3 y 2 − 3 .......[2]
Now, we equate both equations [1] & [2] to zero and get these results: x = ± 2 ...........[3] y = ± 1 ...........[4]
Now, we obtain the 2 n d partial derivative of f(x,y) seperately with respect to x & y. So, f x x = 6 x .........[5] f y y = 6 y ..........[6]
Substituting the values of x and y from equations [3] & [4] in equations [5] & [6] respectively. We get,
f x x ( 2 ) = 1 2 > 0 → P o i n t o f M i n i m a f x x ( − 2 ) = − 1 2 < 0 → P o i n t o f M a x i m a
Similarly,
f y y ( 1 ) = 6 > 0 → P o i n t o f M i n i m a f y y ( − 1 ) = − 6 < 0 → P o i n t o f M a x i m a
Thus, the point of local maxima for f(x,y) is x=-2, y=-1 in agreement with the Constraint ( − 3 ≤ x , y ≤ 3 ) . 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 ) − 1 2 × ( − 2 ) − 3 × ( − 1 ) + 1 6 ⇒ f ( − 2 , − 1 ) = − 8 − 1 + 2 4 + 3 + 1 6 ⇒ f(-2,-1) = 34 → L o c a l M a x i m a
Now, lets check for the boundary points as well. f ( − 3 , − 3 ) = 7 < 3 4 f ( 3 , 3 ) = 2 5 < 3 4 f ( − 3 , 3 ) = 4 5 > 3 4 f ( 3 , − 3 ) = − 1 1 < 3 4
Now Lets check by taking one boundary point and one point that we calculated out in equations [3] & [4]. f ( 3 , 1 ) = 5 < 3 4 f ( 3 , − 1 ) = 1 0 < 3 4 f ( 2 , 3 ) = 1 7 < 3 4 f ( 2 , − 3 ) = − 1 8 < 3 4 f ( − 2 , 3 ) = 5 0 > 3 4 ⇐ ⇐ f ( − 2 , − 3 ) = 1 4 < 3 4
Therefore, point (-2,3) is the Point of Global Maxima and the Globally Maximum value of this function is 50 .