Foundations — Relation between direction cosines - l² + m² + n² = 1
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

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

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"

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
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?
How do you get the arrow from point to point ?
What is the length of ?
How do you turn any nonzero vector into a unit vector?
What is in a right triangle?
What does equal, and why?
Why are the components of ?
Why must ?
Connections
- Direction Ratios — the raw before dividing by length.
- Unit Vectors — the length-one arrow whose components are .
- Dot Product — turns tilt into cosine; the projection = cosine bridge.
- Distance Formula in 3D — supplies the Pythagoras length step.
- Angle Between Two Lines — next stop, uses these cosines directly.
- Equation of a Line in 3D — where the direction finally lives.