Equations that are quadratic in a function of x

AS · P1 · 9 min

Some equations are quadratics in disguise. x4−5x2+4=0x^4 - 5x^2 + 4 = 0 is a quadratic in x2x^2; 6x+x−2=06x + \sqrt{x} - 2 = 0 is a quadratic in x\sqrt{x}; tan⁡2x=1+tan⁡x\tan^2 x = 1 + \tan x is a quadratic in tan⁡x\tan x. Once you spot the hidden variable, a substitution turns the problem into one you can already solve. The syllabus names this skill explicitly, and it reappears in trigonometry and (in Paper 3) with exponentials, so the habit of spotting the disguise is worth building now.

Spotting the disguise

A quadratic in uu has the form au2+bu+c=0au^2 + bu + c = 0. The equation is quadratic in some function f(x)f(x) if you can write it as

a[f(x)]2+b f(x)+c=0a\left[f(x)\right]^2 + b\,f(x) + c = 0

The test: one of the powers is double the other, and there is a constant term (or the constant is zero).

Key result
Equation containsSubstituteBecause
x4x^4 and x2x^2u=x2u = x^2x4=(x2)2x^4 = \left(x^2\right)^2
x6x^6 and x3x^3u=x3u = x^3x6=(x3)2x^6 = \left(x^3\right)^2
xx and x\sqrt{x}u=xu = \sqrt{x}x=(x)2x = \left(\sqrt{x}\right)^2
x23x^{\frac{2}{3}} and x13x^{\frac{1}{3}}u=x13u = x^{\frac{1}{3}}x23=(x13)2x^{\frac{2}{3}} = \left(x^{\frac{1}{3}}\right)^2
1x2\dfrac{1}{x^2} and 1x\dfrac{1}{x}u=1xu = \dfrac{1}{x}1x2=(1x)2\dfrac{1}{x^2} = \left(\dfrac{1}{x}\right)^2
tan⁡2x\tan^2 x and tan⁡x\tan xu=tan⁡xu = \tan xtan⁡2x=(tan⁡x)2\tan^2 x = (\tan x)^2
sin⁡2x\sin^2 x and sin⁡x\sin xu=sin⁡xu = \sin xsin⁡2x=(sin⁡x)2\sin^2 x = (\sin x)^2
(x2+x)2(x^2 + x)^2 and (x2+x)(x^2 + x)u=x2+xu = x^2 + xthe bracket is the hidden variable
Solving a disguised quadratic
  1. Identify the hidden variable and write u=…u = \dots.
  2. Rewrite the equation as a quadratic in uu and solve it.
  3. Check each value of uu is possible. x2x^2 and x\sqrt{x} cannot be negative; sin⁡x\sin x and cos⁡x\cos x must lie between −1-1 and 11.
  4. Substitute back, u=f(x)u = f(x), and solve for xx. Remember x2=4x^2 = 4 gives x=±2x = \pm 2.
  5. List every solution for xx.

Step 3 is where marks are commonly lost: an impossible value of uu must be rejected with a reason, for example "x2=−1x^2 = -1 has no real solutions".

Quadratic in x squared

Solve x4−5x2+4=0x^4 - 5x^2 + 4 = 0.

Solution

Let u=x2u = x^2, so x4=u2x^4 = u^2:

u2−5u+4=0⇒(u−1)(u−4)=0⇒u=1 or u=4u^2 - 5u + 4 = 0 \quad\Rightarrow\quad (u - 1)(u - 4) = 0 \quad\Rightarrow\quad u = 1 \text{ or } u = 4

Back-substitute: x2=1x^2 = 1 gives x=±1x = \pm 1; x2=4x^2 = 4 gives x=±2x = \pm 2.

Solutions: x=−2,−1,1,2x = -2, -1, 1, 2.

y = x^4 - 5x^2 + 4 (-2, 0) (-1, 0) (1, 0) (2, 0)

The graph confirms four crossings of the xx-axis.

Rejecting an impossible value

Solve x4−3x2−4=0x^4 - 3x^2 - 4 = 0.

Solution

Let u=x2u = x^2: u2−3u−4=0u^2 - 3u - 4 = 0, so (u−4)(u+1)=0(u - 4)(u + 1) = 0 and u=4u = 4 or u=−1u = -1.

  • x2=4x^2 = 4 gives x=±2x = \pm 2.
  • x2=−1x^2 = -1 has no real solutions, since a square cannot be negative.

Solutions: x=±2x = \pm 2.

Quadratic in the square root of x

Solve 6x+x−2=06x + \sqrt{x} - 2 = 0.

Solution

Let u=xu = \sqrt{x}, so x=u2x = u^2:

6u2+u−2=0⇒(3u+2)(2u−1)=0⇒u=12 or u=−236u^2 + u - 2 = 0 \quad\Rightarrow\quad (3u + 2)(2u - 1) = 0 \quad\Rightarrow\quad u = \tfrac{1}{2} \text{ or } u = -\tfrac{2}{3}

x\sqrt{x} means the non-negative square root, so x=−23\sqrt{x} = -\tfrac{2}{3} is impossible. From x=12\sqrt{x} = \tfrac{1}{2}, x=14x = \tfrac{1}{4}.

Check: 6×14+12−2=32+12−2=06 \times \tfrac{1}{4} + \tfrac{1}{2} - 2 = \tfrac{3}{2} + \tfrac{1}{2} - 2 = 0. Correct.

Fractional powers

Solve 2x23−7x13+3=02x^{\frac{2}{3}} - 7x^{\frac{1}{3}} + 3 = 0.

Solution

Let u=x13u = x^{\frac{1}{3}}, so x23=u2x^{\frac{2}{3}} = u^2:

2u2−7u+3=0⇒(2u−1)(u−3)=0⇒u=12 or u=32u^2 - 7u + 3 = 0 \quad\Rightarrow\quad (2u - 1)(u - 3) = 0 \quad\Rightarrow\quad u = \tfrac{1}{2} \text{ or } u = 3

Cube both sides to undo u=x13u = x^{\frac{1}{3}}: x=(12)3=18x = \left(\tfrac{1}{2}\right)^3 = \tfrac{1}{8} or x=33=27x = 3^3 = 27.

(Cube roots can be negative, so no value of uu would have been rejected here.)

A bracket as the hidden variable

Solve (x2−2x)2−11(x2−2x)+24=0\left(x^2 - 2x\right)^2 - 11\left(x^2 - 2x\right) + 24 = 0.

Solution

Do not expand. Let u=x2−2xu = x^2 - 2x:

u2−11u+24=0⇒(u−3)(u−8)=0⇒u=3 or u=8u^2 - 11u + 24 = 0 \quad\Rightarrow\quad (u - 3)(u - 8) = 0 \quad\Rightarrow\quad u = 3 \text{ or } u = 8
  • x2−2x=3x^2 - 2x = 3: x2−2x−3=0x^2 - 2x - 3 = 0, (x−3)(x+1)=0(x - 3)(x + 1) = 0, so x=3x = 3 or x=−1x = -1.
  • x2−2x=8x^2 - 2x = 8: x2−2x−8=0x^2 - 2x - 8 = 0, (x−4)(x+2)=0(x - 4)(x + 2) = 0, so x=4x = 4 or x=−2x = -2.

Solutions: x=−2,−1,3,4x = -2, -1, 3, 4.

A trigonometric quadratic

Solve tan⁡2x=1+tan⁡x\tan^2 x = 1 + \tan x for 0∘≤x≤180∘0^\circ \le x \le 180^\circ.

Solution

Rearrange and let u=tan⁡xu = \tan x:

u2−u−1=0⇒u=1±1+42=1±52u^2 - u - 1 = 0 \quad\Rightarrow\quad u = \frac{1 \pm \sqrt{1 + 4}}{2} = \frac{1 \pm \sqrt{5}}{2}

