Free Algebra Guide

Parallel and Perpendicular Lines

Learn how slopes determine whether two lines are parallel or perpendicular, how to find negative reciprocals, and how to write equations of related lines through a given point.

Parallel and perpendicular lines are closely connected to slope. Once you can find the slope of each line, you can usually determine the relationship without graphing.

Parallel lines have the same slope. Perpendicular lines have slopes that are negative reciprocals, with an important special case for horizontal and vertical lines.

Compare the Slopes

Parallel vs. Perpendicular Lines

The slope tells you how a line rises or falls as you move from left to right. Comparing the slopes of two lines reveals whether their directions are related.

Parallel

Same Slope

m₁ = m₂

Distinct parallel lines have equal slopes and never intersect.

Perpendicular

Negative Reciprocal Slopes

m₁m₂ = −1

For ordinary nonzero finite slopes, perpendicular slopes are negative reciprocals.

Neither

No Special Slope Relationship

If the slopes are neither equal nor negative reciprocals, the lines are neither parallel nor perpendicular.

Same Line

Same Slope and Same Position

Equivalent equations may represent the exact same line rather than two distinct parallel lines.

Relationship Slope Test What the Graph Does
Parallel m₁ = m₂ Distinct lines never intersect.
Perpendicular m₁m₂ = −1 Lines intersect at a 90° angle.
Neither Slopes are neither equal nor negative reciprocals. Lines intersect, but not at 90°.
Same Line Same slope and same intercept after simplification. The two graphs overlap exactly.

Equal Slopes

The Parallel Line Slope Rule

Two distinct nonvertical lines are parallel when they have exactly the same slope.

Parallel Slopes m₁ = m₂

Example

y = 2x + 3
y = 2x − 5

Both equations have slope 2. Because the y-intercepts are different, these are distinct parallel lines.

Parallel means: keep the slope exactly the same.

Flip and Change the Sign

The Perpendicular Line Slope Rule

When two nonhorizontal, nonvertical lines are perpendicular, their slopes are negative reciprocals.

Perpendicular Slopes m₁m₂ = −1

Another way to think about this is:

a b  →  − b a

Example

If one line has slope:

m = 2/3

Flip the fraction: 3/2. Then change the sign:

m⊥ = −3/2

Check: (2/3)(−3/2) = −1.

A Two-Part Operation

How to Find a Negative Reciprocal

Students often remember either the reciprocal or the sign change, but perpendicular slopes require both.

1. Write the slope as a fraction
If the slope is 4, think of it as 4/1.
2. Flip the fraction
The reciprocal of 4/1 is 1/4.
3. Change the sign
The negative reciprocal of 4 is −1/4.
4. Check the product
4(−1/4) = −1 .
Original Slope Reciprocal Negative Reciprocal
2/3 3/2 −3/2
−4/5 −5/4 5/4
3 1/3 −1/3
−2 −1/2 1/2

Important Special Case

Horizontal and Vertical Perpendicular Lines

The negative-reciprocal shortcut works directly with ordinary finite, nonzero slopes. Horizontal and vertical lines need special attention.

Horizontal

Slope = 0

y = 4

Every horizontal line has slope 0.

Vertical

Slope Is Undefined

x = 4

Every vertical line has undefined slope.

Horizontal and Vertical Lines Are Perpendicular

A horizontal line and a vertical line meet at a right angle. Therefore, a line perpendicular to a horizontal line is vertical, and a line perpendicular to a vertical line is horizontal.

y = 3    ⟂    x = −2

Same Slope Does Not Always Mean Two Lines

Parallel Lines vs. the Same Line

If two equations have the same slope, first determine whether they describe distinct lines or the exact same line.

y = 2x + 4
2y = 4x + 8

Divide the second equation by 2:

y = 2x + 4

The equations are equivalent. They do not represent two separate parallel lines. They represent the same set of points.

Equal slope + different intercepts = parallel.
Equal slope + same intercept = same line.

Find, Then Compare

How to Identify the Relationship Between Two Lines

1. Find the first slope
Rewrite the equation if necessary so the slope is easy to identify.
2. Find the second slope
Use the same method for the second line.
3. Compare the slopes
Equal slopes suggest parallel lines; negative reciprocals indicate perpendicular lines.
4. Check for the same line
If the slopes are equal, compare the intercepts or simplify the equations.

Example

y = −3x + 1
y = 1/3x − 4

The slopes are −3 and 1/3.

(−3)(1/3) = −1

Therefore the lines are perpendicular.

Keep the Same Slope

How to Write an Equation of a Parallel Line

Suppose you need a line parallel to:

y = 2x − 5

that passes through:

