Maths WorkshopMaths problems with full solutions
Exercise 737Calculus › Single-variable calculus › Continuity › Intermediate Value TheoremL1Added 2 Nov 2026

Counting solutions depending on a parameter

#intermediate value theorem#monotonicity#parameters

Statement

For each real number aa, determine the number of real solutions of x3−3x2−1=ax^3-3x^2-1=a.

Hint

Study the variations of g(x)=x3−3x2−1g(x)=x^3-3x^2-1, then count how many times the horizontal line at height aa meets the graph.

Show solutionHide solution

Solution

Variations. g′(x)=3x2−6x=3x(x−2)g'(x)=3x^2-6x=3x(x-2). So gg is increasing on (−∞,0](-\infty,0], decreasing on [0,2][0,2] and increasing on [2,+∞)[2,+\infty). We have g(0)=−1g(0)=-1 (local maximum) and g(2)=8−12−1=−5g(2)=8-12-1=-5 (local minimum), with g→−∞g\to-\infty at −∞-\infty and g→+∞g\to+\infty at +∞+\infty.

Ranges of the three monotone pieces.
- on (−∞,0](-\infty,0], gg takes each value of (−∞,−1](-\infty,-1] exactly once,
- on [0,2][0,2], each value of [−5,−1][-5,-1] exactly once,
- on [2,+∞)[2,+\infty), each value of [−5,+∞)[-5,+\infty) exactly once.

This uses the intermediate value theorem (every value in the range is reached) and strict monotonicity (reached only once).

Counting.
- a>−1a>-1: only the third piece reaches aa, one solution.
- a=−1a=-1: x=0x=0 and one solution in (2,+∞)(2,+\infty), two solutions.
- −5<a<−1-5<a<-1: each piece contributes one, three solutions.
- a=−5a=-5: x=2x=2 and one in (−∞,0)(-\infty,0), two solutions.
- a<−5a<-5: only the first piece, one solution.

Remark. The count changes exactly when aa crosses the local extreme values −1-1 and −5-5.