Skip to main content
🚀 This is a Beta – features are in progress.Share feedback
All topics
Math

Linear functions

4 min readIntro5-question drill

A linear function is the simplest 'if I know X, what's Y?' recipe in math — and the SAT loves them because they show up in every word problem about cost, distance, growth, or rate.

A linear function takes a number, multiplies it by something, then adds something. That's it.

We write it as f(x)=mx+bf(x) = mx + b, where:

  • xx is your input — the thing you know.
  • mm is the slope — how much the output changes per unit of input.
  • bb is the y-intercept — the value of the function when x=0x = 0.

Reading a linear function in real life: f(x)=3x+7f(x) = 3x + 7 might mean for every hour you rent a bike (xx), the cost goes up by $3 (mm), and there's a $7 fee just to start (bb).

0(4, 19)

f(x) = 3x + 7: for every 1 unit of x, the line goes up by 3. At x = 4, f(x) = 19.

Two operations show up on the test over and over:

  1. Plug in a value. If f(x)=3x+7f(x) = 3x + 7 and the question asks for f(4)f(4), you replace xx with 4 and compute: f(4)=3(4)+7=19f(4) = 3(4) + 7 = 19. That's it. No tricks.

  2. Build the function from a word problem. When you see "$2.25 per mile", that's the slope — it's a per-thing rate. When you see "$3.50 flat fee", that's the y-intercept — a one-time amount paid regardless of how big xx gets.

A few other things to know:

  • The x-intercept is where the function equals zero. Set f(x)=0f(x) = 0 and solve.
  • A negative slope (m<0m < 0) means the output goes DOWN as the input goes up — useful for decay, depreciation, distance remaining.
  • A steeper slope (larger m|m|) means the output changes faster per unit of input.
Quick check

Quick check before we move on — try this one. Use the slope-intercept form to read off slope and y-intercept directly from the equation.

If f(x) = 7x − 4 and g(x) = 2x + 9, what is f(g(1))?

Worked examples

Example 1

A taxi company charges a flat fee of $3.50 plus $2.25 per mile. The total fare in dollars is given by f(m)=2.25m+3.50f(m) = 2.25m + 3.50. What is the total fare for a 6-mile trip?

Example 2

A gym charges a $40 sign-up fee and $25 per month. Which function gives the total cost f(m)f(m) for mm months of membership?

Example 3

For the function f(x)=2x+8f(x) = -2x + 8, what value of xx makes f(x)=0f(x) = 0?

Common pitfalls

Swapping the slope and the y-intercept

When you read '$40 sign-up fee plus $25 per month,' it's tempting to write f(m)=40m+25f(m) = 40m + 25 because the 40 came first. But the per-month number always goes with mm. Sentence order doesn't matter — match the word per to the variable.

Dropping the negative sign

Functions like f(x)=2x+8f(x) = -2x + 8 have a negative slope. When you set up 2x=8-2x = -8, it's easy to forget to divide by 2-2 correctly and end up with the wrong sign. Carry the sign through and verify by plugging back in.

Confusing $f(4)$ with $f(x) = 4$

f(4)f(4) means plug in x=4x = 4 — you compute the output. f(x)=4f(x) = 4 means find the input that makes the output equal 4 — you set up an equation and solve. Different answers; read carefully.

Key takeaways

  • Linear function form: f(x)=mx+bf(x) = mx + b. mm is the slope; bb is the y-intercept.

  • Per X → slope. Flat / one-time fee → y-intercept.

  • To evaluate f(some number)f(\text{some number}): substitute that number for xx and compute.

  • To find the x-intercept: set f(x)=0f(x) = 0 and solve.

  • Negative slope means the output decreases as xx increases.

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.

Lesson v3 · generated 5/1/2026 · the floating tutor knows you're on this lesson — ask anything.