Question
Find the slope and intercept of a linear function from two limit values
Original question: 6.) Let $f(x)=mx+b$, where $m$ and $b$ are constants. If $\lim_{x\to 1} f(x)=-2$ and $\lim_{x\to -1} f(x)=4$, find $m$ and $b$.
Expert Verified Solution
Expert intro: A linear function behaves nicely under limits, so the given limits are really just equations in disguise. Once you recognize that, the system falls apart quickly.
Detailed walkthrough
Because is linear, it is continuous everywhere. That means
and
So we get the system
Add the equations:
Substitute back:
Answer
If you want, you can also check:
Then and , which matches both limits.
💡 Pitfall guide
Don’t overthink the word limit here. For a polynomial or linear function, the limit at a point is just the function value at that point. Another frequent error is writing the equations in the wrong order and solving for the signs incorrectly. A quick substitution check at the end prevents that.
🔄 Real-world variant
If the function were quadratic instead, two limit values would not be enough to determine all coefficients unless one coefficient were already known. For a linear function, though, any two distinct input-output conditions give a unique line. If one of the limits were changed, you would just solve a different 2×2 system in the same way.
🔍 Related terms
continuity of linear functions, system of equations, limit equals function value
FAQ
Why can you replace the limits with function values for a linear function?
A linear function is continuous everywhere, so the limit as x approaches a point equals the function value at that point.
What are the values of m and b?
The system m + b = -2 and -m + b = 4 gives b = 1 and m = -3.