Gradient and Midpoint of a Line Segment

Grade 4

Gradient

The gradient of a line measures how steep it is — how much it rises (or falls) for each unit it moves horizontally.

gradient m = (y₂ − y₁) ÷ (x₂ − x₁)

A positive gradient means the line slopes upward left to right. A negative gradient means it slopes downward. A horizontal line has gradient 0; a vertical line has an undefined gradient.

Midpoint

The midpoint of a line segment is the point exactly halfway between the two endpoints. Just average the x-coordinates and average the y-coordinates.

midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2)

Worked example

EXAMPLE
Find the gradient and midpoint of the line joining A(2, 3) and B(8, 11).
Gradient = (11 − 3) ÷ (8 − 2) = 8 ÷ 6 = 4/3. Midpoint = ((2 + 8)/2, (3 + 11)/2) = (5, 7). Gradient = 4/3; midpoint = (5, 7).

Watch the sign

Always subtract in the same order: (y₂ − y₁) ÷ (x₂ − x₁). If you flip the order for one but not the other you get the wrong sign. It doesn't matter which point is "1" and which is "2" as long as you are consistent.
Nova
Try this one

The diagram shows a straight line on a coordinate grid.

xy0123450123-1-2Line L

The line L passes through (0, 1) and (5, -2).

(a) Work out the gradient of line L. [2]

(b) Write down the equation of line L in the form \( y = mx + c \). [1]

Nova's hint:

To find the gradient, divide the change in y by the change in x between the two given points.

Ask yourself: 'does y increase or decrease as x increases, and by how much per step?' Once you have the gradient m and you know a point the line passes through, you can find c.

Try to Solve it with Nova?