# 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 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 (*x*_{1}, *y*_{1}) and (*x*_{2}, *y*_{2}) 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:

** m** is the slope, and

** b** is the y-intercept

## Point-Slope Form

The equation of the line with a slope, *m*, and passing through a specific point (*x*_{1}, *y*_{1}) is

*y − y*_{1} = *m *(*x* − *x*_{1})

**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, and in Slope-Intercept Form.

**Line 1:**

**Line 2:**

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

- Equal Slopes:
*m*_{1}=*m*_{2} - 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

**(2, –7)**.

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 these 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 (2, –7) 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 (2, –7).

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 , and passing through the point **(1, –3)**.

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

Can we use the slope 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 to get the needed perpendicular slope.

The opposite reciprocal of is *m* = –5.

Therefore, to get the equation of the perpendicular line, use *m* = –5 and the point (1, –3). Plug these values in the Point Slope Form and rewrite to Slope Intercept Form to get the final answer.

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 and passing through the point **(–1, –2)**.

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 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 and the point (–1, –2).

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 and the point (–1, –2).

The perpendicular slope will be the opposite reciprocal of the reference line’s slope. Thus, .

**Example 4**: Find the equation of a line that is parallel to , and passes through the point **(–2, 1)**.

**Solution:**

Since we want a parallel line, the slope is taken straight out of the reference line, that is, . And the point to use will be the one that is given to us which is (–2, 1). Plug the values into the Point Slope Form and then transform to Slope Intercept Form to get our final answer.

**Example 5**: Find the equation of a line that is perpendicular to , and passes through the point **(–10, –5)**.

**Solution:**

The slope to use will be the opposite reciprocal of the slope of the reference line. The slope of the reference line is . That means its opposite reciprocal will be *m* = 2.

Substitute the values for slope *m* = 2 and for the point (–10, –5) into the Point Slope Form, then rewrite to Slope Intercept Form.

**Example 6**: Find the lines that are parallel and perpendicular to and passes through the point **(0, 2)**.

**Solution:**

To get the parallel line, use the slope and the point (0, 2).** **Plug values into Point Slope Form and rewrite into Slope Intercept Form to get the final answer.

To get the perpendicular line, the slope to use will be the opposite reciprocal of given slope which is . And the point will simply be the given one, that is, (0, 2). Plug values into Point Slope Form and rewrite into Slope Intercept Form to get the final answer.