The equation of a line perpendicular to a given line takes the form y = (−1/m)x + b, where m is the slope of the original line and b is found by substituting a point the new line must pass through. The condition is strict: the two slopes must multiply to exactly −1. A horizontal line (slope 0) is perpendicular only to a vertical line, whose slope is undefined — the negative reciprocal rule doesn't apply to that pair in slope form.

Take a line with slope 3. Any perpendicular has slope −1/3. Substitute your point, solve for b, and you have the equation. The arithmetic is simple; the errors live in sign handling, in vertical and horizontal special cases, and in failing to check that the products really do equal −1. Below is the full method, the worked cases, the three failure modes that cost marks in exams and bugs in code, and the coordinate-geometry reasoning behind why the rule works at all.

Why Perpendicular Slopes Multiply to Negative One

Rotate a direction vector by 90 degrees counterclockwise and (x, y) becomes (−y, x). For a line with slope m, the direction vector is (1, m). Rotating it gives (−m, 1), whose slope is 1 divided by −m, or −1/m. That single rotation is the whole proof, and it's why the product (m)(−1/m) always lands on −1.

A concrete check keeps this honest. On the line y = 3x + 1, the point (1, 4) sits on the line. Run a perpendicular through that same point with slope −1/3: it reads y = −(1/3)x + 13/3, and at x = 1 it gives y = 4. Two lines meeting at (1, 4) at a right angle. The perpendicular crosses the y-axis at 13/3, while the original crosses at 1 — a four-and-a-third unit gap.

The rule breaks into four cases worth memorizing. For m = 3, the perpendicular slope is −1/3. For m = −1/2, it is 2. For m = 4/3, it is −3/4. For m = 0, no finite negative reciprocal exists, because zero has none. Flipping the fraction and flipping the sign are two separate operations, and both must happen.

The dot-product view explains the same fact for anyone comfortable with vectors. Direction vector (1, m) dotted with (−m, 1) gives −m + m = 0, and a zero dot product means the vectors are orthogonal — true in any number of dimensions. The coordinate-rotation argument is the version most textbooks present, including standard algebra texts like those from Pearson and McGraw-Hill, and it generalizes cleanly to 3D planes with normal vectors.

The Four-Step Method Your Teacher Actually Wants Shown

1: Read the given line's slope, m. If the equation arrives in standard form, isolate y first: 4x + 2y = 7 becomes y = −2x + 3.5, so m = −2. 2: Compute the perpendicular slope as −1/m — flip and negate. From m = −2 that gives 1/2. 3: Substitute the required point into y = (−1/m)x + b and solve for b. Through (4, 6): 6 = 0.5(4) + b, so b = 4. 4: Write the final equation, then verify: the product of slopes should be −2 × 0.5 = −1, and the point should satisfy the equation.

Step 4 is the one students skip, and it's the one that catches the most mistakes. Check it at the point every time: the original line evaluated at the x-coordinate, and the perpendicular evaluated at the same x, should give you two y-values, and the perpendicular's value must equal your target point's y.

Two failure modes show up constantly in grading and in code. First, lines that coincide with an axis: if the given line is y = 5, its perpendicular is x = c through your point — vertical, slope undefined, no b to solve for. Second, parallel lines: two lines with the same slope never meet perpendicularity, and the product test m₁m₂ = −1 fails immediately. If a problem hands you the perpendicular line and asks for the original, the method runs identically backward.

A free fraction check also helps. If the original slope is written as p/q in lowest terms, the perpendicular slope is −q/p with the sign moved. Slope 4/3 becomes −3/4; slope −5/2 becomes 2/5. The numerator and denominator swap, and the sign flips once, not twice.

Worked Example: Finding the Equation Through a Given Point

Start with the line 2x − 3y = 6. Solve for y: −3y = −2x + 6, so y = (2/3)x − 2, and the slope is 2/3. A perpendicular line through the point (4, 1) has slope −3/2. Substitute: 1 = −(3/2)(4) + b = −6 + b, giving b = 7. The answer is y = −(3/2)x + 7, or in standard form 3x + 2y = 14 — the integer version often preferred in textbooks.

Verify at the point. On the original line, at x = 4, y = (2/3)(4) − 2 = 2/3, so the original passes through (4, 0.667). The perpendicular passes through (4, 1). The slopes 2/3 and −3/2 multiply to −1. All three checks pass.

