An inequality controls a quantity even when its exact value is inconvenient or unnecessary. A useful proof must establish three things: the operations are valid on the stated domain, each bound goes in the required direction, and any claimed equality can actually occur.

This chapter builds on the ordered-field rules in Number Systems, Algorithms, and Recursion and the notation in Finite Sums and Summation Techniques. We work with real numbers and finite sums unless otherwise stated. Loh’s inequality notes provide a compact companion list of the classical results [1][1] P. S. Loh, “6. Inequalities,” 2023. Carnegie Mellon University, Putnam Seminar, Fall 2023; classical inequalities. https://www.math.cmu.edu/~ploh/docs/math/2023-295/06-inequalities.pdf.

Transform an inequality without changing its meaning

To prove A≥BA\ge B, it is often enough to show A−B≥0A-B\ge0. But moving between expressions requires conditions. For real a,ba,b and a positive integer nn, keep the following rules explicit.

OperationCondition and effect
Add the same numberPreserves order on all of R\mathbb R
Multiply or divide by ccPreserves order if c>0c>0; reverses it if c<0c<0; division is undefined at c=0c=0
Take reciprocalsReverses order on each of (−∞,0)(-\infty,0) and (0,∞)(0,\infty) separately
Raise to an odd powerPreserves strict order on all of R\mathbb R
Raise to an even powerPreserves order on [0,∞)[0,\infty); reverses it on (−∞,0](-\infty,0]
Take a positive integer rootPreserves order on its real domain; an even root requires a nonnegative input

For example, −1>−2-1>-2 but (−1)2<(−2)2(-1)^2<(-2)^2. Also, −1<2-1<2 does not imply 1/(−1)>1/21/(-1)>1/2: the reciprocal rule cannot cross zero. If a,b≥0a,b\ge0, then a≤ba\le b is equivalent to a2≤b2a^2\le b^2; without that restriction, squaring can lose sign information.

Absolute-value bounds translate into intervals. For r≥0r\ge0,

∣x∣≤r⟺−r≤x≤r.|x|\le r\quad\Longleftrightarrow\quad -r\le x\le r.

The strict version ∣x∣<r|x|<r gives the open interval (−r,r)(-r,r) for r>0r>0. If r<0r<0, ∣x∣≤r|x|\le r has no real solution. Check these boundary cases before applying a general-looking rule.

Solve inequalities by signs and intervals

For a genuine quadratic q(x)=ax2+bx+cq(x)=ax^2+bx+c, assume a≠0a\ne0 and let Δ=b2−4ac\Delta=b^2-4ac. If a>0a>0, the sign pattern is:

DiscriminantSign of the quadratic
Δ>0\Delta>0, roots r1<r2r_1<r_2Positive outside the roots; negative between them; zero at the roots
Δ=0\Delta=0, root rrPositive except at rr, where it is zero
Δ<0\Delta<0Positive everywhere

If a<0a<0, apply the table to −q-q and reverse signs. If a=0a=0, solve the resulting linear or constant inequality instead. For a non-strict inequality, include zeros where appropriate.

For example,

4x2+6x+2=2(2x+1)(x+1).4x^2+6x+2=2(2x+1)(x+1).

The roots are −1-1 and −1/2-1/2, and the leading coefficient is positive. Therefore 4x2+6x+2<04x^2+6x+2<0 has solution (−1,−1/2)(-1,-1/2). Testing x=−3/4x=-3/4 inside the interval gives a negative value, which is a useful check on the selected region.

View the three quadratic sign patterns

Quadratics with two distinct roots, one repeated root, and no real roots. The leading coefficients in these examples are positive.

The picture supports the sign table; the factorization or completed square gives the algebraic justification. Endpoints belong to a solution only if the inequality permits equality.

For rational expressions, denominator zeros are excluded even if cancellation seems possible. To solve

x−1x+2≥0,\frac{x-1}{x+2}\ge0,

split the number line at −2-2 and 11. The quotient is positive on (−∞,−2)(-\infty,-2) and (1,∞)(1,\infty), negative on (−2,1)(-2,1), and zero at 11. Thus the solution is (−∞,−2)∪[1,∞)(-\infty,-2)\cup[1,\infty). Multiplying by x+2x+2 without first determining its sign would miss this structure.

Absolute values and the triangle inequality

TheoremTriangle inequality

For all real a,ba,b,

∣a+b∣≤∣a∣+∣b∣.|a+b|\le|a|+|b|.

Equality holds exactly when ab≥0ab\ge0, including the cases where either number is zero.

