Grade 12
CAPS Syllabus
Calculus

Sketching Cubic Graphs

Master the complete method for sketching cubic functions, from finding key points to understanding concavity and inflection points.

Introduction

Graph sketching is one of the most important skills in Grade 12 calculus. Being able to accurately sketch cubic functions requires understanding how the function behaves, where it crosses the axes, where it turns, and how it curves.

In this lesson, we'll learn the complete systematic method for sketching cubic graphs. We'll explore:

  • What cubic functions are and how the coefficients affect the shape
  • How to find all intercepts (x-intercepts and y-intercept)
  • How to locate stationary points (turning points)
  • How to determine concavity and inflection points
  • How to put it all together to sketch a complete, accurate graph

By the end of this lesson, you'll be able to sketch any cubic function confidently and understand what the graph tells us about the function's behavior.

Why is this important?

Cubic functions appear everywhere in the real world - from modeling the motion of objects under changing forces, to describing economic trends, to understanding how structures bend and deform. Being able to visualize and sketch these functions helps you understand the mathematics behind real-world phenomena.

Key Takeaways

What You'll Learn
  • A cubic function has the form $f(x) = ax^3 + bx^2 + cx + d$ where $a \\neq 0$
  • The sign of $a$ determines the overall shape: if $a > 0$, the graph rises to the right; if $a < 0$, it falls to the right
  • To find intercepts: Set $x = 0$ for y-intercept, and $f(x) = 0$ for x-intercepts (use factor theorem and factoring)
  • Stationary points occur where $f'(x) = 0$; use the first derivative test to determine if they're maxima or minima
  • Inflection points occur where $f''(x) = 0$ and the concavity changes; they mark where the graph changes from curving up to curving down (or vice versa)
  • Always sketch in a systematic way: intercepts first, then turning points, then consider concavity and inflection points

What are Cubic Functions?

A cubic function is a polynomial function of degree 3. It has the general form:

$f(x) = ax^3 + bx^2 + cx + d$

where:

  • $a, b, c, d$ are constants (real numbers)
  • $a \\neq 0$ (if $a = 0$, the function would be quadratic, not cubic)
  • $a$ is called the leading coefficient
  • $d$ is the constant term (and equals the y-intercept)

Understanding the degree

The degree of a polynomial is the highest power of $x$. For cubic functions, this is 3. The degree tells us several important things:

  • A cubic function can have at most 3 x-intercepts (roots)
  • A cubic function can have at most 2 turning points
  • A cubic function has exactly 1 inflection point
Interactive Cubic Function Explorer
Adjust the coefficients below to see how they affect the shape of the cubic graph
$f(x) = x^3$

Try these presets:

Experiment!

Try setting $a = 0$. Notice that the function is no longer cubic! This is why we require $a \\neq 0$ for a function to be cubic.

Effects of Parameter a

The leading coefficient $a$ has a crucial effect on the overall shape and orientation of the cubic graph. Understanding this parameter helps you quickly sketch the general shape before finding specific points.

When a > 0 (Positive)

  • The graph starts low on the left and ends high on the right
  • As $x \to -\infty$, $f(x) \to -\infty$
  • As $x \to +\infty$, $f(x) \to +\infty$
  • The graph generally has an "S" shape or rises from left to right
  • If there are two turning points: first a maximum, then a minimum

When a < 0 (Negative)

  • The graph starts high on the left and ends low on the right
  • As $x \to -\infty$, $f(x) \to +\infty$
  • As $x \to +\infty$, $f(x) \to -\infty$
  • The graph generally has an inverted "S" shape or falls from left to right
  • If there are two turning points: first a minimum, then a maximum

The magnitude of a

The absolute value of $a$ (written $|a|$) affects how "steep" or "stretched" the graph is:

  • Larger $|a|$ values (like $a = 2$ or $a = -3$) make the graph steeper and more vertically stretched
  • Smaller $|a|$ values (like $a = 0.5$ or $a = -0.3$) make the graph flatter and more horizontally spread out
Comparing Positive and Negative Values of a
See how the sign of the leading coefficient affects the graph's orientation

Adjust the slider to see how the magnitude affects the steepness of both graphs

Key Observation:

Both graphs show the same function form $f(x) = ax^3 - 3ax$, but with opposite signs for $a$. Notice how:

  • The green graph (positive a) rises to the right
  • The red graph (negative a) falls to the right
  • They are reflections of each other across the x-axis
  • Both have the same general "S" or cubic shape, just inverted

Finding Intercepts

Intercepts are the points where the graph crosses or touches the axes. They are essential reference points for sketching the graph accurately.

Y-Intercept
Where the graph crosses the y-axis

The y-intercept occurs where $x = 0$. To find it:

Method:

Substitute $x = 0$ into $f(x)$

Example:

For $f(x) = 2x^3 - 5x^2 + 3x - 7$:

$$\begin{align*} f(0) &= 2(0)^3 - 5(0)^2 + 3(0) - 7 \\ &= -7 \end{align*}$$

So the y-intercept is $(0, -7)$

The y-intercept is always just the constant term $d$ in $f(x) = ax^3 + bx^2 + cx + d$

X-Intercepts
Where the graph crosses the x-axis

The x-intercepts occur where $f(x) = 0$. To find them:

Method:

Solve $f(x) = 0$ using factoring techniques

Common techniques:

  • Take out common factors
  • Use the factor theorem
  • Factor by grouping
  • Use difference/sum of cubes formulas

