Concept explainerAlgebra IIntermediate9 min read

Parallel and perpendicular slopes, with the vertical-line exception

Parallel nonvertical lines share a slope. Perpendicular nonvertical lines have slopes whose product is −1—but vertical and horizontal lines need separate language.

m=mm=1mm_{\parallel}=m\qquad m_{\perp}=-\frac1m
Concept explainer

What the idea means, why its conditions matter, and where it connects.

Updated July 13, 2026
RelationshipStart here
m1m2=1m_1m_2=-1

The negative-reciprocal rule applies when both slopes are defined and nonzero.

01

Parallel means equal direction

Distinct parallel lines rise and run at the same rate, so their slopes match. Their intercepts differ, which keeps the lines from being identical.

Two vertical lines are also parallel even though neither has a numerical slope.

y=3x+1y=3x8y=3x+1\quad\parallel\quad y=3x-8
02

Perpendicular means a quarter turn

For ordinary nonvertical lines, rotating the direction by ninety degrees swaps rise and run and reverses one sign. That creates the negative reciprocal.

Do not merely change the sign or merely take the reciprocal; both changes matter.

m=25m=52m=\frac25\Rightarrow m_\perp=-\frac52
03

Handle zero and undefined slopes directly

A horizontal line has slope zero, so its perpendicular partner is vertical and has undefined slope. The reciprocal formula cannot divide by zero.

Likewise, a vertical line is perpendicular to a horizontal line. State the equation x = constant or y = constant instead of inventing an infinite slope.

y=4x=2y=4\quad\perp\quad x=-2
Worked exampleBuild a perpendicular line

Find the line perpendicular to y = −3x + 7 through (6, 2).

1m=3m=13m=-3\Rightarrow m_\perp=\frac13

Take the negative reciprocal.

2y2=13(x6)y-2=\frac13(x-6)

Use point-slope form through the new point.

3y=13xy=\frac13x

Simplify.

4(3)(13)=1(-3)\left(\frac13\right)=-1

Verify perpendicular slopes.

Resulty=13x\boxed{y=\frac13x}
Watch for

Common mistakes

  1. Changing only the sign of the slope.
  2. Applying the reciprocal rule to slope zero.
  3. Using the original line's intercept for the new line.
Keep

Three takeaways

  1. Parallel lines share direction.
  2. Perpendicular slopes are negative reciprocals when defined.
  3. Horizontal and vertical lines are a special pair.