WhizzNotes
Chapters

Straight Lines and Coordinate Geometry

Gradient, y = mx + c, distance, midpoint, parallel and perpendicular lines, and linear models.

Functions 9 min read Updated 13 questions Jump to quiz Feedback

On this page

In short: A straight line has the equation , where is the gradient (rise over run) and is where it crosses the y-axis. Parallel lines have the same gradient, perpendicular lines have gradients that multiply to , and the distance between two points comes from Pythagoras.

Starting point: Years 9 and 10

Gradient

The gradient tells you how steep a line is. It is the rise divided by the run.

  • Positive gradient: the line goes up to the right.
  • Negative gradient: the line goes down to the right.
  • Horizontal line: . Vertical line: gradient is undefined.

The equation of a line

is the gradient and is the y-intercept, where the line crosses the y-axis. In the taxi story and .

x y run 1 rise 2 c = 1 y = 2x + 1
Start at the intercept, then go across 1 and up 2.

Distance and midpoint

For points and :

The distance is how far apart the two points are: the length of the straight line from one to the other. The midpoint is the point exactly halfway along that line.

The distance formula is just Pythagoras on the grid. Draw a right-angled triangle under the line. Its run is the change in , its rise is the change in , and the line between the points is the longest side.

x y P(−1, 3) Q(5, 11) M(2, 7) d = 10 run 6 rise 8
The distance is the long side of the right-angled triangle: √(6² + 8²) = 10.

Parallel and perpendicular lines

To get the perpendicular gradient, flip the fraction and change the sign. Then check that the two gradients multiply to .

General form

Lines are also written as . To find the gradient, rearrange into . For : , so .

Straight lines
Gradient
  • Rise over run
  • Positive, negative, zero
Equation
  • y = mx + c
  • ax + by + c = 0
Two points
  • Distance: Pythagoras
  • Midpoint: average
Pairs of lines
  • Parallel: same m
  • Perpendicular: product is -1
Models
  • Start value and rate

Quick summary

  • Gradient : rise over run.
  • : is the gradient, is the y-intercept.
  • Distance uses Pythagoras. The midpoint is the average of the coordinates.
  • Parallel lines: same gradient. Perpendicular lines: .
  • Point-gradient form: .

Quiz

Sign in to take the quiz

13 questions with instant marking. It is free, and your scores are saved to your account so you can carry on from any device.

Turn on JavaScript to sign in and take the quiz.

Try 3 questions now

  1. What is the gradient of the line through and ?

    1. A
    2. B 2
    3. C 4
    4. D 8
    Show answer

    B: 2

    .

  2. What is the y-intercept of ?

    1. A
    2. B 7
    3. C
    4. D 0
    Show answer

    B: 7

    In , is the y-intercept.

  3. A line goes down from left to right. Its gradient is:

    1. A positive
    2. B negative
    3. C zero
    4. D undefined
    Show answer

    B: negative

    Falling to the right means a negative gradient.

Mathematics Advanced chapters

Sign in