Linear Functions
Linear functions are everywhere on the Math section — they show up as function notation, word problems about cost and time, and graphs. Master them and you'll bank easy points fast.
Graph of f(x) = 4x - 3. The line crosses the y-axis at -3 (the intercept) and rises 4 for every step right.
Slope tells you steepness and direction. Positive slope rises left-to-right; negative slope falls. You can compute it between two points (x1, y1) and (x2, y2) with:
m = (y2 - y1) / (x2 - x1)
That's "change in output over change in input" — often called rise over run.
Slope as rise over run: from (1,4) to (3,10), rise = 6, run = 2, so slope = 3.
Check your understanding with a question from this topic:
If f(x) = 4x + (-3), what is f(4)?
Worked examples
If f(x) = 5x - 3, what is f(7)?
A linear function g passes through the points (1, 4) and (3, 10). What is the slope of g?
A delivery service charges a flat fee plus a rate per mile. The total cost in dollars is given by C(x) = 1.5x + 6, where x is the number of miles. What is the meaning of the number 6 in this function?
Common pitfalls
In f(7), the 7 is the input that replaces x — not the output. Students sometimes solve for when f(x) = 7 instead. Read whether the value is inside the parentheses (input) or set equal to f(x) (output).
With f(x) = 4x - 3, forgetting the minus gives the wrong answer. Rewrite subtraction clearly and keep the sign attached to b through every step.
Slope is rise over run: (y2 - y1)/(x2 - x1), not (x2 - x1)/(y2 - y1). And subtract the coordinates in the same order top and bottom, or you'll get the wrong sign.
The per-unit rate (per mile, per month) is the slope m; the one-time or starting amount is the intercept b. Ask 'does this change with x, or is it fixed?' to tell them apart.
Key takeaways
A linear function has the form
f(x) = mx + b:mis slope (rate),bis the y-intercept (starting value).To evaluate
f(a), substituteafor everyxand follow order of operations.Slope between two points =
(y2 - y1)/(x2 - x1)= rise over run.In context, slope is the per-unit rate and the y-intercept is the flat/initial amount.
Watch negative signs and don't confuse the input (inside parentheses) with the output.
Watch & learn
Curated Khan Academy walkthroughs on Linear Functions. They're complementary to this lesson — watch one if a written explanation isn't clicking, or after to reinforce.
Try it yourself
5 practice questions on Linear Functions, drawn from the question bank. The tutor is one click away if you get stuck.