topic badge

11.02 Parallel and perpendicular lines

Introduction

We will continue building our understanding of parallel and perpendicular lines by considering characterstics seen in their rates of change. We will use the slope formula from Math 1 lesson  3.05 Graphing linear functions  to prove whether lines are parallel or perpendicular in the coordinate plane.

Parallel lines

Exploration

Move each of the blue points around. The points on the y-axis will move up and down, and the other point can move anywhere.

  1. What do you notice about the slopes of the two parallel lines?
  2. Do you think this is true for all non-vertical lines?
  3. How could we prove two lines are parallel?
Loading interactive...

Parallel lines will always have the same slope. This means they will never intersect. Any two vertical lines are parallel.

Slopes of parallel lines theorem

Two non-vertical lines are parallel if and only if their slopes are equal

Two lines labeled 1 and 2 on a first and four quadrant coordinate plane without numbers. Line 1 is parallel to line 2. The equation m sub 1 equals m sub 2 is shown.

We can use this theorem to prove lines are parallel and to find the equations of parallel lines.

Examples

Example 1

Prove that the lines are parallel.

-5
-4
-3
-2
-1
1
2
3
4
5
x
-4
-3
-2
-1
1
2
3
4
y
Worked Solution
Create a strategy

We will use the slopes of parallel lines theorem to prove the lines are parallel by showing the slopes are equal.

If we find nice points, we can count the rise and run to determine the slope.

Apply the idea
-5
-4
-3
-2
-1
1
2
3
4
5
x
-4
-3
-2
-1
1
2
3
4
y

Counting the rise and run, we see the top line has a slope of \dfrac{1}{6}. Doing the same for the bottom line, the slope is also \dfrac{1}{6}.

Therefore, m_{1}=m_{2}=\dfrac{1}{6} so these lines are parallel by the slopes of parallel lines theorem.

Example 2

The line AB passes through the points \left(-2,9\right) and \left(3,-21\right).

a

Write the equation of the line.

Worked Solution
Create a strategy

To find the equation, we need to know the slope and the y-intercept. We will find the slope using m=\dfrac{y_2-y_1}{x_2-x_1}, and we will find the y-intercept using y=mx+b.

Apply the idea
\displaystyle m\displaystyle =\displaystyle \dfrac{y_2-y_1}{x_2-x_1}Slope formula
\displaystyle =\displaystyle \dfrac{-21-9}{3-(-2)}Substitute (x_1,y_1) and (x_2,y_2)
\displaystyle =\displaystyle \dfrac{-30}{5}Evaluate the subtraction
\displaystyle =\displaystyle -6Evaluate the division

The slope of the line is m=-6. Now, we will use y=mx+b with the slope we found and one of the points. We can use either point because either will result in the same answer.

\displaystyle y\displaystyle =\displaystyle mx+bSlope-intercept form of a linear equation
\displaystyle 9\displaystyle =\displaystyle -6(-2)+bSubstitute m=-6 and (x_1,y_1)
\displaystyle 9\displaystyle =\displaystyle 12+bEvaluate the multiplication
\displaystyle -3\displaystyle =\displaystyle bSubtraction property of equality
\displaystyle b\displaystyle =\displaystyle -3Reflexive property of equality

This means the y-intercept is at \left(0,-3\right).

Substituting m=-6 and b=-3 into slope-intercept form of a linear equation, we find the equation of the line to be y=-6x-3.

Reflect and check

The equation of the line in standard form is 6x+y=-3.

b

Find the equation of the line that passes through \left(1,5\right) and is parallel to the line AB.

Worked Solution
Create a strategy

Since this line is parallel to the line AB, we know that it will have the same slope as \overleftrightarrow{AB} which was -6. We only need to find the y-intercept of the parallel line.

Apply the idea

Just like we did in the previous part, we will substitute the slope and the x- and y-values of the point into y=mx+b.

