Solveeit Logo

Question

Question: How do you find the inverse of \(f(x) = {x^2} - 2x - 8\) and is it a function?...

How do you find the inverse of f(x)=x22x8f(x) = {x^2} - 2x - 8 and is it a function?

Explanation

Solution

To find the inverse, equate the function to another variable and then find the value of the pre-image from this image. Also, check if the inverse is really a function, by using the well-defined property of functions.

Complete step by step solution:
Inverse function, also known as an anti-function, is defined as a function which will take the result of a function and give back the original input of the function. In other words, it takes the image of a function and gives back its preimage.
Since, there is no domain and codomain of ff is mentioned, for simplicity let us assume the entire real line R\mathbb{R} as both the domain and co-domain of the function.
Let us take the given function f(x)=yf(x) = y.
y=f(x)=x22x8\Rightarrow y = f(x) = {x^2} - 2x - 8. - - - - - - - - - - - - - - - - - - - - - (1)
Then the inverse of the function would be f1(y)=x{f^{ - 1}}(y) = x. - - - - - - - - - - - - - - - (2)
Now, we will simplify the equation (1) to get a function which gives back x. For this express the equation in the form x=g(y)x = g(y). Here, g(y)g(y) will be the required inverse.
From equation (1) we have,
y=x22x8y = {x^2} - 2x - 8
Now, observe that we can use the algebraic identity (a+b)2=a2+2ab+b2{\left( {a + b} \right)^2} = {a^2} + 2ab + {b^2} as we have both the x and x2x{\text{ and }}{x^2} terms in the equation. So, for that we will recombine terms slightly.
y=x22x+19\Rightarrow y = {x^2} - 2x + 1 - 9
Now, on adding 9 on both sides we get,
y+9=x22x+1\Rightarrow y + 9 = {x^2} - 2x + 1
Now, use the algebraic identity (a+b)2=a2+2ab+b2{\left( {a + b} \right)^2} = {a^2} + 2ab + {b^2} to get,
y+9=(x1)2\Rightarrow y + 9 = {\left( {x - 1} \right)^2}
Now, taking root on both sides we get,
±y+9=(x1)\Rightarrow \pm \sqrt {y + 9} = \left( {x - 1} \right)
±y+9+1=x\Rightarrow \pm \sqrt {y + 9} + 1 = x
x=1±y+9\Rightarrow x = 1 \pm \sqrt {y + 9}
f1(y)=1±y+9\Rightarrow {f^{ - 1}}(y) = 1 \pm \sqrt {y + 9} [From (2)]
On replacing y with x,
f1(x)=1±x+9\Rightarrow {f^{ - 1}}(x) = 1 \pm \sqrt {x + 9}
And g(x)=1±x+9g(x) = 1 \pm \sqrt {x + 9} , is the inverse of the function f(x)=x22x8f(x) = {x^2} - 2x - 8.
But this g(x)=1±x+9g(x) = 1 \pm \sqrt {x + 9} is not a function, because one can get two different values 4 and 24{\text{ and }} - 2 for x=0x = 0. And this violates the well-defined property of a function, which states that x1=x2f(x1)=f(x2){x_1} = {x_2} \Rightarrow f({x_1}) = f({x_2}) for every x in the domain.

Note: Note that, inverse is not a function always. So, in order to make it a function we have to look at the domain and range of the function and try to make its inverse a function by modifying the domain of the inverse slightly.