Length of a segment

Explanation

The length of the segment AB, that is the distance between two points: Pythagoras' theorem for the differences of the coordinates.

coordinates of A
coordinates of

Examples

Example 1: simple

What is for and

  1. The second coordinates are the same, so only the difference of the first ones counts.
  2. .

Answer: 3

Example 2: simple

What is for and

  1. The second coordinates are the same, so only the difference of the first ones counts.
  2. .

Answer: 8

Example 3: medium

Work out the length of the segment with ends and .

  1. Differences of the coordinates: , .
  2. .
  3. .

Answer: 5

Example 4: harder

What is for and

  1. Differences of the coordinates: 3 and 4.
  2. .

Answer: 5