Slope of Perpendicular Lines: The −1 Rule

#Geometry
TL;DR
The slope of perpendicular lines follows one rule: the product of the two slopes is −1, so $m_1 \cdot m_2 = -1$. This article covers the negative-reciprocal rule, why it holds, how to find a perpendicular slope from any given slope, the vertical-horizontal exception, and six worked examples.
BT
Bhanzu TeamLast updated on June 8, 20269 min read

What Is the Slope of Perpendicular Lines?

Perpendicular lines are two lines that cross at a right angle, exactly $90^\circ$. The slope of perpendicular lines is governed by a single relationship: when you multiply the slope of one line by the slope of the other, the result is always $-1$. Slope here means the same thing it always does, the change in $y$ for each unit of change in $x$, written $m = \dfrac{\text{rise}}{\text{run}}$

That product rule has a second, equivalent name. Because $m_1 \cdot m_2 = -1$ rearranges to $m_2 = -\dfrac{1}{m_1}$, each slope is the negative reciprocal of the other. Reciprocal means "flipped fraction"; negative means "opposite sign." Hold both words together and you have the whole rule.

The Negative Reciprocal Rule

Two non-vertical lines are perpendicular exactly when the product of their slopes is −1:

$$m_1 \cdot m_2 = -1.$$

Solving that equation for the second slope gives the form most people use in practice:

$$m_2 = -\frac{1}{m_1}.$$

To build a perpendicular slope from a given one, do two separate things, in either order: flip the fraction, then switch the sign. Some teachers call it "flip and negate."

  • Start with slope $3$, written $\dfrac{3}{1}$. Flip to $\dfrac{1}{3}$, switch the sign to $-\dfrac{1}{3}$. Check: $3 \cdot \left(-\dfrac{1}{3}\right) = -1$.

  • Start with slope $-\dfrac{2}{5}$. Flip to $-\dfrac{5}{2}$, switch the sign to $\dfrac{5}{2}$. Check: $-\dfrac{2}{5} \cdot \dfrac{5}{2} = -1$.

Notice the sign always ends up opposite: a positive slope's perpendicular partner is negative, and a negative slope's partner is positive. Two lines tilting the same way can never meet at a right angle.

Why Does the Product Have to Be −1?

Here is the derivation, kept short. Rotating any line by exactly $90^\circ$ does one clean thing to its rise and run: it swaps them and flips one sign. A line that goes up $a$ for every run of $b$ has slope $\dfrac{a}{b}$. Turn that direction a quarter-turn, and the same motion now goes $b$ in one axis and $a$ in the other, with one of them reversed, giving slope $-\dfrac{b}{a}$.

Multiply the original slope by this rotated slope:

$$\frac{a}{b} \cdot \left(-\frac{b}{a}\right) = -\frac{ab}{ab} = -1.$$

The $a$ and the $b$ cancel, and what survives is the $-1$. So the product rule is not an arbitrary fact to memorise. It is the algebraic shadow of a single $90^\circ$ turn. (The same idea, framed through the tangent of the angle between two lines, gives an alternate derivation: setting $\theta = 90^\circ$ in $\tan\theta = \dfrac{m_1 - m_2}{1 + m_1 m_2}$ forces the denominator $1 + m_1 m_2$ to zero.)

How Do You Find the Slope of a Line Perpendicular to a Given Line?

This is the question that shows up most on homework, and the steps never change.

  1. Get the line into slope-intercept form $y = mx + b$ if it is not already, so you can read the slope $m$ as the coefficient of $x$.

  2. Read off that slope $m_1$.

  3. Flip it and switch the sign to get the perpendicular slope $m_2 = -\dfrac{1}{m_1}$.

  4. Check by confirming $m_1 \cdot m_2 = -1$.

For example, the line $4x - 2y = 6$ rearranges to $y = 2x - 3$, so its slope is $2$. The perpendicular slope is $-\dfrac{1}{2}$, and $2 \cdot \left(-\dfrac{1}{2}\right) = -1$ confirms it. Note that the parallel and perpendicular cases share this read-the-slope-first habit; the difference is only what you do with the slope once you have it.

What About Vertical and Horizontal Lines?

The product rule covers every pair except one, and it is worth naming because the rule quietly breaks there. A horizontal line has slope $0$; a vertical line has an undefined slope (its run is zero, so rise over run would divide by zero). A horizontal line and a vertical line clearly meet at a right angle, yet you cannot verify that with $m_1 \cdot m_2 = -1$, because $0 \times (\text{undefined})$ is not a number at all.

