Skip to lesson content

Lesson 3 of 5

Three Dimensional Geometry · Lesson 3 of 5

Angles and Relationships between Lines

“Compare direction vectors to find angles and recognise parallel or perpendicular directions.”

Learning Objectives

• Explain how to compare directions of lines that do not pass through the same point. • Derive the acute-angle formula from the dot product and connect it with the cross product. • Use direction ratios or direction cosines to test parallelism and perpendicularity. • Read direction vectors accurately from vector, parametric, and Cartesian equations. • Solve for an unknown parameter using a geometric relationship.

Bring the directions together

Two lines in space need not intersect. Even so, we can compare their directions by drawing parallel lines through a common point. Moving a direction without rotating it does not change its angle with another direction. This is why anchor points play no role in an angle calculation.

Choose nonzero direction vectors and for the two lines. Their vector angle lies between and and depends on how the arrows were chosen. Reversing one arrow replaces this angle by its supplement. The conventional angle between undirected lines is the smaller angle, between and , so it must give the same answer after such a reversal.

Move directions to a common origin to compare themuvOθOnly the directions matter.Anchor points do not.Reversing one arrow changes its vector angle, but not the acute line angle.
Compare directions at one origin— Parallel translation lets the same angle rule apply to intersecting lines or skew lines.

The dot-product formula

Recall that the dot product measures how strongly one vector points along another. It equals the product of their lengths times the cosine of their vector angle. Taking an absolute value removes the arbitrary sign caused by reversing a direction arrow and selects the smaller line angle.

For and , their dot product is . Their lengths are the square roots of the corresponding sums of squares. Substitute these into the dot-product relation to obtain both versions below.

Smaller angle between two linesLaTeX
The vectors are nonzero direction vectors. For perpendicular directions ; for parallel directions . In other cases this is the acute angle.

If the directions are given by direction cosines and , both vectors already have length one. The denominator then becomes one, leaving . This is a simplification of the same formula, not a separate geometric rule.

Example — An angle from vector equations

Problem
Find the smaller angle between and .

  1. 1.Ignore the anchors for this calculation. The direction vectors are and .
  2. 2.Compute . Their lengths are and .
  3. 3.Therefore , giving . No intersection calculation is required.
Example — An angle from Cartesian equations

Problem
Find the smaller angle between and .

  1. 1.The denominators give directions and . The signs in the numerators affect anchors, not these direction vectors.
  2. 2.The dot product is , and the lengths are and .
  3. 3.Thus , so .
Use directions, not anchor vectors

In , use in an angle calculation. The vector points from the origin to one location on the line; it need not point along the line. Also keep the absolute value when finding the smaller angle between undirected lines. A negative dot product alone does not mean this angle is obtuse.

Why the sine formula has squared differences

The cross product provides a complementary way to compare directions. Its magnitude is the area of the parallelogram built on the two direction vectors. That area is the product of their lengths times the sine of the angle, so it vanishes when the directions are parallel.

Starting instead from the cosine formula, use . Expanding the numerator gives the identity . These three squared differences are the squared components of the cross product, in a rearranged order.

Sine of the line angleLaTeX
All three terms under the numerator square root are added. With direction cosines, the denominator is one. The nonnegative square root agrees with .

Parallel and perpendicular directions

Two important angle values lead to simpler tests. A right angle makes the dot product zero. A zero line angle makes the cross product zero, which means the direction vectors are proportional. These tests can avoid inverse trigonometric calculations entirely.

RelationshipVector testCoordinate interpretation
Perpendicular directions
Parallel directions for some nonzero real
Parallel with all relevant denominators nonzero

Use proportionality rather than component division if a component is zero. For instance, and are parallel because the second is three times the first, even though comparing their second components by division would give . Direction tests also say nothing by themselves about whether two lines share a point.

Example — Perpendicular directions from point pairs

Problem
Compare the line through and with the line through and .

  1. 1.Subtract within each pair to obtain directions and .
  2. 2.Their dot product is .
  3. 3.Their directions are perpendicular, so the angle between the lines is . This conclusion compares directions; it does not establish an intersection point.
Example — Parallel directions from point pairs

Problem
Compare the line through and with the line through and .

  1. 1.The first direction is and the second is .
  2. 2.The second vector is times the first, so the lines have parallel directions.
  3. 3.The negative factor reverses orientation without changing the line angle, which is . Whether the lines coincide would require a separate shared-point check.
Example — An unknown parameter with unusual numerators

Problem
Find if and have perpendicular directions.

  1. 1.Name the first common parameter . Its coordinate equations are , , and , so use direction .
  2. 2.For the second parameter , obtain , , and , so use direction .
  3. 3.Perpendicularity requires . Thus , giving .
  4. 4.This value is nonzero, so the original fractions involving are defined. Reading the denominators alone would miss both the numerator coefficients and their signs.
A right angle does not prove intersection

In space, a zero dot product shows orthogonal directions. The two lines may still be skew. In this chapter, problems may describe such directions as perpendicular lines; keep the direction conclusion separate from a claim that they meet. For an intersection claim, solve for a common point as well.

Check your understanding

The direction comparison should be unchanged by shifting a line or rescaling its direction vector. Use these invariances as checks on your calculations. In particular, the smaller angle cannot depend on which arrow you chose along an undirected line.

Quiz

Quick check

What is the smaller angle between lines directed by and ?

Quick check

Find the smaller angle between directions and .

Quick check

Which pair has parallel directions?

Quick check

The dot product of two nonzero direction vectors is zero. What can be concluded?

Quick check

Why does identify parallel directions?

Quick check

A line is shifted to a parallel position. What happens to its angle with a fixed line?

Quick check

Which direction follows from ?

Practice Problems

Practice Problems
  1. Show that the three direction-cosine triples , , and are mutually perpendicular.
  2. Find the angle between and .
  3. Find the angle between and .
  4. Find the angle between and .
  5. Find the angle between and .
  6. Show that and have perpendicular directions.
  7. Find if directions and are perpendicular.
  8. Find the smaller angle between and . Explain why an absolute value is needed.
  9. Two lines have direction vectors and . Use proportionality to find their line angle without dividing components.

The numerator dot products are , , and . Dividing by leaves each at zero. Each triple has squared length one because , with the same sum in the other triples.

Key Takeaways

Key Takeaways

• Only direction vectors enter an angle calculation; anchor points do not. • Use the absolute dot product divided by the vector lengths for the smaller line angle. • The cross-product magnitude gives the sine relation and detects parallel directions. • A zero dot product identifies perpendicular directions, while proportional vectors identify parallel directions. • Rewrite nonstandard Cartesian numerators before reading directions; direction tests alone do not prove intersection.