Course contentsShow
← Mathematics
Lesson 263 of 3,1217. Linear Functions and GraphsFree lesson

Horizontal and Vertical Lines

Writing and recognizing equations of horizontal lines (y = k) and vertical lines (x = h).

Horizontal and Vertical Lines

You'll learn how to write and recognize the equations of perfectly flat and perfectly upright lines on the coordinate plane.

The Core Idea

So far, you've worked with lines that slant—they have slopes like 2, -3, or ½. But two special types of lines break the pattern:

Horizontal lines run left-to-right, perfectly flat across the plane. Think of the horizon where the sky meets the ocean. Every point on a horizontal line has the same y-coordinate, no matter what x is. We write these as:

y = k

where k is any constant (like y = 3 or y = -2).

Vertical lines run straight up and down. Picture a flagpole or a skyscraper wall. Every point on a vertical line has the same x-coordinate, regardless of y. We write these as:

x = h

where h is any constant (like x = 5 or x = -1).

Why They're Special

  • A horizontal line like y = 4 means "all points where y equals 4": (0, 4), (3, 4), (-2, 4)... The y never changes!
  • A vertical line like x = -3 means "all points where x equals -3": (-3, 0), (-3, 5), (-3, -7)... The x never changes!

Remember slope? Horizontal lines have zero slope (no rise, all run), while vertical lines have undefined slope (all rise, no run—division by zero!).

Recognizing Them

  • If an equation has only y (no x term): it's horizontal
  • If an equation has only x (no y term): it's vertical

Key Takeaway: Horizontal lines have equations of the form y = k (constant y-value), while vertical lines have equations of the form x = h (constant x-value).