\displaystyle y\displaystyle =\displaystyle mx+bSlope-intercept form of a linear equation
\displaystyle 5\displaystyle =\displaystyle -6(1)+bSubstitute m=-6 and the point (1,5)
\displaystyle 5\displaystyle =\displaystyle -6+bEvaluate the multiplication
\displaystyle 11\displaystyle =\displaystyle bAddition property of equality
\displaystyle b\displaystyle =\displaystyle 11Reflexive property of equality

The equation of the parallel line is y=-6x+11.

Reflect and check

Using technology to graph the lines, we can see that they are parallel, and they pass through the specified points from parts (a) and (b).

-3
-2
-1
1
2
3
4
5
x
-20
-15
-10
-5
5
10
y

Example 3

Prove that two non-vertical lines are parallel if their slopes are the same.

Worked Solution
Create a strategy

Begin with the definition of parallel lines: "Parallel lines are lines in the same plane that do not intersect."

Apply the idea

We can prove this informally using definitions and diagrams. We will start with one line on the coordinate plane and try to find a line which never intersects it.

For a line to never intersect the one that we started with, it must be a translation of our starting line without any reflection or rotation. A translation is defined as "a transformation in which every point in a figure is moved in the same direction and by the same distance."

This diagram shows the possible vertical translations.

Whether we translate the line up or down, the slope triangle is translated along with the line. Translations preserve distance, so the distances a and b are preserved.

This means the rise and run remain the same, so the slope of the line remains the same.

This diagram shows the possible horizontal translations. Whether we translate the line left or right, the slope triangle is translated with the line.

Using the same reasoning as we did above, we know the slope of the line remains the same.

Since translating a line does not change its slope, we know that two lines are parallel if and only if their slopes are the same.

Reflect and check

Another strategy for proving this is to make a system of two non-vertical linear equations which has no solution. We can start with:

\begin{cases} y=m_1x+b_1 \\ y=m_2x+b_2 \end{cases}

If b_1=b_2, then system will have a solution when x=0, so we must have b_1\neq b_2.

Now, we can consider what a solution to the equation will look like. If we solve the equation by letting the y-values be equal, we get:

\displaystyle m_1x+b_1\displaystyle =\displaystyle m_2x+b_2Equate y-values
\displaystyle m_1x-m_2x\displaystyle =\displaystyle b_1+b_2Add b_1 and subtract m_2x from both sides
\displaystyle \left(m_1-m_2\right)x\displaystyle =\displaystyle b_1+b_2Factor out x
\displaystyle x\displaystyle =\displaystyle \dfrac{b_1+b_2}{m_1-m_2}Divide both sides by m_1-m_2

We can see that there will be no viable solutions to the system only when m_1=m_2 because that would force us to divide by zero which is not possible. So two lines are parallel if and only if their slopes are the same.

Idea summary

If two lines are parallel, they have the same slope.

If two lines have the same slope, they are parallel.

Perpendicular lines

Exploration

Drag the blue points around. Keep the point on the red line in between the other two points for easier usability.

  1. What do you notice about the slopes of the two perpendicular lines?
  2. Do you think this is true for all non-vertical perpendicular lines?
  3. How could we prove two lines are perpendicular?
Loading interactive...

Perpendicular lines have slopes with opposite signs and they are reciprocals of one another. A vertical and horizontal line are perpendicular.

Slopes of perpendicular lines theorem

Two non-vertical lines are perpendicular if and only if the product of their slopes is -1

Two lines labeled 1 and 2 on a first and four quadrant coordinate plane without numbers. Line 1 is perpendicular to line 2. The equation m sub 1 m sub 2 equals negative 1 is shown.

We may also call the slopes of perpendicular lines opposite reciprocals which refers to them being reciprocals with opposite signs. We use this theorem to prove lines are perpendicular and to find the equations of perpendicular lines.

Examples

Example 4

Consider the lines on the given coordinate plane.

-5
-4
-3
-2
-1
1
2
3
4
5
x
-5
-4
-3
-2
-1
1
2
3
4
5
y
a

Identify all pairs of parallel lines.

Worked Solution
Create a strategy

We are looking for pairs of lines with the same slope. We can count the rise and run to determine the slope.

