Vertical in Maths – Definition with Examples

Home » Math Vocabulary » Vertical in Maths – Definition with Examples

What Does Vertical Mean in Geometry?

A vertical line is the one that we draw from top to bottom. In mathematics, vertical and horizontal alignment are represented by vertical and horizontal lines.

On the coordinate plane, the y-axis is referred to as the vertical axis, and all the vertical lines are parallel to this axis.

What Is a Vertical Line in Math?

A vertical line is a line perpendicular to a horizontal line or the x-axis. In a coordinate plane, the y-axis is a vertical line since it is perpendicular to the x-axis, the baseline. Thus, any line that is parallel to the y-axis is vertical. A vertical line is also called a standing line.

Examples of vertical lines:

Vertical lines

Vertical Line Definition

A vertical line is a straight line that runs from the top to the bottom, parallel to the y-axis, on the coordinate plane. It has an undefined slope and an equation of the form x = c, where “c” represents a constant value, indicating that the x-coordinate remains constant for all points on the line. 

Properties of Vertical Lines

  1. Vertical lines are parallel to the y-axis. Thus, they do not intersect the y-axis. In other words, they do not have a y-intercept.
  2. The equation of a vertical line is of the form of x = a, where a is the x-intercept.
  3. Since the x-coordinates of a vertical line do not change (x is constant), the denominator of the slope (run) is always zero. Thus, the slope of a vertical line is undefined.
  4. A vertical line intersects a horizontal line at a right angle.

Equation of a Vertical Line

The equation of a vertical line in math can be given by x = ± a, where (a,0) is the x-intercept, the point where the line intersects the x-axis, 

For example, consider the line which intersects the x-axis at (5,0) and is parallel to the y-axis. We get the equation of the line as x = 5.

Vertical and Horizontal Alignment

In geometry and its applications, one of the skills we prefer our kids to learn by instinct or cultivate within themselves is the line of sight. Line of Sight refers to our ability to observe and look at things from our point of view. Depending on the context, we change our perspective to view things in different alignments or rotations. The most elementary perspectives or alignments in which we view objects are horizontal and vertical. 

  • Vertical Alignment: Vertical alignment is when we view things from top to bottom. It is referred to as the alignment when things are standing.
Understanding vertical alignment
  • Horizontal Alignment: Horizontal alignment is when we view things from left to right. It is referred to as the alignment when things are in the sleeping position.
Understanding horizontal alignment
  • Vertical Movements: In our day-to-day life, we notice various things in vertical alignment, like a standing building or a powerhouse, etc. The word vertical can also be used to describe the motion of objects. Since we know vertical stands for top to bottom, the motion of an apple falling from a tree is vertical. 
An apple falling vertically downwards

The motion of a rocket going from bottom to top is also classified as vertical.

A launched rocket following a vertical path

Vertical Line on the Coordinate Plane

  • On a coordinate plane, the x-axis is considered the horizontal axis, whereas the y-axis is the vertical axis. 
  • The graph of a vertical line in a coordinate plane is a line parallel to the y-axis. 
  • For a vertical line, all the points on the line have the same x-coordinate. Thus, the x-coordinate stays the same; only the y-coordinate changes. A vertical line never intersects the y-axis. 

Example 1: The line x = 5 is a vertical line. It is parallel to the y-axis.

Vertical line x = 5 in Cartesian plane

Example 2: In the given image, the line PQ is parallel to the y-axis, making it a vertical line.

Vertical line on a coordinate plane

How to Draw a Vertical Line

Let’s learn how to draw a vertical line.

  • Using a Ruler: To draw a vertical line using a ruler, keep the ruler in a standing position, perpendicular to the edge of the page, and draw the line from bottom to top or top to bottom.
Drawing a vertical line using a ruler
  • Drawing a vertical line on a coordinate grid: To draw a vertical line on a coordinate plane, follow these steps:

Step 1: Plot any point on the coordinate plane. For example, let’s plot (4,3).

Point (4, 3) plotted on a coordinate plane
  • Step 2: Identify the x-coordinate of the point marked. Here, it is 4.
  • Step 3: Plot another point on the coordinate plane with the same x-coordinate. For example, let’s plot (4, -2).
Points (4, 2) and (4, -2) plotted on a coordinate plane

Step 4: Join the two plotted points using a ruler to get a vertical line.

Drawing a vertical line on a coordinate plane

Uses of Vertical Lines

Vertical lines have great applications in various fields, such as symmetry and photography.

A vertical line of symmetry runs across the image from top to bottom or bottom to top and divides the image into identical halves.

Understanding vertical line of symmetry
Cutting a shape into two halves using the vertical line of symmetry

Cameras are designed to photograph in landscape (horizontal) or portrait (vertical) mode. In horizontal mode, photographs are wider than they are tall. In vertical mode, photographs are taller than they are wide. 

Vertical Lines of Symmetry

When a vertical line goes through the middle of a shape from top to bottom, dividing it into two identical halves, it is called a vertical line of symmetry.

Vertical lines of symmetry

Slope of a Vertical Line

The slope of a line tells us how steep a line is. If a line passes through two points having coordinates (x1,y1) and (x2,y2), then we can define the slope of a line as

Slope = m = y2- y1x2- x1 = yx = Change in yChange in x = RiseRun

