Coordinate geometry: points, midpoints and distances
Coordinate geometry turns a diagram into algebra. A point is described by an ordered pair, and lengths and positions can be calculated exactly rather than estimated from a drawing.
These foundations support straight lines, circles, vectors, calculus and mechanics. The formulae are simple, but signs, subtraction order and exact values need care.
Before you begin
Section titled “Before you begin”You should be able to:
- work confidently with negative numbers;
- substitute into formulae;
- square integers and simplify square roots;
- use Pythagoras’ theorem.
Review exact arithmetic, indices, roots and surds or Pythagoras and trigonometry if needed.
Coordinates are ordered pairs
Section titled “Coordinates are ordered pairs”A point in the Cartesian plane has coordinates
The first coordinate gives horizontal position and the second gives vertical position. Starting at the origin :
- positive means move right;
- negative means move left;
- positive means move up;
- negative means move down.
Order matters. The points and are different.
The axes split the plane into four quadrants:
| Quadrant | Sign of | Sign of |
|---|---|---|
| I | ||
| II | ||
| III | ||
| IV |
A point on an axis is not in any quadrant. For example, is on the axis and is on the axis.
Worked example 1: reflect a point
Section titled “Worked example 1: reflect a point”Let .
- Reflection in the axis changes the sign of the coordinate:
- Reflection in the axis changes the sign of the coordinate:
- Reflection in the origin changes both signs:
- Reflection in the line swaps the coordinates:
These rules follow from geometry. They are not all versions of “change the signs”.
Horizontal and vertical change
Section titled “Horizontal and vertical change”Suppose
Moving from to produces the signed changes
The symbol means change in. A negative change is meaningful: it records leftward or downward movement.
Worked example 2: calculate a displacement
Section titled “Worked example 2: calculate a displacement”For and ,
and
Thus the move from to is units right and units down. Reversing the journey reverses both signs:
This ordered change is also the vector from to . See vectors for vector notation and operations.
The midpoint of a line segment
Section titled “The midpoint of a line segment”The midpoint lies halfway between the endpoints in both coordinate directions. For and ,
This is simply the mean of the two coordinates and the mean of the two coordinates.
Worked example 3: find a midpoint
Section titled “Worked example 3: find a midpoint”Find the midpoint of and .
Check geometrically. From to the change is , and from to it is also . Therefore really is halfway along the segment.
Worked example 4: recover a missing endpoint
Section titled “Worked example 4: recover a missing endpoint”The midpoint of and is . Find .
Use each coordinate separately:
Hence
A quicker check is that , so .
Common misconception: halve each coordinate
Section titled “Common misconception: halve each coordinate”The midpoint of and is not or . You must first add corresponding coordinates, then divide by :
Distance between two points
Section titled “Distance between two points”The horizontal and vertical changes between and form the perpendicular sides of a right angled triangle. By Pythagoras’ theorem,
Since distance is non-negative,
Subtraction order does not affect the distance because each difference is squared. It is nevertheless safest to use one consistent order.
Worked example 5: calculate an exact distance
Section titled “Worked example 5: calculate an exact distance”Find the distance between and .
First find the coordinate changes:
Then
The sign of describes direction, but its contribution to length is .
Worked example 6: simplify a surd distance
Section titled “Worked example 6: simplify a surd distance”Find the distance from to .
Because has no square factor greater than , is the exact answer. A decimal approximation is
Unless a question requests a decimal or stated accuracy, keep the exact surd.
Special cases
Section titled “Special cases”If two points have the same coordinate, their separation is horizontal:
If they have the same coordinate, their separation is vertical:
The absolute value is necessary because a length cannot be negative.
Common misconception: adding coordinate changes
Section titled “Common misconception: adding coordinate changes”For a move units right and units up, the straight line distance is not . That sum is the length of a route along the two perpendicular sides. The direct distance is
Dividing a segment in a given ratio
Section titled “Dividing a segment in a given ratio”Midpoint is the special case of dividing a segment in the ratio . More generally, suppose divides the segment from to internally so that
Then is the fraction of the way from to :
In coordinates,
Notice the crossed weights. The coefficient of is , while the coefficient of is . The movement form is often easier to remember and less prone to error.
Worked example 7: divide a segment
Section titled “Worked example 7: divide a segment”Points and are joined. Point satisfies . Find .
Because the whole segment contains equal parts, is one third of the way from to .
One third of this change is , so
Check:
Therefore , as required. A point in a ratio is closer to , not closer to .
Using coordinates to prove geometric facts
Section titled “Using coordinates to prove geometric facts”A diagram can suggest a result, but coordinate calculations can establish it. Useful tests include:
| Claim | Coordinate evidence |
|---|---|
| Same point | both coordinates are equal |
| Same midpoint | midpoint formula gives identical coordinates |
| Equal lengths | squared distances are equal |
| Point lies on perpendicular bisector of | its distances from and are equal |
| Parallelogram | diagonals have the same midpoint |
| Isosceles triangle | two side lengths are equal |
When comparing lengths, use squared distances. This avoids unnecessary square roots: for non-negative lengths, exactly when .
Worked example 8: prove a triangle is isosceles
Section titled “Worked example 8: prove a triangle is isosceles”Let , and . Show that triangle is isosceles.
Calculate squared side lengths:
Thus , so . Therefore
Naming the equal sides also identifies the vertex where they meet.
Worked example 9: prove a quadrilateral is a parallelogram
Section titled “Worked example 9: prove a quadrilateral is a parallelogram”Let , , and . Prove that is a parallelogram.
The midpoint of diagonal is
The midpoint of diagonal is
The diagonals therefore bisect each other. Hence is a parallelogram.
This argument proves more than a sketch could. It uses a defining property of parallelograms.
Worked example 10: find a point from equal distances
Section titled “Worked example 10: find a point from equal distances”Point is equidistant from and . Find .
Equate squared distances:
Therefore
Expand and simplify:
The terms cancel because the set of points equidistant from two fixed points is a straight line, the perpendicular bisector of .
A reliable problem solving routine
Section titled “A reliable problem solving routine”For a coordinate geometry problem:
- Label every point clearly.
- Identify the required object: a point, signed change, midpoint or length.
- Write the relevant formula before substituting.
- Keep one subtraction order throughout each calculation.
- Use brackets around negative coordinates.
- Keep exact surds unless approximation is requested.
- Check the result against the diagram’s broad geometry, but never trust a diagram as proof.
For example, writing is safer than trying to manage two signs mentally.
Self-check
Section titled “Self-check”Try these without looking back.
- In which quadrant is ? What is its reflection in the axis?
- Find the signed horizontal and vertical changes from to .
- Find the midpoint of and .
- The midpoint of and is . Find .
- Find the exact distance between and .
- Point is two fifths of the way from to . Find .
- Points , and form a triangle. Show that it is isosceles.
- Point is equidistant from and . Find .
Answers
Section titled “Answers”- Quadrant III. Reflection in the axis: .
- and .
- .
- .
- .
- , so .
- and , so .
- , giving and .
What to learn next
Section titled “What to learn next”Continue to straight-line graphs to turn coordinate changes into gradients and equations. Then study circle geometry, where distance from a fixed centre becomes the defining idea.
For the full A-level treatment, including perpendicular lines and intersections, see straight lines in coordinate geometry. Coordinate displacement also becomes more powerful in vectors.