Sketching Cubic and Quartic Graphs from Their Factors | OCR A Level Maths notes

Free preview: Sketching Cubic and Quartic Graphs from Their Factors

Polynomials and the Shape of a Cubic

Year 1 (AS)

Here's a challenge: sketch y=(x+2)(x−1)(x−3) without plotting a single table of values. It sounds hard, but by the end of this page you'll do it in under a minute. The brackets tell you almost everything.

Let's start with what you know from GCSE: you can sketch a straight line and a quadratic. Now we add two more curves.

Words you must know

  • A polynomial is made only of whole-number powers of x, each multiplied by a number, added together. Example: 2x3−5x+1.
  • The degree is the highest power. Degree 1 is linear, degree 2 quadratic, degree 3 cubic, degree 4 quartic.
  • In an exam, sketch does not mean plot on graph paper. It means the right shape, in the right place, with the key points labelled.
  • The key points are where the curve meets the axes, plus any turning points the question asks for.
  • A root is a value of x that makes y=0. It is where the curve meets the x-axis.

Step 1: the end shape comes from the leading term

  • The leading term is the term with the highest power.
  • Why does it matter? For very large x (positive or negative), the highest power is far bigger than the rest, so it decides where the curve goes. At x=100, x3 is a million while 5x is only 500.
  • Positive x3 term: starts bottom left, ends top right.
  • Negative x3 term: starts top left, ends bottom right.
  • You don't need to expand. Just multiply the x terms from each bracket: in (x+2)(x−1)(x−3) that is x×x×x=x3, positive.

Step 2: roots from the factors

  • A product is zero when any one bracket is zero. So y=(x+2)(x−1)(x−3) has roots x=−2, 1, 3.
  • Notice the sign flips: the bracket (x+2) gives x=−2.

Step 3: the y-intercept

  • The y-axis is where x=0, so put x=0 into the equation.
  • y=(0+2)(0−1)(0−3)=(2)(−1)(−3)=6, so the curve crosses the y-axis at (0,6).

Step 4: join up smoothly

  • Start at the correct end, pass through each root in order, and finish at the other end.
  • Between neighbouring roots the curve turns. You don't need the exact turning points unless asked.

๐Ÿ‘€ Watch me do it: sketch y=(x+2)(x−1)(x−3)

What I writeWhy I do it
x×x×x=x3: positiveStep 1: bottom left to top right.
Roots −2,1,3: all single brackets, so it crosses at eachStep 2.
y=6 at x=0Step 3.
Up through (−2,0), over a hump, down through (0,6) and (1,0), dip, up through (3,0).Step 4, shown in the graph below.

Graph of y = (x + 2)(x โˆ’ 1)(x โˆ’ 3) crossing the x-axis at โˆ’2, 1 and 3 and the y-axis at 6

Following the graph

  • The curve starts bottom left because the x3 term is positive.
  • It rises and crosses the x-axis at (−2,0), turns, and comes back down through (0,6) and (1,0).
  • It turns again below the x-axis, then rises through (3,0) and carries on to the top right.
  • Each root comes from a single bracket, so the curve crosses the axis there.

๐Ÿ’ก Check the y-intercept fits

Your y-intercept must fit the shape. Here the curve is above the axis between x=−2 and x=1, and y=6 at x=0 is positive. If your intercept comes out on the wrong side, you have made a sign slip.

โœ๏ธ YOUR TURN 1

Try this first:

For each curve, give the end shape, the roots and the y-intercept.

  1. y=(x−1)(x+3)(x−4)
  2. y=(2−x)(x+1)(x+3)

Answer:

  1. Positive cubic (bottom left to top right). Roots −3,1,4. y=(−1)(3)(−4)=12, so (0,12).
  2. (−x)(x)(x)=−x3: negative, top left to bottom right. Roots 2,−1,−3. y=(2)(1)(3)=6, so (0,6).

Repeated Roots and Negative Cubics

Now for a new idea: what happens when a bracket appears twice? Think about y=x2. Its root at 0 comes from x×x, the bracket x twice, and the curve doesn't cross the axis there: it touches and bounces back. The same happens inside a cubic.

  • A squared bracket such as (x+1)2 gives a repeated root (also called a double root) at x=−1.
  • At a repeated root the curve touches the x-axis and turns back. It does not cross.

Diagram: Both pictures are meant to be y = (x+1)^2(2-x), a negative cubic with y-intercept (0, 2).

What the picture shows

  • Both pictures are meant to be y=(x+1)2(2−x), a negative cubic with y-intercept (0, 2).
  • Wrong: the curve crosses at x = โˆ’1, so just to the left of โˆ’1 it dips below the axis (the red patch). But (x+1)2 is never negative and 2−x is positive there, so y cannot be negative.
  • Right: the curve comes down, touches the axis at (โˆ’1, 0) and turns back up. It only crosses at the single root (2, 0).
  • So a squared bracket means touch and turn back, never cross.
  • Why? Because (x+1)2 is never negative. So y keeps the same sign on both sides of x=−1, and the curve can't get to the other side of the axis.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Functions and Graphs

  1. Sketching Cubic and Quartic Graphs from Their Factors
  2. Solving Modulus Equations and Inequalities Graphically
  3. Reciprocal Graphs y = a/x and y = a/xยฒ and Their Asymptotes
  4. Using Points of Intersection to Solve Equations
  5. Direct and Inverse Proportion and Their Graphs
  6. Translating Graphs: y = f(x) + a and y = f(x + a)
  7. Stretching and Reflecting Graphs: y = af(x), y = f(ax), y = โˆ’f(x) and y = f(โˆ’x)
  8. Combining Transformations of Graphs
  9. What Makes a Function: Domain, Range, One-One and Many-One
  10. Composite Functions: Finding fg(x) and Its Domain
  11. Inverse Functions and Their Graphs: Reflecting in y = x
  12. The Modulus Function and the Graph of y = |ax + b|
  13. Modelling with Functions: Limitations and Refinements
  14. Move Up a Grade: A Level Maths Functions and Graphs
  15. Tricky Bits: A Level Maths Functions and Graphs

What's inside for this topic

15 teacher notes, 225 practice questions, 64 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Next note: Solving Modulus Equations and Inequalities Graphically

Sketching Cubic and Quartic Graphs from Their Factors on other exam boards

All OCR A Level Maths topics ยท A Level Maths