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)=x2−2x−8 and is it a function?
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 f is mentioned, for simplicity let us assume the entire real line R as both the domain and co-domain of the function.
Let us take the given function f(x)=y.
⇒y=f(x)=x2−2x−8. - - - - - - - - - - - - - - - - - - - - - (1)
Then the inverse of the function would be 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). Here, g(y) will be the required inverse.
From equation (1) we have,
y=x2−2x−8
Now, observe that we can use the algebraic identity (a+b)2=a2+2ab+b2 as we have both the x and x2 terms in the equation. So, for that we will recombine terms slightly.
⇒y=x2−2x+1−9
Now, on adding 9 on both sides we get,
⇒y+9=x2−2x+1
Now, use the algebraic identity (a+b)2=a2+2ab+b2 to get,
⇒y+9=(x−1)2
Now, taking root on both sides we get,
⇒±y+9=(x−1)
⇒±y+9+1=x
⇒x=1±y+9
⇒f−1(y)=1±y+9 [From (2)]
On replacing y with x,
⇒f−1(x)=1±x+9
And g(x)=1±x+9, is the inverse of the function f(x)=x2−2x−8.
But this g(x)=1±x+9 is not a function, because one can get two different values 4 and −2 for x=0. And this violates the well-defined property of a function, which states that x1=x2⇒f(x1)=f(x2) 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.