Counting solutions depending on a parameter
Statement
For each real number , determine the number of real solutions of .
Hint
Study the variations of , then count how many times the horizontal line at height meets the graph.
Show solutionHide solution
Solution
Variations. . So is increasing on , decreasing on and increasing on . We have (local maximum) and (local minimum), with at and at .
Ranges of the three monotone pieces.
- on , takes each value of exactly once,
- on , each value of exactly once,
- on , each value of exactly once.
This uses the intermediate value theorem (every value in the range is reached) and strict monotonicity (reached only once).
Counting.
- : only the third piece reaches , one solution.
- : and one solution in , two solutions.
- : each piece contributes one, three solutions.
- : and one in , two solutions.
- : only the first piece, one solution.
Remark. The count changes exactly when crosses the local extreme values and .