Module 1.5 · Algebra
Inequalities and optimization
Many AIME problems ask for "the minimum value" or "the largest possible value." Calculus is rarely the fastest route. Instead, a classical inequality gives a bound, and then you show the bound is actually reached. Both halves matter: a bound you can't achieve is not an answer.
AM-GM
The AM-GM inequality
For nonnegative reals ,
with equality exactly when .
The two-variable case is just a square being nonnegative: .
AM-GM is useful in two directions.
- Fixed product, minimize a sum. If is constant, is a constant lower bound.
- Fixed sum, maximize a product. If is constant, .
The skill is splitting terms so the equality case can happen. To maximize given , don't apply AM-GM to and . Split into two equal halves and into three equal thirds, so that the five pieces still add to a constant and can all be equal.
Cauchy-Schwarz
For reals ,
with equality when the vectors and are proportional. Geometrically it says a dot product is at most the product of the lengths. A very handy form for fractions (sometimes called Engel's form or Titu's lemma) is
Other tools
- Completing the square. A quadratic in several variables can be written as a sum of squares plus a constant. The constant is the minimum.
- The discriminant. If and are real, then are roots of , so . This turns "how large can be?" into a quadratic inequality in .
- Geometry. is the length of a segment. A sum of such lengths is a broken path, and the shortest path is a straight line.
Common mistake
Always check the equality case. For example, AM-GM gives , but if the problem requires , equality () is impossible, and the true minimum is . If your equality conditions contradict each other or the constraints, the bound is not attained.
Worked examples
Worked example: Fixed product
Find the minimum of for .
By AM-GM, , with equality when , that is, . The minimum is .
Worked example: Splitting terms
Positive reals satisfy . Find the maximum of .
Split in half: . By AM-GM on these three terms,
so . Equality needs , which with gives , , and indeed . The maximum is .
Worked example: Cauchy-Schwarz
Real numbers satisfy . Find the maximum of .
By Cauchy-Schwarz, , so . Equality needs proportional to : gives . The maximum is .
Worked example: How large can one variable be?
Real numbers satisfy and . Find the largest possible value of .
Then and . Since are real, :
So . At : and , so , which works. The maximum is .
Practice
Find the minimum value of over all positive real .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Positive real numbers satisfy . Find the maximum possible value of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Positive real numbers satisfy . Find the minimum value of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the minimum value of over positive reals .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real numbers satisfy . Find the maximum possible value of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the minimum value of over all real .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Positive reals satisfy . Find the maximum possible value of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the minimum value of over all real .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real numbers satisfy and . Find the largest possible value of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 1983 AIME, Problem 9: a minimum found by AM-GM, where you must check that the equality case is reachable.
- 2016 AIME II, Problem 15: the largest possible value of one variable, found from the equality case of Cauchy-Schwarz.
- 2024 AIME I, Problem 7: maximizing the real part of a complex expression, which reduces to maximizing .