Skip to main content
guidegeometryalgebra

Perpendicular Lines Equation: Complete Guide with Worked Examples

·14 min read·Solvify Team

A perpendicular lines equation problem asks you to write the equation of a line that crosses another line at exactly 90°. These problems show up throughout algebra, geometry, and standardized tests like the SAT and ACT — and once you understand the negative reciprocal slope rule, every perpendicular lines equation follows the same reliable process. This guide covers the theory, a clear step-by-step method, multiple worked examples with full solutions, and practice problems to build your confidence.

What Are Perpendicular Lines?

Two lines are perpendicular when they intersect at a right angle — exactly 90°. You see perpendicular lines everywhere: the edge of a ruler meeting a page, a ladder standing straight against a wall, the gridlines on graph paper. In coordinate geometry, the word "perpendicular" has a precise algebraic meaning that lets you work with it purely through slopes and equations. The most important property is the slope relationship. If you have two perpendicular lines on a coordinate plane, their slopes are always negative reciprocals of each other. That single fact drives every perpendicular lines equation problem you will ever encounter. The formula is: m₁ × m₂ = −1, where m₁ is the slope of the first line and m₂ is the slope of the perpendicular line. Why does this work geometrically? When you rotate a line by 90°, its rise-over-run ratio inverts and its direction flips. A slope of 3/4 (rise 3, run 4) rotates to a slope of −4/3 (rise −4, run 3). Multiply those: (3/4) × (−4/3) = −1. The math confirms the geometry. Perpendicular lines appear in specific contexts in school math: writing the equation of a perpendicular bisector, finding altitudes in triangles, working with coordinate geometry proofs, and solving applied problems involving right angles. Mastering the perpendicular lines equation formula gives you a reliable tool for all of these.

Two lines are perpendicular if and only if m₁ × m₂ = −1 (where m₁ and m₂ are their slopes). This is the perpendicular lines equation rule.

The Negative Reciprocal: Foundation of Perpendicular Line Equations

Every perpendicular lines equation problem starts with finding the negative reciprocal slope. This two-step operation transforms the slope of the given line into the slope of the perpendicular line. Getting this right is the most critical part of the whole process. The two steps are: (1) flip the fraction to get the reciprocal, and (2) change the sign to make it negative. Both steps must be applied — doing only one gives you the wrong slope. For integer slopes, write the integer as a fraction over 1 before flipping. Here are quick examples to see the pattern before working through full problems. A slope of 2 becomes −1/2. A slope of −3 becomes 1/3. A slope of 3/5 becomes −5/3. A slope of −2/7 becomes 7/2. A slope of 1/4 becomes −4. Notice how the sign always changes and the numerator and denominator swap. You can verify any answer by multiplying: 2 × (−1/2) = −1 ✓, (3/5) × (−5/3) = −1 ✓.

1. Step 1 — Identify the slope of the given line

Read the slope directly from the equation. If the equation is in slope-intercept form y = mx + b, the slope is the coefficient m. If it is in standard form Ax + By = C, rearrange to slope-intercept form first: y = (−A/B)x + (C/B), so the slope is −A/B.

2. Step 2 — Write the slope as a fraction

If the slope is an integer like 4, write it as 4/1. If it is already a fraction like 3/5, keep it as-is. This step matters because you are about to flip the numerator and denominator.

3. Step 3 — Flip the fraction (take the reciprocal)

Swap the numerator and denominator. The reciprocal of 4/1 is 1/4. The reciprocal of 3/5 is 5/3. The reciprocal of −2/7 is −7/2.

4. Step 4 — Change the sign (negate)

Multiply by −1. If the reciprocal is positive, make it negative. If it is negative, make it positive. So 1/4 becomes −1/4. And −7/2 becomes +7/2 (or just 7/2). This is your perpendicular slope m₂.

5. Step 5 — Verify with multiplication

Multiply m₁ × m₂. If the product is −1, your perpendicular slope is correct. If not, recheck the reciprocal and sign steps.

