DR.WANG Mathematics中文
TMUA / STEP · Intermediate · Original practice

Counting roots of an absolute-value equation

For which real values of k does |x^2 - 4| = k have exactly two distinct real solutions x?

Hint

Consider k < 0 first. For k >= 0, use x^2 = 4+k and x^2 = 4-k, paying attention to duplicate roots.

Show answer and methods 2 methods

Answer

k = 0 or k > 4.

Method 1 Count roots by parameter range

A negative k is impossible. For k=0 the two branches coincide at x^2=4, giving two roots. For 0<k<4, the branches yield two distinct positive values of x^2, so four roots. For k=4 they give x^2=8 or 0, so three roots. For k>4 the second branch is negative and only the first contributes its two roots.

Method 2 Intersect a horizontal line with the graph

The graph of y=|x^2-4| is symmetric about the y-axis. On [0,2] it decreases strictly from 4 to 0, then increases strictly from 0 to infinity for x>=2. A positive point of intersection on the right gives a pair of roots; an intersection on the symmetry axis contributes only the single root x=0. The line at height 0 touches at x=2 on the right, and each line above height 4 meets only the increasing branch on the right. These give exactly two roots by reflection. Heights strictly between 0 and 4 give four roots, height 4 gives three, and negative heights give none.