Proof

Both sides are nonnegative, so comparing their squares is equivalent. Their squared difference is

(∣a∣+∣b∣)2−∣a+b∣2=2(∣ab∣−ab)≥0.\begin{aligned} &(|a|+|b|)^2-|a+b|^2\\ &\quad=2(|ab|-ab)\ge0. \end{aligned}

It vanishes exactly when ab≥0ab\ge0.

In distance language, a direct journey is no longer than a journey through an intermediate point:

∣a−c∣≤∣a−b∣+∣b−c∣.|a-c|\le|a-b|+|b-c|.

Apply the theorem to (a−b)+(b−c)(a-b)+(b-c). Equality holds exactly when bb lies between aa and cc, endpoints included.

TheoremReverse triangle inequality

For real a,ba,b,

∣∣a∣−∣b∣∣≤∣a−b∣.\bigl||a|-|b|\bigr|\le|a-b|.

Equality holds exactly when ab≥0ab\ge0.

Proof

Writing a=(a−b)+ba=(a-b)+b gives ∣a∣−∣b∣≤∣a−b∣|a|-|b|\le|a-b|. Interchanging a,ba,b gives the other direction, so the absolute difference is bounded. For the equality condition, compare the squares of ∣a−b∣|a-b| and ∣∣a∣−∣b∣∣\bigl||a|-|b|\bigr|; their difference is 2(∣ab∣−ab)2(|ab|-ab).

The reverse inequality says that changing a real input by at most δ\delta changes its absolute value by at most δ\delta. This is useful for error estimates and later for distances and complex moduli.

For a finite sequence of real terms,

∣∑i=1nxi∣≤∑i=1n∣xi∣.\left|\sum_{i=1}^{n}x_i\right|\le\sum_{i=1}^{n}|x_i|.

Repeated application of the two-term inequality, or induction on nn, proves this. It includes the three-term version; for n=0n=0, both empty sums are zero. Equality holds precisely when the nonzero terms all have the same sign: otherwise the positive and negative totals cancel partially.

Arithmetic and geometric means

TheoremTwo-term AM-GM

For a,b≥0a,b\ge0,

ab≤a+b2,\sqrt{ab}\le\frac{a+b}{2},

with equality exactly when a=ba=b.

Proof

The inequality (a−b)2≥0(\sqrt a-\sqrt b)^2\ge0 gives a+b≥2aba+b\ge2\sqrt{ab}, and the square vanishes exactly when a=ba=b.

A related identity applies to all real a,ba,b, with no positivity assumption:

a2+b2−2ab=(a−b)2≥0.a^2+b^2-2ab=(a-b)^2\ge0.

This is often the quickest way to create a bound from a difference of expressions.

TheoremFinite AM-GM

For n≥1n\ge1 and nonnegative x1,…,xnx_1,\ldots,x_n,

(∏i=1nxi)1/n≤1n∑i=1nxi.\left(\prod_{i=1}^{n}x_i\right)^{1/n} \le\frac1n\sum_{i=1}^{n}x_i.

Equality holds exactly when all xix_i are equal.

Proof by doubling and then descending
Proof

First suppose all terms are positive. The two-term result is already known. If AM-GM holds for mm terms, split 2m2m terms into equal-sized groups with arithmetic means A,BA,B. Each group’s product is at most the mmth power of its mean, and AB≤((A+B)/2)2AB\le((A+B)/2)^2. Multiplying proves the result for 2m2m terms. Starting at one term gives every power-of-two case.

Next suppose the result holds for m+1m+1 terms. Given mm positive terms with mean MM, append the extra term MM. The new mean is still MM, so

x1⋯xmM≤Mm+1.x_1\cdots x_m M\le M^{m+1}.

Cancel positive MM to obtain the mm-term result. For any desired nn, start with a power of two at least nn and descend finitely many times. Equality in the doubling argument requires equal entries within each group and equal group means; descending retains exactly the all-equal case.

Finally, if some terms are zero, the product is zero. Equality then holds only if the arithmetic mean is also zero, which for nonnegative terms means all terms are zero.

The harmonic-to-quadratic mean chain

For positive x1,…,xnx_1,\ldots,x_n, define

H=n∑i=1n1/xi,H=\frac{n}{\sum_{i=1}^{n}1/x_i}, G=(∏i=1nxi)1/n,G=\left(\prod_{i=1}^{n}x_i\right)^{1/n}, A=1n∑i=1nxi,A=\frac1n\sum_{i=1}^{n}x_i, Q=1n∑i=1nxi2.Q=\sqrt{\frac1n\sum_{i=1}^{n}x_i^2}.