Apply the idea

Line a and line d both have a slope of m_a=3=m_d, so they are parallel.

Reflect and check

Lines b and c have similar slopes, but they are not equal.

m_b=-\dfrac{1}{3}

m_c=-\dfrac{1}{4}

b

Identify all pairs of perpendicular lines.

Worked Solution
Create a strategy

We are looking for pairs of lines with slopes that are opposite reciprocals, so their slopes should have a product of -1.

Looking at the coordinate plane, the pairs that look like they might be perpendicular are a and b, a and c, and e and f.

Apply the idea

From the coordinate plane, we can find that:

m_a=3,\,m_b=-\dfrac{1}{3},\,m_c=-\dfrac{1}{4},\,m_e=\dfrac{1}{2},\,m_f=-2

Line a and line b have slopes with a product of 3 \left( -\dfrac{1}{3}\right) =-1, so they are perpendicular.

In part (a), we determined that lines a and d are parallel, so any line that is perpendicular to a is also perpendicular to d by the perpendicular transversal theorem. In particular, that means that line b is perpendicular to line d.

Line e and line f have slopes with a product of \dfrac{1}{2} \left( -2\right) =-1, so they are perpendicular.

Example 5

Consider the line 4x-3y=-6.

a

Find the equation of the line that is perpendicular to the given line and has the same y-intercept.

Worked Solution
Create a strategy

For the new line to be perpendicular to the given line, its slope must be the opposite reciprocal of the slope of the given line.

To find the y-intercept, we can either substitute x=0 or rearrange to slope-intercept form.

Apply the idea

Rearranging the equation of the given line to slope-intercept form gives us:

\displaystyle 4x-3y\displaystyle =\displaystyle -6Given equation
\displaystyle -3y\displaystyle =\displaystyle -4x-6Subtract 4x from both sides
\displaystyle y\displaystyle =\displaystyle \dfrac{4}{3}x+2Divide both sides by -3

The slope of the given line is m=\dfrac{4}{3}.

The slope of a perpendicular line is m_{\perp}=-\dfrac{3}{4}

We know from the equation that the y-intercept of this line is \left( 0,2 \right), and our new line will have the same y-intercept.

The equation of our new line in slope-intercept form is y=-\dfrac{3}{4}x+2.

Reflect and check

Graphing the lines on the same coordinate plane, we can see that there is a 90\degree angle where the lines intersect, and they have the same y-intercept.

-4
-3
-2
-1
1
2
3
4
x
-4
-3
-2
-1
1
2
3
4
y
b

Write the equation in standard form.

Worked Solution
Create a strategy

Standard form is when the x- and y-terms are on the same side of the equation, and the coefficients are all integers.

Apply the idea
\displaystyle y\displaystyle =\displaystyle -\dfrac{3}{4}x+2Equation of new line
\displaystyle 4y\displaystyle =\displaystyle -3x+8Multiply both sides by 4
\displaystyle 3x+4y\displaystyle =\displaystyle 8Add 3x to both sides

The equation of the new line in standard form is 3x+4y=8.

Reflect and check

Comparing the two equations in standard form,

3x+4y=8

4x-3y=-6

we see that the coefficients of x and y are switched, and one of the signs is opposite. This is what gives us the reciprocal slopes with oppposite signs.

Example 6

A mirror is placed along the x-axis. A laser beam is projected along the line y=-x+4 which reflects off the mirror.

-1
1
2
3
4
5
6
7
x
-1
1
2
3
4
5
6
7
y
a

A normal is a line which is perpendicular to the surface of the mirror at the point of reflection. Find the equation of the normal.

Worked Solution
Create a strategy

We can do a quick sketch of the normal to help:

-1
1
2
3
4
5
6
7
x
-1
1
2
3
4
5
6
7
y
Apply the idea

Since the mirror is a horizontal line, the normal must be a vertical line if it is to be perpendicular. This means it will be of the form x=a.

Since it goes through the point where the laser hits the mirror, \left(4,0\right), the equation of the normal will be x=4.

