π Key ideas of this section
Every row of the table is a point (x, y). For a linear rule, the points line up PERFECTLY β "linear" literally means "line." y-intercept: where the line crosses the y-axis (set x = 0). x-intercept: where the line crosses the x-axis (set y = 0).
A quick coordinates refresher: a point like (2, 5) is an address. The first number says how far to run across (that's x), the second says how high to climb (that's y). Run first, then climb.
Take the table of y = 2x + 1:
x: 0 1 2 3 y: 1 3 5 7
Each row becomes a point: (0, 1), (1, 3), (2, 5), (3, 7). Plot them:
y 7 | β 6 | 5 | β 4 | 3 | β 2 | 1 |β 0 +--------> x 0 1 2 3
The four points fall on one perfectly straight line, like buttons on a ruler. That ALWAYS happens with rules of the shape y = (number) Γ x + (number) β it's exactly why they're called linear. A handy shortcut: since the answer is always a straight line, TWO points are enough to draw the whole thing. Plot two, lay a ruler through them, done. (Plot a third as a safety check β if it misses the ruler, something slipped.)
The vertical line test
Here's a one-glance test for whether a PICTURE shows a function: a graph is the graph of a function if and only if every vertical line hits it at most once. Why? A vertical line is an x-value. If some vertical line hits the graph twice, that one input x has two different outputs β breaking the one-output law of Lesson 1. Every slanted or flat straight line passes. But watch what happens below with a vertical line itself!
The two intercepts
Two points draw a line, and the two easiest points to find are where the line crosses the axes:
The y-intercept is where the line meets the y-axis. The whole y-axis is exactly the line x = 0, so: set x = 0. The x-intercept is where the line meets the x-axis. The whole x-axis is exactly the line y = 0, so: set y = 0.
Worked example β find both intercepts of y = 2x β 6:
y-intercept: set x = 0.
y = 2 Γ 0 β 6 = β6. Point (0, β6).
x-intercept: set y = 0.
0 = 2x β 6 (y = 0 means "on the x-axis")
6 = 2x (add 6 to both sides)
3 = x (divide both sides by 2)
Point (3, 0).
Two points, one ruler β you've drawn the entire line. Notice the y-intercept β6 is just the b in y = mx + b, but the x-intercept 3 had to be SOLVED for. That little solve is the Golden Rule again.
Flat lines and vertical lines
The rule y = 4 gives outputs 4, 4, 4, 4 β a flat horizontal line. Its slope is 0 (rise 0 Γ· any run = 0), and it IS a function: every input gets the one output 4.
The picture x = 4 is a vertical line. Two things go wrong at once: the run between any two of its points is 0, and slope = rise Γ· 0 is illegal (division by zero is never allowed), so its slope is UNDEFINED β not zero, undefined. And it fails the vertical line test: the input 4 has infinitely many outputs. So x = 4 is a line, but NOT a function. Keep both facts!
A word from history
Turning algebra into pictures is about 400 years old, credited to the French philosopher RenΓ© Descartes. Legend says he was lying in bed watching a fly crawl on the ceiling when he realized he could pin down its exact position with two numbers: distance from one wall, distance from the other. That's why coordinates are officially "Cartesian" β of Descartes. Every graph in this lesson is his fly on the ceiling.
βοΈ Your Turn!
Find both intercepts of y = 3x + 12, showing every step.
π Show the answers
Answer: y-intercept: x = 0 gives y = 12 β point (0, 12). x-intercept: 0 = 3x + 12 β 3x = β12 (subtract 12) β x = β4 (divide by 3) β point (β4, 0). A negative x-intercept just means the line crosses the x-axis LEFT of zero.