Number Plane Straight Lines Made Simple & Powerful

Understand number plane straight lines with clear explanations of gradient, y-intercept, rise and run, and worked examples made easy for students.
Number plane straight lines showing gradient, rise and run, and y-intercept on a graph

Table of Contents

Interactive Number Plane
Change slope, intercepts, rise, run and points to see how the line changes.
Equation: y = 1x + 0
y = 1 × 2 + 0 = 2
x2
y2
slope m1
y-intercept c0
x-intercept0
rise2
run2
Change values
Interactive maths practice

Number Plane Practice Questions: Coordinates, Gradient and Distance

Build confidence with the main number-plane and straight-line skills. Work through rise and run, gradient, distance, coordinates, intercepts, equations, midpoint and line relationships.

  • Rise, run and gradient: calculate coordinate changes and the slope of a line
  • Distance: find horizontal, vertical and diagonal distances between points
  • Coordinates: identify quadrants, axes and reflected points
  • Straight lines: substitute into y = mx + c and find intercepts or equations
  • Mixed skills: use midpoint, parallel and perpendicular gradients and missing coordinates
  • 8 focused levels
  • 64 practice questions
  • Instant answer checks
  • Hints and full working
0Attempted
0Correct
64Total questions
Overall progress0 of 64 correct
0 of 64 correct

Common equivalent forms are accepted, including coordinates with or without brackets and fractions or matching decimals. Your answers and checked results are saved automatically in this browser.

Level 1 Finding Rise and Run 8 questions · Coordinate changes 0/8

Tip: Rise is the change in y and run is the change in x. Always calculate final value minus initial value.
  1. From point A(1, 2) to point B(4, 8), find the rise and run.

    View hint and full working

    Hint: Rise is the change in y. Run is the change in x.

    Working
    Rise = 8 - 2 = 6
    Run = 4 - 1 = 3
    Answer: rise = 6, run = 3.
    Answer: rise=6, run=3
  2. From point A(-2, 3) to point B(2, 7), find the rise and run.

    View hint and full working

    Hint: Subtract the starting point from the ending point.

    Working
    Rise = 7 - 3 = 4
    Run = 2 - (-2) = 4
    Answer: rise = 4, run = 4.
    Answer: rise=4, run=4
  3. From point A(3, 6) to point B(7, 4), find the rise and run.

    View hint and full working

    Hint: A downward movement gives a negative rise.

    Working
    Rise = 4 - 6 = -2
    Run = 7 - 3 = 4
    Answer: rise = -2, run = 4.
    Answer: rise=-2, run=4
  4. From point A(-5, -1) to point B(1, 5), find the rise and run.

    View hint and full working

    Hint: Rise uses y-values. Run uses x-values.

    Working
    Rise = 5 - (-1) = 6
    Run = 1 - (-5) = 6
    Answer: rise = 6, run = 6.
    Answer: rise=6, run=6
  5. From point A(2, 9) to point B(5, 3), find the rise and run.

    View hint and full working

    Hint: The y-value goes down, so the rise is negative.

    Working
    Rise = 3 - 9 = -6
    Run = 5 - 2 = 3
    Answer: rise = -6, run = 3.
    Answer: rise=-6, run=3
  6. From point A(-4, 2) to point B(0, -6), find the rise and run.

    View hint and full working

    Hint: Run is the horizontal change.

    Working
    Rise = -6 - 2 = -8
    Run = 0 - (-4) = 4
    Answer: rise = -8, run = 4.
    Answer: rise=-8, run=4
  7. From point A(0, -3) to point B(6, 0), find the rise and run.

    View hint and full working

    Hint: Move from A to B.

    Working
    Rise = 0 - (-3) = 3
    Run = 6 - 0 = 6
    Answer: rise = 3, run = 6.
    Answer: rise=3, run=6
  8. From point A(-1, 8) to point B(4, -2), find the rise and run.

    View hint and full working

    Hint: Use final minus initial.

    Working
    Rise = -2 - 8 = -10
    Run = 4 - (-1) = 5
    Answer: rise = -10, run = 5.
    Answer: rise=-10, run=5