Then

0<H≤G≤A≤Q.0<H\le G\le A\le Q.

The middle inequality is AM-GM. Applying AM-GM to the reciprocals and then taking reciprocals gives H≤GH\le G. For the last inequality,

Q2−A2=1n∑i=1n(xi−A)2≥0.Q^2-A^2=\frac1n\sum_{i=1}^{n}(x_i-A)^2\ge0.

Taking nonnegative square roots proves A≤QA\le Q. Equality in any of the three comparisons holds exactly when all inputs are equal. Strict positivity is needed for the harmonic mean; the other three means still make sense for nonnegative inputs.

For two equal-distance trips at positive speeds v1,v2v_1,v_2, average speed is total distance divided by total time, giving

vavg=21/v1+1/v2.v_{\mathrm{avg}}=\frac{2}{1/v_1+1/v_2}.

At 6060 and 4040 km/h, this is 4848 km/h. Equal times instead give the arithmetic mean, 5050 km/h. The averaging rule depends on what is held equal.

Exploration: what the mean surfaces show

For nonnegative x1,x2x_1,x_2, compare the surfaces z=(x1+x2)/2z=(x_1+x_2)/2 and z=x1x2z=\sqrt{x_1x_2}.

The arithmetic-mean plane and geometric-mean surface meet along the equal-input line.

The AM-GM proof shows which surface lies above the other. Equality occurs along (x1,x2,z)=(t,t,t)(x_1,x_2,z)=(t,t,t) for t≥0t\ge0. Fixing x2=cx_2=c gives a vertical slice, not a horizontal one. Its two curves meet at (x1,z)=(c,c)(x_1,z)=(c,c).

The arithmetic and geometric means as functions of the first input with the second input fixed at five.

Thus changing the fixed second input from 55 to 1010 moves the intersection to (10,10)(10,10) in that slice. For c=0c=0, the geometric mean is zero and equality occurs only at x1=0x_1=0. A projected front view of a surface is not, by itself, the same construction as taking a slice.

Cauchy-Schwarz controls a sum of products

For real vectors a=(a1,…,an)a=(a_1,\ldots,a_n) and b=(b1,…,bn)b=(b_1,\ldots,b_n), write

A=∑i=1nai2,B=∑i=1nbi2,C=∑i=1naibi.\begin{aligned} A&=\sum_{i=1}^{n}a_i^2,\\ B&=\sum_{i=1}^{n}b_i^2,\\ C&=\sum_{i=1}^{n}a_i b_i. \end{aligned}
TheoremCauchy-Schwarz

For n≥1n\ge1, C2≤ABC^2\le AB. Equivalently,

∣∑i=1naibi∣≤∑i=1nai2∑i=1nbi2.\left|\sum_{i=1}^{n}a_i b_i\right| \le\sqrt{\sum_{i=1}^{n}a_i^2}\sqrt{\sum_{i=1}^{n}b_i^2}.

Equality holds when one vector is zero, or when the two nonzero vectors are real scalar multiples of one another.

Proof

The Lagrange identity proved in Finite Sums states that

AB−C2=∑1≤i<j≤n(aibj−ajbi)2.AB-C^2=\sum_{1\le i<j\le n}(a_i b_j-a_j b_i)^2.

The right side is nonnegative. It vanishes exactly when every aibj=ajbia_i b_j=a_j b_i. If b≠0b\ne0, choose a coordinate jj with bj≠0b_j\ne0; then every ai=(aj/bj)bia_i=(a_j/b_j)b_i. If b=0b=0, equality holds for every aa. This handles zero coordinates without dividing by all of them.

For n=2n=2, the difference is the single square (a1b2−a2b1)2(a_1b_2-a_2b_1)^2. For n=3n=3, it is the sum over the three coordinate pairs. These are special cases of the same theorem, rather than separate geometric assumptions about dimensions.

An independent proof using a nonnegative quadratic
Proof

If B=0B=0, then b=0b=0 and the assertion holds. Otherwise, for every real tt,

0≤∑i=1n(ai−tbi)2=A−2tC+t2B.\begin{aligned} 0&\le\sum_{i=1}^{n}(a_i-tb_i)^2\\ &=A-2tC+t^2B. \end{aligned}

Choose t=C/Bt=C/B. The right side becomes A−C2/BA-C^2/B, proving C2≤ABC^2\le AB. Equality holds exactly when all ai−tbia_i-tb_i vanish. Equivalently, this quadratic has nonpositive discriminant; the leading coefficient must first be known to be positive.

