Quant Memo
Foundational

The Substitution That Collapses the Algebra

Renaming a repeated chunk of an expression as a single new variable, so a messy quartic or a tangled radical turns into an equation you already know how to solve.

Solve x45x2+4=0x^4 - 5x^2 + 4 = 0. Written out, it looks like a quartic — normally a serious undertaking with no clean formula on the whiteboard. But look closer: the only powers of xx that appear are x4x^4 and x2x^2, and x4=(x2)2x^4 = (x^2)^2. The equation is secretly a quadratic wearing a disguise. The whole difficulty was cosmetic.

The idea: name the repeated chunk

Whenever the same expression — or the same expression squared — shows up more than once inside a problem, give it a new name and rewrite everything in terms of that name. Suddenly a quartic becomes a quadratic, a nasty radical expression becomes a linear equation, or a sprawling system becomes two lines you can solve by substitution. The algebra doesn't get easier because you did new mathematics — it gets easier because you stopped re-deriving the same sub-expression's behavior every time it appeared and instead treated it as a single unit.

This is the same instinct as caching a repeated subcomputation: once you notice x2x^2 playing the same role everywhere, solving for it once and translating back at the end is strictly less work than tracking xx through every step.

Worked example 1: the disguised quadratic

For x45x2+4=0x^4 - 5x^2 + 4 = 0, let y=x2y = x^2. The equation becomes y25y+4=0y^2 - 5y + 4 = 0, which factors as (y1)(y4)=0(y-1)(y-4) = 0, giving y=1y = 1 or y=4y = 4. Translating back: x2=1x=±1x^2 = 1 \Rightarrow x = \pm 1, and x2=4x=±2x^2 = 4 \Rightarrow x = \pm 2. Four roots — ±1,±2\pm 1, \pm 2 — recovered from a quadratic you could factor by inspection, because the substitution stripped away the part of the problem that only looked hard.

Worked example 2: a radical equation

Solve x+6x=5\sqrt{x} + \dfrac{6}{\sqrt{x}} = 5 for x>0x > 0. Let u=xu = \sqrt{x}, so u>0u > 0 and the equation becomes u+6u=5u + \dfrac{6}{u} = 5. Multiply through by uu: u25u+6=0u^2 - 5u + 6 = 0, which factors as (u2)(u3)=0(u-2)(u-3) = 0, so u=2u = 2 or u=3u = 3. Translating back, x=2x=4\sqrt{x} = 2 \Rightarrow x = 4, and x=3x=9\sqrt{x} = 3 \Rightarrow x = 9. Both check out in the original equation. Without the substitution, this would have meant clearing a radical from a rational equation directly — doable, but far more error-prone than solving a quadratic in uu.

x^4 - 5x^2 + 4 = 0 looks like a quartic let y = x^2 y^2 - 5y + 4 = 0 an ordinary quadratic y = 1 or y = 4 translate back x = ±1, ±2
Substitution turns the hard problem into a familiar one; the only extra step is translating the answer back to the original variable.

When the same expression (or its square) recurs throughout a problem, rename it. Solve the simpler equation in the new variable, then translate every solution back — and always check it's valid in the original domain (here, u=x>0u=\sqrt x>0 ruled nothing out, but it often does).

The most common slip is forgetting to translate back, or forgetting a domain restriction the substitution hid. If u=xu=\sqrt x had come out negative, that root would have to be discarded — x\sqrt x can never be negative — even though it solves the equation in uu perfectly well.

Related concepts

Practice in interviews

Further reading

  • Engel, Problem-Solving Strategies, ch. 1
ShareTwitterLinkedIn