When to reach for the Ravi substitution (and when not to)
12 September 2026
An inequality in three positive reals is a problem. An inequality in the three sides of a triangle is the same problem carrying three extra constraints that you must use and cannot easily hold on to. That gap is the whole reason the Ravi substitution exists, and it is why knowing the substitution is worth less than knowing the moment to reach for it.
This is not an explanation of what the substitution is. The technique page states it in two lines. This is about the decision: which problems it clears, how to run it without losing marks, and the three situations where reaching for it makes your life worse.
The constraint it deletes
Being the sides of a triangle is a real restriction, not a formality. Take every triple with each entry a whole number from 1 to 10. There are 1000 of them, and exactly 505 are triangles. Call it a coin flip. Half of the positive triples you could write down are not admissible, and a proof that never notices the difference is proving something false.
The three inequalities , , carve a cone out of the positive octant. Working inside a cone is awkward: you cannot apply AM-GM to , , directly and expect the equality case to land anywhere meaningful, because the point where all three are equal is interior, and the points where the inequality is tight sit on the boundary you keep forgetting about.
Ravi reparametrises the cone so that it becomes the whole octant. Write , and . Then the three triangle conditions become , and , and that is the entire content of the move: a constrained problem turned into an unconstrained one.
Those three quantities are not arbitrary. If is the semiperimeter, then , and , so , , are the tangent lengths from the vertices to the incircle. Once you have drawn that picture the substitution stops feeling like a trick.
The signals
Three tells, in descending order of reliability.
- The hypothesis is literally "let these be the sides of a triangle". No further thought required. If the problem gives you the triangle condition and then asks for an inequality, it gave you the condition because you need it, and Ravi is the standard way to spend it.
- The expression already carries the tangent lengths. Factors such as are , , on the nose. An expression built out of them is already written in the substituted variables and is asking to be read that way.
- You are stuck because the equality case is unreachable. You have a chain of bounds that is individually correct and collectively too weak, and the reason is that you bounded across the cone boundary. Moving to often puts the equality case back at "all three equal", where AM-GM and Cauchy-Schwarz can actually reach it.
The counter-signal is just as useful: if the statement is true for all positive reals, the triangle condition is decoration and substituting only makes the algebra worse. Test a non-triangle triple before you commit. If the claim survives, do not substitute.
Watching it clear a paper
IMO 1964, Problem 2 asks for over triangle sides. Signal two fires immediately: all three bracketed factors are the tangent lengths in disguise.
Substitute, and the quantity you actually want to prove non-negative is Expand it in and everything collapses to That is AM-GM on six terms whose product is , so their arithmetic mean is at least . Done, with equality exactly when , which is the equilateral triangle.
Look at what happened to the difficulty. The original statement is a constrained inequality that resists every standard tool. The substituted one is the first inequality anybody learns, applied to six terms. None of the cleverness is in the finish; all of it was in the change of variables.
When the shape survives, and when it does not
IMO 1983, Problem 6 wants . Substituting turns the left side into and dividing through by leaves , which Cauchy-Schwarz in Engel form settles in one line.
But notice what did not change. The original is cyclic, not symmetric: at the expression is 16, and swapping the first two sides to gives 34. Ravi preserves that asymmetry exactly, so the substituted problem is cyclic too, and you still may not assume . People lose this problem by substituting, feeling the relief, and then ordering the variables as if the expression were symmetric.
The same problem shows why the triangle condition cannot be skipped. At the expression is . Those are not triangle sides, and the statement is simply false off the cone. A solution that never invokes the hypothesis is wrong no matter how clean the algebra looks.
What it costs
Three things, and they are the reason this is a decision rather than a reflex.
- Term count. Expanding everywhere multiplies the work. A degree-three symmetric expression in can become a dozen monomials in , and expansion errors are the single most common way these problems are lost. Expand slowly and check one numeric value at the end.
- Geometric meaning. Angles, area and circumradius do not survive into in any convenient form. If the problem mixes sides with angles, Ravi strips away the half you still need.
- Degenerate cases. Ravi as stated gives strictly positive , so it covers non-degenerate triangles only. If the problem allows a degenerate triangle, you want and you have to say so.
What to do with this
Run the recognition drill rather than the theory. Take ten inequality problems whose hypothesis mentions a triangle and, for each, write three lines only: does the triangle condition actually matter, are the factors present, and what does the equality case look like in . Do not solve them. The decision is the skill you are short of, and it is trainable in a fraction of the time a full solution takes.
Lemma treats this as a named technique with a place in the sequence rather than a trick you meet twice. The Ravi substitution page sits alongside the classical inequalities it hands off to, the problem archive carries both papers above with difficulty and expected time, and the daily problem posts a fresh one every day in three tiers with no account needed.
Train it on Lemma
Every technique here is taught explicitly, in order. 125 lessons, 1206 curated problems and unlimited generated practice at six difficulties. Free to start, no card, and every paid plan opens with 3 free days.
Find your level