A horizontal line is a line with a constant y-value in Elementary Algebra, so every point on it has the form (x, b). Its slope is 0 because the line does not rise or fall.
A horizontal line in Elementary Algebra is a straight line that goes left to right and keeps the same y-value everywhere on the graph. No matter what x-value you choose, the y-coordinate stays fixed, so the line is written as y = b, where b is the constant height.
That constant y-value is what makes the line horizontal. If you pick any point on the line, it will match every other point in the y-coordinate. For example, y = 4 includes points like (0, 4), (2, 4), and (-7, 4). The x-values change, but the graph stays level.
The slope of a horizontal line is 0. That makes sense because slope measures rise over run, and a horizontal line has no rise at all. As you move right, the line does not go up or down, so the change in y is 0 while the change in x is not 0.
This is different from the y-axis, which is a vertical line. A horizontal line has many possible x-values and just one y-value, while a vertical line has one x-value and many y-values. That difference matters when you are graphing equations, because the shape tells you what kind of relationship the equation represents.
In graphing linear equations, horizontal lines show up any time the output stays fixed. They can model a constant price, a set temperature, or any situation where the y-variable does not depend on x. If you see an equation like y = -2, you already know the graph is a horizontal line crossing the y-axis at -2.
When you are finding or checking an equation of a line, a horizontal line is one of the easiest special cases. There is no x-term in the equation because the line does not tilt. The whole graph is just the set of all solutions that share that same y-value.
Horizontal lines show up in the same places you see slope, intercepts, and graphing linear equations, so they are one of the first special cases you need to recognize in Elementary Algebra. If you can spot a horizontal line quickly, you can read the equation, graph it without guessing, and avoid mixing it up with lines that have a nonzero slope.
This term also connects directly to the idea of a solution set. For an equation like y = 3, every point on the graph is a solution because every point has the same y-value. That makes the graph a visual list of all ordered pairs that work, which is a big step up from checking one point at a time.
Horizontal lines are useful in word problems too. If a quantity stays constant, the graph is horizontal. For example, if a gym membership costs $25 every month, the cost does not change with the number of months in the equation, so the graph stays level at y = 25.
You also need horizontal lines when you compare them to slope-intercept form. In y = mx + b, a horizontal line is the case where m = 0, so the equation becomes y = b. That helps you see why the slope is zero and why the y-intercept is the same point where the graph crosses the y-axis.
Keep studying Elementary Algebra Unit 4
Visual cheatsheet
view gallerySlope
A horizontal line is the clearest example of zero slope. Since the line never rises or falls, the rise is 0 while the run can be any nonzero number, which gives slope 0. This makes horizontal lines a useful checkpoint when you are learning how slope describes direction and steepness on a graph.
Y-Intercept
For a horizontal line, the y-intercept is the same number that appears in the equation y = b. That is the point where the line crosses the y-axis, and it tells you the constant height of the line. If you know the y-intercept, you already know the whole equation for a horizontal line.
Equation of a Line
Horizontal lines are a special case of line equations. Instead of using slope-intercept form with a nonzero slope, you write the equation as y = b. That is useful when a problem asks you to graph a line from an equation or write an equation from a graph with no tilt.
Solution Set
The graph of a horizontal line shows every solution to an equation like y = 5. All the points on that line satisfy the equation, so the solution set includes infinitely many ordered pairs. This is a good reminder that a graph can represent many solutions at once, not just one answer.
A quiz problem may show you a graph and ask whether the line is horizontal, or it may give you an equation and ask you to name its slope or graph it. If the equation is y = b, you should know the line is horizontal, the slope is 0, and the y-intercept is (0, b).
You may also be asked to write an equation from a graph. If the graph is level and crosses the y-axis at 6, the equation is y = 6. A common mistake is trying to write an x-term into the equation, but a horizontal line never uses x to change the output.
On problem sets, this often shows up as a graphing or matching task. You look for the line that stays at one height and use that constant value to identify the equation or solution set.
A horizontal line stays at one constant y-value, so every point on it has the form (x, b).
The slope of a horizontal line is 0 because the line does not rise or fall.
The equation of a horizontal line is written as y = b, not x = b.
Horizontal lines represent constant situations, like a fixed price or fixed temperature.
If you know one point on a horizontal line, you usually know the whole equation because the y-value never changes.
A horizontal line is a straight line that keeps the same y-value all the way across the graph. Its equation looks like y = b, where b is the constant height. Any point on the line can have a different x-value, but the y-value stays the same.
Slope is rise over run, and a horizontal line has no rise. The y-value does not change as you move left or right, so the change in y is 0. Since 0 divided by any nonzero run is 0, the slope is 0.
Write the constant y-value as the equation y = b. For example, a line through points like (1, 4) and (8, 4) has equation y = 4. If the graph crosses the y-axis at -3, the equation is y = -3.
No, the x-axis is one specific horizontal line with equation y = 0. Not every horizontal line is the x-axis, because a horizontal line can be at any constant y-value. The x-axis is just the special case where that value is zero.