So treat this as a known exception: a horizontal line and a vertical line are always perpendicular, even though the negative-reciprocal test does not apply to them. Every other perpendicular pair, both lines slanted, obeys the product rule.

Examples of the Slope of Perpendicular Lines

With the rule and its derivation in place, here is the relationship doing real work. The problems build from a one-step flip up to finding a full equation and the vertical-horizontal exception.

Example 1 - Find the slope of a line perpendicular to a line with slope $5$.

Flip $5 = \dfrac{5}{1}$ to $\dfrac{1}{5}$, then switch the sign to $-\dfrac{1}{5}$. Check: $5 \cdot \left(-\dfrac{1}{5}\right) = -1$.

Final answer: $-\dfrac{1}{5}$.

Example 2 - A line has slope $4$. A student claims a perpendicular line must have slope $-4$. Find the correct perpendicular slope.

The intuitive read is "just flip the sign, so $-4$." Test that against the rule: perpendicular needs the product of slopes to equal $-1$, and $4 \cdot (-4) = -16$, nowhere near $-1$. Switching the sign alone is not enough; you have to switch the sign and take the reciprocal.

Done correctly: flip $4$ to $\dfrac{1}{4}$, switch the sign to $-\dfrac{1}{4}$. Check: $4 \cdot \left(-\dfrac{1}{4}\right) = -1$.

Final answer: $-\dfrac{1}{4}$.

Example 3 - Find the slope of a line perpendicular to $y = -\dfrac{3}{7}x + 2$.

Read the slope: $-\dfrac{3}{7}$. Flip to $-\dfrac{7}{3}$, switch the sign to $\dfrac{7}{3}$. Check: $-\dfrac{3}{7} \cdot \dfrac{7}{3} = -1$.

Final answer: $\dfrac{7}{3}$.

Example 4 - A line is given by $3x + y = 8$. Find the slope of any line perpendicular to it.

First rearrange to slope-intercept form: $y = -3x + 8$, so the slope is $-3$. The perpendicular slope flips $-3 = -\dfrac{3}{1}$ to $-\dfrac{1}{3}$ and switches the sign to $\dfrac{1}{3}$. Check: $-3 \cdot \dfrac{1}{3} = -1$.

Final answer: $\dfrac{1}{3}$.

Example 5 - Write the equation of the line perpendicular to $y = 2x + 1$ that passes through the point $(4, -3)$.

The slope of the given line is $2$, so the perpendicular slope is $-\dfrac{1}{2}$. Use point-slope form $y - y_1 = m(x - x_1)$ with the point $(4, -3)$:

$$y - (-3) = -\tfrac{1}{2}(x - 4).$$

Simplify: $y + 3 = -\tfrac{1}{2}x + 2$, so $y = -\tfrac{1}{2}x - 1$.

Final answer: $y = -\dfrac{1}{2}x - 1$.

Example 6 - A vertical line is $x = 5$ and a horizontal line is $y = -2$. Is one perpendicular to the other, and can you check it with the product rule?

The vertical line has undefined slope; the horizontal line has slope $0$. They meet at a right angle, so they are perpendicular, but the product rule cannot be evaluated because $0 \times (\text{undefined})$ is not $-1$ or any number.

Final answer: perpendicular (the special vertical-horizontal case; the product rule does not apply).

Where the Perpendicular Slope Rule Earns Its Keep

The reason this one product keeps reappearing is that right angles are the backbone of anything built to be square or stable, and the slope test is the cheapest way to certify one.

  • Structural framing. Beams and columns meet at right angles so loads transfer straight down rather than twisting the joint; a slope check confirms the angle before the steel is welded.

  • Computer graphics and CAD. When a designer locks two edges "perpendicular," the software is checking exactly $m_1 \cdot m_2 = -1$ behind the scenes, so the shape stays square as it is scaled or rotated.

  • Navigation and physics. Forces are routinely split into perpendicular components, one horizontal, one vertical, because perpendicular directions do not interfere with each other, and the slope relationship is what guarantees the split is clean.

  • Shortest distance. The shortest path from a point to a line is along the perpendicular dropped to that line, so the negative-reciprocal slope is the first step in every distance-to-a-line calculation.

The coordinate framework that lets us test a right angle with two numbers traces back to René Descartes and his 1637 union of algebra and geometry, the same system behind every grid you have ever navigated.

Where Students Trip Up on Perpendicular Slopes