Now run the same problem through a perpendicular that must pass through the line's own intercept. Suppose the perpendicular goes through (0, −2), the original line's y-intercept. Then −2 = −(3/2)(0) + b gives b = −2, and the equation is y = −(3/2)x − 2. At the shared point (0, −2), both lines meet at a right angle. This is the configuration that shows up most often when a problem says "perpendicular through the y-intercept."

A small but real arithmetic trap: the negative sign belongs to the coefficient of x, not the constant. Writing y = 3/2x + 7 drops the sign and silently produces a line perpendicular to nothing on the given line. Keep b unsigned and keep the minus on the slope.

If you want the standard form ax + by = c for the same line, multiply y = −(3/2)x + 7 by 2: 2y = −3x + 14, then rearrange to 3x + 2y = 14. Coefficient signs here are easy to scramble; check by plugging the point back into the rearranged form.

Special Cases: Horizontal, Vertical, and the Undefined Slope

The negative reciprocal rule assumes both slopes are finite and nonzero. A horizontal line has slope 0, and its perpendicular is vertical — its equation is x = k, where k is the shared x-coordinate. A vertical line's slope is undefined, and its perpendicular is horizontal, y = k. Trying to apply −1/m in either case produces division by zero or a meaningless reciprocal.

Work the case of the line y = 1. A perpendicular through (3, −2) is x = 3. Notice the perpendicular's equation has no y in it at all, which is the giveaway that the slope is undefined. The reverse case: through the vertical line x = −4, a perpendicular through (1, 5) is y = 5.

In standardized testing, this pair is a favorite trap. The product rule m₁m₂ = −1 applies only to finite slopes; for one horizontal and one vertical line, the correct statement is simply that they are perpendicular by definition. Don't force the formula where it doesn't live.

Equations of perpendicular lines also interact with intercept form. If the given line is y = mx + c and you want the perpendicular through the origin, b is automatically 0 and the equation reduces to y = (−1/m)x. Through the x-intercept instead, substitute y = 0 into the perpendicular form to solve for b.

A Quick Comparison of the Three Line Families

Situation Original slope Perpendicular slope Perpendicular form
Typical slanted line 3 −1/3 y = −x/3 + b
Negative slope −1/2 2 y = 2x + b
Horizontal line 0 undefined x = k
Vertical line undefined 0 y = k

The table makes the exception visible: the finite-slope cases follow the reciprocal rule, while the axis-aligned cases exit the formula entirely. Products across the first two rows: 3 × (−1/3) = −1 and (−1/2) × 2 = −1. The bottom two rows have no product to compute.

One more comparison worth building: perpendicular versus parallel. A parallel line keeps the original slope exactly and changes b; a perpendicular flips and negates the slope. If a problem mixes the two — "perpendicular to y = 2x through a point, then parallel to that result" — track each step separately, since the slopes alternate between 2 and −1/2 with each transition.

In three dimensions, the negative reciprocal rule doesn't survive in slope form; planes use normal vectors and the dot-product condition instead. That's a boundary worth knowing if you carry the formula into vector work.

Slope-Intercept, Point-Slope, and Standard Form: When Each Wins

Slope-intercept form, y = mx + b, is the fastest output when you want the constant immediately and the point is uncomplicated. Point-slope form, y − y₁ = m(x − x₁), skips the solve-for-b step entirely and is the cleanest choice when the given point has tidy integers. Standard form, ax + by = c, suits textbooks and answer keys that demand integer coefficients and a positive leading a.

A single problem in all three forms: given line slope 5, point (2, −3). Slope-intercept: b = −13, so y = 5x − 13? No — careful, that's the parallel. The perpendicular has slope −1/5, so −3 = −(1/5)(2) + b gives b = −13/5, and y = −(1/5)x − 13/5. Point-slope: y + 3 = −(1/5)(x − 2). Standard form: multiply by 5 to get 5y + 15 = −x + 2, so x + 5y = −13.

Point-slope shines when the point sits far from the y-axis and b turns into an ugly fraction, which the 2x − 3y example already showed. Slope-intercept reads best when someone asks "where does it cross the y-axis?" Standard form avoids fractions at the cost of one rearrangement. Pick the form the answer needs, not the form you happen to write first.

For computational work — a spreadsheet, Python, a graphing calculator — convert to slope-intercept or standard form before feeding the coefficients in. A slope stored as a float (−0.3333… for −1/3) will drift in a product test: −0.3333 × 3 rounds to −0.9999, not −1. Use exact fractions or a tolerance of about 1e-9 when testing the product programmatically.

Common Mistakes, From Sign Flips to Parallel Impostors