So tan⁡x=1.618…\tan x = 1.618\ldots or tan⁡x=−0.618…\tan x = -0.618\ldots. Any real value is possible for tan⁡\tan, so neither is rejected.

  • tan⁡x=1.618…\tan x = 1.618\ldots: x=tan⁡−1(1.618…)=58.3∘x = \tan^{-1}(1.618\ldots) = 58.3^\circ.
  • tan⁡x=−0.618…\tan x = -0.618\ldots: the calculator gives −31.7∘-31.7^\circ, outside the interval. Since tan⁡\tan repeats every 180∘180^\circ, x=−31.7∘+180∘=148.3∘x = -31.7^\circ + 180^\circ = 148.3^\circ.

Solutions: x=58.3∘x = 58.3^\circ and x=148.3∘x = 148.3^\circ (to 1 decimal place).

Solving trigonometric equations in an interval is covered fully in Solving trigonometric equations.

Reasoning about the number of roots

Show that, for every positive constant kk, the equation x4+2x2−k=0x^4 + 2x^2 - k = 0 has exactly two real roots.

Solution

Let u=x2u = x^2: u2+2u−k=0u^2 + 2u - k = 0, so

u=−2±4+4k2=−1±1+ku = \frac{-2 \pm \sqrt{4 + 4k}}{2} = -1 \pm \sqrt{1 + k}

Since k>0k > 0, 1+k>1\sqrt{1 + k} > 1. So

  • u=−1+1+k>0u = -1 + \sqrt{1 + k} > 0, which gives two real values x=±−1+1+kx = \pm\sqrt{-1 + \sqrt{1 + k}};
  • u=−1−1+k<0u = -1 - \sqrt{1 + k} < 0, which is impossible for u=x2u = x^2.

Hence there are exactly two real roots.

Watch out

Stopping at uu. The question asks for xx. Always back-substitute.

Losing the negative root. x2=4x^2 = 4 has two solutions, x=2x = 2 and x=−2x = -2.

Keeping impossible values. Reject x2<0x^2 < 0, x<0\sqrt{x} < 0, and sin⁡x\sin x or cos⁡x\cos x outside [−1,1][-1, 1], and say why.

Expanding when you should substitute. Expanding (x2−2x)2\left(x^2 - 2x\right)^2 gives a quartic that is much harder to factorise.

Squaring both sides instead. Rearranging 6x−2=−x6x - 2 = -\sqrt{x} and squaring can work, but it introduces false roots that must be checked. The substitution method avoids this.

Exam tip
  • Questions often come in two parts: "(a) Solve 2y2−5y+2=02y^2 - 5y + 2 = 0. (b) Hence solve 2x4−5x2+2=02x^4 - 5x^2 + 2 = 0." Use part (a) directly in (b); do not start again.
  • Write the substitution explicitly ("let u=x2u = x^2"). It makes your working clear and earns the method mark even if a later slip occurs.
  • Give exact answers (surds, fractions) unless the question says otherwise. For trigonometric versions, give angles to 1 decimal place in degrees or 3 significant figures in radians.
  • "Find all the solutions" or "solve completely" signals that there are several, often four. Count them before you move on.
Summary
  • Look for two powers where one is double the other, such as x4x^4 and x2x^2, xx and x\sqrt{x}, tan⁡2x\tan^2 x and tan⁡x\tan x.
  • Substitute uu for the hidden variable, solve the quadratic in uu, then back-substitute.
  • Reject impossible values with a reason: squares and square roots are not negative, sine and cosine lie in [−1,1][-1, 1].
  • x2=ax^2 = a with a>0a > 0 gives two solutions, ±a\pm\sqrt{a}.
  • If the hidden variable is a whole bracket, do not expand it.

Practice questions

Question
  1. Solve x4−10x2+9=0x^4 - 10x^2 + 9 = 0.
  2. Solve x4+x2−12=0x^4 + x^2 - 12 = 0.
  3. Solve x−5x+6=0x - 5\sqrt{x} + 6 = 0.
  4. Solve 2x+3x−2=02x + 3\sqrt{x} - 2 = 0.
  5. Solve x6−7x3−8=0x^6 - 7x^3 - 8 = 0.
  6. Solve 6x2−1x−1=0\dfrac{6}{x^2} - \dfrac{1}{x} - 1 = 0.
  7. (a) Solve 2y2−5y+2=02y^2 - 5y + 2 = 0. (b) Hence solve 2x4−5x2+2=02x^4 - 5x^2 + 2 = 0, giving exact answers.
  8. Solve 2sin⁡2x+sin⁡x−1=02\sin^2 x + \sin x - 1 = 0 for 0∘≤x≤360∘0^\circ \le x \le 360^\circ.
  9. Solve (x2+x)2−8(x2+x)+12=0\left(x^2 + x\right)^2 - 8\left(x^2 + x\right) + 12 = 0.
  10. Find the set of values of the constant kk for which the equation x4−6x2+k=0x^4 - 6x^2 + k = 0 has four distinct real roots.