Negative reciprocal shortcut: flip the fraction, change the sign. Both operations — every time.

How to Write a Perpendicular Lines Equation: Full Method

With the perpendicular slope in hand, you have everything needed to write the perpendicular lines equation. The process uses point-slope form: y − y₁ = m(x − x₁), where (x₁, y₁) is a specific point the perpendicular line passes through and m is the perpendicular slope you just found. After substituting, you simplify into slope-intercept form y = mx + b or standard form Ax + By = C, depending on what the problem asks for.

1. Step 1 — Find the slope of the given line

Rearrange the given equation into slope-intercept form y = mx + b. Read off the slope m₁.

2. Step 2 — Calculate the perpendicular slope

Apply the negative reciprocal: m₂ = −1 ÷ m₁ (or equivalently, flip and negate m₁). This is the slope of the perpendicular line.

3. Step 3 — Use point-slope form

Plug the perpendicular slope m₂ and the given point (x₁, y₁) into y − y₁ = m₂(x − x₁).

4. Step 4 — Simplify to the required form

Expand the right side, then isolate y to get slope-intercept form: y = m₂x + b. Or rearrange to standard form Ax + By = C if required. Keep fractions unless told to round.

5. Step 5 — Check your answer

Verify that (a) the slopes satisfy m₁ × m₂ = −1, and (b) the given point satisfies your new equation by substituting its coordinates.

The three ingredients for any perpendicular lines equation: the original slope (to negate and flip), the given point, and point-slope form.

Worked Example 1: Line in Slope-Intercept Form

Problem: Write the equation of the line perpendicular to y = 3x − 5 that passes through the point (6, 2). Step 1 — Find the slope of the given line. The equation y = 3x − 5 is already in slope-intercept form, so m₁ = 3. Step 2 — Find the perpendicular slope. Write 3 as 3/1. Flip: 1/3. Negate: −1/3. So m₂ = −1/3. Check: 3 × (−1/3) = −1 ✓ Step 3 — Apply point-slope form with point (6, 2) and m₂ = −1/3: y − 2 = −(1/3)(x − 6) Step 4 — Expand and simplify: y − 2 = −(1/3)x + 2 y = −(1/3)x + 4 Step 5 — Verify. Slopes: 3 × (−1/3) = −1 ✓. Point check: y = −(1/3)(6) + 4 = −2 + 4 = 2 ✓ Final answer: y = −(1/3)x + 4

Worked Example 2: Line in Standard Form

Problem: Find the perpendicular lines equation for the line passing through (−3, 5) and perpendicular to 4x − 2y = 8. Step 1 — Rearrange 4x − 2y = 8 to slope-intercept form: −2y = −4x + 8 y = 2x − 4 So m₁ = 2. Step 2 — Perpendicular slope. Write 2 as 2/1. Flip: 1/2. Negate: −1/2. So m₂ = −1/2. Check: 2 × (−1/2) = −1 ✓ Step 3 — Point-slope form with (−3, 5) and m₂ = −1/2: y − 5 = −(1/2)(x − (−3)) y − 5 = −(1/2)(x + 3) Step 4 — Expand: y − 5 = −(1/2)x − 3/2 y = −(1/2)x − 3/2 + 5 y = −(1/2)x + 7/2 Step 5 — Verify. Slopes: 2 × (−1/2) = −1 ✓. Point check: y = −(1/2)(−3) + 7/2 = 3/2 + 7/2 = 10/2 = 5 ✓ Final answer: y = −(1/2)x + 7/2 (or equivalently x + 2y = 7 in standard form)

Worked Example 3: Fractional Slope

