3.6.4 · D13D Geometry

Foundations — Direction cosines and direction ratios

2,031 words9 min readBack to topic

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

Figure — Direction cosines and direction ratios

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

Figure — Direction cosines and direction ratios

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.

Figure — Direction cosines and direction ratios

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.

Figure — Direction cosines and direction ratios

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

Three perpendicular axes x y z

Point as coordinates

Vector arrow between two points

Length via square root Pythagoras

Unit vector length one by normalising

Angle alpha beta gamma with each axis

Cosine as shadow on axis

Direction cosines l m n

Direction ratios proportional triple

Dot product

Angle between two lines

Identity l2 plus m2 plus n2 equals 1

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?
They all meet at one point and are mutually perpendicular (at right angles).
Does the subscript in mean squaring?
No — it labels "the -coordinate of point 2"; squaring is the superscript .
What are the components of the arrow from to ?
— finish minus start along each axis.
What does ask?
Which non-negative number times itself gives ; it undoes squaring.
Give the length of .
(3D Pythagoras).
What is a unit vector and how do you make one?
An arrow of length exactly ; divide every component by the arrow's length (normalising).
On a right triangle, equals which ratio?
adjacent over hypotenuse.
For a unit arrow, what does physically equal?
The length of its shadow on the -axis (its -component).
When is a cosine negative?
When the angle is obtuse (), i.e. leaning away from the positive axis.
Write the dot product of and .
.
For two unit vectors, what does the dot product equal?
, the cosine of the angle between them.
What does "proportional" mean for triples?
One is a fixed nonzero scaling of the other; only the ratios matter, not the size.

Connections