Finding the equation of a perpendicular line is a core skill in coordinate geometry. It lets you determine the line that intersects a given line at a right angle (90°). This guide walks you through the process step by step, whether you're working from a point and a line, or from two points on the original line.
What You'll Need
- A given line (either its equation or two points on it).
- A point that the perpendicular line must pass through (often called the "point of interest").
- Basic algebra skills: rearranging equations, using the slope-intercept form (y = mx + b), and point-slope form (y – y₁ = m(x – x₁)).
Step-by-Step
- Identify the slope of the given line. If the line is in slope-intercept form (y = mx + b), the slope is the coefficient of x (m). If it's in standard form (Ax + By = C), rearrange to solve for y: y = (-A/B)x + C/B, so the slope is -A/B. If you have two points (x₁, y₁) and (x₂, y₂), calculate the slope using m = (y₂ – y₁) / (x₂ – x₁).
- Find the negative reciprocal of that slope. The slope of a perpendicular line is the negative reciprocal of the original slope. If the original slope is m, the perpendicular slope is -1/m. For example, if m = 2, the perpendicular slope is -1/2. If m = -3/4, the perpendicular slope is 4/3. If the original line is horizontal (m = 0), the perpendicular line is vertical (undefined slope). If the original line is vertical, the perpendicular line is horizontal (slope = 0).
- Write the point-slope form of the perpendicular line. Use the point (x₁, y₁) that the perpendicular line must pass through, and the perpendicular slope m_perp. The point-slope form is: y – y₁ = m_perp(x – x₁).
- Simplify to slope-intercept form (optional). Distribute and solve for y to get y = m_perp·x + b. This form is often easiest to interpret and graph.
- Check your work. Multiply the original slope and the perpendicular slope. The product should be -1 (unless one slope is 0 and the other is undefined, which is valid). Also, plug the given point into your final equation to verify it satisfies the equation.
Common Mistakes
- Forgetting to take the reciprocal. The perpendicular slope is the negative reciprocal, not just the negative. For m = 3, the perpendicular slope is -1/3, not -3.
- Mixing up signs. The negative reciprocal of -2 is 1/2 (positive), not -1/2. Double-check your sign changes.
- Using the wrong point. If the problem gives a specific point, use exactly that point. Don't accidentally use a point from the original line unless it's the same point.
- Ignoring vertical/horizontal cases. If the original line is vertical (x = k), its slope is undefined. The perpendicular line is horizontal (y = constant). If the original is horizontal (y = k), the perpendicular is vertical (x = constant).
- Algebra errors when rearranging standard form. When converting Ax + By = C to slope-intercept, ensure you divide every term by B correctly.
Tips
- Always write the slope as a fraction. This makes finding the reciprocal easier. For example, m = 5 is 5/1, so the perpendicular slope is -1/5.
- Use point-slope form as a safety net. Even if you're comfortable with slope-intercept, point-slope is less error-prone because it directly uses the given point.
- Graph to verify. If you have graph paper or a graphing tool, plot both lines. They should intersect at a right angle (90°). This visual check catches many mistakes.
- Keep fractions as fractions. Avoid decimals unless the problem specifically asks for them. Fractions are more precise and easier to work with in checks.
Troubleshooting
Your product of slopes isn't -1. Recalculate the original slope and the perpendicular slope. Check that you took the reciprocal correctly. For example, if you got m_perp = -2 for m = 2, the product is -4, not -1. The correct m_perp is -1/2.
The given point doesn't satisfy your final equation. Substitute x and y from the point into your equation. If it doesn't equal, you likely made an arithmetic error in step 3 or 4. Redo the distribution and simplification carefully.
You have a vertical line and don't know the slope. Remember that vertical lines have undefined slope. The perpendicular line is horizontal with slope 0. Its equation is simply y = (the y-coordinate of the given point).
Your given line is in a weird form. If the line is in point-slope or intercept form, convert it to slope-intercept first to identify the slope. For example, y – 2 = 3(x + 1) expands to y = 3x + 5, so the slope is 3.
You're given two points but no line equation. First find the slope of the line through those points using the slope formula, then proceed with the negative reciprocal.
Frequently Asked Questions
What if the original line is vertical? How do I find the perpendicular?
A vertical line has an undefined slope. The perpendicular line is horizontal, so its slope is 0. The equation is simply y = b, where b is the y-coordinate of the point you're using.
What if the original line is horizontal?
A horizontal line has slope 0. The perpendicular line is vertical, with undefined slope. Its equation is x = a, where a is the x-coordinate of the point you're using.
Can I use the standard form (Ax + By = C) for the perpendicular line?
Yes. After finding the perpendicular slope, you can write the equation in point-slope form and then rearrange to standard form if required. For example, from y – 2 = -1/2(x – 3), multiply by 2 to get 2y – 4 = -x + 3, then x + 2y = 7.
Do I always need a specific point to find the perpendicular line?
Yes. Without a point, there are infinitely many lines perpendicular to a given line (they all share the same slope but have different y-intercepts). The point pins down the exact line.
How do I check if two lines are perpendicular using their equations?
Find the slopes of both lines. If the product of the slopes is -1, they are perpendicular. For example, slopes 2 and -1/2 multiply to -1, so the lines are perpendicular.
What if the given point lies on the original line?
That's fine. The perpendicular line will intersect the original line at that point, which is the foot of the perpendicular. The process is the same: use that point and the negative reciprocal slope.