Inner product, length, and the correct triangle connection

The dot product is a⋅b=Ca\cdot b=C, and the Euclidean norm is ∥a∥2=A\|a\|_2=\sqrt A. Cauchy-Schwarz becomes

∣a⋅b∣≤∥a∥2∥b∥2.|a\cdot b|\le\|a\|_2\|b\|_2.

In the plane or three-dimensional space, when both vectors are nonzero, their angle satisfies a⋅b=∥a∥2∥b∥2cos⁡θa\cdot b=\|a\|_2\|b\|_2\cos\theta. The dot product is not the cosine itself. Equality in the absolute-value bound allows the same or opposite direction; if a vector is zero, the angle is undefined but the inequality still holds with equality.

To derive the Euclidean triangle inequality, expand the squared norm and bound the cross term:

∥a+b∥22=A+B+2C≤A+B+2AB=(A+B)2.\begin{aligned} \|a+b\|_2^2&=A+B+2C\\ &\le A+B+2\sqrt{AB}\\ &=(\sqrt A+\sqrt B)^2. \end{aligned}

Taking square roots gives ∥a+b∥2≤∥a∥2+∥b∥2\|a+b\|_2\le\|a\|_2+\|b\|_2, the p=2p=2 Minkowski inequality. Equality requires one vector to be zero or the nonzero vectors to point in the same direction. Setting unused coordinates to zero now recovers the scalar triangle inequality. The expansion is essential; specializing Cauchy-Schwarz alone does not produce it.

A useful form for positive denominators

For real uiu_i and positive viv_i,

∑i=1nui2vi≥(∑i=1nui)2∑i=1nvi.\sum_{i=1}^{n}\frac{u_i^2}{v_i} \ge\frac{(\sum_{i=1}^{n}u_i)^2}{\sum_{i=1}^{n}v_i}.

Apply Cauchy-Schwarz to the entries ui/viu_i/\sqrt{v_i} and vi\sqrt{v_i}, then divide by the positive sum of denominators. Equality holds exactly when every ratio ui/viu_i/v_i has the same value. This form is often called Engel’s form of Cauchy-Schwarz.

For positive xix_i, putting ui=1u_i=1, vi=xiv_i=x_i yields

∑i=1n1xi≥n2∑i=1nxi,\sum_{i=1}^{n}\frac1{x_i}\ge\frac{n^2}{\sum_{i=1}^{n}x_i},

with equality exactly when all xix_i are equal.

Rearrangement: improve a pairing by swapping

Let n≥1n\ge1. Suppose a1≤⋯≤ana_1\le\cdots\le a_n and b1≤⋯≤bnb_1\le\cdots\le b_n are real; positivity is not required. Let σ\sigma be a permutation and put

Sσ=∑i=1naibσ(i).S_\sigma=\sum_{i=1}^{n}a_i b_{\sigma(i)}.
TheoremRearrangement inequality

Pairing in opposite order minimizes the sum, while pairing in the same order maximizes it:

∑i=1naibn+1−i≤Sσ≤∑i=1naibi.\sum_{i=1}^{n}a_i b_{n+1-i} \le S_\sigma\le\sum_{i=1}^{n}a_i b_i.
Proof

Suppose i<ji<j but the assigned values satisfy bσ(i)>bσ(j)b_{\sigma(i)}>b_{\sigma(j)}. Swapping these two assignments changes the sum by

(aj−ai)(bσ(i)−bσ(j))≥0.(a_j-a_i)(b_{\sigma(i)}-b_{\sigma(j)})\ge0.

Repeatedly removing adjacent inversions sorts the assigned bb values and reaches the same-order pairing, without decreasing the sum. Sorting in the opposite direction instead removes same-direction pairs without increasing the sum, giving the minimum.

Equality in the upper bound means there is no pair with ai<aja_i<a_j but bσ(i)>bσ(j)b_{\sigma(i)}>b_{\sigma(j)}; equality in the lower bound means there is no pair with ai<aja_i<a_j and bσ(i)<bσ(j)b_{\sigma(i)}<b_{\sigma(j)}. Ties allow zero-cost swaps. If both original sequences are strictly increasing, only the same-order permutation maximizes and only the reverse-order permutation minimizes. Equality does not generally require all entries to be identical.

For denominations 10,20,50,10010,20,50,100 and quantities 2,3,4,52,3,4,5, the maximum total is 780780, from the same-order pairing; the minimum is 480480, from opposite order. Both are attained by explicit assignments.

