Posted in

Jensen’s Inequality Explained: Definition, Proof and Applications

Jensen’s inequality is one of the most important and widely applicable inequalities in mathematics. It generalises the AM-GM inequality, underlies key results in probability and statistics, and provides one of the most powerful tools available for olympiad inequality problems at the Euclid, COMC, and CMO level. Understanding Jensen’s inequality — and knowing how to recognise when it applies — is a mark of sophisticated mathematical preparation.

This guide explains the theorem precisely, develops the convexity condition that makes it work, proves it, works through examples at increasing difficulty, and connects it to the broader inequality toolkit.


Convexity: The Foundation

Jensen’s inequality is a statement about convex functions. Understanding convexity is the prerequisite.

Definition: Convex function

A function fff is convex on an interval III if for all x1,x2Ix_1, x_2 \in Ix1​,x2​∈I and all λ[0,1]\lambda \in [0,1]λ∈[0,1]:f(λx1+(1λ)x2)λf(x1)+(1λ)f(x2)f(\lambda x_1 + (1-\lambda)x_2) \leq \lambda f(x_1) + (1-\lambda)f(x_2)f(λx1​+(1−λ)x2​)≤λf(x1​)+(1−λ)f(x2​)

Geometric meaning: The function is convex if every chord connecting two points on its graph lies above or on the graph.

Equivalent condition (for twice-differentiable functions):

fff is convex on III if and only if f(x)0f”(x) \geq 0f′′(x)≥0 for all xIx \in Ix∈I.

This is the most practical test for convexity — compute the second derivative and check its sign.

A function is concave if f-f−f is convex — equivalently, if f0f” \leq 0f′′≤0 everywhere, or if every chord lies below or on the graph.

Common convex functions:

  • f(x)=x2f(x) = x^2f(x)=x2 (convex everywhere, f=2>0f” = 2 > 0f′′=2>0)
  • f(x)=exf(x) = e^xf(x)=ex (convex everywhere, f=ex>0f” = e^x > 0f′′=ex>0)
  • f(x)=xpf(x) = x^pf(x)=xp for p1p \geq 1p≥1 or p0p \leq 0p≤0 on (0,)(0, \infty)(0,∞)
  • f(x)=lnxf(x) = -\ln xf(x)=−lnx on (0,)(0, \infty)(0,∞) (f=1/x2>0f” = 1/x^2 > 0f′′=1/x2>0)

Common concave functions:

  • f(x)=lnxf(x) = \ln xf(x)=lnx on (0,)(0, \infty)(0,∞) (f=1/x2<0f” = -1/x^2 < 0f′′=−1/x2<0)
  • f(x)=xf(x) = \sqrt{x}f(x)=x​ on (0,)(0, \infty)(0,∞) (f=1/(4x3/2)<0f” = -1/(4x^{3/2}) < 0f′′=−1/(4×3/2)<0)
  • f(x)=sinxf(x) = \sin xf(x)=sinx on (0,π)(0, \pi)(0,π) (f=sinx<0f” = -\sin x < 0f′′=−sinx<0)

What Is Jensen’s Inequality?

Jensen’s inequality states:

If fff is a convex function on an interval III, and x1,x2,,xnIx_1, x_2, \ldots, x_n \in Ix1​,x2​,…,xn​∈I with positive weights w1,w2,,wnw_1, w_2, \ldots, w_nw1​,w2​,…,wn​ satisfying w1+w2++wn=1w_1 + w_2 + \cdots + w_n = 1w1​+w2​+⋯+wn​=1, then:f(i=1nwixi)i=1nwif(xi)f\left(\sum_{i=1}^n w_i x_i\right) \leq \sum_{i=1}^n w_i f(x_i)f(i=1∑n​wi​xi​)≤i=1∑n​wi​f(xi​)

The unweighted form (all weights equal 1/n1/n1/n):f(x1+x2++xnn)f(x1)+f(x2)++f(xn)nf\left(\frac{x_1 + x_2 + \cdots + x_n}{n}\right) \leq \frac{f(x_1) + f(x_2) + \cdots + f(x_n)}{n}f(nx1​+x2​+⋯+xn​​)≤nf(x1​)+f(x2​)+⋯+f(xn​)​

