İnteraktif Dersler

Distance and dividing a segment

Lecture notes

Definition

Distance on a number line

The distance between the numbers and on a number line is : subtract and drop the sign. A distance is never negative, and .
−4−202468
Example
From to : . From to : , the same.
Definition

Horizontal and vertical segments

Two points on one row have the same : the distance is . Two points on one column have the same : the distance is . Only one coordinate changes, so the number-line rule is enough.
xy(−4,3)(2,3)(4,−3)(4,1)64
Example
and are on one row: . and are on one column: .
Definition

The legs dx and dy

For a slanted segment from to call (across) and (up or down). They have a sign: a negative means is to the left of . The point completes a right triangle whose legs run along the grid lines: and .
xy(−3,−2)(4,3)75
Example
From to : and . The legs are and .
Rule

The distance formula

The segment is the hypotenuse of the right triangle , so by Pythagoras and . Squaring removes the signs, so the order of the points does not matter.
xy(−2,−2)(2,1)435
Example
, : , , so .
Rule

Exact value and decimal

If is not a perfect square, leave the root (, simplified when you can: ) and give a decimal only when it is asked for.
Example
and : , , .
Rule

Distance from the origin

From the origin to the legs are and , so . This is the special case of the formula with .
xy(−3,4)345O
Example
: .
Definition

The midpoint

The midpoint of and has the mean of the coordinates: . It is the same distance from and from .
xy(−4,−1)(2,5)(−1,2)
Example
, : .
Rule

An end from the midpoint

If is the midpoint of and you know and , then is as far from as is, on the other side: and .
Example
, : .
Definition

Dividing a segment: inside

A point on the segment with cuts into equal parts and is parts from . Its coordinates are : the number next to () multiplies the coordinates of .
xy(−4,−3)(5,3)P
Example
, , : and , so .
Rule

The fraction of the way

The same point is with : go the fraction of the way in and in . For we get and is the midpoint.
Example
, , : , so .
Rule

Why it works: similar triangles

Draw the horizontal line through and the vertical lines through and ; they meet it at and . The right triangles and share the angle at , so they are similar and . That is the formula, one coordinate at a time.
xyABPST
Example
, , : and , and , which is for .
Rule

Dividing a segment: outside

If is on the line but outside the segment and with , then . The only change is the minus sign.
xy(−3,−2)(3,1)(1,0)
Example
, , : and , so , beyond .
Rule

Which side of the segment?

Outside, lies beyond when (then is the longer part) and beyond when . Inside, is nearer to when . For there is no outside point.
Example
Outside with : , so is beyond . Outside with : , so is beyond .
Rule

The ratio from a given point

If is on and you know all three points, compare the differences along one axis: . The -differences give the same ratio.
Example
, , : the -differences are and , so ; the -differences and agree.
Definition

The centroid of a triangle

The centroid of the triangle with vertices , , has the mean of the three coordinates: . It lies on every median and divides it from the vertex.
xy(−1,−1)(5,−1)(2,5)MG
Example
, , : . The midpoint of is , and , .
Rule

The kind of a triangle from its sides

Find , and with the distance formula. Two equal squares: isosceles; three equal: equilateral. If the biggest equals the sum of the other two (), the angle opposite it is a right angle. Compare the squares, not the roots.
xy(1,5)(4,2)(7,5)181836
Example
, , : , , . Right-angled and isosceles, with the right angle at .
Rule

Perimeter and area from coordinates

The perimeter is the sum of the three distances. When the triangle has a right angle, take its legs as base and height: area (base , height ). Two sides along the axes make this easy.
Example
, , : , , , so the perimeter is . The right angle is at : area .
Rule

Three points on one line

Three points , , are collinear exactly when the longest of , , equals the sum of the other two. Compare the distances (not their squares) and keep the roots exact.
Example
, , : , , . The points are collinear.
Rule

Maps: as the crow flies and along the streets

On a map with km per square, the straight distance (as the crow flies) is . Along a grid of streets you walk the legs: , which is never shorter. A real road lies in between or is longer.
xy(−2,−1)(2,2)43
Example
, , 1 square = 2 km: straight km; along the streets km.
Rule

Is a home in the range of a mast?

A phone mast reaches every point whose distance from is at most the range : these points fill the circle with centre and radius . A home is in range when . Squaring both sides gives the same test without a root: , with . Compare squares with squares.
xyH₁MH₂
Example
Mast , range km, square km. Home : , in range. Home : , out of range.
Rule

A point equally far from two towns