Mistake 1: Switching the sign but forgetting to flip

Where it slips in: A student sees slope $3$ and writes the perpendicular slope as $-3$, stopping after the sign change.

Don't do this: Use the negated slope, $-3$, as the perpendicular partner.

The correct way: Perpendicular slopes are negative reciprocals. Flip $3$ to $\dfrac{1}{3}$, then negate to $-\dfrac{1}{3}$, and confirm $3 \cdot \left(-\dfrac{1}{3}\right) = -1$.

Mistake 2: Reading the slope before solving for y

Where it slips in: Given $3x + y = 8$, the rusher reads the slope as $3$ straight off the $3x$ term.

Don't do this: Pull a slope from an equation that is not yet in $y = mx + b$ form.

The correct way: Isolate $y$ first. $3x + y = 8$ becomes $y = -3x + 8$, so the slope is $-3$, and the perpendicular slope is $\dfrac{1}{3}$, not $-\dfrac{1}{3}$.

Mistake 3: Mishandling the reciprocal of an integer or a negative fraction

Where it slips in: Slopes like $4$ or $-\dfrac{2}{5}$ confuse students because the "flip" is not visible.

Don't do this: Treat the reciprocal of $4$ as $4$, or lose track of the sign on $-\dfrac{2}{5}$.

The correct way: Write the integer as a fraction first: $4 = \dfrac{4}{1}$ flips to $\dfrac{1}{4}$. For $-\dfrac{2}{5}$, flip to $-\dfrac{5}{2}$ and negate to $\dfrac{5}{2}$. The memorizer who only ever practised on clean integers freezes the first time a fraction appears, which is exactly why the fraction cases get their own drilling.

Key Takeaways

  • The slope of perpendicular lines obeys one rule: the product of the two slopes is $-1$, written $m_1 \cdot m_2 = -1$.

  • Each slope is the negative reciprocal of the other, so to find a perpendicular slope you flip the fraction and switch the sign.

  • Always solve an equation for $y$ before reading its slope; the coefficient of $x$ in $y = mx + b$ is the slope.

  • "Opposite sign" is not perpendicular; the partner slope must be flipped as well as negated.

  • A horizontal line and a vertical line are always perpendicular, the one pair the product rule cannot test.

Practice These Problems to Solidify Your Understanding

  1. Find the slope of a line perpendicular to a line with slope $-\dfrac{4}{9}$.

  2. The line $2x + 5y = 10$ is given. Find the slope of any line perpendicular to it.

  3. Write the equation of the line perpendicular to $y = -3x + 4$ that passes through the point $(6, 1)$.

Answer to Question 1: $\dfrac{9}{4}$ (flip $-\dfrac{4}{9}$ to $-\dfrac{9}{4}$, then negate). Answer to Question 2: $\dfrac{5}{2}$ (rearrange to $y = -\dfrac{2}{5}x + 2$, slope $-\dfrac{2}{5}$, flip and negate). Answer to Question 3: $y = \dfrac{1}{3}x - 1$ (perpendicular slope $\dfrac{1}{3}$, through $(6, 1)$). If your answer to Question 2 was $-\dfrac{2}{5}$, you read the slope without taking the negative reciprocal (see Mistake 1).

Want a live Bhanzu trainer to walk your child through slopes and the perpendicular-line rule? Book a free demo class — online globally.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Do perpendicular lines have the same slope?
No. Lines with the same slope are parallel, not perpendicular. Perpendicular lines have slopes that are negative reciprocals, so their product is $-1$.
What is the negative reciprocal of a slope?
It is the slope you get by flipping the fraction and switching the sign. The negative reciprocal of $\dfrac{2}{3}$ is $-\dfrac{3}{2}$, and the negative reciprocal of $-5$ is $\dfrac{1}{5}$.
How do you find the slope of a perpendicular line from an equation?
Solve the equation for $y$ to get $y = mx + b$, read the slope $m$, then flip it and switch the sign. Confirm by checking that the two slopes multiply to $-1$.
Why is the product of perpendicular slopes −1?
Because rotating a line by $90^\circ$ swaps its rise and run and reverses one sign, turning slope $\dfrac{a}{b}$ into $-\dfrac{b}{a}$. Multiplying the two gives $-\dfrac{ab}{ab} = -1$.
Are a horizontal and a vertical line perpendicular even though the rule fails?
Yes. They always meet at a right angle. The product rule cannot be used because a vertical line has undefined slope and a horizontal line has slope $0$, so this pair is handled as a known exception.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →