Equations of Linear Functions
Learn equations of linear functions step by step with worked examples you can follow. Then practise with 37 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.
By the end of this page you will be able to move an equation between standard, slope-intercept and point-slope form, write the equation of a line from a point and a slope or from two points, and explain what the slope and intercept mean in a real situation.
Core Concepts
1. Three forms, one line
Standard form, slope-intercept form and point-slope form are not three different lines. They are the same line wearing three different outfits. You convert between them constantly, so the real skill is knowing which outfit shows you what you need:
2. Slope-intercept form
y = mx + bm is the slope — the rate of change, rise ÷ run.
b is the y-intercept — the value of y when x = 0.
The slope is computed from any two points on the line:
To convert into this form: isolate y. Move the x-term across, then divide every term by whatever multiplies y.
3. Point-slope form — and why it works
y − y₁ = m(x − x₁), where m is the slope and
(x₁, y₁) is any known point on the line.
This is not a new formula to memorise — it is the slope formula rearranged. Start from the slope between a known point (x₁, y₁) and a general point (x, y):
4. Standard form and its house rules
Ax + By = C, where A ≥ 0, A and B are not both zero, and
A, B, C are integers whose greatest common factor is 1.
To convert into this form: gather the x- and y-terms on the left, multiply through by the LCD to clear every fraction, then multiply by −1 if needed so that A ends up non-negative. Finally divide out any common factor.
Standard form pays you back at the intercepts: set y = 0 to get the x-intercept C/A, and set x = 0 to get the y-intercept C/B. Two substitutions, two points, and you can graph the line.
−2x + 5y = 70 is a
correct equation but it is not standard form, because A is negative. Neither is
4x − 10y = 60, because 4, 10 and 60 share a factor of 2. Fix the sign, then divide out
the common factor.5. Reading a real-world model
When a linear equation models something real, m and b stop being letters and become sentences:
| Symbol | What it is | How to say it out loud |
|---|---|---|
| m | Rate of change | “y changes by m for every 1 unit increase in x” |
| b | Starting value | “when x = 0, y starts at b” |
| sign of m | Direction | positive = growing, negative = shrinking, zero = constant |
Always state the units. A slope of 22 is meaningless; “22 dollars per month” is an answer.
6. Vocabulary
Key Figures
Build your own line
Drag the two sliders and watch all three forms rewrite themselves in real time. Try to answer these without touching the graph, then check yourself:
- What happens to the graph when b changes but m stays put?
- Set m to a fraction like 1.5. What does the standard form have to do to keep its coefficients whole?
- Set m = 0. Why does the standard form lose its x-term completely?
Move It Yourself
Worked Examples
y = (2/5)x + 14 in standard form and identify A, B and C.12x − 4y = 24 in slope-intercept form and state m and b.Using (1, 1)
y = 2x − 1
Using (7, 13)
y = 2x − 14 + 13 = 2x − 1
3246x − 2y = −152,722, where
x is the number of years after 2010 and y is sales in millions of dollars. Interpret the slope and the
y-intercept.3246x − 2y = −152,722 — and note the slope is not
3246. Getting to y = mx + b is what makes the sentence available.Try It Yourself
Do each one on paper, then reveal. Problem 6 is the one that looks unfamiliar but uses nothing new.
Problem 1
Problem 2
Problem 3
Problem 4
Problem 5
Problem 6
Summary
| You are given … | Use … | Because |
|---|---|---|
| A point and the slope | Point-slope form | Substitute and you are done in one line |
| Two points | Slope formula, then point-slope | Either point gives the same line |
| The slope and the y-intercept | Slope-intercept form | Both values drop straight into y = mx + b |
| Both intercepts | Treat them as two points | (a, 0) and (0, b) are ordinary points |
| An equation to graph | Convert to slope-intercept | Plot b, then step off the slope |
| An equation to compare or tidy | Convert to standard form | Integer coefficients, A ≥ 0, GCF 1 |
| A real-world rate and a fixed charge | y = mx + b | Rate is m, one-off amount is b |
| A standard-form equation to interpret | Convert to y = mx + b first | The slope is not the coefficient of x in Ax + By = C |
Every formula from this lesson
- Subtracting the coordinates in opposite orders, which flips the sign of the slope.
- Dividing only the y-term when isolating y — every term must be divided.
- Leaving A negative, or leaving a common factor, and calling it standard form.
- Reading the slope of
Ax + By = Cstraight off as A. Convert first, or use m = −A/B. - Forgetting that a negative x₁ turns into a plus:
x − (−2) = x + 2. - Saying a vertical line has slope 0. Zero slope is horizontal; vertical slope is undefined.
- Giving a real-world slope with no units.
Practice Quiz
15 questions · click an answer to check it instantly