How do I graph the inverse of this function y1x2 There is a
How do I graph the inverse of this function y=-1x+2?
There is a graph, and I found the equation: it\'s y=-1x+2.
And they drew one line for me. The 2 points they gave are P(-2,4) Q(3,-1), and I have to draw the inverse of this line.
I graphed the points at P(4,-2) and Q(-1,3), but its not an inverse :/
Solution
You have a function and you need to find its inverse. The inverse of the function f(x) is a function g(x) such that for any x, f[g(x)] = x.
Here we have y = -1*x +2 = -x +2.
Now express x in terms of y
y = -x + 2
=> y - 2 = -x
=> 2 - y = x
=> x = 2 - y
Now write y instead of x and x instead of y.
You get y = 2- x.
This is the inverse of the function.
To test: for x= 3, the original function gives y = -x+2 = -3+2 =-1
The inverse function gives y = 2 - x = 2 - (-1) = 3. You get back the x you started with.
Now you can use the equation y= 2-x to graph the inverse.