Level 2 Finding Slope or Gradient 8 questions · Rise over run 0/8

Tip: Use m = rise/run or m = (y₂ − y₁)/(x₂ − x₁). Horizontal lines have gradient 0; vertical lines have an undefined gradient.
  1. Find the slope from rise = 6 and run = 3.

    View hint and full working

    Hint: Slope = rise ÷ run.

    Working
    m = rise / run
    m = 6 / 3
    m = 2.
    Answer: 2
  2. Find the slope from rise = -2 and run = 4.

    View hint and full working

    Hint: A negative rise gives a negative slope.

    Working
    m = rise / run
    m = -2 / 4
    m = -1/2.
    Answer: -1/2
  3. Find the slope of the line through A(1, 2) and B(4, 8).

    View hint and full working

    Hint: Use m = (y2 - y1) / (x2 - x1).

    Working
    m = (8 - 2) / (4 - 1)
    m = 6 / 3
    m = 2.
    Answer: 2
  4. Find the slope of the line through A(-2, 5) and B(2, -3).

    View hint and full working

    Hint: Subtract the y-values and x-values in the same order.

    Working
    m = (-3 - 5) / (2 - (-2))
    m = -8 / 4
    m = -2.
    Answer: -2
  5. Find the slope of the line through A(0, 4) and B(5, 4).

    View hint and full working

    Hint: A horizontal line has zero slope.

    Working
    m = (4 - 4) / (5 - 0)
    m = 0 / 5
    m = 0.
    Answer: 0
  6. Find the slope of the line through A(3, -1) and B(3, 7).

    View hint and full working

    Hint: A vertical line has undefined slope because the run is 0.

    Working
    m = (7 - (-1)) / (3 - 3)
    m = 8 / 0
    Division by 0 is not defined.
    Slope is undefined.
    Answer: undefined
  7. Find the slope of the line through A(-4, -2) and B(2, 1).

    View hint and full working

    Hint: Use rise over run.

    Working
    m = (1 - (-2)) / (2 - (-4))
    m = 3 / 6
    m = 1/2.
    Answer: 1/2
  8. Find the slope of the line through A(2, 10) and B(6, 2).

    View hint and full working

    Hint: The line falls as x increases.

    Working
    m = (2 - 10) / (6 - 2)
    m = -8 / 4
    m = -2.
    Answer: -2

Level 3 Horizontal and Vertical Distance 8 questions · Same x or y value 0/8

Tip: For a horizontal distance, subtract the x-values. For a vertical distance, subtract the y-values. Distance is always non-negative.
  1. Find the distance between A(2, 3) and B(7, 3).

    View hint and full working

    Hint: The y-values are the same, so subtract the x-values.

    Working
    Distance = |7 - 2|
    Distance = 5.
    Answer: 5
  2. Find the distance between A(-4, 1) and B(3, 1).

    View hint and full working

    Hint: Same y-value means horizontal distance.

    Working
    Distance = |3 - (-4)|
    Distance = |7|
    Distance = 7.
    Answer: 7
  3. Find the distance between A(2, -5) and B(2, 4).

    View hint and full working

    Hint: The x-values are the same, so subtract the y-values.

    Working
    Distance = |4 - (-5)|
    Distance = 9.
    Answer: 9
  4. Find the distance between A(-6, -2) and B(-6, 5).

    View hint and full working

    Hint: Same x-value means vertical distance.

    Working
    Distance = |5 - (-2)|
    Distance = 7.
    Answer: 7
  5. Find the distance between A(-3, 8) and B(4, 8).

    View hint and full working

    Hint: Same y-value, so count horizontally.

    Working
    Distance = |4 - (-3)|
    Distance = 7.
    Answer: 7
  6. Find the distance between A(5, -7) and B(5, -1).

    View hint and full working

    Hint: Same x-value, so count vertically.

    Working
    Distance = |-1 - (-7)|
    Distance = 6.
    Answer: 6
  7. Find the distance between A(-8, 0) and B(-2, 0).

    View hint and full working

    Hint: Both points are on the x-axis.

    Working
    Distance = |-2 - (-8)|
    Distance = 6.
    Answer: 6
  8. Find the distance between A(0, -9) and B(0, 3).

    View hint and full working

    Hint: Both points are on the y-axis.

    Working
    Distance = |3 - (-9)|
    Distance = 12.
    Answer: 12

