A section of Vectors and the Geometry of Space: 3D Coordinate Systems: the full video with all its notes is on that page.
Notes: Distance Formula in 2D and 3D and Their Proofs
Written notes — from Vectors and the Geometry of Space: 3D Coordinate Systems.
Distance Formula in 2D
Recall the 2D distance formula between 2 points.

The familiar formula for the distance between two points in a plane is easily extended to the following three-dimensional formula:
Distance Formula in Three Dimensions
The distance |P1P2| between the points P1(x1, y1, z1) and P2(x2, y2, z2) is:

Proof:
To see why this formula is true, we construct a rectangular box as in the figure below, where P1 and P2 are opposite vertices and the faces of the box are parallel to the coordinate planes.

Because triangles P1BP2 and P1AB are both right-angled, two applications of the Pythagorean Theorem give:

Example 4
The distance from the point P(2, -1, 7) to the point Q(1, -3, 5) is:

- Watch on: YouTube
- Full video and written notes: Vectors and the Geometry of Space: 3D Coordinate Systems
- Sections playlist: Vectors and the Geometry of Space: 3D Coordinate Systems (YouTube)
- More: Vectors and the Geometry of Space · mes.fm/math
Notes originally posted on the Hive blockchain →
