If you know a line's slope and one point on it, the equation comes from y − y₁ = m(x − x₁), where m is the slope and (x₁, y₁) is the point. That's the point-slope form, and you just substitute and simplify. The method works for any real slope, including zero and negative values, and it's the fastest route to slope-intercept form when the y-intercept isn't given. The one boundary to keep in mind: the slope must be defined, so vertical lines can't use this form.

The French mathematician Michel de Chasles is often credited with introducing the modern slope notation that underlies this formula, though the point-slope arrangement itself emerged gradually through 19th-century coordinate geometry texts. That history doesn't change the math, but it explains why the formula looks slightly different across older textbooks — some write it as y = m(x − x₁) + y₁, which is the same equation rearranged. Both are correct. The version you'll see on standardized tests and in most U.S. high school curricula is y − y₁ = m(x − x₁).

Here's what makes this worth learning properly rather than memorizing: the formula contains every piece of information you were given, so errors almost always come from substitution, not understanding. A sign slip on a negative coordinate will produce an equation for a completely different line, and it'll still look plausible. The sections below walk through the substitution, the conversion to slope-intercept and standard forms, three fully worked examples, and the specific failure cases that trip people up on exams and in real work.

What Each Symbol in y − y₁ = m(x − x₁) Actually Controls

The four symbols split into two pairs. The slope m controls the line's steepness and direction; the point (x₁, y₁) anchors the line to a specific location. Change m and the line tilts; change the point and the line slides without tilting. That separation is why you can graph a line from this form in seconds without solving for y first.

The value m is the rise over run — vertical change divided by horizontal change. A slope of 2 means the line climbs 2 units for every 1 unit right. A slope of −0.5 means it drops half a unit per unit right. A slope of 0 gives a horizontal line, and this form handles it cleanly: if m = 0, the equation collapses to y = y₁, which is exactly right.

The subscript notation matters more than students expect. In (x₁, y₁), the subscript 1 labels which point you're using — it doesn't mean "first" in any ranking sense. If a problem gives you two points and asks for the line through one of them, you pick either, and both produce equivalent equations that simplify to the same slope-intercept form. Test writers know this, which is why multiple-choice answers sometimes show the same line written two different ways.

One structural point that textbooks under-explain: the formula is a statement of slope, just rearranged. Slope is (y − y₁)/(x − x₁) by definition. Multiply both sides by (x − x₁) and you get y − y₁ = m(x − x₁). The "new" form is the definition algebraically massaged — worth understanding because it means the formula can never be wrong, only misapplied.

Substituting the Slope and Point Without Sign Errors

Negative coordinates cause more wrong answers here than any other single issue. If the point is (−3, 4) and the slope is 2, the correct substitution is y − 4 = 2(x − (−3)), which simplifies to y − 4 = 2(x + 3). The double negative inside the parentheses is where people lose the answer — they write (x − 3) and the line shifts 6 units to the right of where it should be. Treat every negative coordinate as a deliberate checkpoint before you simplify.

Here's the reliable procedure, in order:

1: Write the skeleton first, before touching numbers: y − _ = m(x − _). 2: Put m in the slope slot. If m is negative, keep the minus sign attached to the number: y − _ = −3(x − _). 3: Put y₁ in the first blank and x₁ in the second, each with its original sign. 4: Simplify the subtractions, watching for minus-a-negative becoming plus. 5: Test your result by plugging the original point back in — both sides should match.

Step 5 is the one most people skip and the one that catches everything. Plugging (x₁, y₁) into your finished equation should produce a true statement in one line of arithmetic. If it doesn't, the error is upstream in steps 2 or 3, not in your algebra.

Consider how this plays out with a slope of −2/3 through the point (6, −1). The skeleton gives y − _ = −2/3(x − _). Filling in: y − (−1) = −2/3(x − 6). Simplify: y + 1 = −2/3(x − 6). Plugging the point back: left side is −1 + 1 = 0; right side is −2/3(6 − 6) = 0. Both sides match, so the equation is correct. That check takes about eight seconds and eliminates the most common failure mode in this entire topic.

If you're working with a slope given as a decimal instead of a fraction, convert before substituting. A slope of 0.75 is 3/4, and the fraction keeps the algebra clean when you later distribute. Decimals force you into decimal arithmetic on every subsequent step, which increases rounding risk if the slope doesn't terminate — 1/3 becomes 0.333..., and the equation degrades.

Converting to Slope-Intercept Form in Four Lines of Algebra

Slope-intercept form, y = mx + b, is usually what's actually wanted. Teachers ask for it, graphing software expects it, and most real applications read the y-intercept directly off it. Converting from point-slope takes four lines: distribute the slope, then move y₁ to the right side, then combine constants.

