Learning Objectives
Type your learning objectives here.
- Graph a vertical line
- Give the equation of a vertical line
- Graph a horizontal line
- Give the equation of a horizontal line
Key words
Type your key takeaways here.
- vertical line: a line that runs in the same direction as the -axis
- horizontal line: a line that runs in the same direction as the -axis
Vertical and Horizontal Lines
Consider the vertical line graphed in figure 1, and the solution table that goes with it.
2 | -3 |
2 | -1 |
2 | 0 |
2 | 1 |
2 | 3 |
No matter the value of , . So is the equation of the line.
Figure 1.
VERTICAL LINES
The equation of a vertical line is given as: where c is a constant.
To graph the equation on the coordinate plane, we need both and variables in the equation. Therefore, the equation of the vertical line in two variables is: where c is a constant.
Consider the horizontal line graphed in figure 2, and the solution table that goes with it.
-3 | 3 |
-1 | 3 |
0 | 3 |
2 | 3 |
4 | 3 |
No matter the -value, the -value is always 3. So the equation of the line is .
Figure 2.
HORIZONTAL LINES
The equation of a horizontal line is given as: where c is a constant.
To graph the equation on the coordinate plane, we need both and variables in the equation. Therefore, the equation of the horizontal line in two variables is .
Suppose we want to graph a the lines with equations and .
The following points satisfy the first equation: , and . We can plot the points. Notice that all of the –coordinates are the same and we find a vertical line through .
The following points satisfy the second equation: , and . The graph is a horizontal line through . Notice that all of the –coordinates are the same.
x = −3 is a vertical line.
y = −2 is a horizontal line.
try it
Use an online graphing tool to graph the following:
- A horizontal line that passes through the point (-5,2)
- A vertical line that passes through the point (3,3)
Example
Find the equation of the line passing through the given points: and .
Solution
The –coordinate of both points is 1. Therefore, we have a vertical line: .
Try It
Find the equation of the line passing through and .
Candela Citations
- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- Figures 1 and 2.. Authored by: Hazel McKenna. Provided by: Utah Valley University. License: CC BY: Attribution
- College Algebra. Authored by: Abramson, Jay et al.. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2
- Question ID 1719. Authored by: Barbara Goldner. License: CC BY: Attribution. License Terms: IMathAS Community License CC- BY + GPL
- Question ID 110942, 110946, 110951, 110952. Authored by: Lumen Learning. License: CC BY: Attribution. License Terms: IMathAS Community License CC- BY + GPL
- College Algebra. Authored by: OpenStax College Algebra. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1/Preface. License: CC BY: Attribution