Foundations — Direction cosines and direction ratios
This page assumes you have seen nothing. We build every symbol the Direction cosines and direction ratios note uses, one at a time, each resting on the last. When you finish, re-reading the parent note should feel like re-reading a sentence in your own language.
0. The playground — what "3D space" and an "axis" mean

WHY we need this first: every later symbol — vectors, angles, cosines — is measured relative to these three axes. If the picture of "three perpendicular rulers meeting at a corner" is not solid, nothing else can be.
1. The symbols — subscripts just mean "which point"
WHY the topic needs it: the parent builds a direction from two points, so it must distinguish "the of the first point" from "the of the second". The subscript is the cheapest way to do that.
2. A vector — an arrow with a length and a direction

WHY the topic needs it: a "direction of a line" is exactly what an arrow captures. The parent's whole strategy is: turn the line into an arrow, then read the arrow's numbers.
3. Length of a vector — the symbol and why it appears
WHY this exact formula — and WHY a square root? In flat 2D, the Pythagoras theorem says a right triangle's long side (hypotenuse) is . In 3D we apply it twice — once in the floor, once going up — and the two applications collapse into the one formula above. The square root is there precisely to undo the squares that Pythagoras introduced, turning a sum-of-areas back into a plain length. See Distance between points in 3D for the same formula used to measure gaps between points.

WHY the topic needs unit vectors: direction cosines are defined as the components of the unit arrow along the line. The parent's rule "divide DRs by " is literally this normalising step.
4. Angles — the tilt toward each axis
WHY three separate angles: one arrow leans differently toward each of the three axes, so it takes three tilt-numbers to describe it fully.
5. Cosine — turning a tilt-angle into a shadow-fraction
This is the pivot of the whole topic, so we build it slowly.

Sign of a cosine — all cases: cosine is positive when the angle is acute (line leans toward the positive axis, ), zero when (line is flat to that axis, no shadow), and negative when the angle is obtuse (, line leans away). This is why direction cosines can be negative, as in the parent's .
6. The dot product — the machine that measures angle
WHY the topic needs the dot product: the angle between two lines is the parent's headline result, and it is a dot product of the two direction-cosine unit arrows: . Full development lives in Vectors and dot product. Two arrows are perpendicular exactly when their dot product is (because ) — that is the origin of the perpendicularity test.
7. Proportional, and the ratio colon
WHY the topic needs it: the direction of a line is unchanged if you make its arrow longer or shorter. So any arrow along the line describes the same direction — those are the direction ratios. Colon-notation says "the direction cosines are some common scaling of ." Direction ratios are the raw material of the Equation of a line in 3D.
8. How it all feeds the topic
Each box on the left is a foundation from this page; the two right-hand boxes ( and ) are the parent topic's main results. Notice the identity is just "a unit vector has length " — foundation, not magic.
Equipment checklist
Test yourself — say the answer aloud before revealing.
What do the three axes have in common at the origin?
Does the subscript in mean squaring?
What are the components of the arrow from to ?
What does ask?
Give the length of .
What is a unit vector and how do you make one?
On a right triangle, equals which ratio?
For a unit arrow, what does physically equal?
When is a cosine negative?
Write the dot product of and .
For two unit vectors, what does the dot product equal?
What does "proportional" mean for triples?
Connections
- Direction cosines and direction ratios — the parent this page equips you for.
- Vectors and dot product — the arrow, length, and dot product built here in full.
- Distance between points in 3D — same square-root length formula.
- Equation of a line in 3D — uses the direction-ratio arrow as its direction vector.
- Equation of a plane — a plane's normal has its own DRs/DCs.
- Angle between line and plane — extends the dot-product angle idea.