Take y + 1 = −2/3(x − 6) from the previous section. Distribute: y + 1 = −2/3x + 4. Subtract 1: y = −2/3x + 3. Four lines total including the restatement. The y-intercept is 3, which means the line crosses the vertical axis at (0, 3). You can verify this against the original point (6, −1): moving 6 units left from (6, −1) at a slope of −2/3 raises the y-value by 4, giving (0, 3). Consistent.

Standard form, Ax + By = C with integer coefficients and A ≥ 0, requires one more step: clear the fractions. For y = −2/3x + 3, multiply everything by 3: 3y = −2x + 9, then rearrange: 2x + 3y = 9. The integers 2, 3, and 9 are the integer coefficients test graders look for. When a problem says "write in standard form," this is the target, and leaving fractions in it is a common point deduction.

The conversion habit worth building: always check your slope-intercept result against the original point before moving on. Substitute x₁ and confirm you get y₁. This single check has caught errors for every student I've worked with who bothered to do it, because it verifies both the slope and the arithmetic in one move.

What determines which form to hand in is the instruction, not your preference. If the problem just says "find the equation," either form is mathematically correct, but slope-intercept is the safer default because more grading rubrics accept it. If it specifies standard form or general form (Ax + By + C = 0), convert fully — half-converted answers lose points even when the underlying equation is right.

Worked Example: Positive Integer Slope Through a Positive Point

Run the full method on a clean case first so the pattern is fixed before negatives enter. Problem: slope 3 through the point (2, 5). Skeleton: y − _ = 3(x − _). Substitution: y − 5 = 3(x − 2). That's the point-slope answer, and it's already correct and complete.

Convert to slope-intercept. Distribute: y − 5 = 3x − 6. Add 5: y = 3x − 1. Check against the original point: 3(2) − 1 = 5. Confirmed. The y-intercept is −1, so the line crosses at (0, −1), which sits two units left and six units down from (2, 5) — consistent with a slope of 3 (fall 6, run left 2 gives the same ratio as rise 3, run 1).

Convert to standard form. From y = 3x − 1, rearrange: −3x + y = −1, then multiply by −1 to make A positive: 3x − y = 1. All integers, A = 3 ≥ 0. Correct.

Now check a second point that should lie on the line. At x = 4, y = 3(4) − 1 = 11. The point (4, 11) is 2 units right and 6 units up from (2, 5) — rise 6 over run 2 equals slope 3. Verified. Building this verification step into your workflow means you never submit an equation you haven't confirmed, and on timed tests it costs less time than redoing a wrong answer.

This case is the template. Every subsequent example is the same five moves with sign complications layered on: substitute, simplify, distribute, isolate y, check. If you can do this one without hesitation, the harder ones are just careful bookkeeping.

When the Point Has Negative Coordinates or the Slope Is a Fraction

Problem: slope −1/2 through the point (−4, 7). Skeleton: y − _ = −1/2(x − _). Substitution: y − 7 = −1/2(x − (−4)). Simplify the double negative: y − 7 = −1/2(x + 4). That's point-slope form, done.

Convert: distribute −1/2 across (x + 4) to get −1/2x − 2. Then y − 7 = −1/2x − 2, so y = −1/2x + 5. Check: −1/2(−4) + 5 = 2 + 5 = 7. Matches. The y-intercept is 5.

Now a fractional slope with a fractional point: slope 2/3 through (1/2, −3). Substitution: y − (−3) = 2/3(x − 1/2), which is y + 3 = 2/3(x − 1/2). Distribute: y + 3 = 2/3x − 1/3. Subtract 3: y = 2/3x − 10/3. The y-intercept here is −10/3, roughly −3.33. Fractional intercepts are normal and not a sign of error — don't "fix" them into decimals unless the problem asks.

The failure case that matters most: slope −1 through (−2, −2). Correct substitution is y − (−2) = −1(x − (−2)), which simplifies to y + 2 = −1(x + 2), then y + 2 = −x − 2, then y = −x − 4. The incorrect version people produce is y − 2 = −1(x − 2), giving y = −x + 4 — a different line entirely, one that passes through (0, 4) instead of (0, −4). Both look like reasonable answers. Only the plug-back check catches the difference, since (−2) − (−2) should equal −1(−2 − (−2)) = 0, and it does on the correct version but fails on the wrong one.

If the slope is given as a mixed number, convert it before substituting. A slope of 1½ is 3/2, and the mixed number will cause problems the moment you distribute. If it's given as a ratio like "3 to 4", the slope is 3/4 with a positive sign; "−3 to 4" is ambiguous and worth clarifying with whoever wrote the problem, since some texts read it as −3/4 and others as −3:4 requiring interpretation.