Problem: Write the perpendicular lines equation for the line through (4, −1) perpendicular to y = (2/3)x + 1. Step 1 — The given slope is m₁ = 2/3. Step 2 — Perpendicular slope. Flip 2/3 → 3/2. Negate → −3/2. So m₂ = −3/2. Check: (2/3) × (−3/2) = −6/6 = −1 ✓ Step 3 — Point-slope form with (4, −1) and m₂ = −3/2: y − (−1) = −(3/2)(x − 4) y + 1 = −(3/2)(x − 4) Step 4 — Expand: y + 1 = −(3/2)x + 6 y = −(3/2)x + 5 Step 5 — Verify. Slopes: (2/3) × (−3/2) = −1 ✓. Point check: y = −(3/2)(4) + 5 = −6 + 5 = −1 ✓ Final answer: y = −(3/2)x + 5 Notice that because m₁ was a fraction (2/3), the perpendicular slope −3/2 is not messier — it is just the flipped and negated version. Fractional slopes follow the same exact process as integer slopes.

Worked Example 4: Negative Slope

Problem: Find the equation of the perpendicular line through (0, −4) if the original line has equation y = −(5/2)x + 3. Step 1 — The given slope is m₁ = −5/2. Step 2 — Perpendicular slope. The slope is already a fraction: −5/2. Flip: −2/5. Negate: −(−2/5) = 2/5. So m₂ = 2/5. Check: (−5/2) × (2/5) = −10/10 = −1 ✓ Step 3 — Point-slope form with (0, −4) and m₂ = 2/5: y − (−4) = (2/5)(x − 0) y + 4 = (2/5)x Step 4 — Simplify: y = (2/5)x − 4 Since the point is the y-intercept (0, −4), the equation simplifies quickly — no fraction arithmetic needed beyond finding the slope. Step 5 — Verify. Slopes: (−5/2) × (2/5) = −1 ✓. Point check: y = (2/5)(0) − 4 = −4 ✓ Final answer: y = (2/5)x − 4 Key takeaway: when the original slope is negative, the perpendicular slope is positive (and vice versa). The double negative from "negate a negative" always cancels — so a negative original slope always gives a positive perpendicular slope, and a positive original slope always gives a negative perpendicular slope.

Negative original slope → positive perpendicular slope. Positive original slope → negative perpendicular slope. Always.

Special Cases: Horizontal and Vertical Perpendicular Lines

Horizontal and vertical lines are perpendicular to each other, but the standard slope formula m₁ × m₂ = −1 cannot be applied directly because vertical lines have an undefined slope and horizontal lines have slope 0. These are handled separately with a simple rule. A horizontal line has equation y = k (where k is a constant) and slope = 0. Any line perpendicular to it is a vertical line with equation x = c. For example, the line perpendicular to y = 3 passing through the point (5, 3) is the vertical line x = 5. A vertical line has equation x = c (where c is a constant) and undefined slope. Any line perpendicular to it is a horizontal line with equation y = k. For example, the line perpendicular to x = −2 passing through the point (−2, 7) is the horizontal line y = 7. The rule to remember: horizontal ↔ vertical (they are perpendicular to each other). When you see y = constant, the perpendicular line is x = something, and vice versa. In the given point, use the appropriate coordinate as the constant. These special cases come up on standardized tests precisely because the standard negative reciprocal rule cannot be applied. Recognizing them quickly saves you from getting stuck on undefined arithmetic.

Special case: y = k (horizontal line) is perpendicular to x = c (vertical line). No slope arithmetic needed — just swap the form.

Perpendicular Lines Equation in Different Forms

Perpendicular line equations can be expressed in three main forms. The choice depends on what the problem asks for. Slope-Intercept Form: y = mx + b. This is the most common target form. It directly shows the slope m and y-intercept b, making it easy to verify that the perpendicular slope is correct. After applying point-slope form and simplifying, you typically land here. Point-Slope Form: y − y₁ = m(x − x₁). This is the form you use during calculation — you plug in the perpendicular slope and the given point. It is an intermediate step, not typically the final answer unless the problem specifically requests it. Standard Form: Ax + By = C (where A, B, C are integers and A ≥ 0). To convert from slope-intercept form y = (−1/3)x + 4, multiply through by 3: 3y = −x + 12, then rearrange: x + 3y = 12. Standard form hides the slope, so always extract it before applying the perpendicular formula. Example conversion: given y = −(1/2)x + 7/2, multiply through by 2: 2y = −x + 7, rearrange: x + 2y = 7. Check: from standard form, slope = −A/B = −1/2, which matches. When solving perpendicular lines equation problems on tests, note the form requested in the question before starting. Converting at the end is usually cleaner than converting during the calculation.

