HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Modulus Equations, Inequalities and Cubic Graphs
  1. 1Equations with a modulus
  2. 2Inequalities with a modulus
  3. 3Substitution, cubic graphs and cubic inequalities
  1. Mathematics
  2. /Modulus Equations, Inequalities and Cubic Graphs
  3. /Substitution, cubic graphs and cubic inequalities

Course 21.2·Lesson 3 of 3

Substitution, cubic graphs and cubic inequalities

Some equations hide a quadratic. A substitution reveals it. You also sketch cubic graphs from three linear factors, with their moduli, and solve cubic inequalities by reading the sketch.

about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Modulus Equations, Inequalities and Cubic Graphs
  1. 1Equations with a modulus
  2. 2Inequalities with a modulus
  3. 3Substitution, cubic graphs and cubic inequalities

Try the code and the simulations beside the lesson.

Spotting the quadratic

Some equations are not quadratic in xxx, but they are quadratic in something simpler. A substitution names that something, for example u=x2u = x^2u=x2. Then you solve for uuu, and go back to xxx.

For x4−5x2+4=0x^4 - 5x^2 + 4 = 0x4−5x2+4=0:

  1. Let u=x2u = x^2u=x2. Then x4=u2x^4 = u^2x4=u2, and the equation is u2−5u+4=0u^2 - 5u + 4 = 0u2−5u+4=0.
  2. Factorise: (u−1)(u−4)=0(u - 1)(u - 4) = 0(u−1)(u−4)=0, so u=1u = 1u=1 or u=4u = 4u=4.
  3. Go back: x2=1x^2 = 1x2=1 gives x=±1x = \pm 1x=±1, and x2=4x^2 = 4x2=4 gives x=±2x = \pm 2x=±2.

There are four real solutions. Always say which substitution you use, and always go back to xxx.

Other substitutions

  • A square root. For x−3x−4=0x - 3\sqrt{x} - 4 = 0x−3x​−4=0 let u=xu = \sqrt{x}u=x​. Then u2−3u−4=0u^2 - 3u - 4 = 0u2−3u−4=0, so (u−4)(u+1)=0(u - 4)(u + 1) = 0(u−4)(u+1)=0 and u=4u = 4u=4 or u=−1u = -1u=−1. But x\sqrt{x}x​ cannot be negative, so u=−1u = -1u=−1 is rejected. Then x=4\sqrt{x} = 4x​=4 gives x=16x = 16x=16.
  • A fractional power. For x4/3+x2/3−12=0x^{4/3} + x^{2/3} - 12 = 0x4/3+x2/3−12=0 let u=x2/3u = x^{2/3}u=x2/3. Then u2+u−12=0u^2 + u - 12 = 0u2+u−12=0, so u=3u = 3u=3 or u=−4u = -4u=−4. As x2/3x^{2/3}x2/3 is never negative, only u=3u = 3u=3 is kept, so x2/3=3x^{2/3} = 3x2/3=3 and x=±33/2=±33x = \pm 3^{3/2} = \pm 3\sqrt{3}x=±33/2=±33​, using the real cube root of a negative number.
  • An exponential. For 9x−4×3x+3=09^x - 4 \times 3^x + 3 = 09x−4×3x+3=0 note that 9x=(3x)29^x = (3^x)^29x=(3x)2. Let u=3xu = 3^xu=3x. Then u2−4u+3=0u^2 - 4u + 3 = 0u2−4u+3=0, so u=1u = 1u=1 or u=3u = 3u=3. Hence x=0x = 0x=0 or x=1x = 1x=1. Since 3x3^x3x is always positive, any u≤0u \le 0u≤0 would be rejected.

In the third course you will use the same method with exe^xex and ln⁡x\ln xlnx.

Sketching a cubic from its factors

A cubic given as a product of three linear factors, y=k(x−p)(x−q)(x−r)y = k(x - p)(x - q)(x - r)y=k(x−p)(x−q)(x−r), is quick to sketch.

  1. The roots. The graph crosses the xxx-axis at x=px = px=p, qqq and rrr. Mark them as coordinates.
  2. The yyy-intercept. Put x=0x = 0x=0: y=−kpqry = -kpqry=−kpqr.
  3. The shape. If k>0k > 0k>0, the graph starts low on the left and ends high on the right. If k<0k < 0k<0, it is the other way round. Between the roots the sign alternates.
  4. A repeated factor. If a factor is squared, the graph touches the axis there and does not cross.

For y=(x+3)(x−1)(x−2)y = (x + 3)(x - 1)(x - 2)y=(x+3)(x−1)(x−2) the roots are −3-3−3, 111 and 222, and the yyy-intercept is (3)(−1)(−2)=6(3)(-1)(-2) = 6(3)(−1)(−2)=6. The graph is below the axis for x<−3x < -3x<−3, above it for −3<x<1-3 < x < 1−3<x<1, below it for 1<x<21 < x < 21<x<2, and above it for x>2x > 2x>2.

Two graphs side by side. The left graph is y equals (x plus 3)(x minus 1)(x minus 2): it crosses the x-axis at (minus 3, 0), (1, 0) and (2, 0), and the y-axis at (0, 6), with a high point near x equals minus 1.5 and a low point near x equals 1.5. The right graph is the modulus of the same cubic: the small dip below the axis between x equals 1 and x equals 2 is reflected upwards, so the graph never goes below the x-axis and has sharp points at the three roots.

The graph of y=∣f(x)∣y = |f(x)|y=∣f(x)∣ is the same graph with the parts below the axis reflected upwards, as in the right-hand picture. The points where it meets the axes stay the same. You need no turning points for the sketch, but the points where the graph meets the axes must be labelled.