Answers
  1. u=x2u = x^2: (u−1)(u−9)=0(u - 1)(u - 9) = 0, so x2=1x^2 = 1 or 99, giving x=±1,±3x = \pm 1, \pm 3.

  2. u=x2u = x^2: (u+4)(u−3)=0(u + 4)(u - 3) = 0. x2=−4x^2 = -4 has no real solutions; x2=3x^2 = 3 gives x=±3x = \pm\sqrt{3}.

  3. u=xu = \sqrt{x}: u2−5u+6=0u^2 - 5u + 6 = 0, u=2u = 2 or 33, so x=4x = 4 or x=9x = 9.

  4. u=xu = \sqrt{x}: 2u2+3u−2=02u^2 + 3u - 2 = 0, (2u−1)(u+2)=0(2u - 1)(u + 2) = 0. u=−2u = -2 is impossible, so x=12\sqrt{x} = \tfrac{1}{2} and x=14x = \tfrac{1}{4}.

  5. u=x3u = x^3: (u−8)(u+1)=0(u - 8)(u + 1) = 0, so x3=8x^3 = 8 or −1-1, giving x=2x = 2 or x=−1x = -1.

  6. u=1xu = \dfrac{1}{x}: 6u2−u−1=06u^2 - u - 1 = 0, (3u+1)(2u−1)=0(3u + 1)(2u - 1) = 0, so u=12u = \tfrac{1}{2} or −13-\tfrac{1}{3}, giving x=2x = 2 or x=−3x = -3.

  7. (a) (2y−1)(y−2)=0(2y - 1)(y - 2) = 0, so y=12y = \tfrac{1}{2} or 22. (b) x2=12x^2 = \tfrac{1}{2} or x2=2x^2 = 2, so x=±12=±22x = \pm\dfrac{1}{\sqrt{2}} = \pm\dfrac{\sqrt{2}}{2} or x=±2x = \pm\sqrt{2}.

  8. u=sin⁡xu = \sin x: (2u−1)(u+1)=0(2u - 1)(u + 1) = 0, so sin⁡x=12\sin x = \tfrac{1}{2} or sin⁡x=−1\sin x = -1. sin⁡x=12\sin x = \tfrac{1}{2}: x=30∘,150∘x = 30^\circ, 150^\circ. sin⁡x=−1\sin x = -1: x=270∘x = 270^\circ. Solutions 30∘,150∘,270∘30^\circ, 150^\circ, 270^\circ.

  9. u=x2+xu = x^2 + x: (u−2)(u−6)=0(u - 2)(u - 6) = 0. x2+x−2=0x^2 + x - 2 = 0 gives x=1,−2x = 1, -2; x2+x−6=0x^2 + x - 6 = 0 gives x=2,−3x = 2, -3. Solutions x=−3,−2,1,2x = -3, -2, 1, 2.

  10. u=x2u = x^2: u2−6u+k=0u^2 - 6u + k = 0. Four distinct real xx need two distinct positive values of uu (each gives ±u\pm\sqrt{u}). The roots are u=3±9−ku = 3 \pm \sqrt{9 - k}. Distinct roots need 9−k>09 - k > 0, so k<9k < 9. The larger root 3+9−k3 + \sqrt{9 - k} is always positive; the smaller, 3−9−k3 - \sqrt{9 - k}, is positive when 9−k<3\sqrt{9 - k} < 3, i.e. 9−k<99 - k < 9, i.e. k>0k > 0. (If k=0k = 0 the smaller root is u=0u = 0, giving only x=0x = 0.) Answer: 0<k<90 < k < 9.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action