Special Cases: Zero Slope, Undefined Slope, and the Vertical Line Problem

A horizontal line has slope 0, and this form handles it without special rules. Slope 0 through (5, −2): y − (−2) = 0(x − 5), which simplifies to y + 2 = 0, so y = −2. Every point on this line has y-coordinate −2, which is exactly what a horizontal line means.

A vertical line has undefined slope — not infinite, undefined. Division by zero has no value in the real numbers, so m simply doesn't exist for these lines, and the point-slope form cannot be used. Instead, a vertical line through (a, b) is x = a, period. Through (5, −2) it's x = 5. If a problem gives you a point and asks for the vertical line through it, the slope is irrelevant and the equation ignores it.

This distinction — slope 0 versus undefined slope — is one of the most-tested confusions in algebra. A slope of zero is a real number and produces a horizontal line; an undefined slope produces a vertical line. Graphically, a horizontal line runs left-right and a vertical line runs up-down. The formulas reflect that: horizontal lines are y = constant, vertical lines are x = constant.

For a problem that says "find the equation of the line through (2, 3) and (2, 8)," both points share an x-coordinate, so the line is vertical and its equation is x = 2. Your slope calculation, (8 − 3)/(2 − 2), produces 5/0, which is undefined — that's not an error, it's the signal. Stop and write the vertical-line form.

If the two points share a y-coordinate instead — say (2, 3) and (7, 3) — the numerator is zero, giving slope 0/5 = 0. That's a defined slope, and the line is horizontal with equation y = 3. One of these cases has an answer; the other route through the formula doesn't, and recognizing which is which before you start saves the whole attempt.

Turning Two Points Into One Point Plus a Slope

Many problems hand you two points instead of a slope and a point, and the standard move is to compute the slope first. Slope is m = (y₂ − y₁)/(x₂ − x₁), and then you pick either point and use point-slope. Both choices produce equivalent final answers, which is worth verifying once to see why.

Take points (1, 2) and (4, 11). Slope: (11 − 2)/(4 − 1) = 9/3 = 3. Using (1, 2): y − 2 = 3(x − 1), which gives y = 3x − 1. Using (4, 11): y − 11 = 3(x − 4), which gives y = 3x − 1. Same line, same slope-intercept form. The two starting equations look different but are algebraically identical — that's not a coincidence, it's the structure of the form.

The order of points doesn't matter for the slope as long as you're consistent. If you compute (y₂ − y₁) in one order, compute (x₂ − x₁) in the same order. Mixing orders flips the sign and gives the slope of the perpendicular line instead of the line you want. Consistency is the entire rule.

A quick sanity check on any two-point calculation: does the slope match the visual direction? If the second point is right and above the first, slope is positive; right and below, negative. If the points are (1, 2) and (4, −7), the second is right and below, so the slope should be negative — and computing (−7 − 2)/(4 − 1) = −9/3 = −3 confirms it. A positive result there means a sign error somewhere.

For real-world data, this two-point-to-equation step lets you build predictive models from scattered observations. Two data points fix a line, and the point-slope form is the cleanest bridge between raw measurements and an equation you can evaluate anywhere. If you have more than two points, the line through any pair may not fit the rest — that's where linear regression enters, and it's worth being clear that point-slope gives the unique line through exactly two points, not a best fit through many.

Putting Point-Slope to Work in Algebra, Calculus, and Data Work

The point-slope form is the standard tool for tangent line problems in calculus. When you compute the derivative at a point, you get the tangent slope; the tangent line's equation is then y − f(a) = f′(a)(x − a). That's point-slope with calculus notation substituted in. Students who know this form cold in algebra have one fewer thing to learn in calculus — the structure is identical.

In statistics and data analysis, the same form underlies the equation of a regression line, usually written ŷ = b₀ + b₁x. Point-slope doesn't replace regression, but for two-point interpolation and linear models fitted through two anchors, it's the direct route. If a temperature sensor reads 68°F at time 0 and 86°F at time 30 minutes, the slope is (86 − 68)/(30 − 0) = 0.6°F per minute, and the model is y = 0.6t + 68. That's point-slope converted, and it predicts 104°F at 60 minutes.

In construction, engineering, and navigation, the same equation converts sloped measurements into usable predictions. A ramp specs a 1:12 slope (about 0.083) through a specific landing point; the equation of that ramp line predicts the elevation at any horizontal distance, and checking whether a doorway clears it is a substitution away. The reason this form shows up in so many fields is that slope-and-point is the most natural way humans observe lines — you notice how steep something is and where it sits.

A caution for applied contexts: the equation is only valid where the line makes sense. A temperature model predicts 104°F an hour out, but if the sensor tops out at 100°F, the line describes data outside its real behavior. Point-slope gives you a line, not a truth claim about the world — the domain of validity has to come from the situation, not the formula.

