Let x , y and z be nonnegative real numbers such that x + y + z = 5 . Find the maximum value of x y 2 + y z 2 + 2 x y z .
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.
If we change the word "nonnegative" to "positive" in the problem statement, then we just need to work on the stationary point right? Okay just confirming!
The Hessian matrix of g has positive.... is indeed a maximum.
Woah, I didn't know we can do this! I thought we need to evaluate the huge gigantic expression from that matrix! Good to know!
@Sharky Kesa , is this your intended approach? I highly doubt that this problem (and many recent problems of yours) has a "calculus approach" in mind. And I believed that your approach is purely "classical inequalities", right?
Log in to reply
Indeed so, but it involved some preliminary investigation to find a 'maximum'. I believe this question is better suited as a proof-type, however, so I didn't wish to post a solution.
All we need from the Hessian is the signs of its eigenvalues; if both are positive we have a minimum, if both are negative we have a maximum. The determinant is the product, and the trace the sum, of the two eigenvalues. Thus positive determinant and negative trace makes for a maximum.
On the second line of your first dot point, I think you meant to write x=5/3, not z=5/3.
Using Lagrange multiplier method is just match this question.
First set two function
F = x + y + z = 5
G = x y 2 + y z 2 + 2 x y z
Thus , compute the method.
k ▽ F = ▽ G
⇒ k < 1 , 1 , 1 > = < y 2 + 2 y z , 2 x y + z 2 + 2 x z , 2 y z + 2 x y >
So we can get three equation plus the initial equation :
y 2 + 2 y z = k … ( 1 )
2 x y + z 2 + 2 x z = k … ( 2 )
2 y z + 2 x y = k … ( 3 )
x + y + z = 5 … ( 4 )
Start to solve these equations
By comparing (3) and (4) , we get
1 0 y − 2 y 2 = k … ( 5 )
By comparing (1) and (5) , we get
3 y + 2 z − 1 0 = 0 … ( 6 )
By comparing (4) and (6) , we get
y = 2 x
Until this step , equations are already easy to solve
So we can get two pair of solutions which are:
x = 1 , y = z = 2 , k = 1 2
Or
x= \frac {5}{3} , y = \frac {10}{3} , z=0 , k = \frac {100}{9)
By computing those three value,
G ( 1 , 2 , 2 ) = 2 0
G ( 1 . 6 6 7 , 3 . 3 3 3 , 0 ) = 1 8 . 5 1 8 5 < 2 0
So ,the maximum value of x y 2 + y z 2 + 2 x y z is
2 0
I am sorry for poor english , also , if my solution have any mistake please tell me , thanks !
The method of LM will not, in general, find extrema on the boundary of a domain. It is true that one of the solutions is in the boundary, but there could be others. For example, you have not found the minimum value of the function over this domain. This is obviously 0 , and is achieved anywhere on the boundary where y = 0 . Alternatively, if we had tried to maximise x over this domain, LM would have failed to find the maximum of 5 at ( 5 , 0 , 0 ) .
You need to check that there are no larger values on the boundary before you are done.
Log in to reply
Oh I see . I guess maybe there is a curl at (5,0,0,0) point. So we can not find the minimum by using LM just because LM is using at which function have a normal vector at the points. So how can I check there are no larger values ? Do I need to use you method ?
Log in to reply
You just have to consider the boundary cases - in this case look at x , y , z being zero separately. This is basically what I did - after that I just substituted for z to avoid using LM.
This is how I have solved it. I would like to use AM-GM inequality on the 2 x y z term. In particular it is true that:
2 x y z ≤ x ( y 2 + z 2 ) and the max is archived when y = z
2 x y z ≤ y ( x 2 + z 2 ) and the max is archived when x = z
2 x y z ≤ z ( x 2 + y 2 ) and the max is archived when x = y
But only one choice can lead to the maximum. So I rewrite the expression supposing first y = z and then x = z , x = y .
When y = z we have: x y 2 + y z 2 + 2 x y z ≤ x y 2 + y z 2 + x ( y 2 + z 2 ) = ( 5 − 2 y ) y 2 + y 3 + 2 ( 5 − 2 y ) y 2 = 1 5 y 2 − 5 y 3 . So we have to maximise the single variable function f ( y ) = 1 5 y 2 − 5 y 3 . This is straightforward: the max is equal to 2 0 when y ( = z ) = 2 .
The others case are similar. When x = z we have that the max is 5 4 1 2 5 ( 7 ( 7 ) − 1 0 ) < 2 0 and when x = y the max is 2 7 5 0 0 < 2 0 . So 2 0 is the max and it is archived when z = y = 2 and when x = 5 − 2 y = 1 .
Problem Loading...
Note Loading...
Set Loading...
If we consider f ( x , y , z ) = x y 2 + y z 2 + 2 x y z for x , y , z ≥ 0 and x + y + z = 5 , then
If we want to find other extrema, we can seek to find stationary points for the function with open domain g ( x , y ) = f ( x , y , 5 − x − y ) = y 3 + ( x − 1 0 ) y 2 + ( 2 5 − x 2 ) y x , y > 0 , x + y < 5 Since ∇ g = ( y ( y − 2 x ) 3 y 2 + 2 ( x − 1 0 ) y + 2 5 − x 2 ) and hence ∇ g = 0 in this open domain when y = 2 x and 3 y 2 + 2 ( x − 1 0 ) y + 2 5 − x 2 1 2 x 2 + 4 x ( x − 1 0 ) + 2 5 − x 2 5 ( 3 x − 5 ) ( x − 1 ) = 0 = 0 = 0 If x = 3 5 then y = 3 1 0 and then x + y = 5 , so we are not in the open domain. Thus the only stationary point of g in the open domain occurs when x = 1 , y = 2 . The Hessian matrix of g has positive determinant 2 0 and negative trace − 1 0 at ( 1 , 2 ) , and hence the stationary point at ( 1 , 2 ) is indeed a maximum.
Thus the maximum of f ( x , y , z ) for x , y , z ≥ 0 and x + y + z = 5 does not occur on the boundary of this domain (the maximum of f on the boundary is 2 7 5 0 0 ), but is 2 0 , occurring at ( 1 , 2 , 2 ) .