How to Find the Equation of a Perpendicular Line
Finding the equation of a line that is perpendicular to a given line is a fundamental skill in algebra and geometry. Whether you are solving homework problems, preparing for a standardized test, or applying the concept in real‑world situations such as engineering design, mastering this technique builds a solid foundation for more advanced topics. Plus, the process hinges on understanding slopes, recognizing the negative‑reciprocal relationship, and applying the point‑slope form of a line. Below is a step‑by‑step guide, complete with explanations, examples, and common pitfalls to avoid.
Understanding Slopes and Perpendicularity
Before diving into the mechanics, it helps to recall what a slope represents. The slope (m) of a line measures its steepness and direction:
[ m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} ]
Two non‑vertical lines are perpendicular when they intersect at a right angle (90°). In the Cartesian plane, this geometric condition translates into a simple algebraic rule:
The slopes of two perpendicular lines are negative reciprocals of each other.
If one line has slope m₁, the perpendicular line’s slope m₂ satisfies
[ m_2 = -\frac{1}{m_1} ]
Special cases arise when the original line is horizontal (m₁ = 0) or vertical (undefined slope). A horizontal line’s perpendicular is vertical, and vice versa. Keeping these exceptions in mind prevents division‑by‑zero errors.
Step‑by‑Step Procedure
Follow these steps to write the equation of a line that is perpendicular to a given line and passes through a specified point Simple, but easy to overlook. That's the whole idea..
1. Identify the slope of the given line
- If the line is presented in slope‑intercept form (y = mx + b), the coefficient of x is the slope (m₁).
- If the line is in standard form (Ax + By = C), rearrange to solve for y:
[ y = -\frac{A}{B}x + \frac{C}{B} ]
Hence, m₁ = -A/B. - If only two points on the line are known, compute the slope using the formula above.
2. Determine the perpendicular slope (m₂)
- Apply the negative‑reciprocal rule: m₂ = -1/m₁.
- For m₁ = 0 (horizontal line), set m₂ as “undefined” → the perpendicular line is vertical (x = constant).
- For an undefined m₁ (vertical line), the perpendicular slope is 0 → the perpendicular line is horizontal (y = constant).
3. Use the point‑slope form with the given point
Suppose the perpendicular line must pass through point (x₀, y₀). The point‑slope equation is:
[ y - y_0 = m_2 (x - x_0) ]
4. Convert to the desired format (optional)
- Slope‑intercept form: solve for y to get y = m₂x + b.
- Standard form: rearrange to Ax + By = C with integer coefficients if preferred.
5. Verify your result (good practice)
- Check that the product m₁·m₂ = -1 (unless dealing with horizontal/vertical cases).
- Plug the point (x₀, y₀) into your final equation to ensure it satisfies the line.
Worked Examples
Example 1: From Slope‑Intercept Form
Problem: Find the equation of the line perpendicular to y = 2x – 5 that passes through (3, 4).
- Given slope m₁ = 2.
- Perpendicular slope m₂ = -1/2.
- Point‑slope: y – 4 = (-1/2)(x – 3).
- Distribute and solve for y:
[ y - 4 = -\frac{1}{2}x + \frac{3}{2} \ y = -\frac{1}{2}x + \frac{3}{2} + 4 \ y = -\frac{1}{2}x + \frac{11}{2} ] - Answer: y = -\frac{1}{2}x + \frac{11}{2} (or in standard form: x + 2y = 11).
Example 2: From Standard Form
Problem: Determine the perpendicular line to 3x + 4y = 12 through (-2, 1) Most people skip this — try not to. But it adds up..
- Rewrite: 4y = -3x + 12 → y = -\frac{3}{4}x + 3. So m₁ = -3/4.
- Perpendicular slope: m₂ = -1 / (-3/4) = 4/3.
- Point‑slope: y – 1 = (4/3)(x + 2).
- Expand:
[ y - 1 = \frac{4}{3}x + \frac{8}{3} \ y = \frac{4}{3}x + \frac{8}{3} + 1 \ y = \frac{4}{3}x + \frac{11}{3} ] - Answer: y = \frac{4}{3}x + \frac{11}{3} (standard form: 4x – 3y = -11).
Example 3: Horizontal and Vertical Cases
Problem: Find the line perpendicular to y = 7 (a horizontal line) that passes through (5, -3).
- Original slope m₁ = 0 → perpendicular slope is undefined → vertical line.
- A vertical line through x = 5 has equation x = 5.
Problem: Find the line perpendicular to x = -4 (vertical) through (2, 6).
- Original slope undefined → perpendicular slope = 0 → horizontal line.
- Equation: y = 6.
Why the Negative‑Reciprocal Rule Works (Scientific Explanation)
The relationship m₂ = -1/m₁ stems from the dot product of direction vectors. A line with slope m can be represented by a direction vector v = (1, m). For another line to be perpendicular, its direction vector w must satisfy v·w = 0:
[