3.6.7 · D53D Geometry

Question bank — Angle between two lines

1,479 words7 min readBack to topic

True or false — justify

Each line is Statement ::: True/False + the reason.

The angle between two lines depends on where the lines cross in space.
False. Only the directions enter the formula; the position points never appear. Sliding a line without rotating it leaves the angle unchanged.
Two lines can meet at an angle of .
False. The angle between lines is defined as the acute one, . The you see is really the supplement of the angle — flipping one direction vector recovers the acute value.
If then the lines are perpendicular.
True, provided both vectors are nonzero. A zero dot product forces , so . (A zero vector has no direction, so the statement assumes genuine direction vectors.)
Replacing by changes the angle between the two lines.
False. describes the same line (a line points both ways). The modulus in the numerator absorbs the sign flip, so is unchanged.
Replacing by changes the angle between the two vectors.
True. For vectors the sign is kept: . Flipping turns into . Lines and vectors are different questions.
Scaling a direction vector to instead of changes the computed angle.
False. The formula is a ratio — the scale factor cancels between numerator and denominator. Direction ratios only need to be proportional, not any particular length.
If two lines are parallel, the formula gives .
True. Parallel means , so and the ratio is exactly , giving .
The form can ever give .
False. , so the ratio lies in and stays in — consistent with the acute-angle definition. (See Cross product of vectors.)
Direction cosines let you drop the denominator in the formula.
True. Direction cosines are already a unit vector, so and the denominator is ; then . (See Direction cosines and direction ratios.)
Two lines with proportional direction ratios must be the same line.
False. Proportional ratios make them parallel, but they can be distinct parallel lines sitting apart. Position (which the angle ignores) is what separates them — that's a job for Shortest distance between two lines.

Spot the error

Each line is Flawed step ::: what's wrong + the fix.

"Directions are and ; dot , so . Since I skip the modulus."
The modulus isn't there to fix negatives this time — it's a definition so the answer is always acute. Here it does nothing, but writing it is the correct habit; the next problem's dot product may be negative.
"Line : I'll use the point as the direction."
The denominators are the direction ratios; is just a point the line passes through and is irrelevant to the angle. (See Equation of a line in 3D.)
"Directions and : dot , so undefined, so no angle exists."
You forgot to divide by the magnitudes. Direction ratios aren't unit length. Correct: , giving .
"Dot product came out negative, , so is the angle between the lines."
For lines the angle is acute. Take , so . The is the supplement created by an inward-vs-outward choice of direction vector.
"For perpendicularity I set , so I need the whole fraction's denominator to be zero."
A fraction is zero when its numerator is zero (denominator zero would be undefined). Perpendicular means the dot product .
"The two lines never intersect, so they have no angle between them."
Angle depends only on direction, not intersection. Skew (non-meeting) lines still have a well-defined angle — imagine sliding one until they cross; the directions never changed.
" — but my calculator is in radians, so ."
is the cosine value, not the angle. Apply to it: (or rad). Don't confuse the input to with its output.

Why questions

Each line is Why…? ::: the reason.

Why does the formula carry an absolute value on the numerator but not the denominator?
The denominator is a product of lengths, already positive. The numerator (a dot product) can be negative, and the modulus forces the acute angle. (See Dot product of vectors.)
Why can we use the dot product at all instead of measuring the angle directly?
The dot product bridges algebra and geometry: . Rearranging isolates from just the components — no protractor needed.
Why do parallel lines give proportionality rather than equality?
Parallel means same direction, not same length. One vector is a scalar multiple of the other, so component ratios are all equal to that shared scale factor.
Why is the (cross-product) form sometimes preferred over ?
If you already have , or you want (which needs both sin and cos), the cross-product form saves work and avoids ambiguity near where is flat.
Why does the same dot-product idea reappear for the angle between planes?
A plane's orientation is captured by its normal vector; the angle between two planes equals the angle between their normals — the identical acute dot-product recipe on different arrows.
Why must both direction vectors be nonzero for the formula to make sense?
A zero vector has no direction and gives a denominator. Every genuine line has a nonzero direction, so this never arises for real lines — but degenerate "directions" are meaningless.

Edge cases

Each line is Case ::: what happens.

Both direction vectors are identical, .
, so . The lines are parallel (or coincident) — an angle of zero is perfectly valid.
Direction vectors are exact opposites, and .
Without the modulus you'd get (); with it you get , so . Opposite arrows still describe the same line direction.
One line lies flat in the -plane, ; the other points straight up, .
Dot , so regardless of the "" — magnitude of a vector never affects the angle, only its direction does.
A direction ratio has a zero component, e.g. .
Perfectly fine — the line simply has no extent along that axis. Plug in normally: the zero just drops out of the dot product and shrinks the magnitude sum.
The two lines are perpendicular and one direction is scaled up: and .
Still . Scaling changes lengths, cancels in the ratio; the dot product is either way.
The computed comes out as exactly from real (rounded) data.
Treat with suspicion but accept: it means the lines are parallel (). Values slightly above from rounding should be clamped to before applying .
Two lines intersect and you're asked for "the angle" without qualification.
Report the acute angle by convention (this topic's definition). If a problem explicitly asks the vector angle, keep the sign — read the wording carefully.

Recall One-line self-test

A negative dot product between two direction vectors means the lines are obtuse. ::: False — the vectors form an obtuse angle, but the lines take the acute supplement via the modulus.

Connections