3.6.5 · D13D Geometry

Foundations — Relation between direction cosines - l² + m² + n² = 1

1,644 words7 min readBack to topic

Before you can feel why is inevitable, you need every piece of notation the parent note quietly assumed. We build them one at a time, each on a picture, each earning the next.


1. A point in 3D: the ordered triple

Figure — Relation between direction cosines -  l² + m² + n² = 1

Why the topic needs it. Direction cosines describe a line, and a line is pinned down by points and by the arrow between them. Without the triple we cannot even write down a direction.

The little arrows with hats () sitting on the three axes are the unit steps along each axis — one full step of length in the , , directions. We define them properly in section 4.


2. A vector : an arrow with length and direction

The three numbers built this way are the Direction Ratios — an unnormalised direction. They say which way, but their length is still arbitrary.


3. Length of a vector: the Distance Formula in 3D

Figure — Relation between direction cosines -  l² + m² + n² = 1

What it looks like (see figure). First flatten the arrow onto the floor: the floor-shadow has length by ordinary 2D Pythagoras. Then stand the height up as a second right triangle: the full arrow is the hypotenuse, so its length squared is . Square-root it and you have .

Why the topic needs it. Step 3 of the parent derivation — " has length 1" — is literally this formula with the length set to . And converting ratios to cosines means dividing by this length.


4. Unit vector : an arrow of length exactly 1

The special unit vectors , , are the pure one-step arrows along each axis. They are the rulers everything is measured against.

Why the topic needs it. Direction cosines are the components of . Once the arrow has length , the identity is unavoidable — it just says "a length-1 arrow has length 1."


5. Angle and its cosine

The Greek letters (alpha), (beta), (gamma) are just names for the three angles the line makes with the -, -, -axes. Nothing mysterious — they are labels, like , , .


6. The Dot Product: why "projection = cosine"

Figure — Relation between direction cosines -  l² + m² + n² = 1

Why the topic needs it. This is the bridge between the geometric picture (angles) and the algebra (components). It justifies Step 2 of the parent derivation in one line.


7. Putting it together — the whole chain

Now every symbol in is defined:

and since has length , the Distance Formula in 3D gives

Every arrow used here you can now read symbol by symbol.


Prerequisite map

Point x y z

Vector as arrow a b c

Direction ratios

Length by Pythagoras

Unit vector length one

Angle and its cosine

Dot product

Direction cosines l m n

l squared plus m squared plus n squared equals one

Read it top-down: points build arrows; arrows split into "which way" (ratios) and "how long" (length); dividing which-way by how-long makes a unit vector; the dot product turns that unit vector's tilt into cosines; and Pythagoras on the unit vector forces the identity.


Equipment checklist

Cover the right-hand side and answer aloud.

What does the triple name?
A single point in 3D — steps along , , from the origin.
How do you get the arrow from point to point ?
Subtract coordinates: .
What is the length of ?
(Pythagoras applied twice).
How do you turn any nonzero vector into a unit vector?
Divide it by its own length: .
What is in a right triangle?
adjacent over hypotenuse — a number in .
What does equal, and why?
, because both are unit length so the dot product collapses to the cosine.
Why are the components of ?
Each is the projection of the unit arrow onto an axis, and projection onto an axis = that component.
Why must ?
They are the components of a length-one vector, and .

Connections