y = mx + b: the most useful equation in school math
Every straight line on a graph can be described by y = mx + b, and every y = mx + b draws a straight line. m is the slope — how steeply the line climbs (rise over run). b is the y-intercept — where the line crosses the y-axis. Two numbers fully describe any line, which is why this form is everywhere from algebra to machine learning.
Reading a line is then instant: y = 2x + 1 starts at 1 on the y-axis and climbs 2 units for every 1 unit right. Negative slope descends. Slope 0 is flat. Once you internalize 'm = steepness, b = starting height,' graphs turn into sentences you can read at a glance.
- m = slope = rise/run = how fast y changes per step right
- b = y-intercept = where the line crosses the y-axis
- Positive m climbs →, negative m descends, m = 0 is horizontal
- Graphing: plot b, use m to step to a second point, connect
Finding slope and building equations
Slope between two points (x₁, y₁) and (x₂, y₂) is m = (y₂ − y₁)/(x₂ − x₁) — rise over run. A slope of 3/2 means: up 3, right 2. Slope tells a story: in y = 5x, 5 might be $5 per hour; the intercept is the starting amount; the line is every possible (hours, money) pair.
To build an equation from data: compute m from two points, then substitute one point into y = mx + b to solve for b. That's the whole technique. Two points → one line, always. And lines are parallel when they share a slope; perpendicular when slopes multiply to −1 (like 2 and −½).
- Slope formula: m = (y₂ − y₁)/(x₂ − x₁)
- Equation from 2 points: find m, then plug a point in for b
- Parallel lines: same slope
- Perpendicular lines: slopes multiply to −1
- Real-world slope = a rate: $/hr, miles/gallon, °C per km
Slope: m = (11 − 3)/(3 − 1) = 8/2 = 4. Find b with (1,3): 3 = 4(1) + b → b = −1. Equation: y = 4x − 1. Check with the other point: 4(3) − 1 = 11 ✓.
Systems of equations: where lines meet
A system of two linear equations asks: where do these two lines cross? That intersection point satisfies both equations at once. Graphically it's the crossing point; algebraically you can find it exactly with substitution (solve one equation for a variable, substitute into the other) or elimination (add/subtract equations to cancel a variable).
Substitution shines when one equation already gives x or y alone. Elimination shines when coefficients align (2x + y = 7 and 2x − y = 1: add them → 4x = 8 → x = 2, then back-substitute). Pick the tool that fits the shape of the problem — and if the lines turn out parallel, the system has no solution; identical lines mean infinite solutions.
- Solution of a system = the point both equations share
- Substitution: isolate a variable, plug into the other equation
- Elimination: add/subtract equations to cancel one variable
- Parallel lines → no solution · Same line → infinitely many
Key concepts to memorize
🎯 Study tips for this topic
- Always write 'm = slope, b = starting point' at the top of your notes until reading y = mx + b is automatic.
- Make a table of x/y values for your first graphs — plotting points builds intuition faster than formulas.
- Interpret slope in a sentence ('$5 per hour') — meaning anchors memory better than symbols.
- Check system solutions by substituting into BOTH original equations — it catches algebra slips instantly.
- Use the flashcard deck for forms (slope-intercept, point-slope, standard) so switching forms becomes reflex.