Level 4 Distance Between Two Points 8 questions · Distance formula 0/8

Tip: Use d = √((x₂ − x₁)² + (y₂ − y₁)²). Find the horizontal and vertical changes before squaring.
  1. Find the distance between A(1, 2) and B(4, 6).

    View hint and full working

    Hint: Use the distance formula.

    Working
    d = sqrt((4 - 1)2 + (6 - 2)2)
    d = √(32 + 42)
    d = √(9 + 16)
    d = √(25)
    d = 5.
    Answer: 5
  2. Find the distance between A(-2, 3) and B(4, 11).

    View hint and full working

    Hint: Find the horizontal and vertical changes first.

    Working
    d = sqrt((4 - (-2))2 + (11 - 3)2)
    d = √(62 + 82)
    d = √(36 + 64)
    d = √(100)
    d = 10.
    Answer: 10
  3. Find the distance between A(-1, -2) and B(2, 2).

    View hint and full working

    Hint: The changes are 3 and 4.

    Working
    d = sqrt((2 - (-1))2 + (2 - (-2))2)
    d = √(32 + 42)
    d = √(25)
    d = 5.
    Answer: 5
  4. Find the distance between A(3, -1) and B(9, 7).

    View hint and full working

    Hint: Use dx = 6 and dy = 8.

    Working
    d = sqrt((9 - 3)2 + (7 - (-1))2)
    d = √(62 + 82)
    d = √(100)
    d = 10.
    Answer: 10
  5. Find the distance between A(-5, 0) and B(7, 5).

    View hint and full working

    Hint: This is a 5-12-13 triangle.

    Working
    d = sqrt((7 - (-5))2 + (5 - 0)2)
    d = √(122 + 52)
    d = √(144 + 25)
    d = √(169)
    d = 13.
    Answer: 13
  6. Find the distance between A(-4, -3) and B(2, 5).

    View hint and full working

    Hint: Use dx = 6 and dy = 8.

    Working
    d = sqrt((2 - (-4))2 + (5 - (-3))2)
    d = √(62 + 82)
    d = √(100)
    d = 10.
    Answer: 10
  7. Find the distance between A(0, 0) and B(6, 8).

    View hint and full working

    Hint: This is a right triangle from the origin.

    Working
    d = sqrt((6 - 0)2 + (8 - 0)2)
    d = √(36 + 64)
    d = √(100)
    d = 10.
    Answer: 10
  8. Find the distance between A(1, -4) and B(4, 0).

    View hint and full working

    Hint: Use dx = 3 and dy = 4.

    Working
    d = sqrt((4 - 1)2 + (0 - (-4))2)
    d = √(32 + 42)
    d = √(25)
    d = 5.
    Answer: 5

Level 5 Coordinates, Axes and Quadrants 8 questions · Number-plane position 0/8

