For which values of $a$ does $||x^2-16|-7|-2a=0$ have 3 roots? Here is the equation:
$$||x^2-16|-7|-2a=0$$
Please help solve this.
For which $a$ does the equation have 3 roots?

Api, first, use the definition of absolute value.
$||x^2-16|-7|-2a=0$ implies that two cases:
1) $|x^2-16|-7=2a$
This equation gives us $a=\frac{x^2-23}{2} $ and $a=\frac{x^2-9}{2}$.
2) $|x^2-16|-7=-2a$
Again, this equation gives us $a=\frac{23-x^2}{2} $ and $a=\frac{x^2+9}{2}$.
We should have the following this case.
$x=0$ and $x=\pm x_0$.
Hence, if $x=0$, then the only possible case is $a=\frac{9}{2}$.
Why?
if put $0$ in the first equation in the second case, then you get $a=\frac{23}{2}$ and it implies that $x\geq 4$ and a contradiction. The rest is similar.  
