I'm trying to find $f^{-1}(x)$ for $f(x) = -5x^2 + 10x + 2$. The correct answer is $f^{-1}(x) = 1 \pm \sqrt{1.4-0.2x}$, but I can't derive that.
What I've come up with is: $f^{-1}(x) = 1\pm\frac{\sqrt{140-20x}}{-10}$ which is close, but not exactly what should be the correct answer.
I got that by:
\begin{align*}f(x) &= -5x^2+10x+2\\ &\\ y &= -5x^2+10x+2\\ &\\ x &= -5y^2+10y+2\\ &\\ 0 &= -5y^2+10y+2-x\\ \end{align*}
Now plugging this into the quadratic formula gives:
$$\frac{-10\pm{\sqrt{10^2-4\times(-5)\times(2-x)}}}{2\times(-5)}$$
$$\frac{-10\pm{\sqrt{100+20\times(2-x)}}}{-10}$$
$$\frac{-10}{-10}\pm{\frac{\sqrt{140-20x}}{-10}}$$
$$1\pm{\frac{\sqrt{140-20x}}{-10}}$$
Now my question is how does one get from $\dfrac{\sqrt{140-20x}}{-10}$ to $\sqrt{1.4-0.2x}$? I could easily understand how to get there from $\dfrac{\sqrt{140-20x}}{10}$, because:
$$\frac{\sqrt{140-20x}}{10} = \frac{\sqrt{140-20x}}{\sqrt{100}} = \sqrt{\frac{140-20x}{100}} = \sqrt{\frac{140}{100}-\frac{20x}{100}} = \sqrt{1.4-0.2x}$$
but with $-10$ as denominator I'm simply lost. How do I get from $-10$ to $\sqrt{100}$? Is it all right to just forget the negative sign? And if it's ok, is it because there is a plus-minus already in front of all this?