Matheminate

Coordinate Geometry Practice

Calculate gradients, midpoints, distances between points, straight-line equations y = mx + c, and parallel or perpendicular slopes.

Open this practice ladder →Learn Coordinate Geometry

What a straight line actually tells you

A straight line has two numbers that describe it completely: a direction, called the gradient, and a starting height, called the intercept. Written as y = mx + c, m is the gradient and c is where the line crosses the y-axis. Everything else on this page is a method for recovering one of those numbers from points on the line.

Gradient is rise over run: the change in y divided by the change in x. A midpoint is the average of the two x values and the average of the two y values, which places it exactly halfway along. Distance between two points uses the right triangle under them, with the horizontal and vertical gaps as the two shorter sides, so Pythagoras supplies the third. A positive gradient rises as you move from left to right; a negative one falls. A horizontal line has gradient 0 because its height does not change. A vertical line has no defined gradient because its horizontal change is zero, and division by zero is not allowed.

What this ladder covers

Plotting a point starts the ladder, and the equation of a line through two points finishes it.

Worked examples

Find the midpoint of (2, 4) and (6, 10). Average each coordinate: x = (2 + 6) ÷ 2 = 4 and y = (4 + 10) ÷ 2 = 7, so the midpoint is (4, 7). Both averages are needed; one alone names a line rather than a point.

Find the gradient through (1, 2) and (5, 10). The change in y is 10 − 2 = 8 and the change in x is 5 − 1 = 4, so m = 8 ÷ 4 = 2. The line climbs two units for every one it moves right.

Find the distance from (0, 0) to (3, 4). The gaps are 3 and 4, so the distance is √(3² + 4²) = √(9 + 16) = √25 = 5. Squaring first and adding afterwards is what turns two separate gaps into one length.

Write the equation of the line through (0, 1) with gradient 3. The point on the y-axis gives the intercept directly, so c = 1, and the equation is y = 3x + 1. No substitution is needed when one of the points already sits on the axis.

Find the line through (2, 5) and (4, 9). The gradient is (9 − 5) ÷ (4 − 2) = 4 ÷ 2 = 2. Using (2, 5): 2 × 2 + c = 5, so c = 1 and the equation is y = 2x + 1. Substituting (4, 9) gives the same intercept, which is the check worth doing.

Mistakes worth watching for

Gradient means the change in y divided by the change in x, in that order.

How the ladder works

There are six rungs here, opening with five Warm-Up questions and ending with eight or nine at Mastery. Clearing one takes 80% of first attempts, all six are open from the first visit, and a retry supplies fresh points.

Practice Coordinate Geometry

Keep going

Draw a set of grid questions from the coordinate geometry worksheet generator, plot two points and read the line off the graphing calculator, or return to linear equations to practise rearranging the same relationship without a grid.

Your privacy

No account is needed. Practice progress is stored on your device. We use cookie-free, non-identifying page-view analytics; see the privacy policy. Practice and lessons are ad-free. Advertising is currently disabled.