Tip: Quadrant I is (+,+), II is (−,+), III is (−,−) and IV is (+,−). Points with x = 0 lie on the y-axis; points with y = 0 lie on the x-axis.
  1. Which quadrant is the point (4, 3) in?

    View hint and full working

    Hint: Positive x and positive y means Quadrant I.

    Working
    x is positive and y is positive.
    So the point is in Quadrant I.
    Answer: quadrant i
  2. Which quadrant is the point (-5, 2) in?

    View hint and full working

    Hint: Negative x and positive y means Quadrant II.

    Working
    x is negative and y is positive.
    So the point is in Quadrant II.
    Answer: quadrant ii
  3. Which quadrant is the point (-3, -6) in?

    View hint and full working

    Hint: Negative x and negative y means Quadrant III.

    Working
    x is negative and y is negative.
    So the point is in Quadrant III.
    Answer: quadrant iii
  4. Which quadrant is the point (7, -4) in?

    View hint and full working

    Hint: Positive x and negative y means Quadrant IV.

    Working
    x is positive and y is negative.
    So the point is in Quadrant IV.
    Answer: quadrant iv
  5. Is the point (0, 5) on the x-axis, y-axis, or neither?

    View hint and full working

    Hint: If x = 0, the point is on the y-axis.

    Working
    The point is (0, 5).
    x = 0, so it lies on the y-axis.
    Answer: y-axis
  6. Is the point (-6, 0) on the x-axis, y-axis, or neither?

    View hint and full working

    Hint: If y = 0, the point is on the x-axis.

    Working
    The point is (-6, 0).
    y = 0, so it lies on the x-axis.
    Answer: x-axis
  7. Reflect the point (3, -4) across the x-axis.

    View hint and full working

    Hint: Reflection across the x-axis changes the sign of y.

    Working
    Original point: (3, -4)
    Across the x-axis: x stays the same, y changes sign.
    Answer: (3, 4).
    Answer: (3,4)
  8. Reflect the point (-2, 5) across the y-axis.

    View hint and full working

    Hint: Reflection across the y-axis changes the sign of x.

    Working
    Original point: (-2, 5)
    Across the y-axis: x changes sign, y stays the same.
    Answer: (2, 5).
    Answer: (2,5)

Level 6 Substitution Into y = mx + c 8 questions · Missing values 0/8

Tip: Substitute the known x- and y-values carefully. When m or c is missing, form an equation and solve it.
  1. For y = 2x + 3, find y when x = 4.

    View hint and full working

    Hint: Substitute x = 4.

    Working
    y = 2(4) + 3
    y = 8 + 3
    y = 11.
    Answer: 11
  2. For y = -x + 5, find y when x = -2.

    View hint and full working

    Hint: Be careful with the negative sign.

    Working
    y = -(-2) + 5
    y = 2 + 5
    y = 7.
    Answer: 7
  3. For y = 3x - 1, find y when x = -3.

    View hint and full working

    Hint: Substitute x = -3.

    Working
    y = 3(-3) - 1
    y = -9 - 1
    y = -10.
    Answer: -10
  4. For y = 1/2x + 4, find y when x = 6.

    View hint and full working

    Hint: Half of 6 is 3.

    Working
    y = 1/2(6) + 4
    y = 3 + 4
    y = 7.
    Answer: 7
  5. For y = -2x - 3, find y when x = 5.

    View hint and full working

    Hint: Multiply before subtracting.

    Working
    y = -2(5) - 3
    y = -10 - 3
    y = -13.
    Answer: -13
  6. For y = 4x + c, the point (2, 11) lies on the line. Find c.

    View hint and full working

    Hint: Substitute x = 2 and y = 11.

    Working
    11 = 4(2) + c
    11 = 8 + c
    c = 3.
    Answer: 3
  7. For y = mx + 1, the point (3, 10) lies on the line. Find m.

    View hint and full working

    Hint: Substitute x = 3 and y = 10.

    Working
    10 = 3m + 1
    9 = 3m
    m = 3.
    Answer: 3
  8. Does the point (2, 7) lie on the line y = 3x + 1?

    View hint and full working

    Hint: Substitute x = 2 and check if y = 7.

    Working
    y = 3(2) + 1
    y = 6 + 1
    y = 7
    The point (2, 7) does lie on the line.
    Answer: yes

Level 7 Intercepts and Equations of Straight Lines 8 questions · y = mx + c 0/8