Cubic inequalities

To solve f(x)≥df(x) \ge df(x)≥d, f(x)>df(x) > df(x)>d, f(x)≤df(x) \le df(x)≤d or f(x)<df(x) < df(x)<d, where f(x)f(x)f(x) is a product of three linear factors and ddd is a constant, use the graph.

  1. Sketch (or draw accurately) the graph of y=f(x)y = f(x)y=f(x).
  2. Draw the horizontal line y=dy = dy=d.
  3. Find the xxx-values where the two meet.
  4. Read off the xxx-values where the curve is above the line (for >>> or ≥\ge≥) or below it (for <<< or ≤\le≤).

For d=0d = 0d=0 you only need the roots and the sign pattern. For (x+3)(x−1)(x−2)>0(x + 3)(x - 1)(x - 2) > 0(x+3)(x−1)(x−2)>0 the answer is −3<x<1-3 < x < 1−3<x<1 or x>2x > 2x>2.

For d≠0d \ne 0d=0 the curve meets the line at new points. The curve y=(x+3)(x−1)(x−2)y = (x + 3)(x - 1)(x - 2)y=(x+3)(x−1)(x−2) meets the line y=12y = 12y=12 at x=−2x = -2x=−2, x=−1x = -1x=−1 and x=3x = 3x=3. The curve is on or above the line for −2≤x≤−1-2 \le x \le -1−2≤x≤−1 and for x≥3x \ge 3x≥3.

A graph of the cubic y equals (x plus 3)(x minus 1)(x minus 2) in blue with the dashed red line y equals 12. The line meets the curve at x equals minus 2, minus 1 and 3. The parts of the curve on or above the line, from x equals minus 2 to minus 1 and from x equals 3 onwards, are drawn in green, with green bars on the x-axis below them.

So (x+3)(x−1)(x−2)≥12(x + 3)(x - 1)(x - 2) \ge 12(x+3)(x−1)(x−2)≥12 has the solution −2≤x≤−1-2 \le x \le -1−2≤x≤−1 or x≥3x \ge 3x≥3.

Practise with new numbers

Try it in Python

The program solves x4−13x2+36=0x^4 - 13x^2 + 36 = 0x4−13x2+36=0 with the substitution u=x2u = x^2u=x2, and checks each answer in the original equation.

Read it first. Then run it. How many values of xxx come from each value of uuu?

1. Change -13, 36 to -5, 4. Which values of x do you get?

2. Change 36 to -36. One value of u is negative. What happens to it?

Common mistakes

  • Stopping at uuu. The question asks for xxx, so go back with x2=ux^2 = ux2=u.
  • Taking only the positive square root. x2=4x^2 = 4x2=4 gives x=2x = 2x=2 and x=−2x = -2x=−2.
  • Keeping an impossible uuu. If u=xu = \sqrt{x}u=x​ or u=3xu = 3^xu=3x, a negative uuu has no solution.
  • Crossing a repeated root. A squared factor touches the axis.
  • Reading a cubic inequality from the roots alone when d≠0d \ne 0d=0. Draw the line y=dy = dy=d.

Remember these

  • Name the hidden quadratic with uuu, solve for uuu, check uuu is allowed, and go back to xxx.
  • y=k(x−p)(x−q)(x−r)y = k(x - p)(x - q)(x - r)y=k(x−p)(x−q)(x−r): roots ppp, qqq, rrr, yyy-intercept −kpqr-kpqr−kpqr.
  • A repeated factor touches the axis. ∣f(x)∣|f(x)|∣f(x)∣ reflects the parts below the axis upwards.
  • Cubic inequality: compare the curve with the line y=dy = dy=d and read the xxx-values.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Solve x4−10x2+9=0x^4 - 10x^2 + 9 = 0x4−10x2+9=0.
  1. Solve x−5x+6=0x - 5\sqrt{x} + 6 = 0x−5x​+6=0.
  1. Solve 4x−6×2x+8=04^x - 6 \times 2^x + 8 = 04x−6×2x+8=0.
  1. Sketch y=(x+3)(x−2)2y = (x + 3)(x - 2)^2y=(x+3)(x−2)2 in words. Where does it meet the axes?
  1. Solve (x+2)(x−1)(x−4)≤0(x + 2)(x - 1)(x - 4) \le 0(x+2)(x−1)(x−4)≤0.

References

  • Cambridge International, IGCSE Additional Mathematics 0606 syllabus (2025, 2026 and 2027), unit 4 Equations, inequalities and graphs.

Enroll free in Modulus Equations, Inequalities and Cubic Graphs

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A pupil notices that every power of the unknown in the equation below is even…Easy · High School (9–10) · by StemPy Lab
The unknown sits in an exponent, and the two powers in the equation have related bases…Medium · High School (9–10) · by StemPy Lab
A cubic is given as a product of three linear factors, and a sketch is needed for a report with…Medium · High School (9–10) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Modulus Equations, Inequalities and Cubic Graphs
← Inequalities with a modulusNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

A cubic curve and a horizontal line are drawn on one set of axes, and the part of the curve that is…Hard · High School (9–10) · by StemPy Lab

Python Labs (1)

A hidden quadratic and a cubic inequalityPython Lab · by StemPy Lab

Question Sets (1)

Modulus and Cubics: Concept Check10 questions · by StemPy Lab

Notes (1)

Modulus Equations, Inequalities and Cubic Graphs: Quick RevisionNote · by StemPy Lab