Maths WorkshopMaths problems with full solutions
Exercise 615Algebra › InequalitiesM1Added 4 Nov 2026

Weighted AM-GM: how to choose the splitting

#weighted AM-GM#optimisation#equality case

Statement

  1. Let x,y>0x,y>0 with x+y=5x+y=5. Find the maximum of x2y3x^2y^3.
  2. Prove that for a,b>0a,b>0, 2a+3b≥5 a2/5b3/52a+3b\ge5\,a^{2/5}b^{3/5}.
Hint

You want AM-GM on 55 numbers whose sum is the *constraint* and whose product is the target. Split xx into 22 equal parts and yy into 33 equal parts, with the right scaling so that the equality case is reachable.

Show solutionHide solution

Solution

1. Apply AM-GM to the five numbers x2,x2,y3,y3,y3\frac x2,\frac x2,\frac y3,\frac y3,\frac y3, whose sum is x+y=5x+y=5:
(x2)2(y3)3≤(x+y5)5=1.\left(\frac x2\right)^2\left(\frac y3\right)^3\le\left(\frac{x+y}5\right)^5=1.
Hence x2y3≤4⋅27=108x^2y^3\le4\cdot27=108. Equality iff all five numbers are equal: x2=y3\frac x2=\frac y3, i.e. x=2x=2, y=3y=3. The maximum is 108108.

2. AM-GM on the five numbers a,a,b,b,ba,a,b,b,b gives
2a+3b5≥a2b35  ⟺  2a+3b≥5a2/5b3/5.\frac{2a+3b}5\ge\sqrt[5]{a^2b^3}\iff2a+3b\ge5a^{2/5}b^{3/5}.
In general, for λ∈(0,1)\lambda\in(0,1): λa+(1−λ)b≥aλb1−λ\lambda a+(1-\lambda)b\ge a^\lambda b^{1-\lambda}.

Remark. Compare with calculus: maximizing x2(5−x)3x^2(5-x)^3 by differentiation gives the same point.

Lesson. To maximize a product under a sum constraint, split the variables into equal parts proportional to their exponents.