Flat line
Zero slope: horizontal lines
No x
Consider y = 5. There is no x in it.
What does the graph of y = 5 look like?
What this lesson covers
The idea
When m = 0 the line is horizontal, parallel to the x-axis, and y stays constant as x changes.
No x
Consider y = 5. There is no x in it.
What does the graph of y = 5 look like?
- A horizontal line, 5 units above the x-axis
- A vertical line through (5, 0)
- A line through the origin
Measure
Every point on y = 5 has y = 5. Tap two of them and measure the slope.
Zero slope
When m = 0 the line is horizontal, parallel to the x-axis, and y stays constant as x changes.
y = 5 is y = 0x + 5: m = 0, d = 5. Any two points (x₁, 5) and (x₂, 5) give rise = 5 − 5 = 0, so slope = 0/run = 0.
Notes
m = 0: a horizontal line, parallel to the x-axis; y stays constant.
Check yourself
What is the slope of the line through (−2, 3) and (4, 3)?
Answer: 0
rise = 0, run = 6, slope = 0: a horizontal line.
Which equation gives a line parallel to the x-axis?
- y = −2 — correct. Yes: m = 0.
- x = −2. That is vertical, parallel to the y-axis.
- y = −2x. That has slope −2.