# Equation of a Line Parallel and/or Perpendicular to Another Line

In this tutorial, you will learn how to construct a line that is either parallel or perpendicular to a given reference line and passing through a fixed point.

To be successful in solving this kind of problem, you need to have some background knowledge about the line itself.

**First**: You should know how to find the slope of a line given two points.

Here is the formula:

## Slope Formula

The slope, m, of a line passing through two arbitrary points \left( {{x_1},{y_1}} \right) and \left( {{x_2},{y_2}} \right) is calculated as follows…

**Second**: Be familiar with the two (2) most useful forms of the line, namely: Slope Intercept Form and Point Slope Form.

## Slope-Intercept Form

The linear equation written in the form y = mx + b is in slope-intercept form where:

## Point-Slope Form

The equation of the line with a slope, m, and passing through a specific point {x_1} - {y_1} is

**Third**: You need to know the basic facts about parallelism and perpendicularity of lines using their slopes.

Assume that you have two distinct and nonvertical lines, {\ell _1} and {\ell _2} in Slope-Intercept Form.

**Line 1:**

**Line 2:**

They are **parallel lines** if their slopes are equal or the same.

- Equal Slopes:

- Graph:

They are** perpendicular lines** if their slopes are opposite reciprocals of each other, or the product of their slopes equals - 1.

- Slopes are Opposite Reciprocals:

- Product of Slopes:

- Graph:

Let’s go over some examples!

### Examples of How to Find the Equation of a Line Parallel and/or Perpendicular to Another Line

**Example 1**: Find the equation of a line that is parallel to y = - \,3x + 5 and passing through the point \left( {2, - \,7} \right).

Let’s start by graphing the given line and point so that we have a clear picture of what’s going on.

To construct the required line, we need two things: a slope and a point. Once we have this information, we can plug these values into the Point-Slope Form, and finally rewrite it in Slope-Intercept to get our final answer.

We can directly use the slope of the reference line y = - \,3x + 5, which is m = - \,3 because they must have **equal slopes** in order to be parallel. We will use \left( {2, - \,7} \right) as the point where this unknown line must pass through.

Therefore, the line that we are trying to determine is the one with a slope of m = - \,3 and passing through \left( {2, - \,7} \right).

Substitute these values into the Point-Slope Form and solve for “y = “.

This is how it looks on the graph.

**Example 2**: Find the equation of a line that is perpendicular to y = {1 \over 5}x - 2 , and passing through the point \left( {1, - \,3} \right).

This is the graph of the given line and the point.

Can we use the slope m = {1 \over 5} of the reference line in the calculation? The answer is no! Use this only as the slope of the parallel line because they must be equal. Instead, take the opposite reciprocal (also known as negative reciprocal) of the given slope m = {1 \over 5} to get the needed perpendicular slope.

The opposite reciprocal of m = {1 \over 5} is m = - \,5.

Therefore, to get the equation of the perpendicular line, use m = - \,5 and the point \left( {1, - \,3} \right). Plug these values in the

Graph the line to verify if it is perpendicular to the reference line and has passed through the fixed point, which is the case!

**Example 3**: Find the lines that are parallel and perpendicular to y = {2 \over 5}x + 7 and passing through the point \left( { - 1, - \,2} \right).

In this problem, we are going to have two answers. One answer is the line that is parallel to the reference line and passing through a given point. Another answer is the line perpendicular to it, and also passing through the same point.

**Part 1:**Determine the parallel line using the slope m = {2 \over 5} and the point \left( { - 1, - \,2} \right).

We will use the slope of the reference line because we want to find the line that is parallel to it, which means, they must have equal slopes. Substitute the values in the Point Slope Form and then transform into Slope Intercept Form as the final answer.

**Part 2:**Determine the parallel line using the slope m = {{ - \,5} \over 2} and the point \left( { - 1, - \,2} \right).

The perpendicular slope will be the opposite reciprocal of the reference line’s slope. Thus, {2 \over 5} \to {{ - \,5} \over 2} .

**Example 4**: Find the equation of a line that is parallel to y = {5 \over 2}x - 4, and passes through the point \left( { - \,2,\,\,1} \right).

**Solution:**

Since we want a parallel line, the slope is taken straight out of the reference line, that is, m = {5 \over 2}. And the point to use will be the one that is given to us which is \left( { - \,2,\,\,1} \right). Plug the values into the

**Example 5**: Find the equation of a line that is perpendicular to y = {{ - 1} \over 2}x + 2, and passes through the point \left( { - 10, - \,5} \right).

**Solution:**

The slope to use will be the opposite reciprocal of the slope of the reference line. The slope of the reference line is m = {{ - 1} \over 2}. That means its opposite reciprocal will be m = 2.

Substitute the values for slope m = 2 and for the point \left( { - 10, - \,5} \right) into the

**Example 6**: Find the lines that are parallel and perpendicular to y = {{ - \,3} \over 2}x - 15 and passes through the point \left( {0,2} \right).

**Solution:**

To get the parallel line, use the slope m = {{ - \,3} \over 2} and the point \left( {0,2} \right).** **Plug values into

To get the perpendicular line, the slope to use will be the opposite reciprocal of the given slope m = {{ - \,3} \over 2} which is m = {2 \over 3} . And the point will simply be the given one, that is, \left( {0,2} \right). Plug values into