Horizontal line
A horizontal line is a line with the same y-value at every point, so its equation looks like y = b. In Intermediate Algebra, it shows a line with slope 0 and no rise as x changes.
What is horizontal line?
A horizontal line in Intermediate Algebra is a straight line that stays at one y-value the whole time. Every point on the line has the same y-coordinate, so the equation is written as y = b, where b is a constant number.
That means the line can move left or right forever, but it never goes up or down. If you change x, the y-value does not change. On a graph, a horizontal line is parallel to the x-axis.
This is one of the easiest line types to spot because it looks flat. If you draw points like (2, 5), (-1, 5), and (10, 5), they all line up on the same horizontal line because the y-value is always 5. The x-values can be anything.
A lot of confusion comes from mixing up horizontal and vertical lines. A horizontal line is written as y = b, while a vertical line is written as x = a. Horizontal lines have slope 0 because there is no rise, only run. In slope-intercept form y = mx + b, a horizontal line is the special case where m = 0, so the equation becomes y = b.
In linear graphing, horizontal lines show up when a quantity stays fixed. For example, a flat fee that does not change with the number of items can be represented by a horizontal line. In a graphing problem, you may be asked to identify it, write its equation, or compare it to another line on the coordinate plane.
Why horizontal line matters in Intermediate Algebra
Horizontal lines show up anytime a relationship has no change in the output value. In Intermediate Algebra, that connects directly to graphing linear equations, reading intercepts, and finding equations of lines from points or graphs.
If you can recognize a horizontal line quickly, you can answer a lot of questions faster. You can tell right away that the slope is 0, the equation is y = b, and every point on the graph shares the same y-coordinate. That saves time when you are matching graphs to equations or checking whether a line fits a given description.
This also matters when you compare lines. A horizontal line is neither increasing nor decreasing, so it gives you a clean example of a constant relationship. That idea shows up again later in systems of equations, where a horizontal line may intersect another line once, or not at all if another line is also horizontal at a different y-value.
You will also use horizontal lines as a reference point. They help you read the coordinate plane, identify an x-intercept only when the line crosses the x-axis, and distinguish between slope-based patterns and constant output patterns.
Keep studying Intermediate Algebra Unit 3
Official unit cheatsheet
open one-pagerHow horizontal line connects across the course
slope
A horizontal line has slope 0 because the y-value does not change as x changes. That makes it the easiest example of a line with no rise. If you are checking a graph or equation, seeing slope 0 tells you the line is flat and written as y = b.
y-intercept
For a horizontal line, the y-intercept is the same number as the constant y-value. If the line is y = 4, it crosses the y-axis at 4 and stays there across the whole graph. That makes the y-intercept the main number you need to write the equation.
Vertical Line
Horizontal and vertical lines are opposites on the coordinate plane. A horizontal line has a constant y-value, while a vertical line has a constant x-value. Students often mix them up, so it helps to remember that horizontal lines are written as y = b, not x = a.
Perpendicular Lines
A horizontal line is perpendicular to a vertical line. That relationship matters when you are comparing line directions or writing equations for perpendicular lines. Since a horizontal line has slope 0, its perpendicular line is vertical, which does not have a regular slope value.
Is horizontal line on the Intermediate Algebra exam?
A graphing problem may ask you to identify which equation makes a horizontal line or to match a flat graph with its equation. You might also be given a point and asked to write the line through it, which is just y = the point's y-value. On a test or quiz, watch for wording like constant, no change in y, or parallel to the x-axis.
If you see a line with slope 0, you should immediately think horizontal line. If the graph crosses the y-axis at 6 and stays level, the equation is y = 6. When you are checking your work, make sure you do not accidentally write x = 6, because that would describe a vertical line instead.
Horizontal line vs Vertical Line
These two are easy to swap because both are straight and special. A horizontal line goes left to right and keeps y constant, while a vertical line goes up and down and keeps x constant. The equation form is the fastest clue, y = b for horizontal and x = a for vertical.
Key things to remember about horizontal line
A horizontal line in Intermediate Algebra has one constant y-value for every point on the line.
Its equation is written as y = b, and its slope is 0.
Horizontal lines are parallel to the x-axis and never rise or fall as x changes.
If a graph looks flat, you can usually read its y-intercept to write the equation.
Do not mix it up with a vertical line, which keeps x constant instead of y.
Frequently asked questions about horizontal line
What is a horizontal line in Intermediate Algebra?
It is a line where every point has the same y-value, so the graph is flat and parallel to the x-axis. Its equation is y = b, where b is a constant. That makes it a special kind of linear equation with slope 0.
How do you write the equation of a horizontal line?
Use y = b, where b is the y-value the line stays on. For example, a line passing through points like (2, 3) and (-4, 3) has equation y = 3. The x-values can change, but the y-value stays fixed.
Is a horizontal line the same as a vertical line?
No. A horizontal line keeps y constant, while a vertical line keeps x constant. The equations look different too, y = b versus x = a. This is one of the most common graphing mix-ups in algebra.
What is the slope of a horizontal line?
The slope is 0 because there is no change in y. You can think of it as zero rise over any run. That is why horizontal lines are flat on the graph.