FormulaIntuitionDerivationExamplesMistakesQuizReal Life 6 / 12
Middle School Math 2 (Grade 8) · Formula Detail

Linear Functions y = ax + b

A linear function $y = ax + b$ ($a \ne 0$) — the graph is a straight line, slope $a$, $y$-intercept $b$, $x$-intercept $-b/a$

2022 Curriculum · Korea · Middle School Math 2 (Grade 8) Derivation · Examples · Mistakes · Real Life · Mini Quiz
ƒ
Core Formula NO. 06
$$ y = ax + b \ (a \ne 0) $$
Slope $a$ (the change in y when x increases by 1), $y$-intercept $b$ (y-axis intersection $(0, b)$), $x$-intercept $-b/a$ (x-axis intersection). $a > 0$ increasing, $a < 0$ decreasing.
01
1

What This Formula Does

A linear function is the function of constant-rate change. Every time $x$ increases by 1, $y$ always changes by exactly $a$ — "slope $a$" is that constant rate of change. If $a > 0$ it rises, if $a < 0$ it falls, and the larger $|a|$, the steeper it gets.

A line is completely determined by two values ($a, b$): slope $a$ (direction/steepness) + $y$-intercept $b$ (starting position). The $x$-intercept $-b/a$ is "the x where y becomes 0" — exactly the same place as the solution of the linear equation $ax + b = 0$ (next page).

02
2

Step-by-Step Derivation

Let's build the result step by step, instead of memorizing.

1
Slope a — the rate of change

The slope of two points $(x_1, y_1)$, $(x_2, y_2)$ $= \dfrac{y_2 - y_1}{x_2 - x_1}$. For $y = ax + b$, $y_2 - y_1 = a(x_2 - x_1)$, so slope $= a$ — the change in y per x. When x increases by 1, y changes by $a$.

$a = \frac{\Delta y}{\Delta x}\ (\text{rate of change})$
2
Intercepts — axis intersections

$y$-intercept: substitute $x = 0$ → $y = b$, point $(0, b)$. $x$-intercept: substitute $y = 0$ → $ax + b = 0 \Rightarrow x = -\frac{b}{a}$, point $(-\frac{b}{a}, 0)$. Two axis intersections + the slope determine the line.

$(0,\ b),\ \ (\text{−}b/a,\ 0)$
3
Summary of the roles of a and b

$a$: slope (rate of change) — direction (+↑/−↓) and steepness ($|a|$). $b$: $y$-intercept (starting position). If $a = 0$, then $y = b$ (a horizontal line, a constant function — not a linear function).

a = slope, b = y-intercept, −b/a = x-intercept
03
3

Worked Examples

Each step also shows the "why".

Example 1Find the $x$- and $y$-intercepts of $y = 2x - 3$
$y$-intercept: $x = 0$ → $y = -3$ → $(0, -3)$
$x$-intercept: $y = 0$ → $2x - 3 = 0 \Rightarrow x = \frac{3}{2}$ → $(\frac{3}{2}, 0)$
$y$-intercept $(0, -3)$, $x$-intercept $(\frac{3}{2}, 0)$
Example 2Find the equation of the linear function with slope 3 and $y$-intercept 2
Substitute $a = 3$, $b = 2$: $y = 3x + 2$
$y = 3x + 2$
Example 3Find the $x$-intercept of $y = -4x + 8$ and say whether the graph increases or decreases
$x$-intercept: $-4x + 8 = 0 \Rightarrow x = 2$ → $(2, 0)$
$a = -4 < 0$ → as $x$ grows, $y$ shrinks (decreasing function)
$x$-intercept $(2, 0)$, decreasing function
04
4

Common Mistakes

The classic ways to lose points on a test.

Mixing up slope and $y$-intercept : the error of saying "slope 2" for $y = 3x + 2$ — $a$ (the coefficient of x) is the slope, $b$ (the constant term) is the $y$-intercept. $y = 3x + 2$: slope 3, $y$-intercept 2. Remember the order ($ax + b$).
Sign error on the $x$-intercept — writing $-b/a$ as $b/a$ : the $x$-intercept of $y = 2x - 3$ is $-(-3)/2 = 3/2$ (positive). Writing $b/a = -3/2$ gets the sign wrong. Substitute $y = 0$ → $ax = -b$ → $x = -b/a$ — the minus is in front.
05
5

Mini Quiz — 3 Questions

Three questions to check the core idea. Click an option to see the explanation.

Solved 0 / 3
06
6

Where Does This Formula Show Up?

The formula is hiding in familiar scenes. Read it as a story and it sticks.

Real-Life SceneTaxi fares and phone charges

Taxi fare = base fee + (per-km rate × distance) — a linear function $y = 1500x + 3000$ (base 3000 won, 1500 won per km). Fare $y$ against distance $x$ (km) — slope 1500 (the increase per km), $y$-intercept 3000 (base fee). "How many km for a 15000-won fare?" → $15000 = 1500x + 3000 \Rightarrow x = 8$km (the solution of a linear equation).

Phone/data plans are linear functions too: "base 9900 won + 100 won per 100MB over" → $y = 100x + 9900$. Comparing two plans (the system of equations on the previous page) is "the intersection of two linear functions" — linear functions are the standard model for constant-rate change like fares, speeds, and temperature changes.

As a formula$y = 1500x + 3000\ (\text{taxi}),\quad y = 100x + 9900\ (\text{data})$
★Linear function = "constant-rate change" — the line is determined by slope a (rate of change) + y-intercept b (start). The x-intercept −b/a is the same place as the equation's solution.
∫ 홈