In plain English: For a convex function, the function value at the average of the inputs is at most the average of the function values at the inputs.

For concave functions: Both inequalities reverse — fff convex becomes fff concave, and \leq≤ becomes \geq≥.

The equality condition: Equality holds if and only if all xix_ixi​ are equal (for strictly convex functions) — or when the function is linear on the interval containing all xix_ixi​.

jensen's inequality cta

Proof of Jensen’s Inequality

Proof for n=2n = 2n=2 (Two Points, Equal Weights)

This is the base case and the geometric core of the result.

Claim: If fff is convex on III, then for all x1,x2Ix_1, x_2 \in Ix1​,x2​∈I:f(x1+x22)f(x1)+f(x2)2f\left(\frac{x_1 + x_2}{2}\right) \leq \frac{f(x_1) + f(x_2)}{2}f(2×1​+x2​​)≤2f(x1​)+f(x2​)​

Proof: Setting λ=1/2\lambda = 1/2λ=1/2 in the definition of convexity:f(12x1+12x2)12f(x1)+12f(x2)f\left(\frac{1}{2}x_1 + \frac{1}{2}x_2\right) \leq \frac{1}{2}f(x_1) + \frac{1}{2}f(x_2)f(21​x1​+21​x2​)≤21​f(x1​)+21​f(x2​)

This is exactly the claim. \square

Proof for General nnn (by Mathematical Induction)

Claim: For convex fff and x1,,xnIx_1, \ldots, x_n \in Ix1​,…,xn​∈I:f(x1++xnn)f(x1)++f(xn)nf\left(\frac{x_1 + \cdots + x_n}{n}\right) \leq \frac{f(x_1) + \cdots + f(x_n)}{n}f(nx1​+⋯+xn​​)≤nf(x1​)+⋯+f(xn​)​

Proof sketch (induction on nn n):

*Base case n=2n = 2n=2:* Proved above.

Inductive step: Assume the result for n=kn = kn=k. Let xˉ=x1++xk+1k+1\bar{x} = \frac{x_1 + \cdots + x_{k+1}}{k+1}xˉ=k+1×1​+⋯+xk+1​​.

Write xk+1=x1++xkkx_{k+1}’ = \frac{x_1 + \cdots + x_k}{k}xk+1′​=kx1​+⋯+xk​​ (the mean of the first kkk values). Then:xˉ=kxk+1+xk+1k+1=kk+1xk+1+1k+1xk+1\bar{x} = \frac{k \cdot x_{k+1}’ + x_{k+1}}{k+1} = \frac{k}{k+1} x_{k+1}’ + \frac{1}{k+1} x_{k+1}xˉ=k+1k⋅xk+1′​+xk+1​​=k+1k​xk+1′​+k+11​xk+1​

By convexity (two-point case):f(xˉ)kk+1f(xk+1)+1k+1f(xk+1)f(\bar{x}) \leq \frac{k}{k+1} f(x_{k+1}’) + \frac{1}{k+1} f(x_{k+1})f(xˉ)≤k+1k​f(xk+1′​)+k+11​f(xk+1​)

By the inductive hypothesis:f(xk+1)f(x1)++f(xk)kf(x_{k+1}’) \leq \frac{f(x_1) + \cdots + f(x_k)}{k}f(xk+1′​)≤kf(x1​)+⋯+f(xk​)​

Combining:f(xˉ)kk+1f(x1)++f(xk)k+f(xk+1)k+1=f(x1)++f(xk+1)k+1f(\bar{x}) \leq \frac{k}{k+1} \cdot \frac{f(x_1) + \cdots + f(x_k)}{k} + \frac{f(x_{k+1})}{k+1} = \frac{f(x_1) + \cdots + f(x_{k+1})}{k+1} \quad \squaref(xˉ)≤k+1k​⋅kf(x1​)+⋯+f(xk​)​+k+1f(xk+1​)​=k+1f(x1​)+⋯+f(xk+1​)​□