Tip: The y-intercept is c. To find the x-intercept, set y = 0. To write an equation, identify the gradient m and y-intercept c.
  1. Find the y-intercept of y = 3x + 6.

    View hint and full working

    Hint: The y-intercept is c in y = mx + c.

    Working
    y = 3x + 6
    c = 6
    So the y-intercept is 6, or the point (0, 6).
    Answer: 6
  2. Find the x-intercept of y = 3x + 6.

    View hint and full working

    Hint: Set y = 0.

    Working
    0 = 3x + 6
    -6 = 3x
    x = -2
    So the x-intercept is (-2, 0).
    Answer: -2
  3. Find the x-intercept of y = -2x + 4.

    View hint and full working

    Hint: Set y = 0.

    Working
    0 = -2x + 4
    2x = 4
    x = 2
    So the x-intercept is (2, 0).
    Answer: 2
  4. Write the equation of a line with slope 2 and y-intercept -3.

    View hint and full working

    Hint: Use y = mx + c.

    Working
    m = 2 and c = -3
    Equation: y = 2x - 3.
    Answer: y=2x-3
  5. Write the equation of a line with slope -1 and y-intercept 5.

    View hint and full working

    Hint: Use y = mx + c.

    Working
    m = -1 and c = 5
    Equation: y = -x + 5.
    Answer: y=-x+5
  6. A line has slope 3 and passes through (2, 10). Find the equation.

    View hint and full working

    Hint: First find c using y = mx + c.

    Working
    y = mx + c
    10 = 3(2) + c
    10 = 6 + c
    c = 4
    Equation: y = 3x + 4.
    Answer: y=3x+4
  7. A line has slope -2 and passes through (1, 3). Find the equation.

    View hint and full working

    Hint: Use the point to find c.

    Working
    y = mx + c
    3 = -2(1) + c
    3 = -2 + c
    c = 5
    Equation: y = -2x + 5.
    Answer: y=-2x+5
  8. Find the equation of the horizontal line passing through (4, -6).

    View hint and full working

    Hint: A horizontal line has equation y = constant.

    Working
    The y-value is always -6.
    Equation: y = -6.
    Answer: y=-6

Level 8 Mixed Number-Plane Skills 8 questions · Midpoint and line relationships 0/8

Tip: These questions combine midpoint, missing coordinates, parallel and perpendicular gradients, substitution and line equations.
  1. Find the midpoint of A(2, 4) and B(8, 10).

    View hint and full working

    Hint: Average the x-values and average the y-values.

    Working
    Midpoint = ((2 + 8)/2, (4 + 10)/2)
    Midpoint = (10/2, 14/2)
    Midpoint = (5, 7).
    Answer: (5,7)
  2. Find the midpoint of A(-4, 6) and B(2, -2).

    View hint and full working

    Hint: Use the midpoint formula.

    Working
    Midpoint = ((-4 + 2)/2, (6 + (-2))/2)
    Midpoint = (-2/2, 4/2)
    Midpoint = (-1, 2).
    Answer: (-1,2)
  3. The midpoint of A(2, 3) and B(x, 7) is (5, 5). Find x.

    View hint and full working

    Hint: Use the x-coordinate of the midpoint.

    Working
    (2 + x) / 2 = 5
    2 + x = 10
    x = 8.
    Answer: 8
  4. A line has slope 2. What is the slope of a parallel line?

    View hint and full working

    Hint: Parallel lines have the same slope.

    Working
    Parallel lines have equal gradients.
    So the slope is 2.
    Answer: 2
  5. A line has slope 3. What is the slope of a perpendicular line?

    View hint and full working

    Hint: Perpendicular slopes multiply to -1.

    Working
    m1 × m2 = -1
    3 × m2 = -1
    m2 = -1/3.
    Answer: -1/3
  6. Find the missing y-value if the point (4, y) lies on y = 2x - 5.

    View hint and full working

    Hint: Substitute x = 4.

    Working
    y = 2(4) - 5
    y = 8 - 5
    y = 3.
    Answer: 3
  7. Find the missing x-value if the point (x, 9) lies on y = 2x + 1.

    View hint and full working

    Hint: Substitute y = 9 and solve.

    Working
    9 = 2x + 1
    8 = 2x
    x = 4.
    Answer: 4
  8. A line goes through (0, 2) and (3, 8). Find its equation.

    View hint and full working

    Hint: Find the slope, then use the y-intercept.

    Working
    m = (8 - 2) / (3 - 0)
    m = 6 / 3
    m = 2
    The line crosses the y-axis at (0, 2), so c = 2.
    Equation: y = 2x + 2.
    Answer: y=2x+2
