Skip to main content

Math · Algebra · Skill sheet

Linear Functions

Key idea

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.

A linear function is a rule that turns an input into an output, where the relationship graphs as a straight line. The standard form is f(x) = mx + b.

Worked example

If f(x) = 5x - 3, what is f(7)?

  1. A)

    29

  2. B)

    32

  3. C)

    35

  4. D)

    38

Solution

  1. f(7) means substitute 7 for every x.
  2. f(7) = 5(7) - 3.
  3. Multiply first: 5 × 7 = 35.
  4. Subtract: 35 - 3 = 32.

The answer is B.

Why it works:

This example shows you that evaluating a function is just careful substitution, then order of operations.

Traps

  • Mixing up which number is the input — In f(7), the 7 is the input that replaces x — not the output. Students sometimes solve for when f(x) = 7 instead.

  • Dropping a negative sign — 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.

  • Flipping the slope formula — 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.

Remember

  • A linear function has the form f(x) = mx + b: m is slope (rate), b is the y-intercept (starting value).

  • To evaluate f(a), substitute a for every x and 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.