On this page
Pick any point inside a triangle. Measure its distance to each corner, then its perpendicular distance to each side. The first total is always at least twice the second. That is the Erdős–Mordell inequality, and you can check it with a ruler before you prove it.
What does the Erdős–Mordell inequality say?
Take a triangle ABC and a point P inside it, and drop perpendiculars PL, PM and PN onto the three sides. The inequality states that PA + PB + PC ≥ 2(PL + PM + PN), as set out in the Wikipedia article on the Erdős–Mordell inequality.
Paul Erdős posed it as Problem 3740 in the American Mathematical Monthly in 1935. L. J. Mordell and David F. Barrow published a solution in the same journal in April 1937; Wikipedia describes it as not very elementary. Simpler proofs followed, including one by D. K. Kazarinoff in the Michigan Mathematical Journal in 1957 and a visual proof by Claudi Alsina and Roger Nelsen in 2007.
Does it work on a 3-4-5 triangle?
Put the right angle at C = (0, 0), with A = (4, 0) and B = (0, 3). The hypotenuse AB has length 5 and lies on the line 3x + 4y = 12. For a point (x, y), the distance to side CA is y, the distance to side CB is x, and the distance to AB is (12 − 3x − 4y)/5.
First, the centroid G = (4/3, 1), the average of the three vertices.
Distances to the vertices: GA = √73/3 ≈ 2.848, GB = √52/3 ≈ 2.404, GC = 5/3 ≈ 1.667. Total ≈ 6.919.
Distances to the sides: 1 (to CA), 4/3 ≈ 1.333 (to CB), 4/5 = 0.8 (to AB). Total ≈ 3.133.
Twice the side total ≈ 6.267, which is less than 6.919. The inequality holds.
Next, the incentre. For a right triangle the inradius is (3 + 4 − 5)/2 = 1, so the incentre is I = (1, 1).
Distances to the sides: 1, 1 and 1. Twice the total = 6.
Distances to the vertices: IA = √10 ≈ 3.162, IB = √5 ≈ 2.236, IC = √2 ≈ 1.414. Total ≈ 6.81.
6.81 is at least 6. It holds again, with a wider gap than at the centroid.
When does equality hold in the Erdős–Mordell inequality?
Equality holds only for an equilateral triangle with P at its centre (Wikipedia). Check it with side s. The centre is s/√3 from each vertex, so the vertex total is 3s/√3 = √3·s. It is s/(2√3) from each side, so twice the side total is 2 × 3s/(2√3) = √3·s. The totals match.
How do you prove the Erdős–Mordell inequality?
Here is the sketch given on Wikipedia. Call the sides a, b, c (opposite A, B, C), write PA = p, PB = q, PC = r, and let x, y, z be the distances from P to BC, CA and AB.
An area bound. The triangles PBC, PCA and PAB fill ABC, so its area is (ax + by + cz)/2. The height from C to AB is at most r + z, because the path from C through P to AB is at least as long as the perpendicular. So c(r + z)/2 ≥ (ax + by + cz)/2, which simplifies to cr ≥ ax + by.
The reflection. Reflect P in the bisector of angle C. The reflected point is still r from C, but its distances to CA and CB are swapped. Applying step 1 to it gives cr ≥ ay + bx. In the same way, bq ≥ az + cx and ap ≥ bz + cy.
Add and use AM–GM. Divide by c, b and a and add: p + q + r ≥ (b/c + c/b)x + (a/c + c/a)y + (a/b + b/a)z. Each bracket is a number plus its reciprocal, so each is at least 2. That gives p + q + r ≥ 2(x + y + z).
The reflection is the clever move: it pairs each side with the right distance so AM–GM can finish. Equality needs every bracket to equal 2, so a = b = c, matching the equilateral case.
For AM–GM, see the power mean inequality from QM to HM. For other points inside a triangle, see barycentric coordinates and the Brocard points of a triangle.
How should you practise it?
Redo both 3-4-5 checks without looking, then try a 5-12-13 triangle.
Write the three-step proof from memory and say why the reflection keeps r the same.
Find the equality case of the next geometry inequality you meet before you try to prove it.
If you get stuck on a step, the Fermi Problem Library has a step-by-step solver that explains the reasoning, and the Fermi Concept Library covers ideas like AM–GM and incircles if you want to revise them first.



