Step-by-step math courses covering Pre-Algebra through Calculus 3.
How to find a line’s equation from two points on its inverse
An inverse reverses what a function does to an input. If we know two points on the inverse of a line, reversing their coordinates gives us two points we can use to find the original equation.
Swap the input and output of each point
If , then . So a point on the inverse becomes on the original graph. A nonconstant line has a nonzero slope, which lets us reverse the input and output.
If and , the inverse passes through and . The original line passes through and .
Swapping the coordinates takes (−1, 5) on the inverse to (5, −1) on the original line.
Use the two original points to find the slope. Then substitute into to find the intercept.
The original function is . At this gives , which matches the second point.
Find the inverse line first, then solve for the original
Suppose and . Start with the inverse points and and find the slope of that line.
Now swap and in the equation and solve for .
As a check, and , reversing the original inputs and outputs.