Chebyshev’s sum inequality

For n≥1n\ge1, if two real sequences are sorted in the same direction, then

1n∑i=1naibi≥(1n∑i=1nai)(1n∑i=1nbi).\frac1n\sum_{i=1}^{n}a_i b_i \ge\left(\frac1n\sum_{i=1}^{n}a_i\right) \left(\frac1n\sum_{i=1}^{n}b_i\right).

For opposite directions, reverse the inequality. The identity behind both statements is

n∑i=1naibi−(∑i=1nai)(∑i=1nbi)=∑i<j(ai−aj)(bi−bj).\begin{aligned} &n\sum_{i=1}^{n}a_i b_i -\left(\sum_{i=1}^{n}a_i\right)\left(\sum_{i=1}^{n}b_i\right)\\ &\quad=\sum_{i<j}(a_i-a_j)(b_i-b_j). \end{aligned}

Expand the right side to verify it. Same-order pairs have nonnegative products; opposite-order pairs have nonpositive products. Equality holds exactly when at least one sequence is constant: if both are nonconstant and similarly ordered, their first and last entries already give a strictly positive term. The opposite-order argument is analogous.

This is a result about sums of ordered sequences. It is distinct from the probability inequality that bounds tail probabilities using variance. Loh’s earlier handout lists the sum inequality alongside rearrangement [2][2] P. S. Loh, “II. Inequalities,” 2003. June 18, 2003; notes on norms, rearrangement, and Chebyshev's sum inequality. https://www.math.cmu.edu/~ploh/docs/math/2-inequalities-solns.pdf.

Choose a method and check equality

Shape of the problemA useful first attempt
A difference of quadratic expressionsComplete squares or factor the difference
A product with a fixed sumAM-GM, with nonnegative inputs
Absolute values or accumulated errorsTriangle or reverse triangle inequality
A sum of productsCauchy-Schwarz
Squared numerators over positive denominatorsEngel’s form
A pairing that can be permutedRearrangement

If scaling every variable by t>0t>0 multiplies both sides by the same factor tdt^d, the inequality is homogeneous of degree dd. This permits normalization: for positive variables with sum ss, dividing every variable by ss gives an equivalent sum-one problem. Check that the transformation preserves the desired inequality. Equality conditions suggest where an optimum might occur, but a lower or upper bound becomes an attained minimum or maximum only after an admissible equality case is exhibited.

Exercises

ExerciseSupply the missing sign conditions

For real variables, assess the implications a>b⇒a/c>b/ca>b\Rightarrow a/c>b/c, ac<bc⇒a<bac<bc\Rightarrow a<b, a<b⇒1/a>1/ba<b\Rightarrow1/a>1/b, ac2>bc2⇒a>bac^2>bc^2\Rightarrow a>b, and a>b⇒an>bna>b\Rightarrow a^n>b^n for positive integers nn.

Show solution
Solution

The first two conclusions require c>0c>0 for the displayed direction; c<0c<0 reverses it, and division by zero is forbidden. In the second implication, c=0c=0 makes the premise impossible. The reciprocal implication holds when a,ba,b have the same nonzero sign, but fails across zero. The fourth implication already forces c≠0c\ne0, so dividing by positive c2c^2 proves it. Odd powers preserve order on all reals; even powers require restricting to a range on which the power function has the appropriate monotonicity, such as 0≤b<a0\le b<a for the stated direction.

ExerciseCompare two negative quotients

Let a>b>0a>b>0, c<d<0c<d<0, and f<0f<0. Prove

fa−c>fb−d.\frac{f}{a-c}>\frac{f}{b-d}.
Show solution
Solution

Both denominators are positive, and their difference is (a−b)+(d−c)>0(a-b)+(d-c)>0. Taking reciprocals gives 1/(a−c)<1/(b−d)1/(a-c)<1/(b-d). Multiplying by negative ff reverses the direction. The larger positive denominator makes the negative quotient closer to zero, hence larger.

ExerciseRepeated roots and negative leading coefficients

Solve 4x2+4x+1<04x^2+4x+1<0 and −3x2+x−6<0-3x^2+x-6<0. How does the first answer change if << becomes ≤\le?

Show solution
Solution

The first expression is (2x+1)2(2x+1)^2, so the strict inequality has no real solution. With ≤0\le0, the only solution is x=−1/2x=-1/2. For the second, negate the polynomial and reverse the inequality. The resulting 3x2−x+63x^2-x+6 has positive leading coefficient and discriminant −71-71, so it is positive for all real xx. The original strict inequality therefore holds on all of R\mathbb R.