Perpendicular Bisectors: A Common Application

One of the most tested applications of the perpendicular lines equation is the perpendicular bisector — the line that is both perpendicular to a segment and passes through its midpoint. Problem: Find the equation of the perpendicular bisector of the segment connecting A(2, 4) and B(8, 10). Step 1 — Find the slope of AB. m = (10 − 4) ÷ (8 − 2) = 6 ÷ 6 = 1 Step 2 — Find the perpendicular slope. m₁ = 1, so m₂ = −1/1 = −1. Check: 1 × (−1) = −1 ✓ Step 3 — Find the midpoint of AB. Midpoint = ((2+8)/2, (4+10)/2) = (5, 7) Step 4 — Write the perpendicular bisector equation using point (5, 7) and slope −1: y − 7 = −1(x − 5) y − 7 = −x + 5 y = −x + 12 Step 5 — Verify. Slopes: 1 × (−1) = −1 ✓ Midpoint (5, 7) on line: y = −5 + 12 = 7 ✓ Also check that A and B are equidistant from the line — they are, by the symmetry of the midpoint construction. Final answer: y = −x + 12 Perpendicular bisectors are used to find the circumcenter of a triangle (intersection of the three perpendicular bisectors), which appears in both geometry proofs and coordinate geometry problems.

Perpendicular bisector = perpendicular slope + midpoint as the given point. Two sub-problems combined into one.

Altitude of a Triangle: Another Key Application

An altitude of a triangle is a line segment from a vertex perpendicular to the opposite side (or its extension). Writing the altitude's equation is a direct application of the perpendicular lines equation method. Problem: Triangle ABC has vertices A(1, 5), B(5, 1), and C(7, 7). Write the equation of the altitude from vertex A to side BC. Step 1 — Find the slope of BC (the side the altitude is perpendicular to). m_BC = (7 − 1) ÷ (7 − 5) = 6 ÷ 2 = 3 Step 2 — Find the perpendicular slope. m₁ = 3, so m₂ = −1/3. Check: 3 × (−1/3) = −1 ✓ Step 3 — The altitude passes through vertex A(1, 5) with slope −1/3: y − 5 = −(1/3)(x − 1) y − 5 = −(1/3)x + 1/3 y = −(1/3)x + 1/3 + 5 y = −(1/3)x + 16/3 Step 4 — Verify. Slopes: 3 × (−1/3) = −1 ✓ Point A(1, 5): y = −(1/3)(1) + 16/3 = −1/3 + 16/3 = 15/3 = 5 ✓ Final answer: y = −(1/3)x + 16/3 To find the foot of the altitude (where it hits BC), you would solve the system of equations formed by y = 3x − 14 (line BC) and y = −(1/3)x + 16/3 simultaneously. That is a separate step, but writing the altitude equation using the perpendicular lines formula is always the first move.

Common Mistakes When Writing Perpendicular Line Equations

Students consistently make the same errors on perpendicular line equation problems. Knowing them in advance means you can catch them before they cost points.

1. Mistake 1 — Only negating, not flipping (or only flipping, not negating)

The negative reciprocal requires both operations. If the slope is 3/4, you cannot just negate it (getting −3/4) or just flip it (getting 4/3). You must do both: flip to 4/3, then negate to −4/3. Using only half the operation gives a slope that is neither parallel nor perpendicular — it is just wrong.

2. Mistake 2 — Applying the formula to standard form without rearranging first

