Write The Equation Of A Line Perpendicular
How to Write the Equation of aLine Perpendicular to a Given Line Understanding how to write the equation of a line perpendicular to another line is a fundamental skill in algebra and coordinate geometry. Whether you are solving homework problems, preparing for a standardized test, or applying the concept in fields like engineering and computer graphics, mastering this technique lets you describe relationships between lines with precision. This guide walks you through the theory, step‑by‑step procedure, worked examples, common pitfalls, and frequently asked questions so you can confidently tackle any perpendicular‑line problem.
1. Core Concept: Slopes of Perpendicular Lines
Two non‑vertical lines in the Cartesian plane are perpendicular exactly when the product of their slopes equals –1. If the slope of the first line is m₁ and the slope of the line we want to find is m₂, then
[m₁ \times m₂ = -1 \quad\Longrightarrow\quad m₂ = -\frac{1}{m₁}. ]
This relationship holds for all lines except vertical ones (slope undefined) and horizontal ones (slope = 0). A vertical line ( x = constant) is perpendicular to any horizontal line ( y = constant), and vice‑versa.
Key takeaway: To find a perpendicular slope, take the negative reciprocal of the given slope.
2. Step‑by‑Step Procedure to Write the Equation Follow these five clear steps to write the equation of a line perpendicular to a known line, given either its slope‑intercept form, point‑slope form, or two points.
| Step | Action | Details |
|---|---|---|
| 1 | Identify the slope (m₁) of the reference line. | If the line is in y = mx + b form, m₁ is the coefficient of x. If you have two points (x₁, y₁) and (x₂, y₂), compute m₁ = (y₂ – y₁)/(x₂ – x₁). |
| 2 | Compute the perpendicular slope (m₂). | Use m₂ = –1/m₁. Special cases: <br>• If m₁ = 0 (horizontal), the perpendicular line is vertical → x = constant.<br>• If the reference line is vertical (x = constant), the perpendicular line is horizontal → y = constant. |
| 3 | Choose a point through which the perpendicular line must pass. | Often the problem gives a specific point (x₀, y₀). If not, you may use any point on the original line (e.g., its y‑intercept). |
| 4 | Plug the point and m₂ into point‑slope form. | y – y₀ = m₂ (x – x₀). |
| 5 | Convert to the desired format (slope‑intercept or standard). | Solve for y to get y = m₂x + b, or rearrange to Ax + By = C if required. |
3. Why the Negative Reciprocal Works (Brief Proof)
Consider two lines with direction vectors v₁ = (1, m₁) and v₂ = (1, m₂). The dot product v₁·v₂ = 1·1 + m₁·m₂ = 1 + m₁·m₂. Perpendicular vectors have a dot product of zero, so
[ 1 + m₁ m₂ = 0 ;\Longrightarrow; m₁ m₂ = -1. ]
Thus m₂ must be the negative reciprocal of m₁. This algebraic justification reinforces the procedural step and helps you remember it under exam pressure.
4. Worked Examples
Example 1: From Slope‑Intercept Form
Problem: Write the equation of the line perpendicular to y = 2x – 5 that passes through the point (3, 4).
Solution:
-
Reference slope m₁ = 2.
-
Perpendicular slope m₂ = –1/2.
-
Use point (3, 4) in point‑slope: y – 4 = –½(x – 3).
-
Distribute and solve for y:
[ y - 4 = -\frac12 x + \frac32 \ y = -\frac12 x + \frac32 + 4 \ y = -\frac12 x + \frac{11}{2}. ]
Answer: y = –½x + 5.5 (or y = –½x + 11/2).
Example 2: From Two Points
Problem: Find the equation of the line perpendicular to the segment joining (–1, 2) and (4, –3) that goes through the midpoint of that segment.
Solution:
-
Compute slope of the segment:
[ m₁ = \frac{-3 - 2}{4 - (-1)} = \frac{-5}{5} = -1. ]
-
Perpendicular slope: m₂ = –1/(–1) = 1.
-
Midpoint:
[ \left(\frac{-1+4}{2},\frac{2+(-3)}{2}\right) = \left(\frac{3}{2},-\frac12\right). ]
-
Point‑slope with midpoint: y + ½ = 1(x – 3/2).
-
Simplify:
[ y + \frac12 = x - \frac32 \ y = x - 2. ]
Answer: y = x – 2.
Example 3: Vertical/Horizontal Special Cases
Problem: Write the equation of the line perpendicular to x = –7 that passes through (–7, 5).
Solution: - The reference line is vertical (undefined slope).
- A line perpendicular to a vertical line is horizontal → slope = 0.
- Horizontal line through (–7, 5) is y = 5.
Answer: y = 5.
5. Common Mistakes and How to Avoid Them
| Mistake | Why It Happens | Corrective Tip |
|---|---|---|
| Forgetting the negative sign when taking the reciprocal | Confusing “reciprocal” with “negative reciprocal” | Always multiply by –1 after flipping the fraction. |
| Using the original point instead of the required point | Misreading the problem statement | Highlight the given point before starting calculations. |
| Applying the formula to vertical/horizontal lines without checking | Assuming every line has a defined slope |
| Forgetting the negative sign when taking the reciprocal | Confusing “reciprocal” with “negative reciprocal” | Always multiply by –1 after flipping the fraction. | | Using the original point instead of the required point | Misreading the problem statement | Highlight the given point before starting calculations. | | Applying the formula to vertical/horizontal lines without checking | Assuming every line has a defined slope | First identify if the reference line is vertical (undefined slope) or horizontal (zero slope). Perpendicular to vertical is horizontal, and vice versa. | | Mixing up which slope is m₁ and which is m₂ in the product m₁m₂ = –1 | Lack of clear labeling in multi-step problems | Explicitly label the slope of the given/reference line as m₁ and the slope you are solving for as m₂. Write the relation m₂ = –1/m₁ as a separate step. | | Arithmetic errors when dealing with fractions or negatives | Rushing through calculations, especially with negative signs | Double-check the sign of the original slope before computing the negative reciprocal. Simplify fractions only after confirming the sign. |
Conclusion
Understanding perpendicularity through the lens of slope—specifically the negative reciprocal relationship—provides a powerful and efficient algebraic tool. This rule emerges directly from the geometric condition of orthogonality via the dot product, linking abstract vector concepts to the tangible coordinate plane. By mastering both the procedural step (m₂ = –1/m₁) and the underlying rationale, you equip yourself to handle a wide range of problems, from standard textbook exercises to real-world applications in engineering, design, and physics where right angles are fundamental. Remember to always verify the nature of the given line (vertical/horizontal special cases) and to anchor your final equation to the correct specified point. With practice, this process becomes an automatic and reliable component of your analytical toolkit, ensuring accuracy even under time pressure. Ultimately, the ability to move seamlessly between geometric intuition and algebraic execution is a hallmark of strong spatial reasoning in mathematics.
Latest Posts
Latest Posts
-
1 4 Divided By 3 In Fraction Form
Mar 25, 2026
-
And The Rest Is Silence Hamlet
Mar 25, 2026
-
Vertex Form Of A Parabola Equation
Mar 25, 2026
-
How Do You Write 80 As A Decimal
Mar 25, 2026
-
What Heavier 1000 Pounds Of Feathers Or Bricks
Mar 25, 2026