b

The angles that the laser and its reflection make with the normal will be congruent. If the angle between the laser beam and the normal is 45 \degree, find the equation of the path of the reflection.

Worked Solution
Create a strategy

Since the angles are congruent, know that the angle formed between the normal and the reflection will also be 45 \degree.

We can label this on our diagram:

-1
1
2
3
4
5
6
7
x
-1
1
2
3
4
5
6
7
y
Apply the idea

Using the angle addition postulate, we can show that the angle formed between the laser and its reflection will be 45 \degree+45 \degree=90\degree.

This means that the laser beam path and the reflection path are perpendicular, so their slopes will be negative reciprocals. Since the slope of the laser beam is -1, this means the slope of the reflection will be 1.

The reflection starts at the point \left(4,0\right). Putting all of this together we get:

\displaystyle y\displaystyle =\displaystyle mx+bEquation of a line in slope-intercept form
\displaystyle y\displaystyle =\displaystyle 1x+bSubstitute m_{\perp}=1
\displaystyle 0\displaystyle =\displaystyle 1(4)+bSubstitute \left(4,0\right)
\displaystyle -4\displaystyle =\displaystyle bSubtract 4 from both sides
\displaystyle y\displaystyle =\displaystyle x-4Using m=1 and b=-4

The equation of the reflection is y=x-4.

Reflect and check

We did not need to be told that the angle formed between the laser beam and the normal was 45 \degree. Since the slope of the line was -1, we could form a right isosceles triangle with legs of length 4, so the angle must be 45 \degree.

-1
1
2
3
4
5
6
7
x
-1
1
2
3
4
5
6
7
y

Example 7

Prove that two non-vertical lines are perpendicular if the product of their slopes is -1.

Worked Solution
Create a strategy

Begin with the definition of perpendicular lines: "Perpendicular lines are two lines that are at right angles to each other."

Apply the idea

One way to show they are at right angles is to start with one line and consider its slope using a right triangle. For example:

x
y

To find a line that is at a right angle to our starting line, we can just rotate it by 90\degree.

x
y

Notice that rotating the line by 90\degree also rotated the right triangle by 90\degree.

This shows us that the values of the rise and run have switched, so the slope of the new line will be the reciprocal of the starting line.

We can also see that the slope has changed sign, since rotating any line by 90\degree will change its slope from positive to negative or vice versa. The sign of the slope of the new line will be the negative of the starting line.

Therefore, two lines are perpendicular if their slopes are opposite reciprocals, which is the same as their product being -1.

Reflect and check

To show that two non-vertical lines whose slopes have a product of -1 are perpendicular, we would need to begin with a line that has a slope of \dfrac{a}{b} and a line that has a slope of -\dfrac{b}{a} and show they meet at a 90\degree angle.

Idea summary

The slopes of perpendicular lines are reciprocals with opposite signs. When multiplied together, they have a product of -1.

Constructing parallel lines

Exploration

Click through the slides of the parallel line construction.

Loading interactive...
  1. Describe what is happening in each step.

We can construct a set of parallel lines using dynamic geometry software. Another way to construct parallel lines using a compass and straightedge as follows:

1. Choose a point A through which to construct a line parallel to \overleftrightarrow{BC}.

2. Set the compass width to the distance AC.

3. Construct an arc centered at B with the radius AC.

4. Set the compass width to the distance AB.

5. Construct an arc centered at C with the radius AB.

6. Construct a line through A and the intersection of the two arcs. This line is parallel to \overleftrightarrow{BC}.

Notice, here we did not draw the full circles as was done with the dynamic geometry software. We could have drawn the full circles but it is only necessary to draw enough of the arcs of each circle to make the necessary points of intersection. Drawing a construction this way prevents creating any unnecessary points of intersection that may cause confusion.

Examples

Example 8

Use constructions to construct two parallel lines.

Worked Solution
Create a strategy

We can use a compass and straightedge or technology to construct parallel lines.

Apply the idea

