# What is Horizontal Line? Difference Between Horizontal and Vertical line

Table of Content |

## Definition of Horizontal Line

A line is said to be horizontal when a straight line goes from left to right or right to left parallel to the horizon of the X-axis. In other words, in the coordinate plane, a line drawn parallel to the X-axis is called a horizontal line. The horizontal line never touches X-axis in the coordinate plane, and the vertical line is always perpendicular to the horizontal line.

### Graphical representation of Horizontal Line

### Slope of the Horizontal Line

**Slope of the horizontal line is always zero.**

The horizontal line intercepts on the Y-axis; it does not intercept X-axis. When we compare the equation with the general equation of the line, we get

The general equation of line **Y = mx + b** and Y = b m = 0.

The slope of a horizontal line never is positive or negative. It's always zero.

Also check: **Ascending Order**

### Equation of Horizontal Line

**The equation of the horizontal line is always Y = b.**

As we discussed above, the horizontal line never touches the X-axis, and the horizontal line's slope is zero. Thus the equation of a horizontal line through any point(a,b) is in the form of **Y = b.**

For example,

Y = 3

Y = -1

Y = 6 etc.

**Also Check: Types of Angles**

### How to construct Horizontal Line

Use these simple steps to construct a horizontal line.

- To draw a horizontal line, you have data of X and Y points.
- Mark the points on the XY plane.
- Considering X and Y values, draw a line parallel to the X-axis.

#### Examples:

Draw a horizontal line Y = 5.

Draw a horizontal line Y = -2.

### Difference Between Horizontal & Vertical Line

Horizontal Line |
Vertical Line |

Parallel to X-axis | Perpendicular to the horizontal line. |

Can be drawn left to right or right to left | Can be drawn upward to downward or vice-versa. |

Represent in the form of Y = b | Represent in the form of X = c |

Examples- Y=5, Y=3, Y=-4, etc | Examples- X=2, X=7, X=-4 etc. |

### Solved Examples

**Q1. Find the equation of the horizontal line passing through the point (3,6)?**

**Ans. **The general equation of the line in the form of slope intercepts is y = mx + b.

As we know, the slope of a horizontal line is zero, m = 0

Equation of the horizontal line passing through the point (3,6)

Y = (0)x + 6

Y = 6

Hence Y = 6 is the required equation for the horizontal line.

**Q2. Identify the equation of the horizontal line given in the figure.**

**Ans.** Y=2

### Frequently Asked Question (FAQs)

**Q1. Define horizontal line?**

**Ans. **A line drawn parallel to the horizon or X-axis in a coordinate plane is a horizontal line.

**Q2. What is the equation of the horizontal line?**

**Ans. **The equation of any horizontal line is Y = b.

**Q3. What is the slope of the horizontal line?**

**Ans. **The slope of the horizontal line is zero.

**Q4. What is the shape of a horizontal line?**

**Ans. **The horizontal line is parallel to the X-axis, running left to right or right to left in the coordinate plane.