Find the difference quotient
and simplify, for .
Build by substitution, using brackets. Replace every in the rule by the whole quantity :
Writing — distributing the to only the first term — is the most common slip.
Form the numerator and watch the subtraction. Subtracting means subtracting the entire expression, so both its terms flip sign:
Cancel everything without an . The and cancel, and and cancel:
That every disappears is a signal the function is linear.
Divide by . Since , the division is legal:
No and no survive.
Interpret the constant result. The difference quotient is the slope of the secant line through and . For a straight line every secant is the line, so the quotient must be the constant slope — matching the coefficient of in . Taking then gives , as expected.
Contrast with a quadratic. For the same procedure gives , which still contains both and . The presence of a leftover is normal for non-linear functions; its absence here is exactly what identifies as linear.
Verify numerically. Take , : and , so the quotient is ✓, independent of as claimed.
Need to solve a different problem like this? Open the solver →