Perpendicular Lines Formula

Perpendicular lines are lines, segments, or planes that intersect at exactly a right angle of 90° to each other.

The Formula

m1×m2=−1 for perpendicular lines (neither vertical)

Ask yourself: Do the two lines meet at exactly 90∘, with slopes multiplying to −1?

Quick example

y=2x and y=−12x are perpendicular (slopes multiply to −1).

Notation

⊥ means 'is perpendicular to'; ℓ1⊥ℓ2 means lines meet at 90°

What this formula means

Lines, segments, or planes that intersect at exactly a right angle of 90° to each other.

Perpendicular lines are like the plus sign on a calculator key: four identical square corners where the bars cross. Tilt one bar and two corners get sharper while the other two get wider, which is why only one crossing angle, 90∘, counts as perpendicular.

Formal view

ℓ1⊥ℓ2  ⟺  d⃗1⋅d⃗2=0 where d⃗i are direction vectors; in coordinates (neither vertical): m1⋅m2=−1

Worked examples

Example 1

easy
Line ℓ1:y=2x+1. Write the equation of a line ℓ2 perpendicular to ℓ1 that passes through (4,3).
Show solution

Answer

y=−12x+5

First step

1.
Step 1: Slope of ℓ1: m1=2.

Full solution

  1. 2.
    Step 2: Perpendicular slope: m2=−1m1=−12 (since m1×m2=−1).
  2. 3.
    Step 3: Point-slope form: y−3=−12(x−4)⇒y=−12x+5.
Perpendicular lines meet at 90°. Their slopes are negative reciprocals: if one slope is m, the other is −1/m. This ensures m1×m2=−1.

Example 2

medium
Determine whether triangle A(0,0), B(4,0), C(4,3) is a right triangle, and if so identify the right angle vertex.

Example 3

medium
Write the equation of the line through (1,2) perpendicular to y=3x+4.

Common mistakes

  • Using equal slopes as the test — that is parallel; perpendicular needs the slope product −1.
  • Forgetting the negative sign — the perpendicular slope is the negative reciprocal, not just the reciprocal.
  • Applying the slope rule to a vertical line — a vertical and a horizontal line are perpendicular even though slope is undefined.

Why this formula matters

Right angles hold up much of geometry: a triangle's height is measured perpendicular to its base, the shortest distance from a point to a line runs along a perpendicular, and the Pythagorean theorem needs a right angle. On a coordinate grid, the slope test lets you check a corner is square without a protractor. Using the plain reciprocal, without the sign change, gives a line at the wrong angle.

Frequently asked questions

What is the Perpendicular Lines formula?

Lines, segments, or planes that intersect at exactly a right angle of 90° to each other.

How do you use the Perpendicular Lines formula?

Test for perpendicular lines when a problem mentions a right angle, a square corner, the symbol ⊥, a height or altitude, or the shortest distance from a point to a line. For lines in y=mx+b form, check that m1×m2=−1; to build one, flip the slope and change its sign. If the slopes are equal, the lines are parallel. If either line is vertical, check whether the other is horizontal instead of multiplying.

What do the symbols mean in the Perpendicular Lines formula?

⊥ means 'is perpendicular to'; ℓ1⊥ℓ2 means lines meet at 90°

Why is the Perpendicular Lines formula important in Math?

Right angles hold up much of geometry: a triangle's height is measured perpendicular to its base, the shortest distance from a point to a line runs along a perpendicular, and the Pythagorean theorem needs a right angle. On a coordinate grid, the slope test lets you check a corner is square without a protractor. Using the plain reciprocal, without the sign change, gives a line at the wrong angle.

What do students get wrong about Perpendicular Lines?

The procedure for perpendicularity is the easy part; the trap is using equal slopes as the test. Asking "Do the two lines meet at exactly 90∘, with slopes multiplying to −1?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Perpendicular Lines formula?

Before studying the Perpendicular Lines formula, you should understand: line, slope, angles.