Skip to content

Teaching example

How many real roots does a cubic have?

Let students decide how many distinct real roots any cubic has by computing b squared minus 3ac and the product of the two stationary values.

  • Complete project
  • 3 pages
  • Teachers

Some export options use Pro. Preview and edit the project before deciding.

At a glance

What you get

An editable two-file handout that derives the root-counting test for cubics from end behaviour and the first derivative: a bound showing the leading term controls both ends, the role of the sign of b^2-3ac, a four-case classification table, a three-panel figure of one cubic family, five worked examples, two parameter problems, ten exercises with a recording table, and a separate teacher key.

  • CCSS HSA-APR.B.3
  • CCSS HSF-IF.C.7
  • Accessible mathematics
  • Diagrams
  • Semantic tables
  • Cross-references
  • Columns
  • Answer space

From the resource

A look inside

A cubic $f(x)=ax^{3}+bx^{2}+cx+d$ with $a\ne0$ always has one, two, or three distinct real roots, and its derivative decides which. This editable handout develops the test from end behaviour rather than quoting a formula: it explains why the leading term controls both ends, why the sign of $b^{2}-3ac$ decides whether turning points exist at all, and why the product of the two stationary values then settles the count. It includes five worked examples, two parameter problems, ten exercises with answer space, and a separate teacher key.

Why every cubic has at least one real root

For $x\ne0$,

$$ f(x)=ax^{3}\left(1+\frac{b}{a}\cdot\frac1x+\frac{c}{a}\cdot\frac1{x^{2}} +\frac{d}{a}\cdot\frac1{x^{3}}\right). $$

Every term in the bracket except the $1$ carries a power of $x$ in its denominator, so the bracket approaches $1$ as $|x|$ grows and $f$ behaves like $ax^{3}$ far from the origin. Concretely, with $M=\max(|b|,|c|,|d|)/|a|$, any $x$ with $|x|>1+M$ makes the cubic term outweigh the other three, so $f(x)$ takes the sign of $ax^{3}$ and every real root lies in $[-1-M,,1+M]$.

The two ends therefore carry opposite signs. Since $f$ is continuous, the Intermediate Value Theorem gives at least one real root, and a cubic has at most three. The remaining question — one, two or three — is decided between the ends.

The derivative test

Differentiating gives $f’(x)=3ax^{2}+2bx+c$, whose discriminant is $4b^{2}-12ac$. Write

$$ \delta=b^{2}-3ac . $$

If $\delta\le0$ then $f’$ never changes sign, $f$ is strictly monotone, and there is exactly one real root. (When $\delta=0$ the cubic is $f(x)=a(x-x_{0})^{3}+f(x_{0})$ with $x_{0}=-b/(3a)$: a translated copy of $ax^{3}$, still strictly monotone.)

If $\delta>0$ then $f’$ has two distinct zeros, the stationary points

$$ p=\frac{-b-\sqrt{\delta}}{3a},\qquad q=\frac{-b+\sqrt{\delta}}{3a}, $$

and the graph rises, falls, and rises again (or the reverse when $a<0$). Each of the three monotone branches meets the horizontal axis at most once, so the count depends only on where the axis sits relative to the two turning values:

ConditionDistinct real roots
$\delta\le0$1
$\delta>0$ and $f(p),f(q)>0$1
$\delta>0$ and $f(p),f(q)=0$2
$\delta>0$ and $f(p),f(q)<0$3

The product is symmetric in $p$ and $q$, so there is never any need to work out which stationary point is the maximum — a step that flips with the sign of $a$ and is a common source of error.

Worked example

Take $f(x)=x^{3}-3x+1$. Then $\delta=0-3(1)(-3)=9>0$, and $f’(x)=3x^{2}-3$ vanishes at $x=\pm1$. The stationary values are $f(-1)=3$ and $f(1)=-1$, whose product is $-3$. The axis passes between the turning values, so there are three distinct real roots; the sign changes at $f(-2)=-1$, $f(0)=1$ and $f(2)=3$ place them in $(-2,-1)$, $(0,1)$ and $(1,2)$.

Changing only the constant term to $f(x)=x^{3}-3x+5$ leaves the stationary points at $\pm1$ but raises the values to $7$ and $3$. The product is now positive and the same cubic shape has just one real root — the standard warning that two turning points do not by themselves produce three roots.

Choosing a parameter