ExerciseAllocate an error budget

Let ε>0\varepsilon>0. If ∣x−a∣<ε/4|x-a|<\varepsilon/4 and ∣y−b∣<ε/6|y-b|<\varepsilon/6, prove ∣2x+3y−2a−3b∣<ε|2x+3y-2a-3b|<\varepsilon.

Show solution
Solution

Regroup first, then use the triangle inequality:

∣2(x−a)+3(y−b)∣≤2∣x−a∣+3∣y−b∣<ε2+ε2=ε.\begin{aligned} &|2(x-a)+3(y-b)|\\ &\quad\le2|x-a|+3|y-b|\\ &\quad<\frac{\varepsilon}{2}+\frac{\varepsilon}{2} =\varepsilon. \end{aligned}

The denominators in the hypotheses were chosen so the two contributions fit the total error budget.

ExerciseBound both diagonals without discarding terms

For real a,b,c,da,b,c,d, prove

∣a−c∣+∣b−d∣≤∣a−b∣+∣b−c∣+∣c−d∣+∣d−a∣.\begin{aligned} |a-c|+|b-d|&\le |a-b|+|b-c|\\ &\quad+|c-d|+|d-a|. \end{aligned}
Show solution
Solution

Call the right side PP. Bound ∣a−c∣|a-c| along each of the two routes, through bb and through dd, then add the bounds to obtain 2∣a−c∣≤P2|a-c|\le P. Likewise, the routes from bb to dd through aa and through cc give 2∣b−d∣≤P2|b-d|\le P. Add these two inequalities and divide by two. One cannot remove a positive term from a previously obtained upper bound and assume the bound remains valid.

ExerciseMultiply two AM-GM bounds

For a,b,c>0a,b,c>0, prove (a+b+c)(a2+b2+c2)≥9abc(a+b+c)(a^2+b^2+c^2)\ge9abc and determine equality.

Show solution
Solution

AM-GM gives

a+b+c≥3(abc)1/3,a+b+c\ge3(abc)^{1/3},a2+b2+c2≥3(abc)2/3.a^2+b^2+c^2\ge3(abc)^{2/3}.

All quantities are positive, so the bounds may be multiplied. Equality requires equality in both applications, exactly when a=b=ca=b=c.

ExerciseFind an attained minimum

For x,y,z>0x,y,z>0, minimize x/y+y/z+z/xx/y+y/z+z/x.

Show solution
Solution

The three positive terms have product one, so AM-GM gives a lower bound of 33. Equality requires all three ratios equal; their product then forces each ratio to be one. Taking x=y=zx=y=z attains the bound, so the minimum is 33.

ExerciseA sum-one normalization

For positive a,b,ca,b,c with a+b+c=1a+b+c=1, prove a2+b2+c2≥1/3a^2+b^2+c^2\ge1/3 and 1/a+1/b+1/c≥91/a+1/b+1/c\ge9.

Show solution
Solution

Cauchy-Schwarz with the all-ones vector gives

1=(a+b+c)2≤3(a2+b2+c2).1=(a+b+c)^2\le3(a^2+b^2+c^2).

The positive-denominator form gives the reciprocal bound directly, since the denominator sum is one. Both equalities occur at a=b=c=1/3a=b=c=1/3. The square-sum bound extends to real a,b,ca,b,c of sum one, but the reciprocal argument requires positivity.

ExerciseApply Cauchy-Schwarz twice

For real ai,bi,cia_i,b_i,c_i and n≥1n\ge1, prove

(∑i=1naibici)4≤(∑i=1nai4)(∑i=1nbi2)2⋅(∑i=1nci4).\begin{aligned} &\left(\sum_{i=1}^{n}a_i b_i c_i\right)^4\\ &\quad\le\left(\sum_{i=1}^{n}a_i^4\right) \left(\sum_{i=1}^{n}b_i^2\right)^2\\ &\qquad\cdot\left(\sum_{i=1}^{n}c_i^4\right). \end{aligned}
Show solution
Solution

Write

U=∑i=1naibici,V=∑i=1nai2ci2,B=∑i=1nbi2.\begin{aligned} U&=\sum_{i=1}^{n}a_i b_i c_i,\\ V&=\sum_{i=1}^{n}a_i^2c_i^2,\\ B&=\sum_{i=1}^{n}b_i^2. \end{aligned}

