<< Chapter < Page Chapter >> Page >

Writing equations of perpendicular lines

We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the following function:

f ( x ) = 2 x + 4

The slope of the line is 2, and its negative reciprocal is 1 2 . Any function with a slope of 1 2 will be perpendicular to f ( x ) . So the lines formed by all of the following functions will be perpendicular to f ( x ) .

g ( x ) = 1 2 x + 4 h ( x ) = 1 2 x + 2 p ( x ) = 1 2 x 1 2

As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose then we want to write the equation of a line that is perpendicular to f ( x ) and passes through the point ( 4 ,  0 ) . We already know that the slope is 1 2 . Now we can use the point to find the y -intercept by substituting the given values into the slope-intercept form of a line and solving for b .

g ( x ) = m x + b 0 = 1 2 ( 4 ) + b 0 = 2 + b 2 = b b = 2

The equation for the function with a slope of 1 2 and a y- intercept of 2 is

g ( x ) = 1 2 x + 2.

So g ( x ) = 1 2 x + 2 is perpendicular to f ( x ) = 2 x + 4 and passes through the point ( 4 ,  0 ) . Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.

A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not –1. Doesn’t this fact contradict the definition of perpendicular lines?

No. For two perpendicular linear functions, the product of their slopes is –1. However, a vertical line is not a function so the definition is not contradicted.

Given the equation of a function and a point through which its graph passes, write the equation of a line perpendicular to the given line.

  1. Find the slope of the function.
  2. Determine the negative reciprocal of the slope.
  3. Substitute the new slope and the values for x and y from the coordinate pair provided into g ( x ) = m x + b .
  4. Solve for b .
  5. Write the equation for the line.

Finding the equation of a perpendicular line

Find the equation of a line perpendicular to f ( x ) = 3 x + 3 that passes through the point ( 3 ,  0 ) .

The original line has slope m = 3 , so the slope of the perpendicular line will be its negative reciprocal, or 1 3 . Using this slope and the given point, we can find the equation for the line.

g ( x ) = 1 3 x + b       0 = 1 3 ( 3 ) + b       1 = b       b = 1

The line perpendicular to f ( x ) that passes through ( 3 ,  0 ) is g ( x ) = 1 3 x + 1.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given the function h ( x ) = 2 x 4 , write an equation for the line passing through ( 0 , 0 ) that is

  1. parallel to h ( x )
  2. perpendicular to h ( x )

  • f ( x ) = 2 x
  • g ( x ) = 1 2 x

Got questions? Get instant answers now!

Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.

  1. Determine the slope of the line passing through the points.
  2. Find the negative reciprocal of the slope.
  3. Use the slope-intercept form or point-slope form to write the equation by substituting the known values.
  4. Simplify.

Finding the equation of a line perpendicular to a given line passing through a point

A line passes through the points ( 2 ,  6 ) and ( 4 , 5 ) . Find the equation of a perpendicular line that passes through the point ( 4 , 5 ) .

From the two points of the given line, we can calculate the slope of that line.

m 1 = 5 6 4 ( 2 ) = 1 6 = 1 6

Find the negative reciprocal of the slope.

m 2 = 1 1 6 = 1 ( 6 1 ) = 6

We can then solve for the y- intercept of the line passing through the point ( 4 , 5 ) .

g ( x ) = 6 x + b 5 = 6 ( 4 ) + b 5 = 24 + b 19 = b b = −19

The equation for the line that is perpendicular to the line passing through the two given points and also passes through point ( 4 , 5 ) is

y = 6 x 19
Got questions? Get instant answers now!
Got questions? Get instant answers now!
Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Precalculus. OpenStax CNX. Jan 19, 2016 Download for free at https://legacy.cnx.org/content/col11667/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Precalculus' conversation and receive update notifications?

Ask