A cubic function can have 1, 2, or 3 x-intercepts. If you can't find factors easily, one or more roots may be irrational or complex.

The Factor Theorem
A powerful tool for finding x-intercepts

Factor Theorem:

If $f(k) = 0$, then $(x - k)$ is a factor of $f(x)$

How to use it:

  1. Try small integer values: ±1, ±2, ±3, etc.
  2. Test if $f(k) = 0$ for these values
  3. If $f(k) = 0$, then $(x - k)$ is a factor
  4. Use long division or inspection to find the remaining quadratic factor
  5. Solve the quadratic factor to find remaining roots

Worked Example: Finding x-intercepts

Find the x-intercepts of $f(x) = x^3 - 6x^2 + 11x - 6$

Step 1: Use factor theorem

Try small values. Let's try x = 1:

$$\begin{align*} f(1) &= (1)^3 - 6(1)^2 + 11(1) - 6 \\ &= 1 - 6 + 11 - 6 \\ &= 0 \end{align*}$$

Since $f(1) = 0$, we know $(x - 1)$ is a factor.

Step 2: Find other factor

Divide by $(x - 1)$ or use inspection:

$f(x) = (x - 1)(x^2 - 5x + 6)$

Step 3: Factor the quadratic

$$\begin{align*} f(x) &= (x - 1)(x^2 - 5x + 6) \\ &= (x - 1)(x - 2)(x - 3) \end{align*}$$

Step 4: Find x-intercepts

Set each factor to zero: $x = 1$, $x = 2$, and $x = 3$

X-intercepts: $(1, 0)$, $(2, 0)$, $(3, 0)$

Rational Root Theorem

For $f(x) = ax^3 + bx^2 + cx + d$, any rational root $\frac{p}{q}$ must have:

  • $p$ is a factor of $d$ (constant term)
  • $q$ is a factor of $a$ (leading coefficient)

This helps narrow down which values to test! For example, in $f(x) = 2x^3 - x^2 - 13x - 6$, possible rational roots are $\pm 1, \pm 2, \pm 3, \pm 6, \pm \frac{1}{2}, \pm \frac{3}{2}$

Finding Stationary Points (Turning Points)

Stationary points (also called turning points or critical points) are points where the gradient of the function is zero. These are where the graph "turns" - either reaching a local maximum or minimum.

Method for Finding Stationary Points
  1. Find the derivative $f'(x)$

    Differentiate the cubic function using the power rule

  2. Set $f'(x) = 0$

    Stationary points occur where the gradient is zero

  3. Solve for x

    This gives you a quadratic equation (since the derivative of a cubic is quadratic)

  4. Find the corresponding y-values

    Substitute each x-value back into the original function $f(x)$

  5. Determine if each point is a maximum or minimum

    Use the second derivative test or the first derivative test

Worked Example:

Find and classify the stationary points of $f(x) = x^3 - 3x^2 - 9x + 5$

Step 1: Find f'(x)

$f'(x) = 3x^2 - 6x - 9$

Step 2: Set f'(x) = 0

$3x^2 - 6x - 9 = 0$

Step 3: Solve for x

$$\begin{align*} 3x^2 - 6x - 9 &= 0 \\ 3(x^2 - 2x - 3) &= 0 \\ 3(x - 3)(x + 1) &= 0 \\ x &= 3 \text{ or } x = -1 \end{align*}$$

Step 4: Find y-values

$$\begin{align*} f(3) &= (3)^3 - 3(3)^2 - 9(3) + 5 = 27 - 27 - 27 + 5 = -22 \\ f(-1) &= (-1)^3 - 3(-1)^2 - 9(-1) + 5 = -1 - 3 + 9 + 5 = 10 \end{align*}$$

Stationary points: $(3, -22)$ and $(-1, 10)$

Step 5: Classify using second derivative

$f''(x) = 6x - 6$

At $x = 3$: $f''(3) = 6(3) - 6 = 12 > 0$ → Local minimum

At $x = -1$: $f''(-1) = 6(-1) - 6 = -12 < 0$ → Local maximum

Second Derivative Test

After finding the x-values where $f'(x) = 0$, use the second derivative to classify each point:

📈

If $f''(x) > 0$:

The point is a local minimum (concave up)

📉

If $f''(x) < 0$:

The point is a local maximum (concave down)

If $f''(x) = 0$:

The test is inconclusive (use first derivative test instead)

First Derivative Test

Test the sign of $f'(x)$ on either side of the stationary point:

Local Minimum:

$f'(x)$ changes from negative to positive

(gradient goes: decreasing → flat → increasing)

Local Maximum:

$f'(x)$ changes from positive to negative

(gradient goes: increasing → flat → decreasing)

How many turning points?

A cubic function can have 0, 1, or 2 turning points. When you solve $f'(x) = 0$, you get a quadratic equation, which can have:

  • 2 distinct real roots → 2 turning points (one max, one min)
  • 1 repeated root → 1 turning point (actually a stationary point of inflection)
  • No real roots → 0 turning points (the cubic is always increasing or always decreasing)
Interactive Turning Points Finder
Adjust the coefficients and see where the turning points are located
$f(x) = x^3 -3x^2$

Stationary Points Found:

Local Maximum at $(0.00, 0.00)$

$f''(0.00) = -6.00 < 0$

Local Minimum at $(2.00, -4.00)$

$f''(2.00) = 6.00 > 0$

Practice Questions

Additional Practice Questions
Access more practice problems with PDF export functionality. Download questions-only or with complete solutions for offline study.
View Practice Page