Clearing the trap

The slope of a line is not the y-intercept divided by the x-intercept. Slope is

m = \frac{\text{change in } y}{\text{change in } x} = \frac{y_2 - y_1}{x_2 - x_1}

between any two points on the line. If you remember "rise over run" between two points, you will never go wrong. The intercept-divided-by-intercept rule is a half-remembered shortcut that misses a minus sign — and even with the minus sign, it only works when both intercepts exist, which is not always the case.

You see a line cross the x-axis at (2, 0) and the y-axis at (0, 6). You need its slope. Your brain whispers, "easy — y-intercept divided by x-intercept, 6/2 = 3." You write 3 and move on. The teacher marks it wrong. The right answer was -3. What happened?

This is one of the top-five wrong-formula errors on CBSE Class 9 and 10 board papers. It is so common that examiners specifically design questions to catch it. Let us understand why the rule is wrong, where the half-remembered version came from, and how to compute slope so you never make this mistake again.

What slope actually is

Slope of a line

For any two distinct points (x_1, y_1) and (x_2, y_2) on a non-vertical line, the slope is

m = \frac{y_2 - y_1}{x_2 - x_1}

This number tells you how much y changes for every unit change in x. The sign tells you the direction (positive = rising left-to-right, negative = falling), and the magnitude tells you how steep.

Why intercepts alone don't capture slope: the y-intercept tells you where the line starts on the y-axis, and the x-intercept tells you where it crosses the x-axis. Neither one tells you how steep the line is by itself. You need to compare two positions to see how the line moves — and that is exactly what "rise over run" between two points does.

Where the wrong rule comes from

The bad rule is not invented out of thin air. It is a mangled version of a real fact, with a missing minus sign.

Take a line that crosses the y-axis at (0, c) and the x-axis at (d, 0). These are two genuine points on the line, so you can use the slope formula on them:

m = \frac{0 - c}{d - 0} = \frac{-c}{d} = -\frac{c}{d}

So the slope is negative the y-intercept divided by the x-intercept.

The student who says "slope = y-intercept / x-intercept" forgot the minus sign. That single missing sign flips every answer to the wrong side. And even with the sign fixed, the formula m = -c/d only applies when:

  1. The line actually crosses both axes (so both intercepts exist).
  2. You correctly identify c as the y-intercept and d as the x-intercept (not the other way around).
  3. Neither intercept is zero (the line does not pass through the origin — if it does, c = 0 and d = 0, and -c/d is 0/0, undefined).

Three conditions to remember, easy to mix up. Just use rise over run between two points. That formula always works (except for vertical lines, where slope is undefined regardless of method).

Wrong rule vs right rule — visual

Side-by-side comparison: wrong rule (slope = y-intercept divided by x-intercept) versus right rule (rise over run between two points)Two coordinate planes. Left panel labelled "Wrong" shows a line with y-intercept 6 and x-intercept 2, with the formula 6 divided by 2 equals 3 crossed out. Right panel labelled "Right" shows the same line with two points marked and a triangle showing rise of negative 6 over run of 2, giving slope of negative 3. Wrong rule x y (0, 6) (2, 0) slope = 6 / 2 = 3 Right rule x y (0, 6) (2, 0) rise = -6 run = 2 slope = (0-6)/(2-0) = -3
Same line, two attempts. The wrong rule loses the minus sign because it ignores the *direction* of change between the two points. The right rule subtracts coordinates in order and keeps the sign.

Three worked examples

A line through (0, 6) and (2, 0)

The y-intercept is 6 and the x-intercept is 2. The wrong rule says 6/2 = 3. Let us compute the real slope using the two given points.

Take (x_1, y_1) = (0, 6) and (x_2, y_2) = (2, 0).

m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{0 - 6}{2 - 0} = \frac{-6}{2} = -3

The right answer is -3. The wrong rule gave +3 — wrong by a sign and the line is actually falling, not rising. Picture it: the line goes from high on the y-axis down to the right onto the x-axis. Of course the slope is negative.

Why the sign matters: a slope of +3 means the line rises 3 units for every 1 unit you move right. A slope of -3 means it falls 3 units. Geometrically these are mirror images — completely different lines.

The line $y = 2x + 3$

Read off the slope directly from y = mx + c form: slope m = 2, y-intercept c = 3.

For the x-intercept, set y = 0: 0 = 2x + 3 \Rightarrow x = -1.5. So the x-intercept is -1.5.

Wrong rule: slope = 3 / (-1.5) = -2.

Right answer: slope = 2.

The wrong rule is off by both sign and ratio. It happens to give a number with the same magnitude here only because the negative x-intercept secretly supplied the missing minus sign — but it still flipped the sign in the wrong direction. Pure coincidence of magnitude, total miss on direction.

Verify with two points. At x = 0: y = 3, so (0, 3). At x = 1: y = 5, so (1, 5).

m = \frac{5 - 3}{1 - 0} = \frac{2}{1} = 2 \checkmark

The horizontal line $y = 5$

This line is flat. It crosses the y-axis at (0, 5), so the y-intercept is 5. But it never crosses the x-axis — there is no x-intercept (it is parallel to the x-axis, six o'clock and three o'clock running side by side forever).

Wrong rule: slope = 5 / (\text{undefined}). The formula breaks. Division by something that does not exist.

Right answer: pick any two points on the line, say (0, 5) and (7, 5).

m = \frac{5 - 5}{7 - 0} = \frac{0}{7} = 0

A horizontal line has slope 0. The rise is always zero because y never changes. The wrong rule could not even produce a number here, while the right rule handed you the answer in one line.

How to remember the right formula

Slope is rise over run. Period.

Never use intercepts as a slope formula. They are useful for graphing a line (two points to draw through), not for computing its steepness directly.

If your line is given in y = mx + c form, the slope is just m — no calculation needed. If it is in ax + by + c = 0 form, rearrange to y = -\frac{a}{b}x - \frac{c}{b}, so slope is -a/b. Why -a/b: solving for y gives y = -\frac{a}{b}x - \frac{c}{b}, which matches y = mx + (\text{constant}), so m = -a/b by direct comparison.

The cricket version: imagine a cover drive trajectory. The ball leaves the bat and moves both forward (run) and downward (rise, with rise being negative as it falls). The slope of its straight-line path is the falling distance over the forward distance — direction matters, sign matters. Saying "slope = catcher's height / fielder's distance" would be nonsense; you need to compare two points along the trajectory.

Quick checklist before you write a slope answer

  1. Did you write \dfrac{y_2 - y_1}{x_2 - x_1} — not \dfrac{x_2 - x_1}{y_2 - y_1}? (The flipped one is another common bug.)
  2. Did you keep the signs throughout?
  3. Does your answer's sign match the line's tilt? Rising → positive. Falling → negative. Flat → zero. Vertical → undefined.
  4. If you must use the intercept shortcut for a quick check, remember it is -c/d with the minus sign — and only when both intercepts exist and are nonzero.

Get rise-over-run into muscle memory and this whole class of error disappears from your paper.

References

  1. NCERT, Mathematics Textbook for Class IX, Chapter 4: Linear Equations in Two Variables. NCERT online
  2. NCERT, Mathematics Textbook for Class XI, Chapter 10: Straight Lines (slope formula). NCERT online
  3. Khan Academy, "Slope of a line" — interactive walkthrough of rise over run. khanacademy.org
  4. Wikipedia, "Slope" — formal definition and equivalent forms. en.wikipedia.org/wiki/Slope
  5. CBSE, "Sample Question Papers — Class X Mathematics" (annual). cbseacademic.nic.in