How to Write an Equation for a Perpendicular Line
Learning how to write an equation for a perpendicular line is a fundamental skill in algebra and coordinate geometry. Whether you are solving homework problems, preparing for a standardized test, or applying concepts in engineering and physics, mastering this technique allows you to quickly determine the relationship between two intersecting lines that meet at a right angle. In this guide, we will break down the theory, walk through step‑by‑step procedures, provide worked examples, highlight common pitfalls, and answer frequently asked questions so you can confidently write perpendicular line equations in any context Simple as that..
Understanding the Concept of Perpendicular Slopes
Two non‑vertical lines in the Cartesian plane are perpendicular if the product of their slopes equals –1. If one line has slope m₁, the slope of any line perpendicular to it, m₂, satisfies
[ m₁ \times m₂ = -1 \quad \Longrightarrow \quad m₂ = -\frac{1}{m₁}. ]
This relationship holds for all lines except vertical and horizontal ones, which we treat as special cases:
- A vertical line has an undefined slope (often written as x = c). Its perpendicular counterpart is a horizontal line with slope 0 (y = k).
- A horizontal line (slope 0) is perpendicular to a vertical line (undefined slope).
Recognizing these exceptions prevents division‑by‑zero errors when applying the reciprocal‑negative rule.
Step‑by‑Step Procedure to Write the Equation
Follow these clear steps to derive the equation of a line that is perpendicular to a given line and passes through a specified point (x₀, y₀) That's the part that actually makes a difference. Which is the point..
1. Identify the Slope of the Given Line
-
If the line is presented in slope‑intercept form (y = mx + b), the slope is the coefficient m.
-
If it is in standard form (Ax + By = C), rewrite it to isolate y:
[ y = -\frac{A}{B}x + \frac{C}{B} \quad \Rightarrow \quad m = -\frac{A}{B}. ]
-
If the line is given as two points (x₁, y₁) and (x₂, y₂), compute
[ m = \frac{y₂ - y₁}{x₂ - x₁}. ]
2. Determine the Perpendicular Slope
Apply the negative reciprocal rule:
[ m_{\perp} = -\frac{1}{m}. ]
Remember to handle the special cases:
- If m = 0 (horizontal line), then m_{\perp} is undefined → the perpendicular line is vertical (x = x₀).
- If m is undefined (vertical line), then m_{\perp} = 0 → the perpendicular line is horizontal (y = y₀).
3. Use Point‑Slope Form to Write the Equation
With the perpendicular slope m_{\perp} and the point (x₀, y₀), plug into
[ y - y₀ = m_{\perp}(x - x₀). ]
4. Convert to Desired Form (Optional)
You may leave the answer in point‑slope form, or rearrange to:
- Slope‑intercept form: y = mx + b (solve for y).
- Standard form: Ax + By = C (move all terms to one side and clear fractions).
5. Verify (Optional but Recommended)
Check that the product of the original slope and your new slope equals –1, and that the line indeed passes through (x₀, y₀) by substitution.
Worked Examples
Example 1: From Slope‑Intercept Form
Problem: Find the equation of the line perpendicular to y = 2x + 5 that passes through (3, –1).
Solution:
-
Given slope m = 2 And it works..
-
Perpendicular slope m_{\perp} = –1/2.
-
Point‑slope: y – (–1) = –½(x – 3) → y + 1 = –½(x – 3).
-
Distribute and solve for y:
[ y + 1 = -\frac{1}{2}x + \frac{3}{2} \ y = -\frac{1}{2}x + \frac{3}{2} - 1 \ y = -\frac{1}{2}x + \frac{1}{2}. ]
Answer: y = –½x + ½ (or in standard form: x + 2y = 1) And that's really what it comes down to..
Example 2: From Standard Form
Problem: Determine the perpendicular line to 3x – 4y = 12 through the point (–2, 7).
Solution:
-
Rewrite to slope‑intercept:
[ -4y = -3x + 12 \quad \Rightarrow \quad y = \frac{3}{4}x - 3. ]
Hence m = 3/4.
-
Still, point‑slope: y – 7 = –4/3 (x + 2). Perpendicular slope: m_{\perp} = –4/3.
-
[ 3(y - 7) = -4(x + 2) \ 3y - 21 = -4x - 8 \ 4x + 3y = 13. ]
Answer: 4x + 3y = 13 (or y = –4/3 x + 13/3) That's the part that actually makes a difference..
Example 3: Special Cases (Vertical/Horizontal)
Problem: Write the equation of the line perpendicular to x = –4 that passes through (5, 2).
Solution:
- The given line is vertical → slope undefined.
- A perpendicular line must be horizontal → slope 0.
- Using point‑slope with m = 0: y – 2 = 0(x – 5) → y – 2 = 0 → y = 2.
Answer: y = 2.
Common Mistakes and How to Avoid Them
| Mistake | Why It Happens | Correct Approach |
|---|---|---|
| Forgetting the negative sign when taking the reciprocal | Confusing “reciprocal” with “negative reciprocal” | Always multiply by –1 after flipping the fraction: m_{\perp} = –1/m. |
| Applying the rule to vertical/horizontal lines without checking | Assuming every line has a definable slope | Treat vertical (x = c) and horizontal (y = k) lines as special cases; their perpendiculars are horizontal/vertical respectively. |
| Making arithmetic errors when clearing fractions | Rushing through multiplication/division steps | Write each step clearly; multiply both sides of the equation by the |