Skip to main content
Mathovia

Algebra / Graphing and Functions

Perpendicular Lines: The Negative Reciprocal Rule

Two lines are perpendicular when they meet at a right angle, and in coordinate geometry that translates into one crisp rule: their slopes are negative reciprocals, so multiplying them gives −1. This lesson explains why that rule is true rather than just asserting it, shows how to flip a slope correctly every time, walks through writing perpendicular lines and perpendicular bisectors, and covers the one pair of perpendicular lines the rule cannot describe.

Practice Problems
M
Written by
Mathovia Team
Editorial Team

The perpendicular rule is one of those results that is easy to memorise and easy to apply wrongly. Flip the fraction, change the sign — students remember there are two steps but frequently perform only one. Understanding why the rule holds makes it much harder to get wrong.

Condition for two lines to be perpendicular
The perpendicular condition

The Rule

Two lines meet at a right angle exactly when their slopes are negative reciprocals. The word carries both operations: reciprocal means flip the fraction, negative means change the sign.

Original slopePerpendicular slope
undefined (vertical)

Whole numbers catch people out. A slope of is really ; flipping gives and the sign change gives .

Why the Product Is −1

This is not an arbitrary fact. Turn a line through 90° and watch what happens to its slope triangle.

Take a line of slope : from any point, go right 3, up 2. Rotating that movement a quarter turn anticlockwise sends “right 3” to “up 3”, and “up 2” to “left 2”. So the rotated line goes left 2, up 3 — a run of with a rise of , which is a slope of .

Two perpendicular lines through the origin with their slope triangles drawn: one with run 3 and rise 2, the other with run negative 2 and rise 3, and a right angle marked
A quarter turn swaps rise and run and reverses one direction.

The rise and the run have swapped roles, and exactly one of them has changed sign. That is precisely what “negative reciprocal” describes, and multiplying confirms it:

Because exactly one sign flips, a perpendicular pair always has one positive and one negative slope — unless one of them is horizontal or vertical. If you compute a perpendicular slope and it has the same sign as the original, you have made an error.

Writing a Perpendicular Line Through a Point

Two steps: flip the slope, then use point-slope form with the given point.

Write the line perpendicular to through .

The original slope is , so the perpendicular slope is .

A dashed line of slope one-half and a solid perpendicular line of slope negative 2 passing through the marked point (3, 0)
Flip the slope, then substitute the point.

If the original is in standard form, there is a neat shortcut: swap and and change one sign. A line perpendicular to has the form . Substitute the point to find . For the point :

The Exception: Horizontal and Vertical

A horizontal line and a vertical line clearly meet at a right angle. But the slope rule breaks down:

  • Horizontal: slope .
  • Vertical: slope undefined.

You cannot multiply by an undefined quantity and get . And the reciprocal of does not exist, so is meaningless.

The horizontal line y = 2 and the vertical line x = −1 crossing at a right angle, with the right angle marked
Geometrically perpendicular, but the slope rule cannot express it.

So the complete statement is: two lines are perpendicular if their slopes multiply to , or if one is horizontal and the other vertical. Exam questions love this case precisely because the formula fails on it.

Perpendicular Bisectors

A perpendicular bisector cuts a segment in half at a right angle. It needs two ingredients, and the name tells you both.

  1. Bisector — it passes through the midpoint: .
  2. Perpendicular — its slope is the negative reciprocal of the segment’s slope.

For the segment from to :

  • Midpoint: .
  • Segment slope: , so the bisector’s slope is .
  • Equation: .
Segment AB from (0,1) to (4,5) with midpoint M(2,3) marked and a perpendicular line through M at a right angle
Through the midpoint, at a right angle to the segment.

Every point on a perpendicular bisector is the same distance from both endpoints — which is why this construction turns up when finding the centre of a circle through three points.

Worked Example A: Flip the Slope

Find the slope perpendicular to each: , , .

Each time the sign changed and the fraction inverted.

Worked Example B: Through a Point

Write the line perpendicular to through .

Perpendicular slope: .

Worked Example C: From Standard Form

Write the line perpendicular to through .

Swap and change one sign: the perpendicular family is . Substitute:

Check by slopes: the original has slope , the new one , and their product is . ✓

Worked Example D: Is the Triangle Right-Angled?