(3, 4)
1. Find the original slope
From y = 2x − 5, m = 2.
2. Keep the same slope
A parallel line also has m = 2.
3. Use point-slope form
Substitute m = 2 and (3, 4): y − 4 = 2(x − 3) .
4. Simplify if needed
y = 2x − 2 .
The original line has slope 2 and the new line has slope 2, so the lines are parallel.

Change to the Negative Reciprocal

How to Write an Equation of a Perpendicular Line

Suppose you need a line perpendicular to:

y = 2x − 5

that passes through:

(3, 4)
1. Find the original slope
m = 2.
2. Find the negative reciprocal
Write 2 as 2/1, flip it, and change the sign: m = −1/2.
3. Use point-slope form
y − 4 = −1/2(x − 3) .
4. Simplify if requested
y = −1/2x + 11/2 .
Check the slopes: 2(−1/2) = −1. Therefore the lines are perpendicular.

See the Relationship

Parallel Lines on a Graph

The equations below have the same slope but different y-intercepts, so they remain the same distance apart and never meet.

y = 2x + 3
y = 2x − 2
First Slope m₁ = 2
Second Slope m₂ = 2
Relationship Parallel

Sometimes the Slope Is Hidden

Parallel and Perpendicular Lines in Standard Form

If a line is written as:

Ax + By = C

solve for y or use the slope relationship:

m = −A/B

Example

3x + 2y = 8

Here A = 3 and B = 2, so:

m = −3/2

A parallel line has slope −3/2.

A perpendicular line has slope 2/3.

Put the Skills Together

Worked Parallel and Perpendicular Line Examples

Identify Parallel

y = −4x + 2
y = −4x − 7

  1. First slope: −4.
  2. Second slope: −4.
  3. Same slope, different intercepts.
  4. The lines are parallel.
Identify Perpendicular

y = 3/5x + 1
y = −5/3x + 8

  1. Slopes are 3/5 and −5/3.
  2. They are negative reciprocals.
  3. Their product is −1.
  4. The lines are perpendicular.
Write Parallel

Parallel to y = −3x + 5 through (2, 1)

  1. Keep slope m = −3.
  2. Use point-slope form: y − 1 = −3(x − 2) .
  3. Simplify: y = −3x + 7 .
Write Perpendicular

Perpendicular to y = −2/3x + 4 through (3, −1)

  1. Original slope: −2/3.
  2. Negative reciprocal: 3/2.
  3. Point-slope form: y + 1 = 3/2(x − 3) .
  4. Simplify if requested.

Avoid the Common Traps

Common Parallel and Perpendicular Line Mistakes

Mistake 1: Using the Reciprocal but Not Changing the Sign

If the slope is 2/3, the perpendicular slope is not 3/2.

2/3 → −3/2

Mistake 2: Changing the Sign but Not Flipping

The perpendicular slope to 2/3 is not −2/3. You must flip and change the sign.

Mistake 3: Using a Negative Reciprocal for Parallel Lines

Parallel lines keep the same slope. Negative reciprocals are for perpendicular lines.

Mistake 4: Calling Equivalent Equations Parallel

If two equations simplify to the exact same equation, they represent the same line, not two distinct parallel lines.

Mistake 5: Forgetting Horizontal and Vertical Lines

A horizontal line has slope 0. Its perpendicular line is vertical and has undefined slope.

Mistake 6: Using the Original Line's Intercept

When writing a new parallel or perpendicular line, the new line must pass through the new given point. Do not automatically reuse the original y-intercept.

A Reliable Checklist

A Reliable Strategy for Parallel and Perpendicular Line Problems

Start by identifying what the problem is asking you to determine. Then focus on the slope relationship before doing any unnecessary algebra.

If identifying a relationship
Find both slopes and compare them.
If the slopes are equal
Check whether the lines are distinct or actually equivalent.
If writing a parallel line
Keep the original slope and combine it with the new point.
If writing a perpendicular line
Find the negative reciprocal first, then combine that slope with the new point.
If the original line is horizontal or vertical
Use the horizontal/vertical special case instead of forcing the ordinary reciprocal rule.
Final check
Parallel slopes should match. Perpendicular finite slopes should multiply to −1.
The central question is always: what must happen to the slope?

Practice What You Learned

Try the Parallel & Perpendicular Lines Interactive Tool

Practice identifying line relationships, finding missing slopes, using negative reciprocals, and writing equations of parallel and perpendicular lines through given points.

Start Parallel & Perpendicular Practice

Personalized Math Support

Need Help Making Sense of the Math?

If a concept still feels confusing, you do not have to work through it alone. Tell me what you are studying and where you are getting stuck, and I will help you determine the best next step.