In the equation 3x + 4y = 12, the coefficient of x is 3, but the slope is NOT 3. You must rearrange to y = −(3/4)x + 3 to see that m = −3/4. Always convert to slope-intercept form before reading off the slope.

3. Mistake 3 — Using the wrong point in point-slope form

Point-slope form uses the point the NEW line passes through — the point given in the problem, not a point on the original line. Students sometimes try to use the y-intercept of the given line, which gives an incorrect equation unless the perpendicular line happens to pass through that point.

4. Mistake 4 — Sign errors when expanding point-slope form

y − y₁ = m(x − x₁) uses subtraction. If the given point is (−3, 5), the form is y − 5 = m(x − (−3)) = m(x + 3). Students often write m(x − 3) instead of m(x + 3), introducing a sign error that propagates through the whole simplification.

5. Mistake 5 — Forgetting to check the answer

A quick check takes 20 seconds and catches most errors. Verify (a) that m₁ × m₂ = −1 and (b) that the given point satisfies the new equation. If either fails, an error was made in the calculation. Do not skip this — especially under test conditions.

6. Mistake 6 — Confusing perpendicular with parallel

Parallel lines have the same slope (m₁ = m₂). Perpendicular lines have slopes that are negative reciprocals (m₁ × m₂ = −1). These are opposite concepts, but students mix them up when rushing. Read the problem carefully: "perpendicular" means flip and negate; "parallel" means keep the same slope.

Practice Problems with Full Solutions

Work through these five problems before checking the solutions. They cover the full range of perpendicular lines equation scenarios.

1. Problem 1 (Beginner)

Write the equation of the line perpendicular to y = 4x + 1 that passes through (8, 3). Solution: m₁ = 4, so m₂ = −1/4. Check: 4 × (−1/4) = −1 ✓ Point-slope: y − 3 = −(1/4)(x − 8) y − 3 = −(1/4)x + 2 y = −(1/4)x + 5 Answer: y = −(1/4)x + 5

2. Problem 2 (Beginner-Intermediate)

Find the perpendicular line equation for the line through (2, −6) perpendicular to y = −(1/2)x + 4. Solution: m₁ = −1/2, so m₂ = −1/(−1/2) = 2. Check: (−1/2) × 2 = −1 ✓ Point-slope: y − (−6) = 2(x − 2) y + 6 = 2x − 4 y = 2x − 10 Answer: y = 2x − 10

3. Problem 3 (Intermediate — standard form input)

Write the perpendicular lines equation for the line through (−4, 1) perpendicular to 5x − 3y = 15. Solution: Rearrange: −3y = −5x + 15 → y = (5/3)x − 5, so m₁ = 5/3. m₂ = −3/5. Check: (5/3) × (−3/5) = −15/15 = −1 ✓ Point-slope: y − 1 = −(3/5)(x − (−4)) = −(3/5)(x + 4) y − 1 = −(3/5)x − 12/5 y = −(3/5)x − 12/5 + 5/5 y = −(3/5)x − 7/5 Answer: y = −(3/5)x − 7/5 (or 3x + 5y = −7 in standard form)

4. Problem 4 (Intermediate — perpendicular bisector)

Find the perpendicular bisector of the segment from P(−2, 3) to Q(6, −1). Solution: Slope of PQ: m = (−1 − 3)/(6 − (−2)) = −4/8 = −1/2 Perpendicular slope: m₂ = 2. Check: (−1/2) × 2 = −1 ✓ Midpoint: ((−2+6)/2, (3+(−1))/2) = (2, 1) Point-slope: y − 1 = 2(x − 2) → y − 1 = 2x − 4 → y = 2x − 3 Answer: y = 2x − 3

5. Problem 5 (Advanced — find point of intersection)