Straight lines and coordinate geometry

Number Plane Straight Lines: Gradient and Y-Intercept

This topic explains how points and straight lines are represented on a number plane. Students learn to read coordinates, calculate rise and run, find a line’s gradient, identify its intercepts, write the equation of a line and calculate distances between points.

  • plot and read coordinates written as (x, y);
  • understand the x-axis, y-axis, origin and quadrants;
  • calculate rise, run and gradient;
  • use and interpret y = mx + c;
  • find equations from points, gradients or intercepts;
  • calculate midpoint and distance as extension skills.

What Is a Number Plane?

A number plane, also called a Cartesian plane or coordinate plane, uses two perpendicular number lines to show the position of points and graphs.

The x-axis

The horizontal axis. Values increase as you move right and decrease as you move left.

The y-axis

The vertical axis. Values increase as you move up and decrease as you move down.

The origin

The point where the axes meet: (0, 0).

Coordinates

A point is written as (x, y). Read the x-coordinate first, followed by the y-coordinate.

Example: Plotting (3, −2)

Start at the origin. Move 3 units to the right because the x-coordinate is positive. Then move 2 units down because the y-coordinate is negative.

The axes divide the plane into four quadrants:

I (+,+), II (−,+), III (−,−), IV (+,−)

A point lying on an axis is not in a quadrant. For example, (0, 5) lies on the y-axis and (−4, 0) lies on the x-axis.

The Equation of a Straight Line

The most common form of a straight-line equation is:

y = mx + c
y
The vertical coordinate of a point on the line.
x
The horizontal coordinate of a point on the line.
m
The gradient or slope, which describes the line’s direction and steepness.
c
The y-intercept: the y-value where the line crosses the y-axis.
Example: y = 2x + 3

The gradient is m = 2. The line rises 2 units for every 1 unit it moves to the right.

The y-intercept is c = 3, so the line crosses the y-axis at (0, 3).

Gradient, Rise and Run

Gradient measures how much the y-value changes compared with the change in x. It is often described as rise over run.

m = rise ÷ run

When two coordinates are known, use:

m = (y₂ − y₁) ÷ (x₂ − x₁)
Type of line Gradient What happens as x increases?
Rises from left to right Positive The y-values increase.
Falls from left to right Negative The y-values decrease.
Horizontal line 0 The y-value stays constant, such as y = −2.
Vertical line Undefined The x-value stays constant, such as x = 4.
Important: Subtract the coordinates in the same order. If you calculate y₂ − y₁ in the numerator, calculate x₂ − x₁ in the denominator.
y₂ − y₁ = 0, so m = 0
x₂ − x₁ = 0, so the gradient is undefined

Finding the Equation of a Line From Two Points

Suppose a straight line passes through:

A(x₁, y₁), B(x₂, y₂)

Find the gradient

Use m = (y₂ − y₁)/(x₂ − x₁). Simplify the fraction where possible.

Find the y-intercept

Substitute the gradient and either known point into y = mx + c and solve for c.

Write the equation

Substitute the values of m and c into y = mx + c.

Check the equation

Substitute the other point. Its x-coordinate should produce its correct y-coordinate.

Worked example: A(2, 3) and B(6, 11)

Step 1: Find the gradient.

m = (11 − 3)/(6 − 2) = 8/4 = 2

Step 2: Substitute (2, 3) into y = mx + c.

3 = 2(2) + c
3 = 4 + c
c = −1

Step 3: Write the equation.

y = 2x − 1

Check: When x = 6, y = 2(6) − 1 = 11, so point B lies on the line.

Finding the Gradient and Y-Intercept From an Equation

When an equation is already written as y = mx + c, the gradient and y-intercept can be read directly.

Example 1
y = 3x − 4

The gradient is m = 3. The y-intercept is c = −4, which gives the point (0, −4).

When the equation is not written with y by itself, rearrange it first.

Example 2
2x + 3y = 12

Subtract 2x from both sides:

3y = −2x + 12

Divide every term by 3:

y = −(2/3)x + 4