Because the derivative of $x^{3}-3x+k$ does not involve $k$, the stationary points stay at $\pm1$ and the stationary values are $k+2$ and $k-2$. Their product $k^{2}-4$ is negative exactly when $-2<k<2$, so the cubic has three distinct real roots on that interval, two when $k=\pm2$, and one when $|k|>2$. The handout works a second parameter problem, $x^{3}-6x^{2}+9x+k$, where the repeated-root condition $k(k+4)=0$ produces the factorisations $x(x-3)^{2}$ and $(x-1)^{2}(x-4)$.

Representative exercises

  1. Count the real roots of $x^{3}-12x+1$, $x^{3}+3x^{2}+3x+7$, $2x^{3}-9x^{2}+12x-5$ and $-x^{3}+6x^{2}-9x+2$.
  2. Find every $k$ for which $x^{3}-12x+k$ has exactly one real root.
  3. Find every $k$ for which $x^{3}-3x^{2}+k$ has three distinct real roots.
  4. Find every $a$ for which $x^{3}-3x^{2}+a$ has a repeated root, and give the roots in each case.
  5. Show that $x^{3}+px+q$ has exactly one real root whenever $p\ge0$.
  6. Refute the claim that two real zeros of $f’$ force three real roots.
  7. Explain why a cubic cannot have exactly two distinct real roots unless one of them is repeated.

The teacher key solves all ten exercises, records the intervals containing each root, lists the errors this topic reliably produces, and supplies a compact scoring guide.

Classroom use and adaptation

The handout is designed as a single-sitting resource for a strong class that has met the first derivative test: the first two sections are direct instruction, the worked examples are for annotation, and the exercises with the recording table provide independent practice. A class that has not met derivatives can keep everything except the derivation in Section 2, replacing it with the completed square of $f’$.

Everything is editable: the school identity and page furniture, the choice and number of exercises, the amount of answer space, and whether the three-panel figure is kept, redrawn for another family, or removed. The student handout and the teacher key are separate files, so the key can be exported and distributed on its own.

References and teaching notes

The two Common Core standards cited, HSA-APR.B.3 and HSF-IF.C.7, cover identifying zeros of polynomials and graphing them with their end behaviour; OpenStax Calculus Volume 1 is cited for the Intermediate Value Theorem and the first derivative test.

The derivative argument belongs to a first course in calculus, even though the polynomial and graphing ideas also connect to Algebra II. This handout counts distinct real roots and locates them by sign changes; solving cubics in radicals and numerical root-finding are intentionally left for a later lesson.

Make it yours

What you can change

Project files

What is included

Build it step by step

Develop a rigorous cubic root-counting handout with an AI assistant

Build the argument in the order a reader needs it - ends first, turning points second, classification third - and recompute every stationary value and factorisation yourself before the handout reaches a student.

Use these prompts with any AI assistant. Keep the sections you want, paste them into Lemmafour, and revise the document between steps.