For the full technique on proofs by induction, see our math induction proof guide.


Jensen’s Inequality and AM-GM

The AM-GM inequality is a special case of Jensen’s inequality. This is one of the most important connections in competition mathematics.

AM-GM: For positive reals x1,,xnx_1, \ldots, x_nx1​,…,xn​:x1++xnnx1xnn\frac{x_1 + \cdots + x_n}{n} \geq \sqrt[n]{x_1 \cdots x_n}nx1​+⋯+xn​​≥nx1​⋯xn​​

Derivation from Jensen’s inequality:

Apply Jensen’s with the concave function f(x)=lnxf(x) = \ln xf(x)=lnx (concave since f=1/x2<0f” = -1/x^2 < 0f′′=−1/x2<0):f(x1++xnn)f(x1)++f(xn)nf\left(\frac{x_1 + \cdots + x_n}{n}\right) \geq \frac{f(x_1) + \cdots + f(x_n)}{n}f(nx1​+⋯+xn​​)≥nf(x1​)+⋯+f(xn​)​ ln(x1++xnn)lnx1++lnxnn=lnx1xnn\ln\left(\frac{x_1 + \cdots + x_n}{n}\right) \geq \frac{\ln x_1 + \cdots + \ln x_n}{n} = \ln\sqrt[n]{x_1 \cdots x_n}ln(nx1​+⋯+xn​​)≥nlnx1​+⋯+lnxn​​=lnnx1​⋯xn​​

Exponentiating:x1++xnnx1xnn\frac{x_1 + \cdots + x_n}{n} \geq \sqrt[n]{x_1 \cdots x_n} \quad \squarenx1​+⋯+xn​​≥nx1​⋯xn​​□

AM-GM falls out of Jensen’s inequality applied to the logarithm. This means Jensen’s inequality is strictly more powerful — it proves AM-GM as a special case rather than the other way around.


Worked Examples

Example 1 — Direct Application

Prove that for positive reals a,b,ca, b, c a,b,c with a+b+c=1a + b + c = 1 a+b+c=1: a2+b2+c2≥13a^2 + b^2 + c^2 \geq \frac{1}{3} a2+b2+c2≥31​

Apply Jensen’s inequality with the convex function f(x)=x2f(x) = x^2f(x)=x2 (f=2>0f” = 2 > 0f′′=2>0):a2+b2+c23(a+b+c3)2=(13)2=19\frac{a^2 + b^2 + c^2}{3} \geq \left(\frac{a+b+c}{3}\right)^2 = \left(\frac{1}{3}\right)^2 = \frac{1}{9}3a2+b2+c2​≥(3a+b+c​)2=(31​)2=91​ a2+b2+c239=13a^2 + b^2 + c^2 \geq \frac{3}{9} = \frac{1}{3} \quad \squarea2+b2+c2≥93​=31​□

Equality when a=b=c=13a = b = c = \frac{1}{3}a=b=c=31​.


Example 2 — Logarithm (Concave Direction)

Prove that for positive reals a,b,ca, b, c a,b,c: ln⁡a+ln⁡b+ln⁡c≤3ln⁡(a+b+c3)\ln a + \ln b + \ln c \leq 3\ln\left(\frac{a+b+c}{3}\right) lna+lnb+lnc≤3ln(3a+b+c​)

Apply Jensen’s with the concave function f(x)=lnxf(x) = \ln xf(x)=lnx. For concave functions, Jensen’s reverses:lna+lnb+lnc3ln(a+b+c3)\frac{\ln a + \ln b + \ln c}{3} \leq \ln\left(\frac{a+b+c}{3}\right)3lna+lnb+lnc​≤ln(3a+b+c​)

Multiplying both sides by 3:lna+lnb+lnc3ln(a+b+c3)\ln a + \ln b + \ln c \leq 3\ln\left(\frac{a+b+c}{3}\right) \quad \squarelna+lnb+lnc≤3ln(3a+b+c​)□