One approach for constructing parallel lines follows:

  1. Use the line segment tool to construct line \overleftrightarrow{AB} and an arbitrary point C not on the line.

  2. Use the point tool to add point D anywhere on line \overleftrightarrow{AB} and use the line tool to draw line \overleftrightarrow{CD}.

  3. Use the point tool to place point E on \overleftrightarrow{CD} closer to C and use the compass tool to construct a circle with radius equal to ED centered at D.

  4. With the compass tool again, construct a circle with radius equal to ED centered at C.

  5. Use the point tool to label the intersection of circle C and \overleftrightarrow{CD} with F and use the point tool to label the intersection of circle D and \overleftrightarrow{AB} with G.

  6. Select the compass tool and create a circle with radius GE centered at F and use the point tool to label the intersection of circle F and circle C with H.

  7. Use the line tool to draw a line through points C and H. This line is parallel to \overleftrightarrow{AB}.

Idea summary

We can use various methods to construct parallel lines including technology and a compass and straightedge.

Proofs and constructions of perpendicular lines

Perpendicular lines

Two lines that intersect at right angles. Lines are denoted as being perpendicular by the symbol \perp.

Two intersecting lines with a right angle marking.
Midpoint

A point exactly halfway between the endpoints of a segment that divides it into two congruent line segments.

A line segment with endpoints A and C with a point B directly in the middle labeled Midpoint.

Exploration

Drag points A, B, and P to change the lengths.

Loading interactive...
  1. What relationships in the diagram are always true? Can you explain why?

A point, line, or ray that is perpendicular to a line segment at its midpoint is a perpendicular bisector.

Perpendicular bisector theorem

If a point is on the perpendicular bisector of a line segment, then it is equidistant from the end points of the line segment.

Segment M N with a point P on M N. Another segment O P is drawn perpendicular to M N. Points Q, R, S and T are on O P. For each point, dashed segment are drawn from the point to M and N.