First U2≤VBU^2\le VB. Squaring preserves order because both sides are nonnegative. A second application gives

V2≤(∑i=1nai4)(∑i=1nci4).V^2\le\left(\sum_{i=1}^{n}a_i^4\right) \left(\sum_{i=1}^{n}c_i^4\right).

Combine the bounds. If B=0B=0, equality is automatic. If B>0B>0, equality requires both Cauchy-Schwarz steps to be equalities: (bi)(b_i) and (aici)(a_i c_i) must be linearly dependent, as must (ai2)(a_i^2) and (ci2)(c_i^2), with zero vectors included in that condition.

ExerciseA parameter bound and a missing maximum

For real kk, show that

fk(x)=(x+k)2x2+1≤1+k2f_k(x)=\frac{(x+k)^2}{x^2+1}\le1+k^2

for every real xx. When is the bound attained?

Show solution
Solution

Apply Cauchy-Schwarz to (x,1)(x,1) and (1,k)(1,k). Alternatively, the exact gap is

1+k2−fk(x)=(kx−1)2x2+1≥0.1+k^2-f_k(x)=\frac{(kx-1)^2}{x^2+1}\ge0.

If k≠0k\ne0, equality occurs at x=1/kx=1/k. If k=0k=0, every value is strictly below 11, but f0(x)f_0(x) approaches 11 as ∣x∣|x| grows, so the supremum is 11 and there is no maximum. No step divides by xx, so the proof also covers x=0x=0.

ExerciseA cyclic quadratic gap

For real a,b,c,da,b,c,d, prove a2+b2+c2+d2≥ab+bc+cd+daa^2+b^2+c^2+d^2\ge ab+bc+cd+da and find equality.

Show solution
Solution

Twice the difference between the two sides is

(a−b)2+(b−c)2+(c−d)2+(d−a)2.\begin{aligned} &(a-b)^2+(b-c)^2\\ &\quad+(c-d)^2+(d-a)^2. \end{aligned}

It is nonnegative, and it vanishes exactly when a=b=c=da=b=c=d. This directly identifies the equality condition without an additional estimate.

ExerciseA reciprocal sum with a necessary n-condition

Let n≥2n\ge2 and ai>0a_i>0, and define

s=∑i=1nai.s=\sum_{i=1}^{n}a_i.

Prove

∑i=1nais−ai≥nn−1.\sum_{i=1}^{n}\frac{a_i}{s-a_i}\ge\frac{n}{n-1}.

What does this imply for three positive numbers, including triangle side lengths?

Show solution
Solution

All s−ais-a_i are positive, with sum (n−1)s(n-1)s. The reciprocal bound gives

∑i=1n1s−ai≥n2(n−1)s.\sum_{i=1}^{n}\frac1{s-a_i}\ge\frac{n^2}{(n-1)s}.

Consequently,

∑i=1nais−ai=s∑i=1n1s−ai−n≥n2n−1−n=nn−1.\begin{aligned} \sum_{i=1}^{n}\frac{a_i}{s-a_i} &=s\sum_{i=1}^{n}\frac1{s-a_i}-n\\ &\ge\frac{n^2}{n-1}-n =\frac n{n-1}. \end{aligned}

Equality holds exactly when all aia_i are equal. For n=3n=3, the sum is at least 3/23/2, hence strictly greater than 11. Triangle inequalities are not needed; positivity alone suffices. At n=1n=1, the original denominator is zero, explaining the restriction.

ExerciseChoose methods for three ratio inequalities

For positive x,y,zx,y,z, prove

x2y+y2x≥x+y,\frac{x^2}{y}+\frac{y^2}{x}\ge x+y,x2y2+y2z2+z2x2≥xz+yx+zy,\frac{x^2}{y^2}+\frac{y^2}{z^2}+\frac{z^2}{x^2} \ge\frac{x}{z}+\frac{y}{x}+\frac{z}{y},xyz2+yzx2+zxy2≥xy+yz+zx.\frac{xy}{z^2}+\frac{yz}{x^2}+\frac{zx}{y^2} \ge\frac{x}{y}+\frac{y}{z}+\frac{z}{x}.
Show solution
Solution

For the first, subtract the right side: the gap is (x−y)2(x+y)/(xy)≥0(x-y)^2(x+y)/(xy)\ge0. Equality holds at x=yx=y.

