Question
Question: Graph \(f\left( x \right) = {\left( {x + 1} \right)^2} - 4\) and its inverse?...
Graph f(x)=(x+1)2−4 and its inverse?
Solution
First we have to find the inverse of the function by considering the given function as y, then swap the variables i.e., x and y, then solve for y, then we have to find the coordinates that lie on both the functions , i.e., given function and the inverse of the function, then by plotting the points on the graph, we will get the required graph.
Complete step by step answer:
A graph is the picture of the points that make a function true. If f is a function, then the inverse function, written f−1, is a function such that f−1(f(x)) for all x. Inverse graphs have swapped domains and ranges. That is, the domain of the original function is the range of its inverse, and its range is the inverse's domain. Inverse functions' graphs are reflections over the line y=x.
The inverse function of f(x) is written as f−1(x).
f−1(f(x))=xand,
f(f−1(x))=x.
Given function is f(x)=(x+1)2−4,
A function and its inverse will be symmetric around the liney=x, Switch the position of xand y variables to find the inverse of a function.
We have, y=f(x)=(x+1)2−4,
Now put some values forx,
Takex=1,
⇒y=(1+1)2−4,
Now simplifying we get,
⇒y=(2)2−4,
Now again simplifying we get,
⇒y=4−4=0,
So the point (1,0)lies on the graph of the given function.
Takex=−1,
⇒y=(−1+1)2−4,
Now simplifying we get,
⇒y=(0)2−4,
Now again simplifying we get,
⇒y=0−4=−4,
So the point (−1,−4)lies on the graph of the given function.
Now graphing the given function, we get,
Now take the given function,
⇒y=f(x)=(x+1)2−4,
Write the quadratic as x=(y+1)2−4, after switching xand ypositions.
Next, solve x=(y+1)2−4, for y,
Now adding both sides with 4 we get,
⇒x+4=(y+1)2−4+4,
Now simplifying we get,
⇒x+4=(y+1)2,
Now taking the square to the other side we get,
⇒y+1=±x+4,
Now subtracting 1 to both sides we get,
⇒y+1−1=±x+4−1,
Now simplifying we get,
⇒y=±x+4−1,
Takex=−4,
⇒y=±−4+4−1,
Now simplifying we get,
⇒y=±(0)−1,
Now again simplifying we get,
⇒y=0−1=−1,
So the point (−4,−1)lies on the graph of the given function.
Takex=0,
⇒y=±0+4−1,
Now simplifying we get,
⇒y=±4−1,
Now again simplifying we get,
⇒y=±2−1,
If we take y=2−1=1, and if we take y=−2−1=−3
So the points (0,1)and (0,−3)lies on the graph of the given function.
Now graphing the function we get,
Now, graphing both the functions on the same graph we get,
∴The graph of thef(x)=(x+1)2−4 and its inverse is given by,
Note: When we graph the function and the inverse of the function on the same axis of the graph, the graphf−1(x)is the mirror reflection of the graphf(x)with respect to the line y=x.