🧱 See It
Most linear relations tilt — as x grows, y climbs or falls. But two special lines don't tilt at all, because one of the two numbers is frozen.
Imagine a phone plan that costs a flat $30 a month no matter how many gigabytes you use. Graph cost against data used and the line is dead flat — horizontal — because the cost (y) is stuck at 30 whatever the data (x) does. Now imagine a fence built exactly 4 metres east of your house: every point on that fence, high or low, sits at the same east-west position. Graph it and you get a straight vertical line, because x is stuck at 4 whatever the height (y) does.
✏️ Draw It
Horizontal line. Every point sits at the same height, y = 3, no matter what x is:
Points (1, 3), (3, 3), (5, 3) — the x keeps changing but the y is always 3.
Vertical line. Every point sits at the same across-position, x = 4, no matter what y is:
Points (4, 1), (4, 3), (4, 5) — the y keeps changing but the x is always 4.
🔢 Write It
Each of these lines is written with just one letter, because only one of the two numbers is ever pinned down:
| Line | Equation | What's frozen | Steepness |
|---|---|---|---|
| Horizontal | y = 3 | y is always 3; x is free | flat — slope 0 |
| Vertical | x = 4 | x is always 4; y is free | straight up — slope undefined |
y but no x, it's horizontal. If it has an x but no y, it's vertical. Read which letter is missing — that's the one allowed to be anything.💡 Worked Examples
Example 1 — Graph y = 5.
- Only
yis named, so this is a horizontal line. - Every point has height 5: (0, 5), (2, 5), (7, 5)…
- Draw a flat line straight across at the height 5.
Example 2 — Graph x = −2.
- Only
xis named, so this is a vertical line. - Every point has across-position −2: (−2, 0), (−2, 4), (−2, −3)…
- Draw a straight up-and-down line through −2 on the
x-axis.
Example 3 — A line passes through (1, 6) and (4, 6). Horizontal or vertical?
- The
y-value is 6 in both points — it never changed. - The
x-value did change (1 → 4), soxis free andyis frozen. - Answer: horizontal, with equation
y = 6.
🧠 Quick Reference
y = a number (slope 0). Vertical = straight up = x = a number (slope undefined). Trick: the letter that's missing from the equation is the one that's free to be anything.