Consider the equation $$ x^2-\sqrt{a-x}=a.$$ I wish to determine the values of $a$ for which the above equation has exactly two real solutions (for $x$).
My idea: $$a-x=(x^2-a)^2=x^4-2ax^2+a^2\Longrightarrow f(x)=x^4-2ax^2+x+a^2-a=0$$ and we must have $$a-x\ge 0$$ $$x^2= a+\sqrt{a-x}\ge a,$$
so $f(x)=x^4-2ax^2+x+a^2-a=0$ has only real solution $x$, and this solution $x^2\ge a, x\le a.$ But can I use this to find the possible values of $a$?
then we have $f''(x)=0 ?$ $$\Longrightarrow f'(x)=4x^3-4ax+1,\Longrightarrow f''(x)=12x^2-4a=0$$ then $$12x^2=4a\Longrightarrow a=3x^2>0$$
so $$ a^2\le \sqrt{\dfrac{a}{3}}\le a$$ $$\Longrightarrow \dfrac{1}{3}\le a\le \sqrt[3]{\dfrac{1}{3}}$$
my reslut is true?and I think this problem have other nice methods.
I hope someone can write the final results,because I don't know the correct result.Thank you everyone