Straight lines and coordinate lengths

Connect line equations, gradients and distance with coordinate differences.

More
Reading settingsKeep track of this lesson

Read offline with Premium

Save lessons and their figures on this device to read without an internet connection. Offline saving is included with Premium.

Connect at least once every 30 days to confirm Premium. Topic checks, coaching and sync need a connection.

Find this activity in your course
On this page

Reading settings

Colour theme, text size, line spacing and reading width for your lessons.

Colour theme
Text size
Line spacing
Reading width
Revision Mode

Keep just the revision notes by hiding embedded questions and activities, including worked examples. Your choice follows your account across both subjects and devices. Turn off to show the full lesson again.

Checking Premium access…

Explore Premium

Live preview

Take a moment to read at your own pace. Choose the text size and spacing that feel comfortable for you.

Pause after each idea, then explain it in your own words before moving on.

Narrower lines take effect when the screen has room.

Enlarged diagram

Gradient and intercept determine a non-vertical line

Through (1,5) and (4,11), the gradient is (11-5)/(4-1) = 2. Substitute one point in y = 2x + c: 5 = 2 + c, so c = 3. The line is y = 2x + 3. Check the other point before accepting it.

A horizontal line through (1,5) has equation y = 5. A vertical line through that point has equation x = 1 and cannot be expressed as y = mx + c with finite m. Do not divide by its zero horizontal difference.

The distance comes from a right triangle

Between A(−2,1) and B(4,9), the horizontal change is 6 and the vertical change 8. Pythagoras gives

AB = square root of ((4-(-2))² + (9-1)²) = square root of (36 + 64) = 10.

Reversing both point orders changes the signs of the differences but not their squares. Adding the changes to get 14 would measure a horizontal-then-vertical route, not the straight segment.

Use coordinates to justify geometry

A(0,0), B(6,0), C(6,4), D(0,4) form a rectangle: AB and CD are horizontal, BC and AD vertical, and the adjacent directions are perpendicular. Its diagonals both have length square root of 52. Equal diagonals alone would not establish every rectangle property; the coordinate directions supply the right angles here.

Check your understanding 1 Substitute in the original data

Find the line through (−1, 7) and (3, −1), and the distance between the points.

Show answer

The gradient is −8/4 = −2. Substitution gives c = 5, so y = −2x + 5. The distance is square root of (4² + (-8)²) = square root of 80 = 4 square root of 5. Check both given points in the line equation.

A negative gradient does not measure length

The line’s gradient is −2, while its segment length is positive. A gradient describes change per horizontal unit; a length measures distance. The two quantities have different meanings and need not share a sign or unit.

Keep track of this lesson

Mark the lesson done when you have worked through it.

Lesson progress is optional and kept on this device.

Your lesson mark records your own study. Checks are kept separately in My Learning.