Line L₁ has equation y = 3x − 7. Line L₂ is perpendicular to L₁ and passes through (3, 5). Find the coordinates of the intersection point of L₁ and L₂. Solution: m₁ = 3, so m₂ = −1/3. Equation of L₂: y − 5 = −(1/3)(x − 3) → y = −(1/3)x + 6 Set L₁ = L₂ to find intersection: 3x − 7 = −(1/3)x + 6 Multiply both sides by 3: 9x − 21 = −x + 18 10x = 39 x = 3.9 = 39/10 y = 3(39/10) − 7 = 117/10 − 70/10 = 47/10 = 4.7 Answer: Intersection at (39/10, 47/10) or (3.9, 4.7)

Frequently Asked Questions About Perpendicular Lines Equations

Students working on perpendicular lines equation problems tend to run into the same questions. Here are clear answers to the most common ones.

1. Q: How do I find the perpendicular line if I only know two points, not the equation?

First calculate the slope of the given line using m = (y₂ − y₁)/(x₂ − x₁). Then find the negative reciprocal for the perpendicular slope. Finally, use the given point (from the problem) in point-slope form. The two points given are on the original line, not on the perpendicular line — make sure you are using the correct point.

2. Q: What if the perpendicular line has to pass through a point that is also on the original line?

That is fine — the method is the same. Find the perpendicular slope using the negative reciprocal, then apply point-slope form with that intersection point. The resulting line will be perpendicular at exactly that point. This setup is actually common in problems about right angles in triangles.

3. Q: Can the perpendicular lines equation ever be the same as the original line?

No. A line cannot be perpendicular to itself (except for the trivial 45° − 45° − 90° degenerate case, which is not a real-world concern in school math). If your perpendicular line equation matches the original, you made an error — most likely you forgot to apply the negative or forgot to flip the slope.

4. Q: Do the two perpendicular lines always intersect at the given point?

Not necessarily. The given point is where the new perpendicular line passes through, but that does not mean it is where the two lines intersect. The intersection point requires solving the system of both equations simultaneously. To find the intersection, set the two expressions for y equal and solve for x, then substitute back to find y.

5. Q: How do I use the perpendicular lines equation rule on the SAT or ACT?

On standardized tests, perpendicular line problems typically give you one line's equation and a point, then ask for the other line's equation or a specific coordinate. The fastest approach: (1) extract the slope from the given equation, (2) find the negative reciprocal, (3) plug into point-slope form and simplify in one pass. Practice the negative reciprocal step until it is automatic — that is where time is usually lost.

6. Q: What is the difference between a perpendicular bisector and just a perpendicular line?

A perpendicular line is any line that meets another at 90°. A perpendicular bisector is the specific perpendicular line that crosses the original segment at its midpoint. For a regular perpendicular line, you are given the point to pass through. For a perpendicular bisector, you must first calculate the midpoint of the segment, then use that midpoint as the given point in point-slope form.

Quick Reference: Perpendicular Lines Equation Checklist

Use this checklist before submitting any perpendicular line equation problem on a test or assignment. Each item corresponds to a common error that students make under pressure. ☑ Read the slope from the given equation (rearrange to y = mx + b if needed) ☑ Apply both the flip AND the negate to get the perpendicular slope ☑ Verify: m₁ × m₂ = −1 ☑ Use the correct given point (the point the NEW line passes through) ☑ Watch the sign in point-slope form: y − y₁ = m(x − x₁) ☑ Simplify fully to the form the problem requests ☑ Substitute the given point into your answer to confirm it satisfies the equation ☑ For horizontal/vertical lines: use the special case rule, not the negative reciprocal formula Running through this checklist for 30 seconds after solving catches the majority of errors before they affect your grade. The most critical steps are verifying the perpendicular slope (m₁ × m₂ = −1) and checking the given point.

Three verifications that catch most perpendicular line errors: (1) m₁ × m₂ = −1, (2) the given point satisfies the new equation, (3) the form matches what was requested.
Tags:
guidegeometryalgebra

Get Homework Help Now

Join millions of students using our AI math solver for homework help. Get instant solutions to math problems, step-by-step explanations, and 24/7 homework assistance.

Available for iOS and Android devices