If
$f(x) = (x+2)^2+2$
then we get 2 inverse functions for this function:
- $f^{-1}(x) = -2+\sqrt{x-2}$
- $f^{-1}(x) = -2-\sqrt{x-2}$
If we input functions and inverse functions in to each other we must get "x" back. But why we don't get "x" when we input function $f(x) = (x+2)^2+2$ into second inverse function $f^{-1}(x) = -2-\sqrt{x-2}$
$f^-1(f(x)) = -2-\sqrt{f(x)-2}$
= $-2-\sqrt{(x+2)^2+2-2}$
= $-2-\sqrt{(x+2)^2}$
= $-2-(x+2)$
= $-2-x-2$
= $-4-x$ ≠ x
We have $$f(-\sqrt{x-2}-2+2)^2-2=x-2+2=x$$