This is equivalent to AM-GM: ln(abc)ln(a+b+c3)3\ln(abc) \leq \ln\left(\frac{a+b+c}{3}\right)^3ln(abc)≤ln(3a+b+c​)3 implies abc(a+b+c3)3abc \leq \left(\frac{a+b+c}{3}\right)^3abc≤(3a+b+c​)3.


Example 3 — Trigonometric Application (Euclid/CMO Level)

Prove that in any triangle with angles AA A, BB B, CC C (in radians, A+B+C=πA+B+C=\pi A+B+C=π): sin⁡A+sin⁡B+sin⁡C≤332\sin A + \sin B + \sin C \leq \frac{3\sqrt{3}}{2} sinA+sinB+sinC≤233​​

On (0,π)(0, \pi)(0,π), f(x)=sinxf(x) = \sin xf(x)=sinx is concave (since f=sinx<0f” = -\sin x < 0f′′=−sinx<0 on (0,π)(0,\pi)(0,π)).

By Jensen’s inequality (concave direction):sinA+sinB+sinC3sin(A+B+C3)=sin(π3)=32\frac{\sin A + \sin B + \sin C}{3} \leq \sin\left(\frac{A+B+C}{3}\right) = \sin\left(\frac{\pi}{3}\right) = \frac{\sqrt{3}}{2}3sinA+sinB+sinC​≤sin(3A+B+C​)=sin(3π​)=23​​ sinA+sinB+sinC332\sin A + \sin B + \sin C \leq \frac{3\sqrt{3}}{2} \quad \squaresinA+sinB+sinC≤233​​□

Equality when A=B=C=π/3A = B = C = \pi/3A=B=C=π/3 — the equilateral triangle.

This is a competition classic. The proof is two lines with Jensen’s; without it, the derivation is significantly longer.


Example 4 — Weighted Jensen’s

Prove that for positive reals xx x and yy y with λ+(1−λ)=1\lambda + (1-\lambda) = 1 λ+(1−λ)=1, 0<λ<10 < \lambda < 1 0<λ<1:xλy1λλx+(1λ)yx^\lambda y^{1-\lambda} \leq \lambda x + (1-\lambda)yxλy1−λ≤λx+(1−λ)y

This is the weighted AM-GM inequality.

Apply Jensen’s with the concave function f(t)=lntf(t) = \ln tf(t)=lnt:f(λx+(1λ)y)λf(x)+(1λ)f(y)f(\lambda x + (1-\lambda)y) \geq \lambda f(x) + (1-\lambda)f(y)f(λx+(1−λ)y)≥λf(x)+(1−λ)f(y) ln(λx+(1λ)y)λlnx+(1λ)lny=ln(xλy1λ)\ln(\lambda x + (1-\lambda)y) \geq \lambda\ln x + (1-\lambda)\ln y = \ln(x^\lambda y^{1-\lambda})ln(λx+(1−λ)y)≥λlnx+(1−λ)lny=ln(xλy1−λ)

Exponentiating:λx+(1λ)yxλy1λ\lambda x + (1-\lambda)y \geq x^\lambda y^{1-\lambda} \quad \squareλx+(1−λ)y≥xλy1−λ□


Example 5 — Power Mean Application (CMO Level)

Prove that for positive reals x1,…,xnx_1, \ldots, x_n x1​,…,xn​: x12+⋯+xn2n≥(x1+⋯+xnn)2\frac{x_1^2 + \cdots + x_n^2}{n} \geq \left(\frac{x_1 + \cdots + x_n}{n}\right)^2 nx12​+⋯+xn2​​≥(nx1​+⋯+xn​​)2

Apply Jensen’s with the convex function f(x)=x2f(x) = x^2f(x)=x2:f(xin)f(xi)nf\left(\frac{\sum x_i}{n}\right) \leq \frac{\sum f(x_i)}{n}f(n∑xi​​)≤n∑f(xi​)​ (xin)2xi2n\left(\frac{\sum x_i}{n}\right)^2 \leq \frac{\sum x_i^2}{n} \quad \square(n∑xi​​)2≤n∑xi2​​□

This says the quadratic mean is at least the arithmetic mean — a standard power mean inequality proved in two lines from Jensen’s.