Triangle with vertices , , . Does it contain a right angle?

  • :
  • :
  • :

Test the products: ; ; . None equal , so no right angle.

Worked Example E: Perpendicular Bisector

Find the perpendicular bisector of the segment from to .

  • Midpoint: .
  • Segment slope: .
  • Bisector slope: .

Common Mistakes to Avoid

  • Flipping without changing the sign. Perpendicular to is , not .
  • Changing the sign without flipping. Nor is it ; that is a different line, and parallel to the original’s mirror image.
  • Forgetting a whole number is a fraction. Perpendicular to is , not .
  • Applying the rule to a horizontal line. Slope has no reciprocal; the perpendicular is vertical, written .
  • Reading the slope before solving for . has slope , so its perpendicular slope is .
  • Using the original point on the wrong line. The given point belongs to the new line, not the one you were given.
  • Assuming a right angle from a sketch. Slopes of and look perpendicular but multiply to .

Where This Shows Up

  • Perpendicular bisectors, used to find circumcentres and the centre of a circle through three points.
  • Shortest distance from a point to a line, which is measured along the perpendicular.
  • Geometry proofs involving rectangles, squares, rhombuses and right-angled triangles.
  • Normal lines in calculus — the normal at a point is perpendicular to the tangent there.
  • Computer graphics and physics, where a surface normal determines how light reflects or how an object bounces.

Practice Problems

Work each one before opening the answer.

Problem 1. What slope is perpendicular to ?

Show answer

.

Problem 2. What slope is perpendicular to ?

Show answer

.

Problem 3. Are and perpendicular?

Show answer

. Yes.

Problem 4. Are and perpendicular?

Show answer

, not . No — the sign was never changed.

Problem 5. Write the line perpendicular to through .

Show answer

Slope , intercept 3: .

Problem 6. Write the line perpendicular to through .

Show answer

Slope ; .

Problem 7. Write the line perpendicular to through , in standard form.

Show answer

Swap and change one sign: . Substitute: . So .

Problem 8. What line is perpendicular to and passes through ?

Show answer

is horizontal, so the perpendicular is vertical: .

Problem 9. Find the perpendicular bisector of the segment from to .

Show answer

Midpoint ; segment slope , so bisector slope . .

Problem 10. For what is perpendicular to ?

Show answer

.

Problem 11. Is the triangle , , right-angled?

Show answer

has slope , has slope , and . Yes — the right angle is at .

Problem 12. Lines and meet at a right angle. Where do they intersect?

Show answer

. Setting gives , so and .

Quick Reference

QuestionAnswer
Perpendicular condition
Finding the slopeFlip the fraction and change the sign
Whole number Perpendicular slope is
Sign checkOne slope positive, one negative
Through a pointFlip the slope, then use point-slope
Standard-form shortcutSwap and , change one sign
Horizontal line Perpendicular is vertical,
Perpendicular bisectorMidpoint + negative reciprocal slope

The matching rule for lines that never meet is in Parallel Lines. Both depend on slope and appear together in Lines; perpendicular bisectors lead directly into Circles. More Algebra lessons are available.

Frequently Asked Questions

What is the rule for perpendicular slopes?+

The slopes are negative reciprocals of each other. If one line has slope , a perpendicular line has slope , and the two multiply to . Perpendicular to is .

How do you find a negative reciprocal?+

Flip the fraction and change the sign, in either order. A whole number like is , so its negative reciprocal is . Doing only one of the two steps is the most common mistake.

Why do perpendicular slopes multiply to −1?+

Rotating a line 90 degrees swaps its rise and run and reverses the direction of one of them. A slope of becomes , and .

How do you write the equation of a perpendicular line through a point?+

Take the negative reciprocal of the original slope, then put that slope and the given point into point-slope form and simplify to whichever form is wanted.

Are a horizontal and a vertical line perpendicular?+

Yes, geometrically they always are. But the slope rule does not apply, because a vertical line's slope is undefined and you cannot multiply an undefined value by 0 to get . This pair is the standard exception.

What is a perpendicular bisector?+

The line that passes through the midpoint of a segment at a right angle to it. Find the midpoint, take the negative reciprocal of the segment's slope, then write the equation through that midpoint.

Related lessons