As mentioned earlier, the x-coordinate remains constant in the equation of a vertical line, and only the y-coordinate changes. Thus, the denominator in the slope formula becomes 0. Since the division by 0 is not defined, the slope of a vertical line is undefined.

The slope of a vertical line is undefined

Difference between Horizontal Line and Vertical Line

  Horizontal LineVertical Line
It is parallel to the x-axis.It is parallel to the y-axis.
It is perpendicular to the y-axis.It is perpendicular to the x-axis.
The equation is of the form y = ± a, where a is any real number.The equation is of the form x = ± b, where b is any real number.
The slope of a horizontal line is 0.The slope of a vertical line is undefined.
Horizontal lineVertical line

Vertical Line Test

A vertical line test assesses whether a given graph represents a function. It is based on the fact that a function can only have one output for every input. This test ensures that for each input (x-value), there is only one corresponding output (y-value), satisfying the criteria of a function.

If, in a graph, a vertical line has more than one intersection, it means that there is more than one output for a single input, which means it cannot be a function. 

Thus, any vertical line in the plane can only ever cross the graph of a function once.

Vertical line test examples:

Vertical line test

Facts about Vertical Lines

  • The slope of a vertical is always undefined.
  • A vertical line always goes from top to bottom, making a 90-degree angle with the x-axis.

Conclusion

In this article, we learned about vertical lines, their meaning, uses, construction, properties, equation, and slope. Let’s look at a few examples and practice problems for better comprehension. 

Solved Examples on Vertical Lines

1. In the square ABCD, which sides (line segments) represent vertical lines?

Square ABCD

Solution:

Lines AB and CD are vertical lines.

Example 2: Does the given letter have a vertical line of symmetry or not?

Letter A

Solution: 

Yes. 

You can draw a vertical line dividing the letter into two identical halves. 

Drawing a vertical line of symmetry for the letter A

Example 3: Can you find any number between 0 to 9 with a vertical line of symmetry?

Solution:

Numbers 0 and 8 have vertical symmetry.

You can divide them into two halves by drawing a vertical line of symmetry. 

Example 4: How many vertical lines are there in a given figure?

A drawing of a house

Solution:

There are 10 vertical lines in the given figure.

5. Find the slope of the line x=-3.

Solution:

Since x=-3 is a line parallel to the y-axis, it is a vertical line.

The slope of this line is undefined.

6. Find the equation of the vertical line passing through the point (2, 4).

Solution:

The equation of the vertical line is of the form x = ± a, where a is the x-intercept.

Since the line passes through (2, 4), the x-intercept is 2.

Thus, the equation of the vertical line is x = 2.

We can also write it as x – 2 = 0.

7. Find the equation of the line given in the figure.

Vertical line x =-3 on graph

Solution:

The line is parallel to the y-axis and passes through the point (3, 0) on the x-axis.

Thus, the x-intercept is 3.

The equation of the given vertical line is x =3.

8. Plot the line x = 1.5 on a graph.

Solution:

x = 1.5 represents a vertical line passing through the point (1.5, 0). 

Vertical line x = 1.5

Practice Problems on Vertical Lines

Vertical

Attend this Quiz & Test your knowledge.

1

The slope of the line $x = 10$ is

$m = 9$
$m = 10$
$m = 0$
$m =$ undefined
CorrectIncorrect
Correct answer is: $m =$ undefined
Since $x = 10$ gives us a line parallel to the y-axis, the slope of this line cannot be defined.
2

A vertical line is parallel to the _____.

x-axis
y-axis
line $x = y$
None of the above
CorrectIncorrect
Correct answer is: y-axis
A vertical line is parallel to the y-axis.
3

Which of the following equations represents a vertical line?

$x = 2.5$
$y = 2.5$
$y = x + 2.5$
$x = 2.5 + 2.5y$
CorrectIncorrect
Correct answer is: $x = 2.5$
The equation $x = 2.5$ represents the vertical line.
4

Which of the following objects are not vertically placed?

A mattress
A door
A cupboard in the study room
A glass filled with water
CorrectIncorrect
Correct answer is: A mattress
A mattress is placed in a lying position, not a vertical position.
5

Which of the following letters has a vertical line of symmetry?

H
B
C
D
CorrectIncorrect
Correct answer is: H
Letter H has a vertical line of symmetry.
6

Which of the following has vertical movement?

Moving train
Elevator in building
Escalator in mall
Conveyor belt at the airport
CorrectIncorrect
Correct answer is: Elevator in building
The elevator in the building has top-to-bottom or bottom-to-up movement. Moving trains and conveyor belts move horizontally, and escalators move on an inclined plane.
7

All vertical lines are parallel to _______________.

the x-axis
the y-axis
the x-axis
the line x = y
CorrectIncorrect
Correct answer is: the y-axis
On the coordinate plane, the y-axis is referred to as the vertical axis, and all the vertical lines are parallel to this axis.

Frequently Asked Questions about Vertical Lines

Lines parallel to the x-axis, making a right angle with the y-axis are called horizontal lines.

The slope of a horizontal line is 0.

The up and down direction is the vertical direction.

A vertical line is drawn in the up and down direction, from top to bottom, on a page or a shape. It intersects a horizontal line at a right angle.

A vertical line is perpendicular to the x-axis in the coordinate plane.

It means that the object is in a standing position.