Example 6 — Identifying the Right Function (Key Competition Skill)

For positive reals a,b,ca, b, c a,b,c with a+b+c=3a+b+c=3 a+b+c=3: prove a3+b3+c3≥3a^3 + b^3 + c^3 \geq 3 a3+b3+c3≥3.

f(x)=x3f(x) = x^3f(x)=x3 on (0,)(0, \infty)(0,∞): f=6x>0f” = 6x > 0f′′=6x>0, so convex.

By Jensen’s:a3+b3+c33(a+b+c3)3=1\frac{a^3+b^3+c^3}{3} \geq \left(\frac{a+b+c}{3}\right)^3 = 13a3+b3+c3​≥(3a+b+c​)3=1 a3+b3+c33a^3+b^3+c^3 \geq 3 \quad \squarea3+b3+c3≥3□

Equality when a=b=c=1a = b = c = 1a=b=c=1.


The Strategy: Choosing the Right Function for Jensen’s Inequality

The key skill in applying Jensen’s inequality in competitions is choosing the right function fff and verifying its convexity. A systematic approach:

Step 1: Identify the structure. Is the inequality of the form “function of an average ≤/≥ average of function values”? Or can it be rewritten in this form?

Step 2: Identify the candidate function ff f. The expression inside the inequality should be f(xi)f(x_i)f(xi​) for some fff. Common choices: xpx^pxp, lnx\ln xlnx, exe^xex, sinx\sin xsinx, cosx\cos xcosx.

Step 3: Verify convexity or concavity. Compute ff”f′′. If f0f” \geq 0f′′≥0: convex, Jensen gives f(avg)avg of ff(\text{avg}) \leq \text{avg of }ff(avg)≤avg of f. If f0f” \leq 0f′′≤0: concave, inequality reverses.

Step 4: Check the equality condition. For strictly convex/concave functions, equality requires all xix_ixi​ equal. This should match the constraint of the problem (e.g., a=b=ca = b = ca=b=c when a+b+ca + b + ca+b+c is given).

Step 5: Write the proof. State what fff is, verify its convexity, apply Jensen’s, simplify. Competition markers award marks for each step — writing this explicitly earns partial credit even if a later step goes wrong.


Where Jensen’s Inequality Appears in Contests

COMC Part C and Euclid Part C: Inequality problems at the full-proof level appear in both contests. Jensen’s inequality provides clean, short proofs for problems that would require much longer algebraic arguments without it — particularly when trigonometric or logarithmic expressions are involved. A two-line Jensen’s proof earns full marks where a three-page algebraic expansion would be incomplete. See our COMC math contest guide and Euclid math contest guide.

Canadian Mathematical Olympiad: The CMO tests inequality technique at the deepest level. Jensen’s inequality appears regularly — sometimes directly, sometimes as a lemma within a larger argument, sometimes disguised in a problem that requires identifying the right convex function. Students who have genuinely mastered Jensen’s — including the weighted version and the skill of choosing the right function — arrive at the CMO with one of the most powerful inequality tools available. See our Canadian Mathematical Olympiad guide.

AMC 12: Power mean inequalities and certain optimisation problems on the AMC 12 yield most cleanly to Jensen’s inequality — particularly problems asking for the maximum or minimum of a sum of function values subject to a constraint on the inputs.

The inequality toolkit at competition level: Jensen’s inequality sits alongside AM-GM and the Cauchy-Schwarz inequality as the three most important inequality tools for senior competition mathematics. For Cauchy-Schwarz, see our Cauchy-Schwarz inequality guide. For the full competition landscape, see our math competitions in Canada guide.



Jensen’s Inequality in Probability and Statistics

Jensen’s inequality has a natural probabilistic interpretation that makes it foundational in statistics, machine learning, and information theory — and that appears in the background of some competition problems.

Probabilistic form:

If XXX is a random variable and fff is a convex function:f(E[X])E[f(X)]f(\mathbb{E}[X]) \leq \mathbb{E}[f(X)]f(E[X])≤E[f(X)]

The function value at the expected value is at most the expected function value.