A station must be equally far from the towns and : , so . Write both with the distance formula. If lies on the -axis it is , the terms cancel and an equation of the first degree is left. The station lies on the line that cuts at a right angle through its midpoint.
xyA(0,3)B(4,1)C(1,0)
Example
, , : , so and , . Check: and .
Rule

Latitude and longitude on a flat map

On a flat map of a small area one degree of latitude is about km. One degree of longitude is about km, because the meridians come closer towards the poles. So , and . The result is a flat-map estimate, not the exact distance over the earth.
Example
Two places at latitude , degrees of longitude apart: , so km. Two places degrees east and degrees north of each other near the equator: , , km.
Rule

Distance, time and the length of a trip

Divide a distance by the speed to get the time: . On a trip along several straight pieces add the lengths of the pieces: is at least , and equal only when lies on the segment .
Example
A drone flies from to at km/h: km and h minutes.
Tip

Know the right-angled triples

If the legs are and (or and , and , and ) the distance is a whole number: , , , . Spot them before you reach for the calculator.
Example
to : the legs and are times and , so .
Tip

Sketch first, then check the size

Plot the points on a quick sketch. The distance is at least the larger of and and at most . The midpoint lies between the ends and the centroid inside the triangle. An answer outside these limits is wrong.
Example
and : must be between and . The answer fits; is the walk along the legs.
Tip

Test a conjecture

A conjecture is a guess like “the distance is ”. Test it on an axis-parallel pair and on a slanted pair. One case that fails is enough to throw it out; cases that work are not a proof, the reason is (Pythagoras, similar triangles).
Example
“” works for and but fails for and : .
Tip

Four stages for a real-life problem

Work in four stages: what is given and what is wanted, which relation connects them, the work, and a check against a sketch or a second route. Say what you assumed (a flat map, a straight route): a model is only as good as its data.
Example
Mast: given , and ; wanted: in range or not; relation ; work ; check: on the sketch is inside the circle.
Watch out!

Adding the legs

A common mistake is . That is the length of the walk along the grid; the straight distance needs the squares and the root.
Example
to : is the walk; the distance is .
Watch out!

Stopping early or splitting the root

Two slips: stopping at (that is , not ) and writing as . The root of a sum is not the sum of the roots.
Example
to : is , so . And , not .
Watch out!

Sign slips with negative numbers

Write the subtraction with brackets: , not . After squaring the sign does not matter, but a slip before squaring changes the number.
Example
, : and , so .
Watch out!

Swapping m and n

In the point is parts from , so gets the weight : . Writing gives the point for the ratio , the mirror image. Check: when , must be nearer to .
Example
, , : , nearer to as it should be. Swapped it would give .
Watch out!

A distance against a squared distance

is a squared distance and the range is a distance. Compare with , or with , never with .
Example
and : would say “out of range”, but the right test is : in range.
Watch out!

Degrees are not kilometres

A difference in degrees must be multiplied by km per degree, and a difference in longitude also by . Using and in degrees as if they were km gives a distance that is far too small.
Example
degrees of latitude are km, not km.
Special case

Special cases

Equal points: . Same row or column: one leg is and the formula gives or . With the inside point is the midpoint and the outside point does not exist, because .
Example
and : , so . For the point is the midpoint.

Exercises