See how AI Markdown moves into the editor
  1. 01 Fix the claim the handout must justifyKeep the resource about a single decidable question instead of drifting into general cubic solving.
    Plan a terse handout for advanced high school students that answers one question: how many distinct real roots does ax^3+bx^2+cx+d have? State the prerequisites, the exact claim to be justified, what counts as evidence of understanding, and what to leave out, including solution by radicals and numerical methods. Write no exercises yet.

    Check before continuing: Confirm that the stated claim is about distinct real roots, that repeated roots are handled explicitly, and that every prerequisite is genuinely assumed by the planned argument.

  2. 02 Justify the end behaviour before anything elseThe count is impossible to reason about until the two ends are pinned down.
    Write the opening section. Factor ax^3 out of the cubic to show that the bracket tends to 1, then give a concrete bound: with M the largest of |b|,|c|,|d| divided by |a|, show that |x| > 1 + M forces f(x) to take the sign of ax^3. Conclude with the Intermediate Value Theorem that at least one real root exists and that all real roots lie in a bounded interval.

    Check before continuing: Re-derive the inequality with the geometric-series step written out, and test the bound numerically on a cubic with large middle coefficients.

  3. 03 Derive the classification rather than asserting itThe product test is only convincing once monotone branches are established.
    Derive the four-case classification. Show that b^2-3ac at most zero forces strict monotonicity, treating the equality case through the translated form a(x-x0)^3+f(x0). For a positive discriminant, name the two stationary points, argue that each of the three monotone branches meets the axis at most once, and derive the rule from the sign of the product of the two stationary values. Explain why the rule is unchanged when a is negative.

    Check before continuing: Check the equality case separately, confirm that the two stationary values can never both vanish, and verify that the argument nowhere assumes which stationary point is the maximum.

  4. 04 Choose examples that separate the casesLearners generalise from whichever cases they actually see, so every branch of the rule needs one.
    Write five terse worked examples in textbook prose, not numbered steps: one with three roots, one with a positive product and a single root, one with a repeated root, one with a non-positive discriminant, and one with a negative leading coefficient. Then write two parameter problems that recover the values of a constant from a required root count. Give each answer as a count of distinct roots and locate the roots by sign changes or by factoring.

    Check before continuing: Recompute every discriminant, stationary point, and stationary value, expand every factorisation claimed, and confirm the sign changes used to localise the roots.

  5. 05 Sequence exercises and design the answer spaceThe recording table is what makes the method visible to a marker.
    Write ten exercises in three groups: counting roots, recovering a parameter, and reasoning about the rule itself. Include one exercise that refutes the belief that two stationary points force three roots and one that explains why exactly two distinct roots requires a repeated root. Add a recording table whose columns are the discriminant, the stationary points, the stationary values, the sign of the product, and the count.

    Check before continuing: Solve all ten independently, confirm that each parameter answer uses strict or non-strict inequalities correctly at the boundary values, and check that no exercise can be answered by guessing a factorisation.

  6. 06 Use the teacher key as the verification passWriting the key separately is the cheapest way to find an error in the handout.
    Produce a separate teacher key giving full working for all ten exercises, the intervals containing each root, a compact scoring table, and the errors this topic reliably produces. List every claim that still needs human review instead of implying the key has been checked.

    Check before continuing: Rework each exercise without consulting the key, expand every factorisation, test each parameter boundary value explicitly, and confirm no answer leaks into the student file.

Before you use it

  • Recompute b^2-3ac, both stationary points, and both stationary values for every cubic in both files.
  • Expand every factorisation stated in the handout and the key, and check each root interval by evaluating the cubic at its endpoints.
  • Confirm that boundary parameter values are classified as two roots, not three, wherever a strict inequality is used.
  • Export the handout and the key separately and inspect every page before distribution.
Sources and quality notes Teaching notes, licenses, and technical checks

Teaching notes

  • Review to date is a Lemmafour release-owner inspection of the draft plus author recomputation of every calculation. The answer key has not been solved independently by a second subject-matter teacher, and the material has not been classroom-trialled.
  • The derivative test taught here belongs to a first course in calculus and reaches beyond the two Common Core algebra standards cited, so the alignment is partial by design.
  • The handout counts and locates distinct real roots; it does not solve cubics in radicals and does not cover numerical root-finding or complex roots beyond the conjugate-pair argument in one exercise.
  • Root intervals are established by sign changes at chosen integer points, which localise but do not approximate the roots.
  • Tagged output is standards-targeted and is not represented as independently certified PDF/UA.
  • Teachers remain responsible for matching task selection, timing, and scoring to their students and local curriculum.

Source details

Content date
Source license
All rights reserved; original material written for this package
Asset license
The single SVG figure was drawn for this package by its author; no third-party media is included
Example version
1
Technical checks

Engine profile: markdown-pdf-engine/phase-7h

  • Package schema and local project structure
  • Production compiler diagnostics and page count
  • Equation, table, figure, and cross-reference rendering
  • Archive round-trip and preview dimensions
  • Manual inspection of every generated handout page, and of the editor handoff, at desktop and narrow mobile widths
  • Author recomputation of every discriminant, stationary point, stationary value, product sign, parameter interval, and factorisation, with each stated factorisation expanded and each root interval re-tested at its endpoints
  • Release-owner inspection of the visible page, both project files, and every generated page before publication
  • Release qualification: examples unit suite, production build, Cloudflare Workers dry run, desktop and mobile browser matrix, and scale/capacity evidence

Ready to adapt

Open your own copy

Bring the complete source and its supporting files into the editor, then change as much or as little as you need.

Use this example
How many real roots does a cubic have?Page 2 of 3
100%
Handout page two: the four-case classification table for the number of distinct real roots, the three-panel figure of y = x cubed minus 3x plus k for k = 0, 2 and 4, a note on repeated roots, the reduction to the classical discriminant, and the first worked examples