Applications beyond competition mathematics:

  • Variance: Var(X)=E[X2](E[X])20\text{Var}(X) = \mathbb{E}[X^2] – (\mathbb{E}[X])^2 \geq 0Var(X)=E[X2]−(E[X])2≥0 follows from Jensen’s with f(x)=x2f(x) = x^2f(x)=x2.
  • Information theory: The concavity of entropy is a consequence of Jensen’s inequality applied to the logarithm.
  • Machine learning: Jensen’s inequality underlies the EM algorithm and variational inference.

At the competition level, recognising Jensen’s inequality in a probabilistic setting — where “average” is replaced by “expected value” — is an advanced skill that occasionally appears in CMO-level problems.


Common Mistakes

Mistake 1: Applying Jensen’s to a non-convex function.Jensen’s inequality requires convexity (or concavity). Always verify f0f” \geq 0f′′≥0 (or 0\leq 0≤0) on the relevant interval before applying the result. A student who applies Jensen’s to f(x)=sinxf(x) = \sin xf(x)=sinx without checking the interval — sinx\sin xsinx is concave on (0,π)(0, \pi)(0,π) but convex on (π,2π)(\pi, 2\pi)(π,2π) — will produce incorrect results.

Mistake 2: Getting the direction wrong for concave functions.For convex fff: f(avg)avg of ff(\text{avg}) \leq \text{avg of } ff(avg)≤avg of f. For concave fff: f(avg)avg of ff(\text{avg}) \geq \text{avg of } ff(avg)≥avg of f. Students who always write \leq≤ regardless of concavity apply Jensen’s in the wrong direction half the time.

Mistake 3: Forgetting to check the equality condition.For a problem that requires finding when equality holds, the equality condition of Jensen’s (all xix_ixi​ equal, for strictly convex/concave functions) must be explicitly verified. Competition markers expect this.

Mistake 4: Choosing the wrong function ff f.Jensen’s gives the correct inequality only when the function matches the expression in the problem. A poor choice of fff gives a true but useless inequality. Practice with varied examples is the only reliable way to develop intuition for function choice.

Mistake 5: Using Jensen’s when a simpler tool works. Jensen’s is powerful but not always necessary. If AM-GM or Cauchy-Schwarz gives a cleaner proof, use them. Over-relying on Jensen’s for problems where a more elementary approach exists can slow you down in competition settings.


Practice Problems

Set A — Direct application

  1. For positive reals a,b,ca, b, ca,b,c with a+b+c=3a+b+c=3a+b+c=3: prove ea+eb+ec3ee^a + e^b + e^c \geq 3eea+eb+ec≥3e.
  2. For angles A,B,CA, B, CA,B,C in a triangle: prove cosA+cosB+cosC32\cos A + \cos B + \cos C \leq \frac{3}{2}cosA+cosB+cosC≤23​.
  3. For positive reals x1,,xnx_1, \ldots, x_nx1​,…,xn​ with xi=1\sum x_i = 1∑xi​=1: prove xi21n\sum x_i^2 \geq \frac{1}{n}∑xi2​≥n1​.
  4. For positive reals a,ba, ba,b with a+b=2a + b = 2a+b=2: prove a4+b42a^4 + b^4 \geq 2a4+b4≥2.

Set B — Identifying convexity

For each function, state whether it is convex, concave, or neither on the given domain, and justify with ff”f′′:

  1. f(x)=x3f(x) = x^3f(x)=x3 on (0,)(0, \infty)(0,∞)
  2. f(x)=lnxf(x) = \ln xf(x)=lnx on (0,)(0, \infty)(0,∞)
  3. f(x)=exf(x) = e^{-x}f(x)=e−x on R\mathbb{R}R
  4. f(x)=cosxf(x) = \cos xf(x)=cosx on (0,π/2)(0, \pi/2)(0,π/2)