Find the distance between and , and between and . Easy
Show solution
and have the same : .
and have the same : .
Answer → and
Check: count the grid squares between the points: 7 in both cases.
Find the distance between and . Easy
xy(−1,−2)(2,2)
Show solution
The legs: and .
Pythagoras: .
So .
Answer →
Check: is longer than each leg ( and ) and shorter than .
Find the midpoint of and . Easy
Show solution
.
.
Answer →
Check: from to you go across and down, and from to again across and down.
How far is the point from the origin? Easy
Show solution
From the legs are and .
.
Answer →
Check: and are twice and , so the distance is twice .
A phone mast stands at and reaches km (1 square = 1 km). Is a home at in range? Easy
xyH₁M
Show solution
and , so .
and .
Answer → yes, in range ()
Check: on the figure the home is inside the circle of the range.
A drone flies from to (1 square = 1 km) at km/h. How many minutes does the flight take? Easy
Show solution
km.
h h minutes.
Answer → minutes
Check: km/h is km per minute, and .
Find the exact distance between and and give it to 2 decimal places. Medium
Show solution
and .
.
.
Answer →
Check: the distance must be between (the larger leg) and (the sum of the legs): fits.
is the midpoint of and is . Find . Medium
Show solution
is as far from as is, on the other side: .
.
Answer →
Check: the midpoint of and is .
is on the segment with , and . Find . Medium
Show solution
Here , and .
.
.
Answer →
Check: is of the way from : and .
A plot has corners , and (1 unit = 1 m). Find its perimeter and its area. Medium
xy(−2,−1)(2,−1)(2,2)
Show solution
and lie along the grid lines.
, so the perimeter is m.
The right angle is at : area m².
Answer → perimeter m, area m²
Check: , so the angle at really is right.
Find the centroid of the triangle with vertices , and . Medium
Show solution
The centroid has the mean of the three coordinates.
.
.
Answer →
Check: must lie inside the triangle; is between the vertices in both coordinates.
A station on a straight railway (the -axis) must be equally far from the towns and . Find . Medium
xyA(1,4)B(5,2)
Show solution
: .
, so and .
Answer → , so
Check: and .
On a flat map one degree is km in both directions. Place is degrees east and degrees north of place . How far apart are they, in km? Medium
Show solution
km and km.
km.
Answer → km
Check: it is the -- triangle scaled by .
Two places at latitude are degrees of longitude apart. How far apart are they, in km, on a flat map? Medium
Show solution
One degree of longitude is km.
km.
Answer → km
Check: at the equator it would be km; here it is half of that.
is on the line , outside the segment, with , and . Find . Hard
Show solution
Outside: , so is beyond .
.
.
Answer → , beyond
Check: to is and to is : three times as long, in the opposite direction.
A point on the -axis is equally far from and . Find . Hard
Show solution
Write the squares: and .
Set them equal: .
The cancels: , so .
Answer → , so
Check: and .
Which kind of triangle has the vertices , and ? Find its perimeter and area. Hard
Show solution
The squares of the sides: , , .
Two equal squares: isosceles. And : right-angled, with the right angle at .
Perimeter: .
Area: .
Answer → right-angled isosceles, perimeter , area
Check: the base and the height from is (from up to ): area .
Are , and on one line? If so, in which ratio does divide ? Hard
Show solution
, , .
The longest is and : equal, so the points are on one line.
lies between and with .
Answer → yes, collinear,
Check with the -differences: and , so ; the -differences and give too.
Two towns are at and (coordinates in km). Two friends meet at on the straight road, with . Find and the distance from to . Hard
Show solution
Here , , so .
The whole road: km.
is of the road: km.
Answer → and km
Check: km and km, so .
A courier goes from to and then to in straight lines (1 square = 1 km), at km/h. How many minutes does the whole trip take? Hard
Show solution
: , , so km.
: , , so km.
The trip is km, so h minutes.
Answer → minutes
Check: both legs use the triples -- and --; km/h is km in half an hour.
A mast at reaches km. A home at with is exactly on the edge of the range. Find . Is a home at in range? Hard
Show solution
On the edge : , so and .
: and .
, so is inside.
Answer → ; yes, is in range
Check: ; the right-triangle --.
Are you a teacher?

Start live lessons with these applications for your whole class. Free to try for one month.

Try it free

Fits these school years

IB (MYP, Diploma): MYP 5

Cambridge International: Lower Secondary, stage 7, IGCSE, Lower Secondary, stage 8, Lower Secondary, stage 9

Netherlands: Havo · Mathematics B, Vwo · Mathematics B

Türkiye (MEB): Year 10 (MEB)

England (GCSE, A Level): Year 10 (GCSE), Year 11 (GCSE)

USA (Common Core): Grade 8, Geometry

What the applications of this topic teach 4 applications

Distance between two points: right triangle and formula

  • Guessing the distance between two points before measuring
  • Finding the distance on one row or column with |x₂ − x₁|
  • Using the right triangle for the distance formula
  • Spotting wrong working: sign slip, added legs, forgotten root

Dividing a segment in a ratio m : n

  • Finding the point that divides a segment in the ratio m : n
  • Finding a point that divides a segment outside
  • Finding the midpoint and the centroid, which divides a median 2 : 1
  • Finding the ratio in which a given point divides a segment

Coordinates in problems: triangles, lines of points, maps and GPS

  • Using the distance formula for the kind, perimeter and area of a triangle
  • Deciding with distances whether three points are on one line
  • Finding distance as the crow flies and along the streets
  • Finding a meeting point on a straight route

Distances and positions in everyday life

  • Deciding if a home is in range of a phone mast
  • Finding the point of a road equally far from two towns
  • Finding the distance between places from latitude and longitude
  • Testing a claim about distance with numbers