A linear function is fixed by two points with different inputs. A statement like gives a point: the input goes first, then the output. Find the slope from the two points, then use one point to find the intercept. Swapped inputs and outputs make those two changes opposites. Don’t mistake the swap for a positive slope.
Hints
- Hint 1
In , is the input and is the output, so the line passes through . What point does the other function statement give?
- Hint 2
The slope is the change in output divided by the change in input. Subtract the coordinates of the two swapped points in the same order. How are those differences related?
- Hint 3
Once you have the slope, write . The intercept is the output when the input is ; neither given output is automatically the intercept. Use one given point to find .
Step-by-step
Find the line through the swapped points
Step 1Turn the function statements into points
No Desmos needed. The swapped values give an exact slope by hand. In , goes in and comes out, so is on the line. Likewise, gives . The input comes first in each point.
- Step 2
Set up the slope
The slope is the change in output divided by the change in input. Subtract the coordinates of from in the same order:
- Step 3
Simplify the slope
The numerator is the opposite of the denominator. Rewrite it:
Because and are distinct, isn’t zero. Cancel it:
- Step 4
Use a point to find the intercept
A line with slope has the form , where the intercept is its output at input . Put in the point ; is not automatically the intercept:
- Step 5
Isolate the intercept
Add to both sides to find the intercept:
- Step 6
Write the function
Replace with in the line: . This rule has the slope of the two given points and passes through , so it is the required linear function. Choice B.