Length of a Line Segment
Find the length of a line segment from the coordinates of its end points, first from a right-angled triangle drawn on the grid and then by a formula; give the answer as a square root or to 3 significant figures; find an unknown coordinate from a given length; and find perimeters of shapes on a grid.
Before you start
- In Secondary 2 you found the hypotenuse of a right-angled triangle by Pythagoras' theorem: square the other two sides, add, and take the square root. A length is never negative, and the answer is rounded only at the very end.
- For example, if the two shorter sides are cm and cm, the hypotenuse has so cm. If , then cm (3 s.f.).
- You have also solved an equation such as by taking square roots: or , so or .
The Length from a Right-Angled Triangle
A line segment that is neither horizontal nor vertical runs at a slant across the grid, so its length cannot be counted in squares. But it is the longest side of a right-angled triangle: go across from along a grid line, then up or down along another grid line to . The two grid lines meet at a right angle, so Pythagoras' theorem gives .
The two shorter sides are easy to find. The horizontal side runs from the -coordinate of to the -coordinate of , and the vertical side from the -coordinate of to the -coordinate of .
Example 1: The length from a drawn triangle
Find the length of the line segment joining and .
Solution
Draw and , and the right-angled triangle with as its longest side. Its right angle is at : across from and directly below .
Horizontal side: units.
Vertical side: units.
By Pythagoras' theorem,
units (3 s.f.)
The length of is units, or units correct to 3 significant figures.
The Formula for the Length
Do the same with any two points and . The right angle is at . The horizontal side is units long (or , if that is the positive one), and the vertical side is units long (or ).
These are differences, and one may come out negative. That does not matter, because each is squared: . So you need not worry which way round you subtract, and you need not draw the triangle every time.
The length of a line segment
The length of the line segment joining and is
Either point may be taken as : a difference and its negative have the same square.
Example 2: Using the formula
Find the length of the line segment joining and .
Solution
Take as and as .
and
The says that is units below . Squared, it gives , the same as . Put a negative number in brackets before squaring it: , but means .
The length of is units.
A Square Root or 3 Significant Figures
When the sum of the squares is not a perfect square, the length is a square root that does not work out exactly. Give it in the form the question asks for.
Giving a length
The exact length is the square root, such as units. Leave the number under the square root sign as it is.
Otherwise, give the length correct to 3 significant figures: work out the square root on a calculator, write down at least four figures, then round.
Round only at the end: never round the sum of the squares or a side before taking the square root.
Example 3: The exact length and the length to 3 s.f.
Find the length of the line segment joining and . Give your answer (a) as a square root, (b) correct to 3 significant figures.
Solution
and
(a) units.
(b) On a calculator, The fourth figure is , less than , so the third figure stays: units (3 s.f.).
Note that is not : add the squares first, then take the square root.
(a) units (b) units (3 s.f.)
An Unknown Coordinate from a Given Length
If the length is known and one coordinate is not, put everything you know into the formula. Square both sides to remove the square root, then solve the equation by taking square roots. There are usually two answers: the unknown point may lie on either side.
Example 4: Two possible points
The points and are units apart. Find the possible values of .
Solution
Take as and as .
Square both sides: .
Subtract from both sides: .
Take square roots: or .
So or .
Check : . Check :
Both points lie on the line , one on each side of : is units to the right of and is units to the left, and each is units above.
or
Perimeters on a Grid
The perimeter of a shape with straight sides is the sum of the lengths of its sides. A horizontal or vertical side is found by subtracting one coordinate; a slanting side by the formula. If some lengths are square roots, add the unrounded values on a calculator and round the total at the end.
Example 5: The perimeter of a triangle
The triangle has vertices , and . Find its perimeter.
Solution
is horizontal: both ends have -coordinate . So units.
units.
units.
Perimeter units.
The perimeter of triangle is units.
Example 6: A perimeter to 3 significant figures
The quadrilateral has vertices , , and . Find its perimeter, correct to 3 significant figures.
Solution
Perimeter (keying in the square roots, unrounded, on a calculator).
To 3 significant figures, the perimeter is units.
Rounding each side first gives which rounds to : wrong in the third figure. Round only the total.
The perimeter of is units (3 s.f.).
Common Mistakes
- Taking the square root of each square and adding: is , not . Add the squares first.
- Losing a minus sign: for and the horizontal side is , not .
- Squaring a negative number without brackets: . On a calculator, gives .
- Rounding too early. Keep the square roots unrounded and round only the final answer.
- Giving only one answer for an unknown coordinate. gives or .
Practice Questions
Work each question on paper before you open its solution. Give lengths that are not exact as a square root and correct to 3 significant figures. The questions get harder as you go.
Question 1
Find the length of the line segment joining each pair of points. (a) and (b) and
ShowHide solution
(a) Both points have -coordinate , so the segment is horizontal. Its length is units.
(b) Both points have -coordinate , so the segment is vertical. Its length is units.
The formula gives the same: and .
(a) units (b) units
Question 2
Find the length of each line segment. (a) and (b) and (c) and
ShowHide solution
(a)
(b)
(c)
(a) units (3 s.f.) (b) units (3 s.f.) (c) units
Question 3
The points and are marked on the grid. Read their coordinates and find the length of .
ShowHide solution
From the grid, is and is .
, ; units (3 s.f.)
Question 4
Ravi finds the length of the line segment joining and like this: Explain his mistake and find the correct length.
ShowHide solution
He lost the minus sign of : the horizontal difference is not .
Length units.
He worked out instead of . The length is units.
Question 5
The points and are units apart. Find the possible values of .
ShowHide solution
Square both sides: , so .
Take square roots: or .
So or .
Check : Check :
or
Question 6
The point lies to the right of the -axis, and its distance from is units. Find the value of .
ShowHide solution
so .
, so or : or .
is to the right of the -axis, so its -coordinate is positive: .
Check:
Question 7
Triangle has vertices , and . (a) Find the length of each side, and show that the triangle is scalene. (b) Find its perimeter, correct to 3 significant figures.
ShowHide solution
(a)
The three lengths are all different, so the triangle is scalene.
(b) Perimeter
(a) , , units: all different, so scalene. (b) units (3 s.f.)
Question 8
The kite has vertices , , and . Find its perimeter, correct to 3 significant figures.
ShowHide solution
Perimeter
The perimeter is units (3 s.f.).
Question 9
A map is drawn with axes in kilometres. A delivery drone flies in straight lines from its base to a block of flats , then to a clinic , and then straight back to . Find the total distance it flies, correct to 3 significant figures.
ShowHide solution
km
km
km
Total km
The drone flies km (3 s.f.).
Question 10
On a school field, positions are given by coordinates in metres, with the coach at the origin. Aisha stands at and Ben stands at . Who is closer to the coach, and by how much? Give your answer correct to 3 significant figures.
ShowHide solution
Aisha: m.
Ben: m.
Difference m. The fourth figure is , so the third figure goes up: m.
Aisha is closer, by m (3 s.f.).
Question 11
The points are , and , where is not the same point as . Given that , find the value of .
ShowHide solution
so and .
or : or .
If , then is , which is the point . So .
Check:
Key Points
- A slanting line segment is the longest side of a right-angled triangle whose other two sides lie along grid lines; Pythagoras' theorem gives its length.
- The length of the line segment joining and is
- Either point may come first: each difference is squared. Put negative numbers in brackets.
- Give the exact length as a square root, such as units, or round it to 3 significant figures at the end.
- An unknown coordinate from a given length: square both sides, then take square roots. There are usually two answers.
- A perimeter is the sum of the side lengths: add the unrounded values and round the total.