Length of an Interval
Length of an Interval in NSW Year 10 Core maths finds the distance between two points on the number plane (NESA outcome MA5‑LIN‑C‑01). The interval forms the longest side of a right-angled triangle whose other sides are the horizontal and vertical differences, so Pythagoras' theorem gives its length.
You will find the distance between two points, give lengths exactly as surds or rounded to one decimal place, and find perimeters of triangles and parallelograms drawn on a grid. You will also use a map scale to find real distances, check whether a triangle is isosceles or right-angled, find the radius of a circle from its centre, and find a missing coordinate from a given length. It is part of Year 10 Core Straight Line Graphs.
Theory
The length of an interval is the distance between its two endpoints. This Year 10 maths page shows how to find it for horizontal and vertical intervals, how the distance formula comes from Pythagoras' theorem, and how to use it for exact surd answers, triangle types and missing coordinates.
An interval is the part of a line between two points, its endpoints. Its length is the distance between them, always positive.
A horizontal interval has endpoints with the same \(y\)-value; its length is the difference of the \(x\)-values. A vertical interval has the same \(x\)-value; its length is the difference of the \(y\)-values.
Any other interval is the hypotenuse of a right-angled triangle with a horizontal side (the run) and a vertical side (the rise). Pythagoras' theorem then gives the length.
An exact length is left as a surd, such as \(\sqrt{13}\) or \(2\sqrt{5}\); otherwise round the decimal as asked.
The distance between \((x_1, y_1)\) and \((x_2, y_2)\):
It is Pythagoras' theorem with run \(= x_2 - x_1\) and rise \(= y_2 - y_1\):
How to find the length of an interval
- Check for a horizontal or vertical interval: if so, subtract the coordinates that differ.
- Label the points \((x_1, y_1)\) and \((x_2, y_2)\), or find the run and rise from a sketch.
- Substitute into the distance formula, square, add, then take the square root.
- Simplify a surd for an exact answer, or round as asked.
Other questions you will meet
- Perimeter of a shape: find each side, using the quick method for horizontal and vertical sides, then add. A parallelogram needs only two sides.
- Map or grid scale: find the distance in grid units, then multiply by the real length of one unit.
- Which is closer? Compare the distances, or simply compare their squares.
- Triangle type: equal sides mean isosceles. If the two shorter squares add to the longest square, it is right-angled, with the right angle opposite the longest side (Example 3).
- Circles: the radius is the distance from the centre to any point on the circle; the diameter is twice the radius. Points all the same distance from a centre lie on one circle.
- Missing coordinate: substitute the length, square both sides and solve. There are usually two answers (Example 4).
(i) the length of \(GH\)
(ii) the distance from \(G\) to the point \((4, -1)\).
(i) Sketch the interval and make a right-angled triangle under it.
| \(\text{run}\) | \(=\) | \(4 - (-4) = 8\) |
| \(\text{rise}\) | \(=\) | \(5 - (-1) = 6\) |
| \(GH\) | \(=\) | \(\sqrt{8^{2} + 6^{2}}\) |
| \(\) | \(=\) | \(\sqrt{100} = \mathbf{10} \text{ units}\) |
(ii) \((-4, -1)\) and \((4, -1)\) have the same \(y\)-value, so the interval is horizontal: \(4 - (-4) = \mathbf{8}\) units. No formula is needed.
(i) exactly, as a simplified surd
(ii) correct to one decimal place.
Label the points, then substitute into the distance formula. Brackets keep the negative signs safe.
| \((x_1, y_1)\) | \(=\) | \((-3, 2), \quad (x_2, y_2) = (3, -1)\) |
| \(JK\) | \(=\) | \(\sqrt{(3 - (-3))^{2} + (-1 - 2)^{2}}\) |
| \(\) | \(=\) | \(\sqrt{6^{2} + (-3)^{2}}\) |
| \(\) | \(=\) | \(\sqrt{36 + 9} = \sqrt{45}\) |
(i) \(45 = 9 \times 5\) and \(9\) is a perfect square.
| \(\sqrt{45}\) | \(=\) | \(\sqrt{9} \times \sqrt{5} = \mathbf{3\sqrt{5}} \text{ units}\) |
(ii)
| \(\sqrt{45}\) | \(=\) | \(6.708\ldots\) |
| \(\) | \(\approx\) | \(\mathbf{6.7} \text{ units}\) |
\((-3)^{2} = 9\), not \(-9\): a square is never negative.
Work with the squares of the lengths: they are whole numbers, and Pythagoras' theorem uses squares anyway.
| \(AB^{2}\) | \(=\) | \((5 - 1)^{2} + (3 - 1)^{2} = 16 + 4 = 20\) |
| \(BC^{2}\) | \(=\) | \((3 - 5)^{2} + (7 - 3)^{2} = 4 + 16 = 20\) |
| \(AC^{2}\) | \(=\) | \((3 - 1)^{2} + (7 - 1)^{2} = 4 + 36 = 40\) |
\(AB = BC = \sqrt{20}\), so the triangle is isosceles. Test the longest side with Pythagoras' theorem:
| \(AB^{2} + BC^{2}\) | \(=\) | \(20 + 20 = 40 = AC^{2}\) |
So the triangle is right-angled. The right angle is opposite the longest side \(AC\), at \(B\).
Put the known length into the distance formula, \(\sqrt{(4 - (-2))^{2} + (y - 1)^{2}} = 10\), and square both sides to remove the square root.
| \((4 - (-2))^{2} + (y - 1)^{2}\) | \(=\) | \(10^{2}\) |
| \(36 + (y - 1)^{2}\) | \(=\) | \(100\) |
| \((y - 1)^{2}\) | \(=\) | \(64\) |
| \(y - 1\) | \(=\) | \(8 \text{ or } -8\) |
| \(y\) | \(=\) | \(\mathbf{9} \text{ or } \mathbf{-7}\) |
Two answers make sense: \(Q\) can be \(8\) units above or \(8\) units below the level of \(P\). Check: from \((-2, 1)\) to \((4, 9)\) the run is \(6\) and the rise is \(8\), and \(\sqrt{36 + 64} = 10\).
Common pitfalls
Frequently asked questions
What is the distance formula?
The distance between \((x_1, y_1)\) and \((x_2, y_2)\) is \(\sqrt{(x_2 - x_1)^{2} + (y_2 - y_1)^{2}}\). It is Pythagoras' theorem using the run and the rise.
How do you find the length of a horizontal or vertical line?
For a horizontal interval the \(y\)-values are the same, so subtract the \(x\)-values. For a vertical interval the \(x\)-values are the same, so subtract the \(y\)-values. Take the bigger minus the smaller.
How is the distance formula related to Pythagoras' theorem?
Draw a right-angled triangle with the interval as its hypotenuse. The horizontal side is the run and the vertical side is the rise, so \(d^{2} = \text{run}^{2} + \text{rise}^{2}\).
What does exact length mean?
An exact length is left as a whole number or a surd, such as \(\sqrt{13}\) or \(2\sqrt{5}\), instead of a rounded decimal. Simplify the surd if it has a square factor.
Does it matter which point is first in the distance formula?
No. Swapping the points changes the sign of the run and the rise, but squaring makes them positive, so the length is the same.