Bosko said:
Let's analyse this function ... ##f(x)=x^4+4x^2##
Bosko said:
##f(x)=x^4+4x^2+4-4##
##f(x)=(x^2+2)^2-4##
Can you now from ##y=(x^2+2)^2-4##, find x=... as function of y ? ( That is ##f^{-1}(y)## )
I suppose you realize that you are working with a different function than given in the OP. What you have done is called "completing the square". The function given in the OP can be treated in a similar fashion. By the way, solving your final expression for ##x##, does not give ##x## as a
function of ##y##. Rather it gives ##x## in terms of ##y## as what is sometimes referred to as a multi-valued
function.
##\displaystyle \quad \quad f(x)=x^4-4x^2##
##\displaystyle \quad \quad \quad \quad =x^4-4x^2+4-4##
##\displaystyle \quad \quad \quad \quad =(x^2-2)^2-4##
Notice that this does not depend upon ##f(x)## being non-negative.
Setting ##y=f(x)##, we have.
##\displaystyle \quad \quad y=(x^2-2)^2-4##
Solving for ##x## gives the result:
##\displaystyle \quad \quad x=\pm\sqrt{2 \pm \sqrt{y+4\ } \ }##
Seeing as there are two ##\pm## symbols, we may expect as many as 4 distinct values of ##x## to result from a single value of ##y##.
(I expect to add a bit more to this Post as time permits.)
Added after
@Bosko replied :
As mentioned in the OP, we are looking for a local inverse for ##f(x)## at ##x=-2=x_0##. So the corresponding ##y_0=f(x_0)=0##. The following function, ##g(y)## does the trick.
##\displaystyle \quad \quad x=g(y)=-\sqrt{2 + \sqrt{y+4\ } \ }##
##\displaystyle \quad \quad g(0)=-\sqrt{2 + \sqrt{0+4\ } \ }=-\sqrt{2 + 2 \ } = -2##
The domain of ##g## is ##[-4,\, \infty)##, the range is ##(-\infty,\,-\sqrt 2 \,] ##.
##g## is monotone decreasing and therefore is a bijection.
(I expect to add a bit more to this Post or make a new Post as time permits.)