POPStudying

Cambridge 0580 IGCSE  ·  Topic E3.3

E3.3 Gradient of a Straight Line

Image  ·  914 × 270

01 — Explanation

What does gradient actually measure?

Gradient measures steepness: how much yy changes for every 11 unit that xx increases. A positive gradient slopes upward left-to-right; a negative gradient slopes downward; a gradient of 00 is a horizontal line.

02 — Explanation

How do I find the gradient from a grid?

Pick two clearly-plotted points on the line. Count the vertical rise and horizontal run between them:

gradient=riserun=change in ychange in x\text{gradient} = \frac{\text{rise}}{\text{run}} = \frac{\text{change in } y}{\text{change in } x}

A line rising 66 squares over a run of 33 squares has gradient 63=2\frac{6}{3} = 2.

03 — Explanation

How do I calculate the gradient directly from two coordinates?

Given A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2):

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

This is the same rise-over-run idea, just done with subtraction instead of counting squares — it also works for points that aren't nicely placed on grid lines.

04 — Explanation

What is the gradient of a horizontal or a vertical line?

A horizontal line has no rise at all as xx changes, so its gradient is always m=0m = 0. A vertical line, however, has no run — every point shares the same xx-value, which means the formula would require dividing by 00. A vertical line's gradient is therefore undefined, not zero; these two cases are easy to confuse but describe completely different situations.

05 — Explanation

How do I tell, just by looking at a line, whether its gradient is positive or negative?

Trace the line with your finger from left to right. If you're moving upward as you go, the gradient is positive; if you're moving downward, it's negative. This quick visual check is a useful way to sanity-check a calculated gradient before you commit to an answer — a line that clearly falls from left to right can never have come out with a positive mm.

Exam tip

It doesn't matter which point you call (x1,y1)(x_1,y_1) and which (x2,y2)(x_2,y_2), as long as you stay consistent between the numerator and denominator. Swapping the order in only one of the two subtractions is the single most common sign error on this topic.

06 — Explanation

How does gradient connect to the sketches and rules used later in this unit?

Every later coordinate-geometry topic depends on this single number. Parallel lines (E3.6) are recognised purely by having equal gradients; perpendicular lines (E3.7) are recognised by their gradients multiplying to −1-1; and the equation of any straight line (E3.5) can't be written down at all until its gradient has been found. Getting comfortable with rise-over-run now, including the sign conventions for uphill and downhill lines, removes the single biggest source of errors in everything that follows.

07 — Worked example

Worked example

Find the gradient of the line joining A(−3,5)A(-3, 5) and B(2,−5)B(2, -5).

  1. Let (x1,y1)=(−3,5)(x_1,y_1) = (-3,5) and (x2,y2)=(2,−5)(x_2,y_2)=(2,-5).
  2. m=−5−52−(−3)=−105=−2m = \frac{-5 - 5}{2-(-3)} = \frac{-10}{5} = -2
  3. The gradient is −2-2 — the line falls 22 units for every 11 unit moved right.

08 — Worked example

Worked example: gradient from a grid

A line passes through the grid points (1,2)(1, 2) and (4,8)(4, 8). Find its gradient.

  1. Rise =8−2=6= 8 - 2 = 6. Run =4−1=3= 4 - 1 = 3.
  2. m=63=2m = \frac{6}{3} = 2
  3. The gradient is 22: the line rises 22 units for every 11 unit moved right, matching a clearly upward-sloping line.

09 — Explanation

How does gradient link to whether two lines are parallel or perpendicular?

Gradient is the foundation both relationships are built on: two lines are parallel exactly when their gradients are equal, and perpendicular exactly when their gradients multiply to give −1-1 (equivalently, one gradient is the negative reciprocal of the other). Calculating the gradient correctly here is therefore a prerequisite skill for E3.6 and E3.7, not just a standalone topic.