Question
Question: How do you find the inverse of \(y={{x}^{2}}+12x\)?...
How do you find the inverse of y=x2+12x?
Solution
We have the variable x in more than one term. We will use the completing square method to obtain an equation that has the variable x in only one term. Then we will rearrange the equation so that we get the value of the variable x in terms of the variable y. Then we will get the inverse of the given function by swapping both the variables and replacing the variable y with f−1(x).
Complete step-by-step solution:
The given equation is y=x2+12x. Let us modify the given equation so that the variable x is in only one term. For this, we will use the completing square method to add a constant term in the following manner,
y=x2+12x+(212)2−(212)2∴y=x2+12x+36−36
Using the identity (a+b)2=a2+2ab+b2, we can write the above equation as the following,
y=(x+6)2−36
Let us rearrange the above equation so that we obtain the value of the variable x in terms of the variable y. We have the following,
(x+6)2=y+36
Taking square root on both sides, we get
x+6=±y+36∴x=−6±y+36
Now, let us swap both the variables in the above equation. We get the following equation,
y=−6±x+36
Replacing the variable y with f−1(x), we get the inverse of the given function as follows,
f−1(x)=−6±x+36
Note: The inverse function is a function that reverses the given function. So, we can plug in the output in the inverse function and obtain the input as the answer. We should be careful with the signs of the terms while shifting them from one side of the equation to the other. Doing the calculation explicitly helps us avoid making any minor errors.