Equations of Lines and Slope
4. Parallel and Perpendicular Lines
Learning outcomes
- I can identify parallel lines using their slopes.
- I can identify perpendicular lines using their slopes.
- I can write equations of lines parallel to a given line.
- I can write equations of lines perpendicular to a given line.
- I can apply parallel and perpendicular relationships to geometric problems.
Parallel and Perpendicular Lines
Parallel and perpendicular lines have special relationships that can be identified using their slopes.
Parallel lines travel in the same direction and never intersect, provided they are distinct lines.
Perpendicular lines intersect at a:
90° angle
Slope allows us to recognize these relationships algebraically without relying only on the appearance of a graph.
Parallel Lines
Two distinct lines in the same plane are parallel if they never intersect.
For nonvertical lines, parallel lines have:
the same slope
For example:
y = 2x + 1
y = 2x − 5
Both lines have:
m = 2
Their y-intercepts are different, so they are distinct lines.
Therefore, they are:
parallel
Why Parallel Lines Have the Same Slope
Slope measures the direction and steepness of a line.
If two lines have the same slope, they rise or fall at exactly the same rate.
For example, if:
m = 3
then every increase of 1 in x produces an increase of 3 in y.
If two distinct lines both behave this way, the distance between them remains constant and they do not intersect.
Identifying Parallel Lines from Equations
Consider:
Line A: y = 4x + 2
Line B: y = 4x − 7
Line A:
m = 4
Line B:
m = 4
The slopes are equal.
The y-intercepts are different.
Therefore:
Line A ∥ Line B
The symbol ∥ means:
is parallel to
Equal Slopes Do Not Always Mean Two Distinct Parallel Lines
Consider:
y = 3x + 5
and:
y − 5 = 3x
Simplify the second equation:
y = 3x + 5
The two equations describe:
the same line
They are coincident rather than two distinct parallel lines.
Therefore, when identifying distinct parallel lines, check that:
- the slopes are equal
- the lines are not actually the same line
Vertical Parallel Lines
Vertical lines have undefined slopes.
For example:
x = 2
and:
x = 7
are both vertical.
They never intersect.
Therefore, they are:
parallel
This is an important special case because we cannot compare their slopes numerically.
Perpendicular Lines
Two lines are perpendicular if they intersect at:
90°
For most nonvertical and nonhorizontal lines, perpendicular slopes are:
negative reciprocals
For example, if one line has:
m = 2
a perpendicular line has:
m = −1/2
What Is a Reciprocal?
The reciprocal of a fraction is found by switching its numerator and denominator.
For example:
2/3 → 3/2
5/1 → 1/5
−4/7 → −7/4
To find a negative reciprocal, first take the reciprocal and then change the sign.
For example:
3/4 → −4/3
−2/5 → 5/2
5 → −1/5
−7 → 1/7
Finding a Perpendicular Slope
Suppose:
m = 3/5
Step 1: flip the fraction.
5/3
Step 2: change the sign.
m_perpendicular = −5/3
Therefore, lines with slopes:
3/5 and −5/3
are perpendicular.
Another Perpendicular Example
Suppose:
m = −4
Write it as:
−4/1
Take the reciprocal:
−1/4
Change the sign:
1/4
Therefore:
m = −4
and:
m = 1/4
are perpendicular slopes.
The Product Rule
For two nonvertical, nonhorizontal perpendicular lines:
m₁m₂ = −1
For example:
m₁ = 2/3
m₂ = −3/2
Then:
(2/3)(−3/2) = −1
Therefore, the lines are perpendicular.
This gives us another way to check the relationship.
Parallel vs Perpendicular
| Relationship | Slope Rule |
|---|---|
| Parallel nonvertical lines | m₁ = m₂ |
| Perpendicular nonvertical/nonhorizontal lines | m₁m₂ = −1 |
| Perpendicular slopes | Negative reciprocals |
| Parallel vertical lines | Both vertical |
| Horizontal and vertical lines | Perpendicular |
Horizontal and Vertical Lines
A horizontal line has:
m = 0
A vertical line has:
undefined slope
A horizontal line and a vertical line meet at:
90°
Therefore:
horizontal lines are perpendicular to vertical lines
This case cannot be tested using m₁m₂ = −1 because the vertical slope is undefined.
Identifying Relationships from Slope
Consider:
Line A: m = 5
Line B: m = 5
Line C: m = −1/5
Line D: m = 2
Then:
A and B have equal slopes.
Therefore, if they are distinct:
A ∥ B
A and C have negative reciprocal slopes.
Therefore:
A ⟂ C
The symbol ⟂ means:
is perpendicular to
Line D has neither the same slope nor the negative reciprocal of 5.
Therefore, D is neither parallel nor perpendicular to A.
Worked Example: Identify Parallel Lines
Determine whether:
y = −3x + 7
and:
y = −3x − 2
are parallel.
First line:
m₁ = −3
Second line:
m₂ = −3
Since:
m₁ = m₂
and the y-intercepts are different:
the lines are parallel
Worked Example: Identify Perpendicular Lines
Determine whether:
y = 4x + 1
and:
y = −(1/4)x + 6
are perpendicular.
Slopes:
m₁ = 4
m₂ = −1/4
Multiply:
4(−1/4) = −1
Therefore:
the lines are perpendicular
Worked Example: Neither
Consider:
y = 2x + 3
and:
y = −2x + 5
The slopes are:
2 and −2
They are not equal.
They are also not negative reciprocals because:
2(−2) = −4
not −1.
Therefore:
the lines are neither parallel nor perpendicular
A common mistake is to think changing only the sign produces a perpendicular slope.
It does not.
Writing a Parallel Line
Suppose we want an equation for a line parallel to:
y = 3x + 5
that passes through:
(2, 1)
The original line has:
m = 3
A parallel line must also have:
m = 3
Now use point-slope form:
y − y₁ = m(x − x₁)
Substitute:
y − 1 = 3(x − 2)
This is an equation of the required parallel line.
Converting the Parallel Line to Slope-Intercept Form
Start with:
y − 1 = 3(x − 2)
Distribute:
y − 1 = 3x − 6
Add 1:
y = 3x − 5
Compare:
Original:
y = 3x + 5
Parallel:
y = 3x − 5
The slopes are equal, but the y-intercepts differ.
A Reliable Method for Writing Parallel Lines
When asked to write an equation parallel to another line:
- Find the slope of the original line.
- Keep the same slope.
- Identify the new point.
- Use point-slope form.
- Substitute the slope and point.
- Simplify if slope-intercept form is required.
- Check that the slopes are equal.
- Check that the new line passes through the required point.
Writing a Perpendicular Line
Suppose we want a line perpendicular to:
y = 2x + 4
and passing through:
(3, 5)
Original slope:
m = 2
Perpendicular slope:
m = −1/2
Use point-slope form:
y − 5 = −1/2(x − 3)
This is an equation of the required perpendicular line.
Converting the Perpendicular Line
Start with:
y − 5 = −1/2(x − 3)
Distribute:
y − 5 = −1/2x + 3/2
Add 5:
y = −1/2x + 3/2 + 5
y = −1/2x + 3/2 + 10/2
Therefore:
y = −1/2x + 13/2
The slope is:
−1/2
which is the negative reciprocal of 2.
A Reliable Method for Writing Perpendicular Lines
When asked to write a perpendicular line:
- Find the original slope.
- Write it as a fraction if necessary.
- Take its reciprocal.
- Change the sign.
- Identify the required point.
- Use point-slope form.
- Simplify if required.
- Check that the slopes are negative reciprocals.
- Check that the new line passes through the required point.
When the Original Equation Is Not in Slope-Intercept Form
Sometimes the slope is hidden.
Consider:
2x + y = 7
We need a parallel line through:
(4, 3)
First rearrange the original equation.
2x + y = 7
Subtract 2x:
y = −2x + 7
Therefore:
m = −2
A parallel line must have:
m = −2
Use point-slope form:
y − 3 = −2(x − 4)
Finding a Perpendicular Line from Standard Form
Consider:
3x − 2y = 8
Find a perpendicular line through:
(2, 5)
First isolate y:
−2y = −3x + 8
Divide by −2:
y = (3/2)x − 4
Original slope:
m = 3/2
Perpendicular slope:
m = −2/3
Use point-slope form:
y − 5 = −2/3(x − 2)
Writing Parallel Lines Through a Point
Suppose a line passes through:
(−2, 4)
and must be parallel to:
y = −5x + 1
Original slope:
m = −5
Parallel slope:
m = −5
Use the point:
y − 4 = −5[x − (−2)]
Simplify:
y − 4 = −5(x + 2)
Convert if required:
y − 4 = −5x − 10
y = −5x − 6
Writing Perpendicular Lines Through a Point
Suppose a line passes through:
(−2, 4)
and must be perpendicular to:
y = −5x + 1
Original slope:
−5
Perpendicular slope:
1/5
Use point-slope form:
y − 4 = 1/5[x − (−2)]
Therefore:
y − 4 = 1/5(x + 2)
Finding Slope from Two Points First
Sometimes the original line is given using two points instead of an equation.
Suppose Line A passes through:
(1, 2) and (5, 10)
Calculate its slope:
m = (10 − 2)/(5 − 1)
m = 8/4
m = 2
Therefore:
a parallel line has:
m = 2
and a perpendicular line has:
m = −1/2
Once the slope is known, we can use the required point to construct a new equation.
Worked Example from Two Points
A line passes through:
(2, 3) and (6, 5)
Find the slope:
m = (5 − 3)/(6 − 2)
m = 2/4
m = 1/2
A parallel line has:
m = 1/2
A perpendicular line has:
m = −2
This illustrates why finding the original slope is usually the first step.
Parallel Lines in Geometry
Slope can be used to prove that sides of geometric figures are parallel.
Suppose a quadrilateral has vertices:
A(1, 1)
B(5, 3)
C(7, 7)
D(3, 5)
Find the slope of AB:
m_AB = (3 − 1)/(5 − 1)
m_AB = 2/4
m_AB = 1/2
Find the slope of DC:
m_DC = (7 − 5)/(7 − 3)
m_DC = 2/4
m_DC = 1/2
Therefore:
AB ∥ DC
Slope gives algebraic evidence that the two sides are parallel.
Perpendicular Lines in Geometry
Slope can also be used to prove that two segments meet at a right angle.
Suppose:
A(1, 1)
B(5, 3)
C(4, 5)
Slope AB:
m_AB = (3 − 1)/(5 − 1)
m_AB = 1/2
Slope BC:
m_BC = (5 − 3)/(4 − 5)
m_BC = 2/−1
m_BC = −2
Since:
(1/2)(−2) = −1
the slopes are negative reciprocals.
Therefore:
AB ⟂ BC
Angle ABC is:
90°
Using Slopes to Identify a Rectangle
A rectangle has:
- opposite sides parallel
- adjacent sides perpendicular
Suppose you are given four vertices.
You can calculate the slopes of the four sides.
If:
m_AB = m_CD
and:
m_BC = m_AD
then the opposite sides are parallel.
If:
m_AB × m_BC = −1
for ordinary nonvertical/nonhorizontal sides, then adjacent sides are perpendicular.
Together, these relationships can help prove that the quadrilateral is a rectangle.
Horizontal and Vertical Sides in Geometry
Suppose:
A(2, 3)
B(8, 3)
C(8, 7)
The slope of AB is:
m_AB = (3 − 3)/(8 − 2)
m_AB = 0
AB is horizontal.
BC has:
x = 8
throughout the segment.
Therefore, BC is vertical and has undefined slope.
A horizontal line and vertical line are perpendicular.
Therefore:
AB ⟂ BC
Proving a Parallelogram Using Slopes
One way to show that a quadrilateral is a parallelogram is to demonstrate that both pairs of opposite sides are parallel.
If:
m_AB = m_CD
and:
m_BC = m_AD
then both pairs of opposite sides are parallel, provided the corresponding segments are distinct.
Therefore, the quadrilateral is a:
parallelogram
Slope connects algebra directly with geometry.
Finding a Missing Coordinate Using Parallel Lines
Suppose the segment joining:
A(1, 2) and B(5, 6)
is parallel to the segment joining:
C(3, 4) and D(7, y)
Find y.
First find slope AB:
m_AB = (6 − 2)/(5 − 1)
m_AB = 4/4
m_AB = 1
Since the segments are parallel:
m_CD = 1
Therefore:
(y − 4)/(7 − 3) = 1
(y − 4)/4 = 1
y − 4 = 4
y = 8
Finding a Missing Coordinate Using Perpendicular Lines
Suppose:
A(1, 2)
B(5, 4)
and:
C(3, 1)
D(4, y)
Segment AB is perpendicular to CD.
First find:
m_AB = (4 − 2)/(5 − 1)
m_AB = 2/4
m_AB = 1/2
The perpendicular slope must be:
−2
Now:
m_CD = (y − 1)/(4 − 3)
Therefore:
(y − 1)/1 = −2
y − 1 = −2
y = −1
Perpendicular Bisectors
A perpendicular bisector is a line that:
- passes through the midpoint of a segment
- is perpendicular to that segment
Slope is especially useful for finding its equation.
Suppose a segment has endpoints:
A(2, 2)
B(6, 4)
First find its slope:
m_AB = (4 − 2)/(6 − 2)
m_AB = 2/4
m_AB = 1/2
The perpendicular slope is:
−2
Finding the Midpoint
The midpoint of A(2, 2) and B(6, 4) is:
x = (2 + 6)/2 = 4
y = (2 + 4)/2 = 3
Therefore, the midpoint is:
(4, 3)
The perpendicular bisector:
- passes through (4, 3)
- has slope −2
Use point-slope form:
y − 3 = −2(x − 4)
This is the equation of the perpendicular bisector.
Real-World Applications
Parallel and perpendicular relationships appear throughout design and engineering.
Examples include:
- roads
- railway tracks
- building walls
- floor plans
- bridges
- rectangular frames
- computer graphics
- surveying
- map coordinates
- engineering drawings
Slope provides a mathematical method for checking whether lines have the required orientation.
Road Design Example
Suppose a road follows:
y = (1/3)x + 4
Engineers want another road to run parallel to it through:
(6, 8)
The new road must have:
m = 1/3
Therefore:
y − 8 = 1/3(x − 6)
If instead the new road must cross the first road at a right angle, its slope must be:
−3
Then:
y − 8 = −3(x − 6)
The geometric requirement determines which slope to use.
Comparing Several Lines
Consider:
Line A: y = 2x + 1
Line B: y = 2x − 6
Line C: y = −1/2x + 4
Line D: y = −2x + 4
A and B have the same slope.
Therefore:
A ∥ B
A and C have negative reciprocal slopes.
Therefore:
A ⟂ C
A and D have neither equal nor negative reciprocal slopes.
Therefore:
A and D are neither parallel nor perpendicular
Parallel Lines Have Different y-Intercepts
For distinct nonvertical parallel lines:
same slope
but:
different y-intercepts
For example:
y = 5x + 2
y = 5x + 8
If both slope and y-intercept were the same, the equations would describe the same line.
Perpendicular Lines Do Not Need Opposite y-Intercepts
The y-intercepts have nothing to do with whether two lines are perpendicular.
For example:
y = 3x + 8
and:
y = −1/3x + 8
are perpendicular even though they have the same y-intercept.
They simply intersect at:
(0, 8)
The perpendicular relationship depends on their:
slopes
Checking with the Product of Slopes
Suppose:
m₁ = −3/4
m₂ = 4/3
Multiply:
(−3/4)(4/3)
= −12/12
= −1
Therefore:
the lines are perpendicular
This is often faster than describing the negative reciprocal process in words.
Why Negative Reciprocals Create a Right Angle
Slope describes vertical change compared with horizontal change.
Suppose one line has:
m = 2/3
This can be represented by:
right 3, up 2
A perpendicular direction can be represented by:
right 2, down 3
giving:
m = −3/2
The rise and run effectively switch roles, and one direction changes sign.
This creates the 90° relationship.
A Complete Parallel-Line Problem
Find the equation of a line parallel to:
2x − 3y = 12
that passes through:
(6, 1)
First find the original slope.
2x − 3y = 12
−3y = −2x + 12
y = 2/3x − 4
Therefore:
m = 2/3
A parallel line has:
m = 2/3
Use point-slope form:
y − 1 = 2/3(x − 6)
Simplify:
y − 1 = 2/3x − 4
y = 2/3x − 3
A Complete Perpendicular-Line Problem
Find the equation of a line perpendicular to:
2x − 3y = 12
that passes through:
(6, 1)
Original slope:
m = 2/3
Perpendicular slope:
−3/2
Use point-slope form:
y − 1 = −3/2(x − 6)
Distribute:
y − 1 = −3/2x + 9
Add 1:
y = −3/2x + 10
A Reliable Strategy for Relationship Problems
When deciding whether two lines are parallel, perpendicular, or neither:
- Find the slope of each line.
- Rearrange equations if necessary.
- Compare the slopes.
- Equal slopes suggest parallel or coincident lines.
- Check whether equal-slope equations actually represent distinct lines.
- Negative reciprocal slopes indicate perpendicular lines.
- Alternatively, check whether m₁m₂ = −1.
- Handle horizontal and vertical lines separately.
- State the relationship clearly.
A Reliable Strategy for Geometry Problems
When using slopes in coordinate geometry:
- Label the relevant points.
- Decide which segments need to be compared.
- Calculate each slope carefully.
- Look for equal slopes to identify parallel segments.
- Look for negative reciprocal slopes to identify perpendicular segments.
- Check separately for horizontal and vertical segments.
- Connect the slope result to the required geometric property.
-
State a conclusion such as:
AB ∥ CD
or:
AB ⟂ BC
- Explain what that proves about the figure.
Common Mistakes
Thinking parallel slopes are opposites
Parallel lines have the same slope.
Thinking perpendicular slopes only have opposite signs
For example:
2 and −2
are not perpendicular slopes.
The correct perpendicular slope to 2 is:
−1/2
Forgetting to take the reciprocal
To find a perpendicular slope, both steps are required:
flip the fraction and change the sign.
Changing the y-intercept to make a perpendicular line
Perpendicularity depends on slope, not y-intercept.
Thinking equal slopes always represent two parallel lines
The equations may describe the same line.
Using m₁m₂ = −1 for a horizontal and vertical pair
The vertical slope is undefined, so handle this case geometrically.
Calling vertical slopes zero
Vertical lines have undefined slope.
Horizontal lines have zero slope.
Forgetting to rearrange an equation before identifying its slope
In an equation such as:
2x + 3y = 12
the slope is not automatically 2 or 3.
Isolate y first.
Using the original slope for a perpendicular line
A perpendicular line needs the negative reciprocal slope.
Finding the correct slope but ignoring the required point
The new line must satisfy both conditions: the correct slope relationship and the given point.
Key Terms
Parallel lines — distinct coplanar lines that never intersect.
Perpendicular lines — lines that intersect at a 90° angle.
Slope — measure of a line's steepness and direction.
Equal slopes — slopes with the same value; distinct nonvertical lines with equal slopes are parallel.
Negative reciprocal — reciprocal of a number with its sign changed.
Right angle — angle measuring 90°.
Parallel symbol (∥) — mathematical symbol meaning "is parallel to."
Perpendicular symbol (⟂) — mathematical symbol meaning "is perpendicular to."
Horizontal line — line with zero slope.
Vertical line — line with undefined slope.
Point-slope form — linear equation written as y − y₁ = m(x − x₁).
Slope-intercept form — linear equation written as y = mx + b.
Coincident lines — equations representing exactly the same line.
Midpoint — point halfway between the endpoints of a segment.
Perpendicular bisector — line passing through a segment's midpoint at a 90° angle.
Parallelogram — quadrilateral with both pairs of opposite sides parallel.
Rectangle — quadrilateral with four right angles.
Key Takeaways
- Distinct nonvertical parallel lines have equal slopes.
- Parallel lines have the same steepness and direction.
- Distinct parallel lines with the same slope have different y-intercepts.
- Vertical lines can be parallel even though their slopes are undefined.
- Perpendicular lines meet at a 90° angle.
- For ordinary nonvertical and nonhorizontal lines, perpendicular slopes are negative reciprocals.
- If m₁m₂ = −1, the corresponding nonvertical/nonhorizontal lines are perpendicular.
- To find a negative reciprocal, flip the fraction and change its sign.
- A horizontal line is perpendicular to a vertical line.
- Changing only the sign of a slope does not usually produce a perpendicular slope.
- To write a parallel line, keep the original slope and use the required new point.
- To write a perpendicular line, use the negative reciprocal slope and the required point.
- Point-slope form is particularly convenient for constructing parallel and perpendicular lines through a given point.
- Equations may need to be rearranged before their slopes can be identified.
- Slopes can prove that segments in coordinate geometry are parallel.
- Negative reciprocal slopes can prove that segments meet at right angles.
- Slope relationships can help prove that a quadrilateral is a parallelogram or rectangle.
- A perpendicular bisector combines midpoint calculations with a perpendicular slope.
- Parallel and perpendicular relationships are widely used in geometry, engineering, architecture, mapping, and design.
Check Your Understanding
- Explain how slopes can be used to determine whether two distinct nonvertical lines are parallel.
- Explain what it means for two slopes to be negative reciprocals.
- Determine whether y = 4x + 3 and y = 4x − 8 are parallel, perpendicular, or neither.
- Determine whether y = 3x + 2 and y = −1/3x + 7 are parallel, perpendicular, or neither.
- Are lines with slopes −5 and 1/5 perpendicular? Explain.
- Are lines with slopes 2 and −2 perpendicular? Explain why or why not.
- Write an equation of the line parallel to y = 3x − 4 that passes through (2, 5).
- Write an equation of the line perpendicular to y = 4x + 1 that passes through (3, −2).
- Find the slope of 2x + 5y = 10, then state the slopes of a line parallel to it and a line perpendicular to it.
- A line passes through (1, 3) and (5, 11). Find its slope and the slope of any line perpendicular to it.
- Explain why x = 4 and x = −7 are parallel even though neither has a defined slope.
- Explain why a horizontal line and a vertical line are perpendicular.
- A quadrilateral has A(1, 1), B(5, 3), C(7, 7), and D(3, 5). Use slopes to show that both pairs of opposite sides are parallel.
- Segment AB joins A(1, 2) and B(5, 4). Segment CD joins C(3, 1) and D(4, y). If AB is perpendicular to CD, determine y.
- A student says, "To make a line perpendicular, just change the sign of the slope. So the perpendicular slope to 3/4 is −3/4." Explain the error, give the correct perpendicular slope, and describe why both the reciprocal and sign change are required.