Counting equation solutions with graphs: critical levels
Count distinct graph intersections by monotone branch ranges, checking extremum levels and parameter-dependent heights separately.
Content updated: October 22, 2026
Solving an equation graphically means finding intersection inputs. When a parameter changes only the height of a horizontal line, the number of solutions changes at critical function levels, each of which requires a separate check.
Objectives: transform equations equivalently into graph intersections; identify level intervals and count distinct boundary solutions correctly.
Prerequisites: analyzing functions, local extrema, and monotonicity.
On this page: Definition · Method · Examples · Practice · Further learning
1. Why solutions correspond to intersections
Let $f,g$ be real functions. On their common domain, each solution $x_0$ of $f(x)=g(x)$ determines exactly one intersection $(x_0;f(x_0))$. Conversely, each intersection gives a solution. Since both graphs represent functions of $x$, distinct intersections cannot share the same horizontal coordinate.
For $f(x)=H(m)$, a fixed parameter $m$ produces the horizontal line $y=H(m)$. As $m$ changes, its height is $H(m)$, not necessarily $m$ itself. Retain all transformation conditions and domains before counting intersections.
2. Counting on monotone branches
Find extremum levels, endpoint limits, and excluded inputs. On each continuous strictly monotone branch, a level in the branch's range is attained exactly once. This proves the intersection count without relying on the drawing's precision.
At an extremum level, two branches may meet at the same point. Count that point as one distinct solution even if the algebraic equation has a repeated root. Tangency to a horizontal line does not imply only one intersection on the entire graph; others may occur elsewhere.
For unbounded levels or a domain with several components, use every branch to count all solutions. If one curve coincides with another on an interval, there may be infinitely many solutions; the counting method must reflect that possibility.
3. Worked examples
Example 1. A cubic with two extremum levels
Classify the number of solutions of $x^3-6x^2+9x+1-m=0$. Set $f(x)=x^3-6x^2+9x+1$; the equation is equivalent to $f(x)=m$ on $\mathbb R$. The derivative $3(x-1)(x-3)$ gives increase on $(-\infty;1)$, decrease on $(1;3)$, and increase on $(3;+\infty)$.
The value $f(1)=5$ is a local maximum and $f(3)=1$ a local minimum; the two end limits are $-\infty,+\infty$. Thus $1<m<5$ gives exactly three distinct solutions; $m<1$ or $m>5$ gives one; and $m=1$ or $m=5$ gives exactly two distinct solutions.
Check the boundary levels by factoring: for $m=1$, the equation is $x(x-3)^2=0$, with simple root 0 and double root 3. For $m=5$, it is $(x-1)^2(x-4)=0$, with double root 1 and simple root 4. A double root is still one real value and is not counted as two intersections.
Example 2. A horizontal line intersecting an even quartic
Consider $x^4-2x^2+2=m$. Set $t=x^2\ge0$ to obtain $(t-1)^2=m-1$. If $m<1$, there is no solution. If $m=1$, $t=1$ gives two solutions $x=\pm1$. If $1<m<2$, both values $t=1\pm\sqrt{m-1}$ are positive and give four solutions.
For $m=2$, accept $t=0,2$, giving the three distinct solutions $0,\pm\sqrt2$. For $m>2$, only $t=1+\sqrt{m-1}>0$ is admissible, giving two solutions. The levels requiring separate checks are 1 and 2, corresponding to local minimum and maximum values. Substitution confirms the horizontal-line intersection count.
4. Practice
- Classify the number of real solutions of $|x-1|=m$.
- Classify the number of distinct solutions of $x^3=m$, including $m=0$.
- Classify the number of solutions of $x^2=2m+1$.
Hints and answers
- $m<0$: 0 solutions; $m=0$: 1 solution $x=1$; $m>0$: 2 solutions $1-m,1+m$.
- There is always exactly one real solution because the cube function is strictly increasing and attains every real value. For $m=0$, the root 0 has multiplicity three but is still one value.
- Compare the height $2m+1$ with 0: two solutions for $m>-1/2$, one for $m=-1/2$, and none for $m<-1/2$.
5. Common mistakes
Retain levels equal to extremum values. Do not count algebraic multiplicity instead of distinct intersections. Do not change the domain when transforming an equation. If the height is $H(m)$, solve the relevant inequalities for $H(m)$ to state the result in terms of the parameter.
6. Further learning
Graphs of cubic functions (English lesson) · Graphs of even quartic functions (English lesson) · Graphs involving absolute values (English lesson) · Graphs of linear fractional functions (English lesson).
Leave a Reply