Therefore, the gradient is −2/3 and the y-intercept is 4.

Finding the x-Intercept and Y-Intercept

Y-intercept

Set x = 0. In y = mx + c, this gives y = c, so the point is (0, c).

x-intercept

Set y = 0 and solve for x. The intercept has the form (x, 0).

Example: Find the x-intercept of y = 2x − 6
0 = 2x − 6
x = 3

The x-intercept is (3, 0).

How to Graph a Straight Line From Its Equation

You do not need a long table of values when the equation is in y = mx + c form.

Example: Graph y = (2/3)x − 1
y = (2/3)x − 1
  1. Plot the y-intercept (0, −1).
  2. Read the gradient as rise/run = 2/3.
  3. From (0, −1), move 3 units right and 2 units up to reach (3, 1).
  4. Draw a straight line through the points and extend it in both directions.

For a negative gradient, moving to the right means moving down. For example, a gradient of −3/2 can be shown by moving 2 units right and 3 units down.

Point–Slope Form: A Useful Extension

When a gradient and one point are known, another useful form is:

y − y₁ = m(x − x₁)

Substitute the known gradient and point, then expand and rearrange into y = mx + c when required. This can be quicker because it avoids finding c as a separate first step.

Parallel and Perpendicular Lines

Parallel lines

Parallel non-vertical lines have the same gradient.

m₁ = m₂

They have different y-intercepts unless they are the same line.

Perpendicular lines

For non-horizontal and non-vertical lines, perpendicular gradients are negative reciprocals.

m₁m₂ = −1

For example, a line with gradient 3 is perpendicular to a line with gradient −1/3.

Midpoint and Distance Between Two Points

These coordinate-geometry skills are often studied alongside gradient and straight lines.

Midpoint formula

M((x₁ + x₂)/2, (y₁ + y₂)/2)

The midpoint is found by averaging the two x-values and averaging the two y-values.

Distance formula

d = √((x₂ − x₁)² + (y₂ − y₁)²)

The distance formula comes from Pythagoras’ theorem. It measures the straight-line distance between two coordinates.

Example: Distance between A(2, 3) and B(4, 5)
d = √((4 − 2)² + (5 − 3)²)
d = √(2² + 2²) = √8 = 2√2 ≈ 2.83

Common Mistakes to Avoid

  • Writing a coordinate in the wrong order. Always use (x, y).
  • Using different subtraction orders in the gradient numerator and denominator.
  • Confusing the y-intercept value c with the point (0, c).
  • Reading a negative gradient incorrectly. A negative line falls as x increases.
  • Forgetting that a horizontal line has gradient 0.
  • Trying to divide by zero for a vertical line. Its gradient is undefined.
  • Reading m and c before rearranging the equation so that y is by itself.
  • Using the new value instead of the change in values when calculating rise and run.

Quick Summary

  • A coordinate is written as (x, y).
  • A straight line is commonly written as y = mx + c.
  • m is the gradient and c is the y-intercept.
  • Gradient equals rise divided by run.
  • The y-intercept is found by setting x = 0.
  • The x-intercept is found by setting y = 0.
  • Two points can be used to calculate the gradient and equation of a line.
  • Parallel lines have equal gradients; perpendicular gradients are negative reciprocals.

Trusted external learning resources

The official NSW Mathematics K–10 syllabus overview shows how linear and non-linear relationships fit within secondary mathematics. Students can also review gradient and slope at Maths Is Fun and practise linear equations and graphs at Khan Academy.

Still Unsure About Gradient or Straight-Line Equations?

Students often understand the formula but become unsure when coordinates are negative, the equation must be rearranged or the y-intercept is not given. A free assessment can identify which number-plane or algebra skills need strengthening.

View Free Assessment Times
Math Geometry Pie
Math Symbols
Maths tutor helping a student with schoolwork during a one-on-one tutoring session

Not sure whether maths tutoring is right for your child?

Book a free initial maths assessment to discuss your child’s current level, learning gaps and suitable next steps.

Years 1–10 • NSW syllabus-aligned • Face-to-face and online tutoring