For the second, put a=x/ya=x/y, b=y/zb=y/z, c=z/xc=z/x. It becomes a2+b2+c2≥ab+bc+caa^2+b^2+c^2\ge ab+bc+ca, whose gap is half of (a−b)2+(b−c)2+(c−a)2(a-b)^2+(b-c)^2+(c-a)^2. Equality forces a=b=c=1a=b=c=1, hence x=y=zx=y=z.

For the third, multiply by positive (xyz)2(xyz)^2 and put A=xyA=xy, B=yzB=yz, C=zxC=zx. The desired statement becomes

A3+B3+C3≥A2B+B2C+C2A.\begin{aligned} A^3+B^3+C^3&\ge A^2B+B^2C\\ &\quad+C^2A. \end{aligned}

The lists of positive values A,B,CA,B,C and their squares have the same ordering. Rearrangement says the identity pairing is at least as large as this cyclic pairing. Equality requires A=B=CA=B=C, hence x=y=zx=y=z.

ExerciseExploration: logarithms turn products into ordered sums

For a,b,c>0a,b,c>0, prove

aabbcc≥abbcca,a^a b^b c^c\ge a^b b^c c^a,aabbcc≥(abc)(a+b+c)/3.a^a b^b c^c\ge(abc)^{(a+b+c)/3}.

Use that the natural logarithm is increasing and turns products into sums.

Show solution
Solution

Taking logarithms turns the first comparison into a same-order dot product versus a cyclic pairing of a,b,ca,b,c with ln⁡a,ln⁡b,ln⁡c\ln a,\ln b,\ln c. These two lists have the same ordering, so rearrangement proves it. One may sort the paired entries simultaneously; the cyclic assignment remains a permutation after sorting.

For the second, Chebyshev’s sum inequality gives

aln⁡a+bln⁡b+cln⁡c≥a+b+c3(ln⁡a+ln⁡b+ln⁡c).\begin{aligned} &a\ln a+b\ln b+c\ln c\\ &\quad\ge\frac{a+b+c}{3}(\ln a+\ln b+\ln c). \end{aligned}

Exponentiating preserves both comparisons. In either case equality holds exactly when a=b=ca=b=c. Merely taking logarithms is a reformulation, so the rearrangement or Chebyshev step is needed to finish the proof.

ExerciseExploration: rational weights in AM-GM

For positive a,ba,b, prove a3/4b1/4≤(3a+b)/4a^{3/4}b^{1/4}\le(3a+b)/4. Extend the argument to a weight m/nm/n with integers 0<m<n0<m<n.

Show solution
Solution

Apply four-term AM-GM to a,a,a,ba,a,a,b. More generally, use mm copies of aa and n−mn-m copies of bb:

am/nb1−m/n≤mna+(1−mn)b.a^{m/n}b^{1-m/n} \le\frac mn a+\left(1-\frac mn\right)b.

Equality holds exactly when a=ba=b. This proves the rational-weight case directly; extending to arbitrary real weights requires an additional limiting or convexity argument.

ExerciseExploration: why a norm needs the triangle inequality

For p>0p>0, define

Np(u)=(∑i=1n∣ui∣p)1/p.N_p(u)=\left(\sum_{i=1}^{n}|u_i|^p\right)^{1/p}.

We proved the triangle inequality at p=2p=2. Test it at 0<p<10<p<1 using u=(1,0)u=(1,0) and v=(0,1)v=(0,1).

Show solution
Solution

Both Np(u)N_p(u) and Np(v)N_p(v) equal 11, whereas Np(u+v)=21/p>2N_p(u+v)=2^{1/p}>2 when 0<p<10<p<1. Thus the triangle inequality fails, and this expression is not a norm in that range. The general Minkowski inequality is valid for p≥1p\ge1; its proof beyond the Euclidean case belongs with a fuller study of norms [2][2] P. S. Loh, “II. Inequalities,” 2003. June 18, 2003; notes on norms, rearrangement, and Chebyshev's sum inequality. https://www.math.cmu.edu/~ploh/docs/math/2-inequalities-solns.pdf.

Continue with Complex Numbers, where modulus gives a two-dimensional distance and the triangle inequality reappears geometrically.

References

  1. [1] P. S. Loh, “6. Inequalities,” 2023. Carnegie Mellon University, Putnam Seminar, Fall 2023; classical inequalities. https://www.math.cmu.edu/~ploh/docs/math/2023-295/06-inequalities.pdf ↩
  2. [2] P. S. Loh, “II. Inequalities,” 2003. June 18, 2003; notes on norms, rearrangement, and Chebyshev's sum inequality. https://www.math.cmu.edu/~ploh/docs/math/2-inequalities-solns.pdf a b