Set C — Competition level

  1. For positive a,b,ca, b, ca,b,c with abc=1abc = 1abc=1: prove 11+a+b+11+b+c+11+c+a1\frac{1}{1+a+b} + \frac{1}{1+b+c} + \frac{1}{1+c+a} \leq 11+a+b1​+1+b+c1​+1+c+a1​≤1.
  2. Prove that for x1,,xn>0x_1, \ldots, x_n > 0x1​,…,xn​>0: x1++xnnx1xnn\frac{x_1+\cdots+x_n}{n} \geq \sqrt[n]{x_1\cdots x_n}nx1​+⋯+xn​​≥nx1​⋯xn​​ using Jensen’s inequality with f(x)=lnxf(x) = -\ln xf(x)=−lnx.
  3. For angles A,B,CA, B, CA,B,C of a triangle: prove sinA2+sinB2+sinC232\sin\frac{A}{2} + \sin\frac{B}{2} + \sin\frac{C}{2} \leq \frac{3}{2}sin2A​+sin2B​+sin2C​≤23​.

Answers/outlines:

Set A:

  1. f(x)=exf(x) = e^xf(x)=ex is convex (f=ex>0f”=e^x > 0f′′=ex>0). Jensen’s: ea+eb+ec3e(a+b+c)/3=e1\frac{e^a+e^b+e^c}{3} \geq e^{(a+b+c)/3} = e^13ea+eb+ec​≥e(a+b+c)/3=e1. So ea+eb+ec3ee^a+e^b+e^c \geq 3eea+eb+ec≥3e. Equality at a=b=c=1a=b=c=1a=b=c=1.
  2. f(x)=cosxf(x) = \cos xf(x)=cosx on (0,π)(0,\pi)(0,π): f=cosxf” = -\cos xf′′=−cosx. Sign varies — but on (0,π/2)(0, \pi/2)(0,π/2): f<0f” < 0f′′<0 (concave). This approach needs care: since A,B,C(0,π)A, B, C \in (0,\pi)A,B,C∈(0,π) with A+B+C=πA+B+C=\piA+B+C=π, each angle is less than π\piπ. On (0,π)(0,\pi)(0,π), cosx\cos xcosx is not uniformly concave. Alternative approach: use the fact that cos\coscos is concave on (0,π)(0,\pi)(0,π) — actually f(x)=cosx0f”(x) = -\cos x \geq 0f′′(x)=−cosx≥0 on (π/2,π)(\pi/2, \pi)(π/2,π) (convex there). Better to prove this via the identity cosA+cosB+cosC=1+r/R\cos A + \cos B + \cos C = 1 + r/RcosA+cosB+cosC=1+r/R where r,Rr, Rr,R are inradius and circumradius, and use rR/2r \leq R/2r≤R/2.
  3. f(x)=x2f(x) = x^2f(x)=x2 convex. Jensen’s: xi2n(xin)2=1n2\frac{\sum x_i^2}{n} \geq \left(\frac{\sum x_i}{n}\right)^2 = \frac{1}{n^2}n∑xi2​​≥(n∑xi​​)2=n21​. So xi21n\sum x_i^2 \geq \frac{1}{n}∑xi2​≥n1​.
  4. f(x)=x4f(x) = x^4f(x)=x4 convex (f=12x20f”=12x^2 \geq 0f′′=12×2≥0). Jensen’s: a4+b42(a+b2)4=1\frac{a^4+b^4}{2} \geq \left(\frac{a+b}{2}\right)^4 = 12a4+b4​≥(2a+b​)4=1. So a4+b42a^4+b^4 \geq 2a4+b4≥2.

Set B: 5. f(x)=6x>0f”(x) = 6x > 0f′′(x)=6x>0 on (0,)(0,\infty)(0,∞). Convex.6. f(x)=1/x2<0f”(x) = -1/x^2 < 0f′′(x)=−1/x2<0. Concave.7. f(x)=ex>0f”(x) = e^{-x} > 0f′′(x)=e−x>0. Convex.8. f(x)=cosxf”(x) = -\cos xf′′(x)=−cosx. On (0,π/2)(0,\pi/2)(0,π/2): cosx>0\cos x > 0cosx>0, so f<0f” < 0f′′<0. Concave.