Here's the comparison of forms, so you can pick the right output for the context:

Form Equation Best for Weakness
Point-slope y − y₁ = m(x − x₁) When you have slope + one point Not directly readable for y-intercept
Slope-intercept y = mx + b Graphing, reading y-intercept Requires b, which you may not have
Standard Ax + By = C Integer coefficients, systems of equations Slope and intercept hidden
Vertical line x = a Undefined-slope lines Not covered by any slope form

The rule: start in point-slope, end in whatever form the context asks for. Don't try to start in slope-intercept before you know b — that's the mistake that turns a one-step substitution into a two-variable solve.

Checking Your Answer and Fixing the Three Most Common Errors

The plug-back check is non-negotiable. Substitute the original point's coordinates into your final equation; both sides should match in one line of arithmetic. If they don't, the error is either a sign slip in substitution or an arithmetic slip in distribution. Working backward from a failed check usually locates it in under a minute.

The three errors that account for most wrong answers:

1: Sign on x₁ or y₁. The single most common failure. Negative coordinates must be entered with their original sign, and subtracting a negative becomes adding a positive. 2: Slope sign flipped during distribution. Multiplying through a negative slope, people drop the minus on one term but not the other. Distribute onto both terms explicitly, writing the intermediate line. 3: Using the wrong point. With two given points, it's easy to grab the slope computation's second point for the substitution and get a mismatched equation. Label which point you're using before substituting.

A fourth, subtler error: forgetting that "write the equation" sometimes wants a specific form. If the problem says slope-intercept or standard form, an unsimplified point-slope answer may lose points even when it's mathematically equivalent. Read the instruction twice before finalizing.

To verify a slope-intercept result quickly against the point: if y = mx + b, then b should equal y₁ − m·x₁. For point (2, 5) and slope 3, b = 5 − 3(2) = −1, matching y = 3x − 1. This one-line formula is faster than substitution when you're checking several answers at once, and it catches both slope and intercept errors simultaneously.

FAQ

What's the difference between point-slope form and slope-intercept form?

Point-slope uses the slope and any point on the line; slope-intercept uses the slope and the y-intercept. They describe the same line. Point-slope is y − y₁ = m(x − x₁) and slope-intercept is y = mx + b, with b = y₁ − m·x₁ — so converting between them is one arithmetic step. Use point-slope when you're given a point that isn't the y-intercept, which is the typical problem setup.

Can a vertical line be written in point-slope form?

No — the slope of a vertical line is undefined, and point-slope requires a numeric m. A vertical line through (a, b) is written x = a, which has no y term and no slope. Don't confuse this with a horizontal line, which has slope 0 and does use the form, collapsing to y = b. Both are special cases but only one is excluded.

How do I find the equation of a line through two points?

Compute the slope first with m = (y₂ − y₁)/(x₂ − x₁), then substitute either point into point-slope. Both points produce equivalent equations that simplify to the same slope-intercept form, so pick whichever has smaller numbers. This is fundamentally a two-step problem, and the slope computation is where most errors happen from inconsistent subtraction order.

What does a slope of 0 mean for the equation?

A slope of 0 means the line is horizontal, so y is constant everywhere. Substituting m = 0 into point-slope through (5, −2) gives y + 2 = 0, or y = −2. Every x produces y = −2. This is different from an undefined slope, which corresponds to a vertical line and cannot be written in this form at all.

Does it matter which point I use if two are given?

No — the resulting equations are algebraically identical and simplify to the same slope-intercept form. This is a useful self-check: if your answers from the two points differ after simplifying, you made an arithmetic error, not a conceptual one. Pick the point with simpler coordinates to reduce slip risk.

What if the slope is given as a decimal?

Convert it to a fraction before substituting. A slope of 0.75 becomes 3/4; 0.5 becomes 1/2. Fractions keep the distribution step exact and avoid rounding, especially for repeating decimals like 1/3, which can't be written exactly as a terminating decimal. Mixed numbers like 1½ also need conversion to 3/2 before use.

Can I check the equation without graphing it?

Yes — plug the original point's coordinates into your final equation. Both sides should be equal. After converting to slope-intercept, a faster check is b = y₁ − m·x₁, which verifies both slope and intercept in one calculation. Either check takes under ten seconds and catches sign and distribution errors that are otherwise invisible.

Does the equation change if the point is the y-intercept?

No, but the work simplifies. If the given point is (0, b), then x₁ = 0 and point-slope becomes y − b = m(x − 0), which is y = mx + b directly. This is why slope-intercept problems often hand you the y-intercept — it skips the conversion step and the equation is already in final form.