To find the equation of a line perpendicular to a given line through a specified point, take the negative reciprocal of the given line's slope, then substitute that slope and the point's coordinates into point-slope form. If the given line has slope m, the perpendicular slope is −1/m — unless m is 0, in which case the perpendicular line is vertical and its equation is x = the point's x-coordinate. The method works identically whether the original line arrives in slope-intercept form, standard form, or as two points, though standard form requires one extra isolation step before the reciprocal flip.
Why the Perpendicular Slope Is the Negative Reciprocal
The rule traces back to a right-angle condition: two nonvertical lines meet at 90 degrees exactly when the product of their slopes equals −1. Flip the given slope and negate it, and the product lands on −1 by construction. A line with slope 3 pairs with slope −1/3 because 3 × (−1/3) = −1. This is the entire algebraic basis for the perpendicular relationship, and it is why the operation is a reciprocal flip rather than a simple sign change.
The geometry behind it involves direction vectors. A line's slope describes how far it rises per unit of horizontal run, and rotating a direction vector by 90 degrees swaps its components and flips one sign — precisely the transformation that turns m into −1/m. The mathematics education site Purplemath presents the rule the same way: perpendicular slopes are opposite reciprocals, and the product test confirms perpendicularity. If two slopes multiply to −1, the lines are perpendicular; if they multiply to anything else, they are not.
Two special cases escape the formula and cause most lost points on exams. A horizontal line has slope 0, and its negative reciprocal is undefined — no finite number satisfies the relationship. The perpendicular to a horizontal line is vertical, written x = a. A vertical line has undefined slope, and its perpendicular is horizontal with slope 0, written y = b. The reciprocal rule silently assumes both slopes are finite and nonzero.
Textbook treatments often compress this into a single sentence, which is why students apply −1/m to a horizontal line and produce nonsense. Treat the formula as having a domain: it applies to lines with a defined, nonzero slope. Check the given slope before flipping anything, and the two edge cases resolve themselves without algebra. Khan Academy's algebra material and most high school curricula use the same product-equals-negative-one definition, so the test is consistent across sources.
The Core Method in Four Steps
The procedure below handles slope-intercept and point-slope inputs directly. Later sections adapt it for standard form and two-point inputs, where one preliminary step precedes step 1.
1: Extract the slope m from the given line's equation. 2: Compute the perpendicular slope as −1/m. 3: Substitute that slope and the point (x₁, y₁) into point-slope form: y − y₁ = m⊥(x − x₁). 4: Simplify to slope-intercept form (y = mx + b) or standard form, whichever the problem requests.
Worked example: find the line perpendicular to y = 2x + 3 passing through (4, 1). The given slope is 2, so the perpendicular slope is −1/2. Point-slope gives y − 1 = −1/2(x − 4), which simplifies to y = −1/2x + 3. Check: the slopes multiply to −1, and substituting x = 4 returns y = 1, confirming the point lies on the new line.
The most common failure is forgetting to negate after flipping. A line with slope 2/3 gets perpendicular slope −3/2, not 3/2. The second most common failure is plugging the given line's slope into the final answer, which happens when someone flips the reciprocal but then reverts under time pressure. Write the perpendicular slope on its own line before touching point-slope form.
If the point arrives with negative coordinates, watch the signs inside the parentheses. For a point (−3, 5), the template y − 5 = m⊥(x − (−3)) becomes y − 5 = m⊥(x + 3). A sign slip here produces an equation that looks plausible and fails the point check. Substitute the original point back into the finished equation — a ten-second verification that catches nearly every arithmetic error.
Step-by-Step When the Given Line Is in Standard Form
Suppose the problem reads: find the line perpendicular to 5x + 3y = 9 through (10, −4). Standard form hides the slope, so isolate y first. Subtract 5x, then divide every term by 3: y = −5/3x + 3. The given slope is −5/3, which makes the perpendicular slope 3/5.
Now run the standard sequence with the extracted slope.
1: Rewrite 5x + 3y = 9 as y = −5/3x + 3 to expose m = −5/3. 2: Flip and negate: m⊥ = 3/5. 3: Plug into point-slope with (10, −4): y + 4 = 3/5(x − 10). 4: Distribute: y + 4 = 3/5x − 6. 5: Solve for y: y = 3/5x − 10.
Verification: 5x + 3y = 9 rearranges to slope −5/3, and 3/5 × (−5/3) = −1, so the lines are perpendicular. Substituting x = 10 into the answer gives y = 6 − 10 = −4, confirming the point. Both conditions hold.
A shortcut exists and it is worth knowing for timed exams, though it should be derived rather than memorized. For standard form Ax + By = C, the perpendicular line through (x₁, y₁) satisfies Bx − Ay = Bx₁ − Ay₁. For this problem: 3x − 5y = 3(10) − 5(−4) = 50, which rearranges to y = 3/5x − 10. The shortcut is faster but more error-prone under pressure because the sign conventions are easy to juggle; verify against the point regardless of which route you take.
Fractional coefficients in standard form amplify sign errors. When dividing by B, every term changes sign if B is negative — a step that gets skipped when working quickly. Clearing fractions by multiplying through before isolating y is a legitimate defense: multiply 5x + 3y = 9 by nothing (it is already integer), but for something like (2/3)x + (1/4)y = 5, multiply by 12 first to get 8x + 3y = 60, then isolate. The slope survives the scaling because multiplying both sides by a constant does not change the line.
Worked Example: Perpendicular Through a Fractional-Slope Line
Find the line perpendicular to y = 3/4x − 2 passing through (6, 5). The given slope is 3/4, so the perpendicular slope is −4/3. Point-slope: y − 5 = −4/3(x − 6). Distribute: y − 5 = −4/3x + 8. Solve: y = −4/3x + 13.
Check both conditions. Slopes: 3/4 × (−4/3) = −1. Point: at x = 6, y = −4/3(6) + 13 = −8 + 13 = 5. Both hold, and the arithmetic is short enough that the check costs almost nothing.
Negative fractional slopes deserve a second example because two sign flips stack. Find the line perpendicular to y = −2/5x + 1 through (−5, 3). The given slope is −2/5; flipping gives −5/2, and negating gives 5/2. Point-slope: y − 3 = 5/2(x + 5). Distribute: y − 3 = 5/2x + 25/2. Add 3 (that is, 6/2): y = 5/2x + 31/2. Decimal form: y = 2.5x + 15.5.
Both examples share a structure worth naming: the reciprocal flip changes the fraction's value, and the negation changes its sign, so a slope like −a/b becomes b/a and a slope like a/b becomes −b/a. Track the two operations separately and the final sign is mechanical. Combining them mentally in one step is where errors enter.
Graphing the result confirms the relationship visually. Plot y = 3/4x − 2 and y = −4/3x + 13 on the same axes and they cross at a right angle near (6, 5). A quick sanity check on a graphing calculator — Desmos handles both equations in a single input line — catches sign errors that survive the algebra. The intersection point is not always the given point; here it happens to be, but in general the perpendicular passes through the specified point without crossing the original line there.
Perpendicular Bisector: Adding the Midpoint Step
A perpendicular bisector is a perpendicular line through the midpoint of a segment rather than through an arbitrary point. The slope step is unchanged; the point changes. For the segment from (2, 3) to (8, 7), the midpoint is ((2+8)/2, (3+7)/2) = (5, 5). The segment's slope is (7−3)/(8−2) = 4/6 = 2/3, so the bisector's slope is −3/2.
The full computation: y − 5 = −3/2(x − 5), which simplifies to y = −3/2x + 25/2, or y = −1.5x + 12.5. Every point on this line is equidistant from the two endpoints, which is the defining property of a perpendicular bisector and the reason it appears in triangle circumcenter constructions.
Order of operations matters here more than anywhere else. Compute the midpoint before building the equation, not after — students sometimes plug one endpoint into point-slope form and produce a perpendicular line that misses the segment entirely. The two conditions for a bisector are perpendicularity and midpoint passage, and both must be checked. Substituting the midpoint (5, 5): −1.5(5) + 12.5 = 5, correct.
The equidistance property provides a stronger verification than substitution alone. Compute the distance from any point on the bisector to each endpoint and they match. For a point on the bisector at x = 1, y = 11; distance to (2, 3) is √(1 + 64) = √65, and to (8, 7) is √(49 + 16) = √65. The check is heavier than midpoint substitution, so use it only when the problem demands the geometric property explicitly.
Perpendicular bisectors appear constantly in coordinate geometry units — circumcenters of triangles are intersections of three of them — and the exam versions usually supply two endpoints rather than a midpoint. Read the problem for which input arrives. If a midpoint is given, skip straight to the slope flip. If endpoints are given, compute the midpoint first and label it clearly so it does not get confused with an endpoint later in the work.
Working From Two Points Instead of an Equation
When the given line arrives as two points, the slope formula comes first: m = (y₂ − y₁)/(x₂ − x₁). For the line through (1, 2) and (7, 10), m = (10−2)/(7−1) = 8/6 = 4/3. The perpendicular slope is −3/4, and the rest of the method proceeds unchanged with whatever target point the problem supplies.
Worked instance: find the perpendicular to the line through (1, 2) and (7, 10) passing through (4, −1). With m⊥ = −3/4, point-slope gives y + 1 = −3/4(x − 4), which simplifies to y = −3/4x + 2. Verify the slopes multiply to −1: 4/3 × (−3/4) = −1. Verify the point: at x = 4, y = −3 + 2 = −1, correct.
The subtraction order in the slope formula determines the sign, so keep it consistent. Subtracting in the order (y₂ − y₁)/(x₂ − x₁) for both numerator and denominator gives the same slope as the reverse order, but mixing the orders — numerator as y₂ − y₁ and denominator as x₁ − x₂ — flips the sign and cascades through every later step. Pick one order and write it down before substituting numbers.
Vertical and horizontal inputs from two points deserve an explicit check. Points with identical x-coordinates, like (3, 1) and (3, 9), define a vertical line with undefined slope; its perpendicular is horizontal, y = the target point's y-coordinate. Points with identical y-coordinates define a horizontal line with slope 0; its perpendicular is vertical, x = the target point's x-coordinate. The slope formula's denominator is zero in the first case, which signals the special handling rather than an error to work around.
Real-world problems sometimes hide the two points in a description. A ramp's run and rise, two survey markers, or a road segment's start and end coordinates all reduce to the same slope formula. The perpendicular through a named point then follows the identical four-step method. The only difference is the reading step: extract the two points carefully before touching the calculator, because a misread point poisons everything downstream.
Choosing Between Point-Slope, Slope-Intercept, and Standard Form
The three forms describe the same line, and the choice depends on the final answer format the problem requests. Point-slope, y − y₁ = m(x − x₁), is the construction form — fastest to write and hardest to mis-arithmetic because it requires no solving. Slope-intercept, y = mx + b, is the presentation form most textbooks and online homework systems expect. Standard form, Ax + By = C with integer A and B, appears when the problem asks for integer coefficients.
| Form | Template | Best for | Conversion cost |
|---|---|---|---|
| Point-slope | y − y₁ = m(x − x₁) | Intermediate work, checking the point condition | None to write |
| Slope-intercept | y = mx + b | Final answers in most curricula, graphing | One distribution and one addition |
| Standard | Ax + By = C | Problems demanding integers | Multiply through by the denominator |
Use point-slope internally even when the final answer must be slope-intercept. The distribution step is one line, and keeping the point visible in the intermediate equation makes the verification check trivial. Converting 3/5x − 10 to standard form, by contrast, requires multiplying every term by 5 to clear the fraction: 3x − 5y = 50. Multiply both sides of y = 3/5x − 10 by 5, move terms, and the integer coefficients appear.
Some online homework platforms reject equivalent forms, which is a practical trap worth flagging. A system expecting slope-intercept will mark y + 4 = 3/5(x − 10) wrong even though the line is correct. Read the requested form before submitting, and convert point-slope to slope-intercept as the final action rather than the first. The conversion is mechanical: distribute the slope, then add or subtract the y₁ constant.
Standard form has its own conventions: A is conventionally positive, and A, B, and C are integers with no common factor in most textbook treatments. Check the assignment's requirements, since some systems accept any integer multiple. The line is identical under scaling, so 6x − 10y = 100 represents the same line as 3x − 5y = 50; only the presentation differs. When in doubt, reduce to the smallest integers.
Five Errors That Break the Answer
Sign errors top the list. Flipping without negating produces a line that intersects at the wrong angle; negating without flipping produces a different wrong angle. Both survive casual inspection, so always test the product of the slopes. If m × m⊥ is not exactly −1, the perpendicular condition fails somewhere in the arithmetic.
Slope leakage is the second failure: the final answer carries the given line's slope instead of the perpendicular slope. This happens when someone writes point-slope form from memory and reaches for the number at the top of the page. Write m⊥ on its own line before touching the template. A related slip reuses the given line's y-intercept, which produces a parallel line through the wrong point.
A third error is plugging the wrong point. Problems sometimes supply a point that lies on the given line, sometimes a point elsewhere, and occasionally an intercept as the point. Compute the given line's intercepts only when the problem asks for them; the target point is the one named in the question. Mixing them yields an equation that satisfies perpendicularity and misses the specified point.
The fourth error is applying the reciprocal rule to a horizontal or vertical line. Slope 0 has no negative reciprocal, and the formula's failure is a signal to switch methods, not to force a number. State the perpendicular as x = a or y = b directly, and never write "slope = undefined" inside point-slope form — the form cannot accept it.
The fifth error is an arithmetic slip in distribution, especially with negative fractions. y − 5 = −4/3(x − 6) distributes as −4/3x + 8, not −4/3x − 8, because the two negatives multiply to a positive. Expand the bracket on a separate line, then combine constants. The final point check catches this error class reliably, since a distribution slip usually shifts the line off the specified point.
Graphing and Verifying the Result
Two checks confirm any perpendicular-line answer, and both take under a minute. The slope check multiplies m by m⊥ and demands exactly −1. The point check substitutes the target point's x-coordinate into the final equation and demands the target y-coordinate back. Run both; they catch different error classes, and passing one proves nothing about the other.
A graphing tool adds visual confirmation. Enter both equations in Desmos and zoom to the intersection; a right angle at the intersection is visible and the specified point sits on the new line. Two perpendicular lines with slopes 2 and −1/2 look correct at reasonable zoom because the angle is near 90 degrees; the tool confirms orientation but not arithmetic. Use the slope product for the arithmetic.
Intersection coordinates are a useful by-product. Set the two equations equal and solve for x, then substitute back. For y = 3/4x − 2 and y = −4/3x + 13, the algebra gives an intersection near (6, 5), matching the worked example. When the intersection does not match the specified point, that is expected in general — the perpendicular line passes through its own point and crosses the original elsewhere unless the problem constructed them to coincide.
Check the answer's signs against a rough sketch before submitting. A line through (4, 1) with slope −1/2 descends to the right and crosses the y-axis above 1, since the intercept is 3. If your equation descends but crosses below the point, the intercept arithmetic slipped. Sketching takes fifteen seconds on scratch paper and catches the majority of sign errors that survive algebraic checking.
FAQ
Does the perpendicular line always pass through the original line?
No. The perpendicular passes through the specified point, which may lie anywhere in the plane, and it crosses the original line at some third point unless the problem deliberately constructs them to coincide. Finding that intersection requires solving the two equations simultaneously, a separate computation.
What if the given line is horizontal or vertical?
A horizontal line, y = c, has slope 0, and its perpendicular is vertical with equation x = a, where a is the point's x-coordinate. A vertical line, x = k, has no defined slope, and its perpendicular is horizontal with equation y = b. The negative reciprocal formula does not apply in either case.
Can the perpendicular slope equal the original slope?
Only if the slope satisfies m² = −1, which has no real solution, so two lines cannot be both parallel and perpendicular in the real plane. If your computed perpendicular slope equals the given slope, you have made an error — most likely you negated without flipping, or flipped without negating.
How do I find the perpendicular bisector of a segment?
Compute the midpoint of the two endpoints, compute the segment's slope, take the negative reciprocal, and apply point-slope form with the midpoint. For endpoints (2, 3) and (8, 7), the bisector is y = −1.5x + 12.5, and every point on it is equidistant from both endpoints.
What is the fastest way to check a perpendicular-line answer?
Multiply the two slopes and confirm the product is −1, then substitute the specified point into the final equation. Together these checks take under a minute and catch both the perpendicularity condition and the point condition. Always run both, since passing one proves nothing about the other.
Is the perpendicular slope always the reciprocal with a changed sign?
For every line with a defined, nonzero slope, yes — the operation is exactly one reciprocal flip plus one sign change. The formula m⊥ = −1/m encodes both operations. Lines with zero or undefined slope are the two exceptions, handled by switching the line's orientation between horizontal and vertical.
Why does the product of perpendicular slopes equal −1?
Rotating a direction vector by 90 degrees swaps its components and flips one sign, which maps the slope m to −1/m, and their product is −1 by construction. Geometry textbooks derive this from the tangent addition formula or from vector dot products, both of which reduce to the same product condition.