Set C: 9. Since abc=1abc=1abc=1, by AM-GM 1+a+b1+2ab1+a+b \geq 1+2\sqrt{ab}1+a+b≥1+2ab​ and similar. Use Jensen’s or direct algebraic manipulation with substitution a=x/ya=x/ya=x/y, b=y/zb=y/zb=y/z, c=z/xc=z/xc=z/x (Schur/SOS method — this is CMO level and multiple approaches work). 10. f(x)=lnxf(x) = -\ln xf(x)=−lnx is convex (f=1/x2>0f” = 1/x^2 > 0f′′=1/x2>0). Jensen’s: lnx1lnxnnln(xin)\frac{-\ln x_1 \cdots – \ln x_n}{n} \geq -\ln\left(\frac{\sum x_i}{n}\right)n−lnx1​⋯−lnxn​​≥−ln(n∑xi​​). Rearranging: ln(xin)lnxin=lnxin\ln\left(\frac{\sum x_i}{n}\right) \geq \frac{\sum \ln x_i}{n} = \ln\sqrt[n]{\prod x_i}ln(n∑xi​​)≥n∑lnxi​​=lnn∏xi​​. Exponentiating gives AM-GM. 11. A/2,B/2,C/2(0,π/2)A/2, B/2, C/2 \in (0, \pi/2)A/2,B/2,C/2∈(0,π/2), summing to π/2\pi/2π/2. sin\sinsin is concave on (0,π/2)(0,\pi/2)(0,π/2) (f=sinx<0f” = -\sin x < 0f′′=−sinx<0). Jensen’s: sin(A/2)+sin(B/2)+sin(C/2)3sin(A/2+B/2+C/23)=sin(π/6)=1/2\frac{\sin(A/2)+\sin(B/2)+\sin(C/2)}{3} \leq \sin\left(\frac{A/2+B/2+C/2}{3}\right) = \sin(\pi/6) = 1/23sin(A/2)+sin(B/2)+sin(C/2)​≤sin(3A/2+B/2+C/2​)=sin(π/6)=1/2. So sum 3/2\leq 3/2≤3/2.


Frequently Asked Questions

What is Jensen’s inequality?For a convex function fff and values x1,,xnx_1, \ldots, x_nx1​,…,xn​: f(xin)f(xi)nf\left(\frac{\sum x_i}{n}\right) \leq \frac{\sum f(x_i)}{n}f(n∑xi​​)≤n∑f(xi​)​. For concave functions, the inequality reverses. It says the function value at the average is at most the average of the function values (for convex functions).

What is convexity and how do I check it?A function is convex if its graph curves upward — every chord lies above the graph. For differentiable functions: fff is convex if f0f” \geq 0f′′≥0. It is concave if f0f” \leq 0f′′≤0. Checking ff”f′′ is the standard competition method.

What is the relationship between Jensen’s inequality and AM-GM?AM-GM is a special case of Jensen’s inequality applied to the concave function f(x)=lnxf(x) = \ln xf(x)=lnx. Jensen’s is strictly more general — it proves AM-GM as a consequence and applies to a much wider range of functions.

When does equality hold in Jensen’s inequality?For strictly convex or concave functions, equality holds if and only if all xix_ixi​ are equal. This is the equality condition that competition solutions must verify.

What is the hardest part of using Jensen’s inequality in competition problems?Choosing the right function fff and verifying its convexity. The application of the theorem itself is mechanical once fff is identified — the mathematical insight is in the function choice.

Does Jensen’s inequality appear in the Euclid Contest? Yes — in inequality proof problems in Euclid Part C and COMC Part C. It provides short, elegant proofs for problems involving sums of convex function values, particularly trigonometric and exponential expressions. Students who know Jensen’s inequality solve these problems much faster than those who attempt algebraic expansion.


See our related guides: Cauchy-Schwarz inequality guide · Canadian Mathematical Olympiad guide · Euclid math contest guide · Euclid past contests guide · COMC math contest guide · math induction proof guide · proof by contradiction guide · pigeonhole principle guide · math competitions in Canada


Jensen’s inequality is two lines when you know it, a page of algebra when you don’t. Build the toolkit before the contest.

Leave a Reply

Your email address will not be published. Required fields are marked *