Maximum value

Algebra Level 4

Let x x and y y be positive real numbers satisfying x + y = 1 x+y=1 , find the maximum value of 36 ( x 4 y + x y 4 ) 36(x^4y + xy^4) .


The answer is 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.

6 solutions

36 ( x 4 y + x y 4 ) = 36 x y ( x 3 + y 3 ) = 36 x y ( x + y ) ( x 2 + y 2 x y ) Note that: x + y = 1 = 36 x y ( 1 ) ( ( x + y ) 2 2 x y x y ) = 36 x y ( 1 3 x y ) = 108 ( ( x y ) 2 1 3 x y ) = 108 ( ( x y 1 6 ) 2 1 36 ) = 3 108 ( x y 1 6 ) 2 Since ( x y 1 6 ) 2 0 \begin{aligned} 36(x^4y + xy^4) & = 36xy(x^3+y^3) \\ & = 36xy(\color{#3D99F6}{x+y})(\color{#D61F06}{x^2+y^2}-xy) \quad \quad \small \color{#3D99F6}{\text{Note that: }x+y=1} \\ & = 36xy(\color{#3D99F6}{1})(\color{#D61F06}{(x+y)^2 - 2xy}-xy) \\ & = 36xy(1-3xy) \\ & = -108\left((xy)^2 - \frac13 xy \right) \\ & = -108\left(\left(xy - \frac16\right)^2 - \frac1{36} \right) \\ & = 3 -108 \color{#3D99F6}{\left(xy - \frac16\right)^2} \quad \quad \small \color{#3D99F6}{\text{Since }\left(xy - \frac16\right)^2 \ge 0} \end{aligned}

36 ( x 4 y + x y 4 ) 3 \implies 36(x^4y + xy^4) \le \boxed{3}

And equality occurs when:

x y = 1 6 x ( 1 x ) = 1 6 6 x 2 6 x + 1 = 0 x = { 1 2 + 3 6 > 0 y = 1 2 3 6 > 0 1 2 3 6 > 0 y = 1 2 + 3 6 > 0 \begin{aligned} xy & = \frac16 \\ x(1-x) & = \frac16 \\ 6x^2 - 6x + 1 & = 0 \\ \implies x & = \begin{cases} \frac12 + \frac {\sqrt{3}}6 > 0 & \implies y = \frac12 - \frac {\sqrt{3}}6 > 0 \\ \frac12 - \frac {\sqrt{3}}6 > 0 & \implies y = \frac12 + \frac {\sqrt{3}}6 > 0 \end{cases} \end{aligned}

@Dharani Chinta , I have been editing your four questions. Hope that you can learn up LaTex fast.

Chew-Seong Cheong - 5 years ago

Log in to reply

Nice solution. Typo in last line?

Mayank Chaturvedi - 5 years ago

Log in to reply

Thanks. I edited it.

Chew-Seong Cheong - 5 years ago

Nice solution sir , +1! Did it the same way!

Rishabh Tiwari - 5 years ago

You have shown that 36 ( x 4 y + x y 4 ) 3 36(x^4 y +x y^4) \leq 3 but to complete your solution you need to show this equality can occur.

Sam Bealing - 5 years ago

Log in to reply

Thanks. I have done that.

Chew-Seong Cheong - 5 years ago
Otto Bretscher
Jun 1, 2016

If we let x = 1 2 + h x=\frac{1}{2}+h and y = 1 2 h y=\frac{1}{2}-h , then 36 x y ( x 3 + y 3 ) 36xy(x^3+y^3) = 9 4 ( 1 4 h 2 ) ( 12 h 2 + 1 ) =\frac{9}{4}(1-4h^2)(12h^2+1) = 108 h 4 + 18 h 2 + 9 4 =-108h^4+18h^2+\frac{9}{4} = 3 108 ( h 2 1 12 ) 2 =3-108\left(h^2-\frac{1}{12}\right)^2 , and the maximum is 3 \boxed{3}

What motivates you to do this?

If we let x = 1 2 + h x=\frac{1}{2}+h and y = 1 2 h y=\frac{1}{2}-h

Pi Han Goh - 5 years ago

Log in to reply

It's a technique I use often : "deviation from the average"

Otto Bretscher - 5 years ago

Log in to reply

Please post some questions that can apply this "deviation from the average"

Pi Han Goh - 5 years ago

Log in to reply

@Pi Han Goh I will try to do so when I get back to the USA, in two weeks' time; right now I'm having fun in Europe

Otto Bretscher - 5 years ago

Log in to reply

@Otto Bretscher Back from Europe already?

Pi Han Goh - 4 years, 11 months ago
P C
Jun 2, 2016

The expression's equivalent to 36 x y ( 1 3 x y ) 36xy(1-3xy) Now we can use AM-GM 3 x y ( 1 3 x y ) ( 1 3 x y + 3 x y ) 2 4 = 1 4 3xy(1-3xy)\leq\frac{(1-3xy+3xy)^2}{4}=\frac{1}{4} 36 x y ( 1 3 x y ) 3 \Rightarrow 36xy(1-3xy)\leq 3 The equality happens when { x + y = 1 x y = 1 6 \begin{cases} x+y=1\\xy=\frac{1}{6}\end{cases} which implies x ; y x;y are roots of the equation X 2 X + 1 6 = 0 X^2-X+\frac{1}{6}=0 Therefore x = 3 + 3 6 ; y = 3 3 6 x=\frac{3+\sqrt{3}}{6};y=\frac{3-\sqrt{3}}{6} and vice-versa

One can avoid calculations by making substitutions .

Let x = c o s 2 ( θ ) x= cos^{2} (\theta ) , y = s i n 2 ( θ ) y=sin^{2}(\theta) .

Using trigonometry one gets

x 3 + y 3 = 1 3 x y x^{3} + y^{3}= 1-3xy .

And also maximum value of a quadratic is ( 4 a c b 2 ) / 4 a (4ac-b^{2})/4a , where a < 0 a <0 .

Now given expression turns out to be

36 × ( 3 ( x y ) 2 + x y ) 36 \times (-3(xy)^{2} + xy) .

Thus its maximum value is = 36/12=3.

Well thought ! +1!

Rishabh Tiwari - 5 years ago

But then it will be a geometry solution. Of course, one can also use Calculus.

Chew-Seong Cheong - 5 years ago

Log in to reply

So for this question, we have 3 solutions with different approaches: algebraic, geometrical and calculus. Variety!

Hung Woei Neoh - 5 years ago

Log in to reply

I actually cheated by drawing the graph first. So there is a graphical solution too. There are two x x 's where maxima occur.

Chew-Seong Cheong - 5 years ago

Log in to reply

@Chew-Seong Cheong Hmmm...isn't the graphical solution same as the calculus approach?

Anyway, I know what you mean. Sometimes, I use the more troublesome method to get a solution to a problem. After solving it, then I realize that there is a much cleaner solution to the problem. It happens

Hung Woei Neoh - 5 years ago

Log in to reply

@Hung Woei Neoh I use Excel spreadsheet to do the graph. It is very fast. Graphs have the advantage of seeing the whole domain. It can counter check your calculated answer.

Chew-Seong Cheong - 5 years ago

Log in to reply

@Chew-Seong Cheong I prefer to let Google draw my graphs XD

Hung Woei Neoh - 5 years ago

Log in to reply

@Hung Woei Neoh OK, I don't know about Google draw. I will check it out.

Chew-Seong Cheong - 5 years ago

Log in to reply

@Chew-Seong Cheong Ah, it's very convenient. Just type in the equation in the search box, and the graph pops up.

Eg. Type in: "36(-3x^4 + 6x^3 -4x^2 + x)"

Just to note that Google can only draw graphs for single variable functions

Hung Woei Neoh - 5 years ago
Hung Woei Neoh
Jun 1, 2016

With these types of questions, I always end up relying on calculus:

Let f ( x ) = 36 ( x 4 y + x y 4 ) f(x) = 36(x^4y + xy^4)

x + y = 1 y = 1 x x+y=1 \implies y = 1-x

Substitute this into f ( x ) f(x) :

f ( x ) = 36 ( x 4 ( 1 x ) + x ( 1 x ) 4 ) = 36 ( x 4 x 5 + x ( 1 4 x + 6 x 2 4 x 3 + x 4 ) ) = 36 ( x 4 x 5 + x 4 x 2 + 6 x 3 4 x 4 + x 5 ) = 36 ( 3 x 4 + 6 x 3 4 x 2 + x ) f(x) = 36\left(x^4(1-x) + x(1-x)^4\right)\\ =36\left(x^4-x^5 + x(1-4x+6x^2-4x^3+x^4)\right)\\ =36\left(x^4-x^5 + x-4x^2+6x^3-4x^4+x^5\right)\\ =36\left(-3x^4+6x^3-4x^2+x\right)

f ( x ) = 36 ( 12 x 3 + 18 x 2 8 x + 1 ) f'(x) = 36\left(-12x^3+18x^2-8x+1\right)

At maximum, minimum points, f ( x ) = 0 f'(x) = 0

36 ( 12 x 3 + 18 x 2 8 x + 1 ) = 0 12 x 3 18 x 2 + 8 x 1 = 0 12 x 3 6 x 2 12 x 2 + 6 x + 2 x 1 = 0 ( x 1 2 ) ( 12 x 2 12 x + 2 ) = 0 2 ( x 1 2 ) ( 6 x 2 6 x + 1 ) = 0 36\left(-12x^3+18x^2-8x+1\right)=0\\ 12x^3-18x^2+8x-1=0\\ 12x^3-6x^2-12x^2+6x+2x-1=0\\ \left(x-\dfrac{1}{2}\right)\left(12x^2-12x+2\right)=0\\ 2\left(x-\dfrac{1}{2}\right)\left(6x^2-6x+1\right)=0

x = 1 2 , x = 6 ± ( 6 2 ) 4 ( 6 ) ( 1 ) 2 ( 6 ) = 6 ± 12 12 = 1 2 ± 1 12 x=\dfrac{1}{2},\;x=\dfrac{6 \pm \sqrt{(6^2) - 4(6)(1)}}{2(6)} = \dfrac{6 \pm \sqrt{12}}{12} = \dfrac{1}{2} \pm \dfrac{1}{\sqrt{12}}

Next, we find out which points are maximum points with the second derivative test:

f ( x ) = 36 ( 36 x 2 + 36 x 8 ) = 144 ( 9 x 2 9 x + 2 ) f''(x) = 36\left(-36x^2+36x-8\right) = -144\left(9x^2-9x+2\right)

x = 1 2 f ( 1 2 ) = 36 > 0 x = 1 2 + 1 12 f ( 1 2 + 1 12 ) = 72 < 0 x = 1 2 1 12 f ( 1 2 1 12 ) = 72 < 0 x=\dfrac{1}{2}\implies f''\left(\dfrac{1}{2}\right) = 36 > 0\\ x=\dfrac{1}{2} + \dfrac{1}{\sqrt{12}}\implies f''\left(\dfrac{1}{2}+ \dfrac{1}{\sqrt{12}}\right) = -72 < 0\\ x=\dfrac{1}{2} - \dfrac{1}{\sqrt{12}}\implies f''\left(\dfrac{1}{2}- \dfrac{1}{\sqrt{12}}\right) = -72 < 0

We have 2 2 maximum points, and we calculate the maximum values:

x = 1 2 + 1 12 f ( 1 2 + 1 12 ) = 3 x = 1 2 1 12 f ( 1 2 1 12 ) = 3 x=\dfrac{1}{2} + \dfrac{1}{\sqrt{12}}\implies f\left(\dfrac{1}{2}+ \dfrac{1}{\sqrt{12}}\right) = 3\\ x=\dfrac{1}{2} - \dfrac{1}{\sqrt{12}}\implies f\left(\dfrac{1}{2}- \dfrac{1}{\sqrt{12}}\right) =3

Therefore, the maximum value of 36 ( x 4 y + x y 4 ) 36(x^4y + xy^4) is 3 \boxed{3}

Daniel Xiang
Feb 11, 2018

First,

x 4 y + x y 4 = x y ( x + y ) ( ( x + y ) 2 3 x y ) = x y ( 1 3 x y ) x^4y + xy^4 = xy(x+y)((x+y)^2 - 3xy)=xy(1-3xy) therefore

d ( x 4 y + x y 4 ) d ( x y ) = 1 6 x y \displaystyle\frac{\mathrm d (x^4y+xy^4)}{\mathrm d (xy)} = 1-6xy

thus x 4 y + x y 4 x^4y + xy^4 takes maximum when x y = 1 6 xy=\frac{1}{6} ,

And we get our answer 36 × 1 6 ( 1 1 2 ) = 3 36 \times \frac{1}{6}\left(1-\frac{1}{2}\right) = \boxed{3}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...