Length of a segment

Explanation

The coordinate differences are the legs of a right triangle, and the segment is its hypotenuse.

differences of the and coordinates

Examples

Example 1: simple

The points and . What is the length of segment AB?

  1. We use the relation: Build a right triangle from the coordinate differences.
  2. Substituting the data: .

Answer: 5

Example 2: simple

The points and . What is the length of segment AB?

  1. We use the relation: Build a right triangle from the coordinate differences.
  2. Substituting the data: .

Answer: 17

Example 3: medium

A rectangle has opposite vertices and and sides parallel to the axes. What is its perimeter?

  1. We use the relation: The sides are the coordinate differences.
  2. Substituting the data: .

Answer: 20

Example 4: harder

A triangle has vertices , and . What is its area?

  1. We use the relation: The base AB is horizontal; the height is the difference of the -coordinates.
  2. Substituting the data: : .

Answer: 12.5