Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Methods (Unit 1 & 2) Coordinate Geometry And Linear Relations

Distance And Midpoints

20 practice questions 1 video lesson Theory + worked examples

The distance and midpoint formulas are a foundational skill assumed for Queensland Year 11 Mathematical Methods (QCAA). The distance between two points is the length of the interval joining them, and the midpoint is the point halfway along it.

You will find a length using Pythagoras' theorem on the horizontal and vertical gaps, average coordinates to locate a midpoint, and solve for an unknown coordinate — core skills in coordinate geometry.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Distance And Midpoints - Video - Find the distance and midpoint between two points Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

In Year 11 Mathematical Methods (QCAA), the distance between two points and the midpoint of the interval joining them are the first tools of coordinate geometry. The distance comes from Pythagoras' theorem, \(d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\), and the midpoint is the average of the endpoints, \(M=\left(\dfrac{x_1+x_2}{2},\,\dfrac{y_1+y_2}{2}\right)\). This page shows how to compute both, work in exact surd form, and solve reverse problems.

The distance between \(A(x_1,y_1)\) and \(B(x_2,y_2)\) is the length of the interval \(AB\). Drawing the horizontal and vertical gaps forms a right-angled triangle whose hypotenuse is \(AB\), so Pythagoras' theorem gives the length. The gaps are \(x_2-x_1\) and \(y_2-y_1\); their order does not matter because each is squared.

The midpoint \(M\) of the interval \(AB\) is the point exactly halfway between the two endpoints. Each coordinate of \(M\) is the average of the matching coordinates of \(A\) and \(B\).

Distance squares, midpoint averages. For a length, square the two gaps, add, then take the square root. For a midpoint, add the two \(x\)-values and halve, then do the same for the \(y\)-values.
Distance as the hypotenuse of a right triangleThe distance AB is the hypotenuse of a right triangle whose legs are the horizontal and vertical gaps. x y A B run rise
The distance \(AB\) is the hypotenuse of a right triangle with legs \(x_2-x_1\) and \(y_2-y_1\).
The midpoint of an intervalThe midpoint M sits halfway along the interval AB; each coordinate is the average of the endpoints. x y A B M
The midpoint \(M\) is halfway along \(AB\); each coordinate is an average.

For points \(A(x_1,y_1)\) and \(B(x_2,y_2)\), the distance is

\[d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\]
d=(x2-x1)2+(y2-y1)2

and the midpoint is

\[M=\left(\dfrac{x_1+x_2}{2},\;\dfrac{y_1+y_2}{2}\right)\]
M=(x1+x22,y1+y22)
Exact vs decimal: leave the distance as a simplified surd such as \(2\sqrt{13}\) for an exact answer, or evaluate it (\(\approx 7.21\)) when a decimal is asked for.

How to find a distance or a midpoint

  1. Label the points as \((x_1,y_1)\) and \((x_2,y_2)\) so every substitution is clear.
  2. For distance, find the gaps \(x_2-x_1\) and \(y_2-y_1\), square each, add them, then take the square root and simplify the surd.
  3. For a midpoint, average the \(x\)-values and average the \(y\)-values to get \(M\).
Example 1 — Midpoint of an interval
Find the midpoint of the interval joining \(A(-3,\,2)\) and \(B(5,\,8)\).
Solution

Average the \(x\)-coordinates:

\(\dfrac{x_1+x_2}{2}\)\(=\)\(\dfrac{-3+5}{2}\)
\(=\)\(\dfrac{2}{2}\)
\(=\)\(1\)

Average the \(y\)-coordinates:

\(\dfrac{y_1+y_2}{2}\)\(=\)\(\dfrac{2+8}{2}\)
\(=\)\(\dfrac{10}{2}\)
\(=\)\(5\)

Midpoint: \(M=(1,\,5)\).

Midpoint of A and BInterval from A at negative 3, 2 to B at 5, 8 with midpoint M at 1, 5. x y A B M
M=(1,5)
Example 2 — Distance between two points
Find the distance between \(A(1,\,2)\) and \(B(7,\,10)\).
Solution

Find the two gaps:

\(x_2-x_1\)\(=\)\(7-1=6\)
\(y_2-y_1\)\(=\)\(10-2=8\)

Substitute into the distance formula:

\(d\)\(=\)\(\sqrt{6^2+8^2}\)
\(=\)\(\sqrt{36+64}\)
\(=\)\(\sqrt{100}\)
\(=\)\(10\)

Distance: \(AB=10\) units.

Distance from A to BRight triangle with horizontal leg 6 and vertical leg 8 giving hypotenuse 10. x y A B
d=10
Example 3 — Exact distance (surd form)
Find the exact distance between \(A(-2,\,1)\) and \(B(4,\,5)\).
Solution

Find the two gaps:

\(x_2-x_1\)\(=\)\(4-(-2)=6\)
\(y_2-y_1\)\(=\)\(5-1=4\)

Substitute, then simplify the surd:

\(d\)\(=\)\(\sqrt{6^2+4^2}\)
\(=\)\(\sqrt{36+16}\)
\(=\)\(\sqrt{52}\)
\(=\)\(\sqrt{4\times 13}\)
\(=\)\(2\sqrt{13}\)

Exact distance: \(AB=2\sqrt{13}\) units.

Exact distance from A to BRight triangle with legs 6 and 4 giving hypotenuse two root thirteen. x y A B
d=213
Example 4 — Finding an endpoint from the midpoint
\(M(3,\,-1)\) is the midpoint of the interval joining \(A(-2,\,4)\) and \(B\). Find \(B(x,\,y)\).
Solution

The \(x\)-average equals \(3\):

\(\dfrac{-2+x}{2}\)\(=\)\(3\)
\(-2+x\)\(=\)\(6\)
\(x\)\(=\)\(8\)

The \(y\)-average equals \(-1\):

\(\dfrac{4+y}{2}\)\(=\)\(-1\)
\(4+y\)\(=\)\(-2\)
\(y\)\(=\)\(-6\)

Endpoint: \(B=(8,\,-6)\).

Finding an endpoint from the midpointA at negative 2, 4 and midpoint M at 3, negative 1 give the far endpoint B at 8, negative 6. x y A B M
B=(8,-6)

Common pitfalls

Subtracting midpoint coordinates. The midpoint uses a plus sign: you add the coordinates and halve, \(\dfrac{x_1+x_2}{2}\). Subtracting is for the distance gaps only.
Forgetting to square both gaps. The distance is \(\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\); you must square each gap before adding, not add then square.
Leaving a surd unsimplified. \(\sqrt{52}\) is not fully simplified; pull out the largest square factor to get \(2\sqrt{13}\).

Frequently asked questions

What is the distance formula?

For \(A(x_1,y_1)\) and \(B(x_2,y_2)\), \(d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\). It is Pythagoras' theorem applied to the horizontal and vertical gaps.

What is the midpoint formula?

\(M=\left(\dfrac{x_1+x_2}{2},\,\dfrac{y_1+y_2}{2}\right)\) — the average of the two \(x\)-values and the average of the two \(y\)-values.

Does it matter which point I call point one?

For distance, no — each gap is squared, so the order does not change the answer. For a midpoint the addition is symmetric, so order does not matter either.

When should I leave the distance as a surd?

Leave it as an exact simplified surd (for example \(2\sqrt{13}\)) unless the question asks for a decimal, in which case evaluate it and round as instructed.

How do I find an endpoint when I know the midpoint?

Set each midpoint coordinate equal to its average and solve. For example, \(\dfrac{x_1+x}{2}=M_x\) gives \(x=2M_x-x_1\).