maths.free › Geometry › Coordinate geometry

Coordinate geometry

Distance, midpoint, slope and the equation of a line.

Coordinates turn geometry into algebra. The distance between two points is Pythagoras; the midpoint is an average; the slope is rise over run; and slope plus a point gives the line's equation.

Worked example · line through (0,1) and (2,5)

Line through (0,1) and (2,5)

0,\ 1,\ 2,\ 5

Step by step

  1. m = \frac{\Delta y}{\Delta x} = \frac{4}{2} = 2

    Slope = rise over run.

  2. y - 1 = 2(x - 0)

    Point-slope form through P.

  3. y = 2 x + 1

    Slope-intercept form.

Reveal the answer
y = 2 x + 1

Now you Pick a problem, or type or draw your own. Every step, a picture, the answer hidden until you ask.

Keep your own working

A free account adds notes on every lesson, a record of what you have finished, your solved problems in one place, and a tutor you can ask about this page. The maths itself is open to everyone, signed in or not.

Sign Up Login

Symbols used here

Tap any symbol for the full definition, a picture, and what every letter in it means.

How to: Coordinate geometry

  1. Slope = rise over run.
  2. Point-slope form through P.
  3. Slope-intercept form.

Questions people ask

Why does every triangle have angles adding to 180°?

Draw a line through one vertex parallel to the opposite side: the two alternate angles equal the other two angles of the triangle, and the three angles at the vertex lie on a straight line. That is Euclid's proof, and it is why the fact holds only on a flat plane.

When do I use the law of sines versus the law of cosines?

Cosines when you know three sides, or two sides and the angle between them. Sines when you know an angle and the side opposite it, plus one more piece.

What is the difference between area and perimeter?

Perimeter is the length of the boundary (one dimension, measured in metres); area is the amount of surface inside (two dimensions, square metres). Doubling every side doubles the perimeter but quadruples the area.

More in Geometry