Distance, Midpoint, and 3D Vectors with Vector Norms
In plane geometry, the distance between two points is computed using the Pythagorean theorem on a right triangle. When we step into three-dimensional space, the fundamental geometry does not change—it simply applies twice in succession. The spatial distance between any two points is the length of the long diagonal of a rectangular cuboid.
Understanding spatial distance opens the door to 3D vectors, sphere equations, and navigation in physical space.
1. The Spatial Distance Formula via Double Pythagoras
Consider two points in space, and . Imagine constructing a rectangular box with opposite corners at and , with edges parallel to the coordinate axes:
Edge along the -direction:
Edge along the -direction:
Edge along the -direction:
Derivation on Paper
First, find the diagonal of the horizontal base in the -plane using the 2D Pythagorean theorem:
The vertical edge of height is perpendicular to the base. Thus, , , and the space diagonal form a vertical right-angled triangle:
Taking the positive square root gives the universal 3D Euclidean Distance Formula:
2. Geometric Diagram: The 3D Distance Cuboid
3. Midpoint and Spheres in
The 3D Midpoint Formula
The midpoint of segment is found by taking the arithmetic mean of each coordinate separately:
The Standard Equation of a Sphere
A sphere is the set of all points in whose distance to a fixed center equals a constant radius :
Squaring both sides yields the Standard Form Equation of a Sphere:
4. 3D Spatial Vectors and Norms
A vector in represents a directed line segment possessing both a magnitude (length) and a direction.
Component Form and Standard Basis Vectors
If a vector has initial point and terminal point , its displacement vector in component form is:
We define the three standard unit basis vectors pointing along the positive coordinate axes:
Any vector can be written uniquely as:
Vector Norm (Magnitude)
The norm (or length) of a vector is denoted :
Unit Vector in the Direction of
A unit vector has magnitude equal to . To normalize any non-zero vector , divide it by its norm:
5. Geometric Diagram: 3D Vector Decomposition
6. Step-by-Step Paper Notebook Method
Computing Spatial Distance & Vector Norms on Paper
List the Coordinates Clearly:
Write directly above .
Calculate Differences Underneath:
Square Each Difference:
Compute , , and . Double check that all squared values are non-negative!
Sum and Radicand Factorization:
Add the three squares together. Factor out perfect squares (like ) to leave the radical in simplest exact form.
7. Worked Examples
Example 1: Triangle Classification in
Problem: A triangle in space has vertices , , and .
Find the lengths of all three sides.
Determine whether is equilateral, isosceles, or scalene.
Test whether is a right-angled triangle.
Solution
Side 1: Length of
Side 2: Length of
Side 3: Length of
Classification:
Since , , and are all distinct, the triangle is scalene.
Check the Pythagorean relation on the longest side :
Therefore, is not a right triangle.
Example 2: Sphere Equation from Diameter Endpoints
Problem: The line segment connecting and is a diameter of a sphere .
Find the coordinates of the center .
Find the radius of the sphere.
Write the standard equation of the sphere.
Determine whether the point lies inside, on, or outside the sphere.
Solution
Step 1: Center as Midpoint of
Step 2: Radius
The radius is the distance from center to endpoint :
(Check via diameter: . Correct!)
Step 3: Standard Equation of the Sphere
Step 4: Location of
Calculate the square of the distance from to the center :
Compare to :
Since , the point lies strictly inside the sphere.
Example 3: Unit Vectors and Scaling
Problem: Given vector :
Find the norm .
Find a unit vector in the same direction as .
Find a vector that points in the opposite direction of and has a magnitude of .
Solution
Step 1: Compute Norm
Step 2: Unit Vector
Check norm: .
Step 3: Opposite Vector of Magnitude 15
Multiply the unit vector by :
Check magnitude: . Correct!
8. Common Mistakes & Paper Traps
[!WARNING]
Trap 1: Dropping Negative Signs Inside Squares On paper, writing instead of leads to subtraction: instead of . Remember that the square of any real coordinate difference is strictly non-negative:
[!WARNING]
Trap 2: Radius vs. Radius Squared in Sphere Equations In the equation , the radius is , not . If asked for the diameter, it is .
[!WARNING]
Trap 3: Subtracting Coordinates in Reverse for Vectors For the vector from to , always compute:
Calculating yields , which points in the completely opposite direction!
9. Pencil & Paper Practice
Try these exercises on paper before reviewing the solutions.
Practice Problems
Points and are given.
(a) Find the distance in simplest radical form.
(b) Find the coordinates of the midpoint of .
The equation of a sphere is given in general form as . By completing the square on paper, find the coordinates of the center and the radius .
Find a vector that has length and points in the same direction as .
Worked Solutions
Solution 1:
(a) Distance:
(b) Midpoint:
Solution 2:
Group terms by variable and complete the square for each:
Center and radius .
Solution 3:
Find norm of :
Unit vector:
Scale by :
Test yourself
What is the distance between points and ?
What is the center and radius of the sphere ?
Center , Radius
Center , Radius
Center , Radius
Center , Radius
Given vector , what is the unit vector in the same direction?