The most common error is a dropped negative, producing a line that is neither perpendicular nor parallel. The second is the "parallel impostor": keeping the original slope and changing only the intercept. These two account for the majority of lost points on perpendicular-line questions, according to how exam mark schemes typically allocate credit — one mark for the slope, one for the constant, one for the form.

Half-flipping the fraction is the third. Slope 2/3 becomes −2/3 or 3/2, both wrong, rather than the correct −3/2. Check the product: (2/3)(−2/3) = −4/9 and (2/3)(3/2) = 1, while (2/3)(−3/2) = −1.

Plugging the point into the original line's equation by reflex is the fourth mistake. The perpendicular shares the point but not the equation; substitute into the new form, not the old one.

A fifth slips through with negative original slopes: people flip the sign twice and return the original slope. If m = −1/4, the perpendicular is 4, not −4 — only one sign change survives. The product test catches it every time.

Using the Rule in Practice: Graphs, Tools, and Backward Problems

On a graph, perpendicularity is visible as a right-angle mark at the crossing, and most geometry or plotting tools compute the perpendicular slope internally — Desmos, GeoGebra, and graphing calculators accept equations directly, so you can verify an answer by plotting both lines and confirming the angle. When a tool gives a decimal slope, convert back to a fraction to keep the perpendicular exact.

Backward problems are common in coursework: given the perpendicular and its slope, find the original. The same rule works in reverse — original slope m = −1/(perpendicular slope). If the perpendicular is y = (2/7)x + 3, the original slope is −7/2.

Let's take a third worked case with fractions and a check. Given 5x + 2y = 10, so y = −(5/2)x + 5. Perpendicular slope 2/5, through (10, −1): −1 = (2/5)(10) + b = 4 + b, so b = −5, and y = (2/5)x − 5. Product check: (−5/2)(2/5) = −1. Point check: at x = 10, the equation gives y = −1. Everything lands.

A practical performance note: when the perpendicular must pass through the FOOT of the perpendicular from a point — the standard geometry construction — the answer reduces to solving the original line and the perpendicular simultaneously for the intersection. That's one substitution; the rest is algebra, and the same test catches errors. In tools that support symbolic math (SymPy, Mathematica), the whole sequence can be automated, but the method still matters when you're reading the output.

FAQ

What is the perpendicular slope of a line with slope −3/4?

It is 4/3. Flip the fraction to −4/3, then change the sign to 4/3. The product −3/4 × 4/3 = −1 confirms it. Changing only the sign or only the fraction leaves a product of 9/16 or −1, so both operations must happen. This is the negative reciprocal and it's the only slope that satisfies both lines.

Do perpendicular lines always have slopes that multiply to −1?

No — the product rule covers finite, nonzero slopes only. A horizontal line (slope 0) and a vertical line (undefined slope) are perpendicular by definition, but no finite product exists. In slope-intercept form, the product condition simply doesn't apply to that pair. Identify the axis-aligned partner first, then choose the appropriate method.

How do I find the equation through a point that lies on the original line?

Use the point the ordinary way: substitute it into the perpendicular form y = (−1/m)x + b, solve for b, and write the equation. The point happens to sit on both lines — the intersection — but the arithmetic is identical. Check that both lines evaluate to the point's y at its x; the shared point is the right-angle vertex.

What's the difference between a perpendicular and a parallel line equation?

A parallel line keeps the same slope m and changes only b; a perpendicular line uses −1/m. Through point (1, 2) with original slope 4, the parallel is y = 4x − 2, while the perpendicular is y = −(1/4)x + 9/4. Confusing the two is the single most common error in lined-equation problems, so name the relationship before writing any slope.

Can perpendicular lines have the same y-intercept?

Yes, if the perpendicular passes through the original line's intercept point. The origin case, y = mx and y = −(1/m)x, is the classic example: both cross at (0, 0) at right angles. The shared intercept changes nothing about the slope rule; it merely fixes b to the same value for that construction.

How do I check the perpendicular answer with a graphing tool?

Plot both equations and look for the right-angle mark at the crossing; many tools compute it automatically. If you compare numerically, convert slopes to exact fractions first — a float like −0.3333 multiplied by 3 gives −0.9999, not −1. Accept a small tolerance (about 1e-9) when testing the product in software, and prefer exact arithmetic where available.

What happens to the perpendicular of a vertical line?

It's horizontal. A vertical line x = −5 has undefined slope, so its perpendicular has slope 0 and takes the form y = k, where k is the y-coordinate of the required point. The negative reciprocal rule is skipped entirely. State this exception explicitly if you're grading or writing a solution key.