Equation of a line that is perpendicular is a fundamental concept in coordinate geometry that appears frequently in algebra, calculus, and real‑world problem solving. Understanding how to derive this equation enables students to analyze geometric relationships, design orthogonal structures, and solve optimization tasks where right angles are required. This article walks through the theory, provides step‑by‑step procedures, illustrates with examples, highlights common pitfalls, and answers frequently asked questions so you can confidently work with perpendicular lines in any context.
Introduction
When two lines intersect at a right angle (90°), they are said to be perpendicular. Which means in the Cartesian plane, the relationship between their slopes is simple yet powerful: the product of their slopes equals (-1). Think about it: knowing this rule allows you to take any given line, find its slope, and immediately determine the slope of a line that is perpendicular to it. Once the perpendicular slope is known, you can use point‑slope or slope‑intercept forms to write the full equation. The sections below break down each part of this process Took long enough..
Understanding Slope and Its Role
What is slope?
The slope (often denoted by (m)) measures the steepness and direction of a line. For a line passing through two points ((x_1, y_1)) and ((x_2, y_2)),
[ m = \frac{y_2 - y_1}{x_2 - x_1}. ]
A positive slope rises from left to right, a negative slope falls, a zero slope is horizontal, and an undefined slope corresponds to a vertical line.
Slope‑intercept form
Most line equations are expressed as
[ y = mx + b, ]
where (m) is the slope and (b) is the y‑intercept (the point where the line crosses the y‑axis). This form is especially handy when you need to identify the slope quickly.
Point‑slope form
If you know a point ((x_0, y_0)) on the line and its slope (m), the equation can be written as
[ y - y_0 = m(x - x_0). ]
Both forms are interchangeable; you choose the one that best fits the information you have.
Perpendicular Slopes: The Core Rule
Two non‑vertical lines (L_1) and (L_2) are perpendicular iff
[ m_1 \cdot m_2 = -1. ]
So naturally, if you know the slope (m_1) of one line, the slope of any line perpendicular to it is
[ m_2 = -\frac{1}{m_1}. ]
Special cases:
| Original line | Slope (m_1) | Perpendicular slope (m_2) | Geometry |
|---|---|---|---|
| Horizontal ((y = c)) | (0) | Undefined (vertical line) | Perpendicular to a horizontal line is vertical |
| Vertical ((x = c)) | Undefined | (0) (horizontal line) | Perpendicular to a vertical line is horizontal |
When dealing with undefined slopes, remember that a vertical line’s equation is simply (x = \text{constant}), and a horizontal line’s equation is (y = \text{constant}).
Deriving the Equation of a Perpendicular Line
To write the equation of a line that is perpendicular to a given line and passes through a specific point, follow these logical steps:
-
Identify the slope of the given line ((m_1)) That's the whole idea..
- If the line is already in slope‑intercept form, read off (m).
- If it’s in another form (standard, point‑slope, or two points), convert or compute the slope first.
-
Compute the perpendicular slope ((m_2 = -\frac{1}{m_1})) Small thing, real impact..
- Handle the zero and undefined cases separately as shown in the table above.
-
Use the point‑slope formula with the known point ((x_0, y_0)) and the perpendicular slope (m_2):
[ y - y_0 = m_2 (x - x_0). ] -
Simplify to your preferred form (slope‑intercept or standard) if required.
Step‑by‑Step Procedure (Numbered List)
Below is a concise numbered list you can follow for any problem:
- Read the problem and note the given line’s equation and the point through which the perpendicular line must pass.
- Determine the slope (m_1) of the given line:
- If the equation is (y = mx + b), then (m_1 = m).
- If the equation is (Ax + By = C), rewrite as (y = -\frac{A}{B}x + \frac{C}{B}) → (m_1 = -\frac{A}{B}).
- If two points are given, apply the slope formula.
- Find the perpendicular slope (m_2 = -\frac{1}{m_1}) (unless (m_1 = 0) or undefined, then use the special cases).
- Plug the point ((x_0, y_0)) and (m_2) into point‑slope form: (y - y_0 = m_2(x - x_0)).
- Algebraically simplify to obtain the final equation in the desired format.
- Check your work by verifying that the product of the two slopes equals (-1) (or that one line is vertical and the other horizontal).
Worked Examples
Example 1: Perpendicular to a Slanted Line
Problem: Find the equation of the line perpendicular to (y = 2x - 5) that passes through the point ((3, 4)).
Solution:
- The given line is already in slope‑intercept form, so (m_1 = 2).
- Perpendicular slope: (m_2 = -\frac{1}{2}).
- Use point‑slope with ((x_0, y_0) = (3, 4)):
[ y - 4 = -\frac{1}{2}(x - 3). ] - Distribute and solve for (y):
[ y - 4 = -\frac{1}{2}x + \frac{3}{2} \ y = -\