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
  1. Problems
  2. /A cubic curve and a horizontal line are drawn on one set of axes, and the part of the curve that is…
HardMathematicsHigh School (9–10)Functions and Calculus › Graphs of FunctionsNumericalA-LevelIGCSEIB

A cubic curve and a horizontal line are drawn on one set of axes, and the part of the curve that is…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A cubic curve and a horizontal line are drawn on one set of axes, and the part of the curve that is not above the line is needed.

Let f(x)=(x+2)(x−2)(x−3)f(x) = (x + 2)(x - 2)(x - 3)f(x)=(x+2)(x−2)(x−3). The graph of y=f(x)y = f(x)y=f(x) meets the line y=12y = 12y=12 at three points, with x=−1x = -1x=−1, x=0x = 0x=0 and x=4x = 4x=4.

Use this to solve f(x)≤12f(x) \le 12f(x)≤12, which has the form x≤px \le px≤p or q≤x≤rq \le x \le rq≤x≤r.

Give ppp, qqq and rrr, and the number of whole numbers from −4-4−4 to 666 that fit.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

Name the hidden quadratic with a new letter, such as u=x2u = x^2u=x2, solve for uuu, reject any value of uuu that is impossible, and go back to xxx. A cubic y=k(x−p)(x−q)(x−r)y = k(x - p)(x - q)(x - r)y=k(x−p)(x−q)(x−r) meets the xxx-axis at ppp, qqq and rrr. For a cubic inequality compare the curve with the line y=dy = dy=d.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The meeting points. The curve meets the line y=12y = 12y=12 at x=−1x = -1x=−1, 000 and 444. These split the xxx-axis into four parts.

Step 2. Test each part. x=−2x = -2x=−2: f=0≤12f = 0 \le 12f=0≤12, which fits. x=−0.5x = -0.5x=−0.5: f(−0.5)=(1.5)(−2.5)(−3.5)=13.125>12f(-0.5) = (1.5)(-2.5)(-3.5) = 13.125 > 12f(−0.5)=(1.5)(−2.5)(−3.5)=13.125>12, which does not fit. x=2x = 2x=2: f=0f = 0f=0, which fits. x=5x = 5x=5: f=(7)(3)(2)=42>12f = (7)(3)(2) = 42 > 12f=(7)(3)(2)=42>12, which does not fit.

Step 3. Write it. f(x)≤12f(x) \le 12f(x)≤12 for x≤−1x \le -1x≤−1 or 0≤x≤40 \le x \le 40≤x≤4. So p=−1p = -1p=−1, q=0q = 0q=0 and r=4r = 4r=4.

Step 4. Whole numbers. From −3-3−3 to 555 the fitting numbers are −3-3−3, −2-2−2, −1-1−1, 000, 111, 222, 333 and 444, which is 888 numbers.

Answer: p=−1p = -1p=−1, q=0q = 0q=0, r=4r = 4r=4, and 888 whole numbers.

Log in to save this for later
← All Problems
← A cubic is given as a product of three linear factors, and a sketch is needed for a report with…Which power is it? Three short logarithms are to be evaluated without a calculator… →
More onFunctions and Calculus › Graphs of Functions

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Substitution, cubic graphs and cubic inequalitiesModulus Equations, Inequalities and Cubic Graphs

More on this topic

  1. A cubic is given as a product of three linear factors, and a sketch is needed for a report with…Medium
  2. The unknown sits in an exponent, and the two powers in the equation have related bases…Medium
  3. A pupil notices that every power of the unknown in the equation below is even…Easy
A pupil draws the graph of the modulus of a quadratic together with a horizontal line, and wants…Hard
  • Two pupils solve the equation below. One keeps both candidates, and the other tests each candidate…Medium
  • All problems on this topic →