To construct a perpendicular line, we can use the following method:

  1. Choose two points on a given line.

    A line with two points.
  2. Construct an arc centered at one of the points.

    A line with two points. An arc centered at one of the points is drawn.
  3. Construct an arc centered at the other point, such that this arc intersects the arc constructed in Step 2 at two distinct points.

    A line with two points. Two arcs centered at the points are drawn.
  4. Plot points where the two arcs intersect. Here we have used A and A'.

    A line with two points. Two arcs centered at the points are drawn. The points of intersections of the two arcs are labeled A and A prime.
  5. Construct the line \overleftrightarrow{AA'}. It is perpendicular to the line constructed in Step 1.

    A line with two points. Two arcs centered at the points are drawn. The points of intersections of the two arcs are labeled A and A prime. A line passing through A and A prime is drawn.

If we want the perpendicular line to pass through a particular point, we can adjust the radii of the compass so that both arcs pass through that point.

Examples

Example 9

Recall that the Pythagorean theorem states that given a right triangle, the square of the length of the hypotenuse is equal to the sum of the squares of its legs lengths.

Prove the perpendicular bisector theorem.

Worked Solution
Create a strategy

To prove this theorem, construct a segment \overline{PM} \perp \overline{AB} such that M is the midpoint of \overline{AB}.

Since both \triangle AMP and \triangle BMP are right angled triangles with AM=BM (given) and \overline{PM} common to both we can use the Pythagorean theorem and substitution to find the relationship between PA and PB.

Triangle A P B with point M on side A B. A segment is drawn from P to M perpendicular to A B. Segments A M and M B are congruent.
Apply the idea
To prove: PA=PB
StatementsReasons
1.AM=BMGiven
2.\triangle AMP is a right triangle\overline{PM}\perp\overline{AB}
3.\triangle BMP is a right triangle\overline{PM}\perp\overline{AB}
4.PA^{2}=AM^{2}+PM^{2}Pythagorean theorem in \triangle AMP
5.PB^{2}=BM^{2}+PM^{2}Pythagorean theorem in \triangle BMP
6.PB^{2}=AM^{2}+PM^{2}Substitution property of equality
7.PA^{2}=PB^{2}Transitive property of equality
8.PA=PBSquare root property

Example 10

Construct a proof of the following:

Given m \angle1 = m \angle 2

Prove: l \perp m

Line l intersecting line m. Line m forms an angle labeled 1 with the left side of line l, and an angle labeled 2 with the right side of line l.
Worked Solution
Create a strategy

We can use a flow chart proof, two column proof, bulleted list, or paragraph proof to prove that l \perp m. For this proof, we will use a two column proof.

Apply the idea
To prove: l \perp m
StatementsReasons
1.m \angle1 = m \angle 2Given
2.\angle 1 and \angle 2 are supplementaryLinear pair theorem
3.m\angle1 + m\angle 2 = 180 \degreeDefinition of supplementary angles
4.m\angle1 + m\angle 1 = 180 \degreeSubstitution property of equality
5.m\angle1= 90 \degreeDivision property of equality
6.\angle 1 is a right angle and l \perp mDefinition of perpendicular lines

Example 11

Ludek is creating a shirt design on his computer. He wants to include some perpendicular lines as part of the design, but the program he is using doesn't measure angles so he can't construct them directly using a right angle.

The program Ludek is using can construct lines and circles accurately through or centered at points. Describe how Ludek could construct the perpendicular lines for his design.

Worked Solution
Create a strategy

One approach Ludek can use to construct perpendicular lines is by using dynamic technology software.

Apply the idea
  1. Use the 'Line' tool to construct a line through two points.

    A screenshot of the GeoGebra geometry tool showing the constructions described in step 1. Speak to your teacher for more details.
  2. Use the 'Circle with Center' tool to construct a circle about each point on the line, such that the circles intersect at two distinct points.

    A screenshot of the GeoGebra geometry tool showing the constructions described in step 2. Speak to your teacher for more details.
  3. Use the 'Line' tool once more to construct a line through the points of intersection of the circles. This line will be perpendicular to the first line.

    A screenshot of the GeoGebra geometry tool showing the constructions described in step 3. Speak to your teacher for more details.
Reflect and check

Notice that while we have constructed a perpendicular line, it is not a perpendicular bisector because the radii of the two circles used in the construction are not the same. Therefore, the line does not pass through the midpoint of \overline{AB}.

Example 12

Construct perpendicular bisector \overleftrightarrow{CD} through \overline{AB}.

Segment A B.
Worked Solution
Create a strategy

One approach to constructing the perpendicular bisector through \overline{AB} is using a compass and straightedge.

Apply the idea

1. Construct an arc centered at point A so that the arc is longer than half of \overline{AB}.

Segment A B. An arc centered at A is drawn.

2.Construct an arc centered at point B using the same compass setting, such that this arc intersects the arc constructed in Step 1 at two distinct points. Label the two points C and D.

Segment A B. Arcs centered at A and B are drawn.

3. Draw \overleftrightarrow{CD}. Label the point M where \overleftrightarrow{CD} intersects \overline{AB}. M is the midpoint of \overline{AB}.

Segment A B. Arcs centered at A and B are drawn. A line is drawn using the points of intersection of the two arcs. The point of intersection of A B and the line is labeled M.

\overleftrightarrow{CD}\perp \overline{AB} at the midpoint of \overline{AB}, so \overleftrightarrow{CD} is the perpendicular bisector of \overline{AB}.

Idea summary

We can use the relationships between angles to prove that lines are perpendicular. We can use various methods to construct perpendicular lines including technology and a compass and straightedge.

Outcomes

G.CO.D.12

Make formal geometric constructions with a variety of tools and methods (compass and straightedge, string, reflective devices, paper folding, dynamic geometric software, etc.). Copying a segment; copying an angle; bisecting a segment; bisecting an angle; constructing perpendicular lines, including the perpendicular bisector of a line segment; and constructing a line parallel to a given line through a point not on the line.

G.GPE.B.5

Prove the slope criteria for parallel and perpendicular lines and use them to solve geometric problems.

What is Mathspace

About Mathspace