Equations of horizontal and vertical lines
Grade 8 · AA. Linear equations · 30 practice questions
How this works
Find the coordinate that stays the same in both points; the line is that letter equals that number.
A line passes through the points (−3, 2) and (−3, −8). What is its equation?
Compare the x-values
−3 and −3
Compare the y-values
2 and −8
x never changes → vertical
x = −3
Answer: x = -3
Watch out: Writing y = −3. The x-value stays −3 while y changes, so the line is vertical: x = −3.
Try it
1. A line passes through the points (4, 0) and (4, -7). What is its equation?
- Ay = 0
- By = -7
- Cx = 4
- Dx = 0
2. A line passes through the points (2, -2) and (9, -2). What is its equation?
- Ax = 9
- By = 2
- Cx = 2
- Dy = -2
3. A line passes through the points (-9, 9) and (9, 9). What is its equation?
- Ax = -9
- By = 9
- Cx = 9
- Dy = -9
Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.
How to help at home
A line that holds the same sideways value everywhere runs straight up and down, and its equation has only one job, which is to pin that value down. Moving from one point to the other the height changes: -7 - 0 = -7, while the sideways value never budges from 4, so the equation names it and says nothing at all about y.
More in AA. Linear equations
- Is (x, y) a solution to the linear equation?
- Relate the graph of an equation to its solutions
- Slope-intercept form: find the slope and y-intercept
- Graph a line from an equation in slope-intercept form
- Graph a line from an equation in point-slope form
- Write a linear equation from a slope and y-intercept
- Write a linear equation from a graph
- Write a linear equation from a slope and a point
- Write a linear equation from two points
- Convert a linear equation in standard form to slope-intercept form
- Graph a line from an equation in standard form
- Graph a horizontal or vertical line
- Equations of horizontal and vertical lines
- Slopes of parallel and perpendicular lines
- Checkpoint: Slope and linear equations
