Find all values of the parameter for which the equation
has exactly roots.
Fix the domain first. The square root demands , i.e. . If this is impossible for every real , so there are no roots at all and we may assume
Convert the cosine equation into a family of equations. Since exactly when for integer , and since forces , only can occur:
Different give different values of , so the root sets for different never overlap — no double counting.
Count how many roots each contributes. For a fixed admissible :
and contributes nothing. So the total is or , where , the appearing precisely when equals some .
Rule out the exceptional values of . If for some integer , then the strict inequality holds for , so and the total root count is — always odd, hence never . So is not of that form.
Solve for the range of . We need , i.e. exactly the four values satisfy while does not:
The right endpoint is one of the excluded exceptional values (it would give roots), so it must be dropped:
Verify the boundaries numerically. Counting roots by the formula above: gives roots, gives , gives , gives , and gives . For the eight explicit roots are , and substituting each back gives to within .
Need to solve a different problem like this? Open the solver →