Calculus 3 • Vectors & 3D Geometry

Intersections & Angles — Intersections and Angles Between Lines/Planes

Master the vector techniques for determining where lines and planes meet and the angles they form in three-dimensional space.

Three-dimensional axes with spatial movement and a multivariable function.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The study of how geometric objects intersect and the angles they form traces its roots to antiquity, but the modern algebraic treatment of lines and planes in three-dimensional space emerged through centuries of mathematical innovation. Euclid laid the groundwork in his Elements (c. 300 BCE) by formalizing the notion of parallel lines, perpendicular lines, and dihedral angles between planes, but his purely synthetic approach lacked the algebraic machinery to handle arbitrary configurations in three-dimensional space. The decisive leap came when René Descartes and Pierre de Fermat independently introduced coordinate geometry in the seventeenth century, enabling geometric problems to be translated into systems of algebraic equations.

The full vector-algebraic framework that modern multivariable calculus relies upon crystallized over the following two centuries. Hermann Grassmann's Ausdehnungslehre (1844) and Josiah Willard Gibbs's codification of vector analysis in the 1880s gave mathematicians and physicists a compact, coordinate-free language for expressing direction, magnitude, and the geometric relationships among lines and planes. Today, determining intersections and angles between lines and planes is fundamental to disciplines ranging from computer graphics and robotics to structural engineering and general relativity.

c. 300 BCE • Euclid's Elements

Euclid formalized axioms for parallel and perpendicular lines, dihedral angles, and the intersection of planes, establishing the synthetic geometric foundation.

1637 • Cartesian Coordinates

Descartes published La Géométrie, uniting algebra and geometry. Points, lines, and planes could now be described by equations in x, y, and z.

1844 • Grassmann's Extension Theory

Hermann Grassmann introduced an abstract algebraic framework for vectors and higher-dimensional linear spaces, foreshadowing modern linear algebra and the dot and cross products.

1881–1884 • Gibbs's Vector Analysis

Josiah Willard Gibbs codified the dot product, cross product, and the parametric representation of lines, giving engineers and physicists the tools used in today's multivariable calculus courses.

The central question this lesson addresses is deceptively simple: given lines and planes specified by vector equations, how do we determine whether they intersect, find the point or line of intersection, and compute the angle between them? The answers hinge on the dot product, the cross product, and careful parameter elimination — tools you already possess from earlier work with vectors.

SECTION 2

Core Principles & Definitions

Before diving into calculations, it is essential to establish the parametric and implicit forms that describe lines and planes. A line in ℝ³ is specified by a point P₀ and a direction vector d, while a plane is specified by a point and a normal vector n. The interplay between direction vectors, normal vectors, dot products, and cross products governs every intersection and angle computation in three-dimensional geometry.

1

Parametric Line Equation

A line through P₀ = (x₀, y₀, z₀) with direction d = ⟨a, b, c⟩ is given by r(t) = P₀ + td. The parameter t ∈ ℝ traces every point on the line.
2

Scalar Equation of a Plane

A plane with normal n = ⟨A, B, C⟩ passing through (x₀, y₀, z₀) satisfies A(x − x₀) + B(y − y₀) + C(z − z₀) = 0, or equivalently Ax + By + Cz = D.
3

Dot Product & Angles

The dot product u · v = |u||v|cos θ provides the angle between any two vectors — and therefore between lines, between planes, or between a line and a plane.
4

Cross Product & Intersection Lines

When two planes intersect, the direction of their line of intersection is n₁ × n₂. If this cross product is zero, the planes are parallel. The cross product encodes the perpendicular direction to both normals simultaneously.
✦

KEY TAKEAWAY

Think of a plane's normal vector as a flagpole sticking straight up from a flat table: every line lying in that table is perpendicular to the flagpole. Consequently, the angle between a line and the plane equals 90° minus the angle the line makes with the flagpole. Similarly, the angle between two planes equals the angle between their flagpoles. All intersection and angle problems reduce to vector relationships between direction vectors and normal vectors.

SECTION 3

Visual Explanation — Lines and Planes in 3D

Plane π: Ax + By + Cz = Dn (normal)Line ℓr(t) = P₀ + tdIntersection Pointθ(angle betweenline and plane)α (angle betweenn and d)θ = 90° − α, where α = arccos(|n · d| / (|n||d|))
The diagram shows a plane π with its normal vector n (violet, dashed) pointing upward, and a line ℓ (cyan) piercing the plane at the yellow intersection point. The angle θ (pink arc) between the line and the plane is the complement of the angle α (orange arc) between n and the direction vector d.

The diagram above captures the essential geometric relationships that drive all the computations in this lesson. Notice that the angle between a line and a plane is defined as the acute angle θ the line makes with its projection onto the plane — not the angle with the normal. Since the normal is perpendicular to the plane, we have θ = 90° − α, where α is the angle between the direction vector d and the normal n. This complementary relationship is the single most important idea to internalize: the dot product gives you α directly, and a simple subtraction yields θ.

For two planes, the situation is even more direct. Their dihedral angle — the angle between the planes measured in any cross-section perpendicular to their line of intersection — equals the angle between their normal vectors. No complementary correction is needed because both normals are perpendicular to their respective planes, so the angle between the normals is the angle between the planes.

SECTION 4

Mathematical Framework

Angle Between Two Lines

Given two lines with direction vectors d₁ and d₂, the angle between the lines is determined by the dot product formula. Because lines extend in both directions, we take the absolute value of the dot product to ensure we obtain the acute angle.

ANGLE BETWEEN TWO LINES

cosθ=∣d1⋅d2∣/(∣d1∣∣d2∣)cos θ = |d₁ · d₂| / (|d₁| |d₂|)

where d₁, d₂ are direction vectors of the two lines, and θ ∈ [0°, 90°] is the acute angle between them.

Angle Between Two Planes

For two planes with normal vectors n₁ and n₂, the dihedral angle between the planes is identical to the angle between their normals. Again, we use the absolute value to guarantee the acute angle.

ANGLE BETWEEN TWO PLANES

cosθ=∣n1⋅n2∣/(∣n1∣∣n2∣)cos θ = |n₁ · n₂| / (|n₁| |n₂|)

where n₁, n₂ are normal vectors. The planes are parallel if n₁ × n₂ = 0 and perpendicular if n₁ · n₂ = 0.

Angle Between a Line and a Plane

ANGLE BETWEEN LINE AND PLANE

sinθ=∣d⋅n∣/(∣d∣∣n∣)sin θ = |d · n| / (|d| |n|)

where d is the line's direction vector and n is the plane's normal. Since α (the angle between d and n) satisfies cos α = (d · n)/(|d||n|), we use sin θ = cos α because θ = 90° − α.

Intersection of a Line and a Plane

Given a line r(t) = P₀ + td and a plane Ax + By + Cz = D, substitute the parametric coordinates (x₀ + at, y₀ + bt, z₀ + ct) into the plane equation to solve for the parameter t. If d · n = 0 the line is parallel to the plane — either no intersection or the line lies entirely in the plane.

LINE-PLANE INTERSECTION PARAMETER

t=(D−n⋅P0)/(n⋅d)t = (D − n · P₀) / (n · d)

Substitute this t back into the line equation to obtain the intersection point. The formula is undefined when n · d = 0 (parallel case).

SECTION 5

Detailed Breakdown — Intersection Cases

The possible relationships between lines and planes in ℝ³ fall into a small number of cases determined entirely by the algebraic relationships among direction and normal vectors. A systematic classification prevents errors and guides the choice of computational strategy. The following table and diagram enumerate these cases.

ConfigurationConditionGeometric Outcome
Two lines (same plane)d₁ × d₂ = 0 and lines share a pointCoincident (identical) lines
Two lines (intersecting)d₁ × d₂ ≠ 0 and parameter system is consistentSingle intersection point
Two lines (parallel)d₁ × d₂ = 0, lines do not share a pointNo intersection
Two lines (skew)d₁ × d₂ ≠ 0 but parameter system inconsistentNo intersection; lines are not coplanar
Line and planed · n ≠ 0Single intersection point
Line and plane (parallel)d · n = 0, P₀ not on planeNo intersection
Two planes (intersecting)n₁ × n₂ ≠ 0Line of intersection
Two planes (parallel)n₁ × n₂ = 0, different D valuesNo intersection

Classification of intersection outcomes in ℝ³

Intersection of Two Planes → Line of IntersectionPlane π₁Plane π₂Line of intersectionn₁n₂θ (dihedral angle)Direction of intersection line = n₁ × n₂ (amber arrow)
Two planes π₁ (violet) and π₂ (cyan) intersect along a line (amber arrow) whose direction is given by n₁ × n₂. The dihedral angle θ (pink arc) between the planes equals the angle between their normal vectors n₁ and n₂.

To find the parametric equation of the line of intersection of two planes, proceed in two stages. First, compute the direction vector d = n₁ × n₂. Second, find any specific point on both planes simultaneously — typically by setting one variable (say z = 0) and solving the resulting 2 × 2 system. Combining the point with the direction vector yields the full parametric line equation. If n₁ × n₂ = 0, the planes are parallel (or coincident), and no line of intersection exists.

⚠

Skew Lines

Two lines in ℝ³ can be skew — non-parallel yet non-intersecting. This situation is impossible in ℝ² but common in ℝ³. To check, set the parametric equations equal and attempt to solve the 3 × 2 system. If no consistent solution exists (the third equation contradicts the first two), the lines are skew.

SECTION 6

Worked Example — Line-Plane Intersection and Angle

Find the point of intersection of the line r(t) = ⟨1, −2, 3⟩ + t⟨2, 1, −1⟩ with the plane 3x − y + 2z = 7, and determine the acute angle between the line and the plane.

Line-Plane Intersection & Angle

  1. 1

    Step 1 — Identify Direction and Normal Vectors

    The line has direction vector d = ⟨2, 1, −1⟩ and passes through P₀ = (1, −2, 3). The plane has normal vector n = ⟨3, −1, 2⟩ with D = 7.
  2. 2

    Step 2 — Check for Parallelism

    Compute d · n = (2)(3) + (1)(−1) + (−1)(2) = 6 − 1 − 2 = 3 ≠ 0. Since the dot product is nonzero, the line is not parallel to the plane, so a unique intersection point exists.
    d · n = 3 ≠ 0 → unique intersection
  3. 3

    Step 3 — Substitute Parametric Equations into Plane

    The parametric coordinates are x = 1 + 2t, y = −2 + t, z = 3 − t. Substituting into 3x − y + 2z = 7: 3(1 + 2t) − (−2 + t) + 2(3 − t) = 7. Expanding: 3 + 6t + 2 − t + 6 − 2t = 7. Combining: 11 + 3t = 7, so 3t = −4, hence t = −4/3.
    t = −4/3
  4. 4

    Step 4 — Find the Intersection Point

    Substitute t = −4/3 back into the line equation: x = 1 + 2(−4/3) = 1 − 8/3 = −5/3, y = −2 + (−4/3) = −10/3, z = 3 − (−4/3) = 3 + 4/3 = 13/3.
    Intersection point: (−5/3, −10/3, 13/3)
  5. 5

    Step 5 — Compute the Angle Between Line and Plane

    Using sin θ = |d · n| / (|d| |n|): we already found d · n = 3. Compute |d| = √(4 + 1 + 1) = √6 and |n| = √(9 + 1 + 4) = √14. Therefore sin θ = |3| / (√6 × √14) = 3 / √84 = 3 / (2√21). Thus θ = arcsin(3 / (2√21)) ≈ arcsin(0.3273) ≈ 19.1°.
    θ ≈ 19.1°

SECTION 7

Comparison of Angle Formulas

Students frequently confuse the three angle formulas because they look similar but differ in a crucial respect: whether the result uses cosine or sine, and which vectors are involved. The table below consolidates these distinctions. A reliable mnemonic is: when both objects share the same "type" (line–line or plane–plane), use cosine directly; when the objects differ (line–plane), use sine because you are comparing a direction vector to a normal vector, which are inherently complementary.

ConfigurationVectors UsedFormulaWhy?
Line vs. Lined₁, d₂ (directions)cos θ = |d₁ · d₂| / (|d₁||d₂|)Same type → direct dot product
Plane vs. Planen₁, n₂ (normals)cos θ = |n₁ · n₂| / (|n₁||n₂|)Same type → direct dot product
Line vs. Planed (direction), n (normal)sin θ = |d · n| / (|d||n|)Mixed type → complementary angle → use sine

Summary of angle formulas

✦

KEY TAKEAWAY

The absolute value bars in every formula are non-negotiable. Without them, you might obtain an obtuse angle when the geometric convention demands the acute one. Think of it like measuring the angle between two clock hands: you always report the smaller of the two possible angles, never the reflex angle. The absolute value enforces that convention algebraically.

SECTION 8

Connections to Advanced Theory

The techniques developed in this lesson generalize naturally in several directions. In linear algebra, the intersection of planes becomes the solution set of a linear system Ax = b, and the angle between subspaces is formalized via principal angles (also called canonical angles). In differential geometry, the tangent plane to a surface at a point replaces the constant-normal plane, and intersection curves between surfaces are governed by the implicit function theorem. In optimization, the angle between a gradient vector and a constraint surface determines the rate of feasible descent, a key idea behind the method of Lagrange multipliers.

This LessonAdvanced Extension
Intersection of two planes → lineIntersection of k hyperplanes in ℝⁿ → affine subspace of dimension n − k (linear algebra)
Angle between planes via normalsPrincipal angles between subspaces via SVD (numerical linear algebra)
Line-plane intersection via substitutionRay-surface intersection via Newton's method (computer graphics, ray tracing)
Normal vector determines plane orientationGradient ∇f is the normal to level surfaces; tangent planes to manifolds (differential geometry)
Angle between line and planeAngle of incidence / reflection in optics; Snell's law generalizations

From Calculus 3 basics to advanced applications

Recognizing these connections transforms the formulas from isolated tools into stepping stones. When you encounter the implicit function theorem later in multivariable calculus, you will see that finding the tangent line to a curve of intersection of two surfaces is precisely the cross-product technique from this lesson, applied to gradient vectors rather than constant normals. Similarly, Lagrange multipliers rely on the condition that the gradient of the objective function must be parallel to the gradient of the constraint — a condition directly analogous to the normal-vector parallelism criterion for parallel planes.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain why the formula for the angle between a line and a plane uses sin θ rather than cos θ, while the formulas for line-line and plane-plane angles use cos θ. What geometric feature accounts for the difference?
Show answer
When computing the angle between a line and a plane, we compare the line's direction vector d to the plane's normal vector n. The dot product gives the angle α between d and n. However, the angle between the line and the plane is defined as the complement: θ = 90° − α. Since sin θ = cos α, we have sin θ = |d · n| / (|d||n|). In line-line and plane-plane cases, both representative vectors (directions or normals) describe the same type of geometric object, so the dot product directly gives the desired angle without complementation.

Question 2: BASIC CALCULATION

Find the acute angle between the planes 2x − y + z = 5 and x + 3y − 2z = 1.
Show answer
The normal vectors are n₁ = ⟨2, −1, 1⟩ and n₂ = ⟨1, 3, −2⟩. Compute n₁ · n₂ = (2)(1) + (−1)(3) + (1)(−2) = 2 − 3 − 2 = −3. Then |n₁| = √(4 + 1 + 1) = √6 and |n₂| = √(1 + 9 + 4) = √14. Using the formula cos θ = |n₁ · n₂| / (|n₁||n₂|) = 3 / (√6 × √14) = 3 / √84 = 3 / (2√21) ≈ 0.3273. Therefore θ = arccos(0.3273) ≈ 70.9°.

Question 3: INTERMEDIATE

Determine whether the lines r₁(t) = ⟨1, 0, −1⟩ + t⟨2, 3, 1⟩ and r₂(s) = ⟨3, 3, 0⟩ + s⟨4, 6, 2⟩ intersect, are parallel, or are skew. If they are parallel or coincident, state which.
Show answer
The direction vectors are d₁ = ⟨2, 3, 1⟩ and d₂ = ⟨4, 6, 2⟩. Since d₂ = 2d₁, the lines are parallel. To check coincidence, see if the point (3, 3, 0) lies on r₁: setting 1 + 2t = 3 gives t = 1, then y = 0 + 3(1) = 3 ✓ and z = −1 + 1(1) = 0 ✓. All three equations are satisfied, so the point (3, 3, 0) lies on r₁. Therefore the lines are coincident — they are the same line.

Question 4: APPLIED

A laser beam travels along the line r(t) = ⟨0, 1, 4⟩ + t⟨1, −1, −2⟩ and strikes a flat mirror lying in the plane x + y + z = 3. Find the point where the beam hits the mirror and the angle of incidence (the angle between the beam and the mirror surface).
Show answer
The plane has normal n = ⟨1, 1, 1⟩. First find the intersection: substitute x = t, y = 1 − t, z = 4 − 2t into x + y + z = 3 to get t + (1 − t) + (4 − 2t) = 3, yielding 5 − 2t = 3, so t = 1. The intersection point is (1, 0, 2). For the angle of incidence, sin θ = |d · n| / (|d||n|) = |1 − 1 − 2| / (√6 × √3) = 2 / √18 = 2 / (3√2) = √2/3 ≈ 0.4714. Therefore θ = arcsin(√2/3) ≈ 28.1°. This is the angle between the beam and the mirror surface.

Question 5: CRITICAL THINKING

Consider three planes: π₁: x + y − z = 1, π₂: 2x − y + z = 3, and π₃: x − 2y + 2z = k. For what value(s) of k do all three planes share a common point? Find the parametric equation of the line of intersection of π₁ and π₂, and verify your answer.
Show answer
First, find the line of intersection of π₁ and π₂. The direction is n₁ × n₂ = ⟨1,1,−1⟩ × ⟨2,−1,1⟩ = ⟨(1)(1)−(−1)(−1), (−1)(2)−(1)(1), (1)(−1)−(1)(2)⟩ = ⟨0, −3, −3⟩, which simplifies to ⟨0, 1, 1⟩ (dividing by −3). To find a point on both planes, set z = 0: x + y = 1 and 2x − y = 3, giving x = 4/3, y = −1/3. So the intersection line is r(t) = ⟨4/3, −1/3, 0⟩ + t⟨0, 1, 1⟩. For all three planes to share a common point, this line must intersect π₃. Substituting into π₃: 4/3 − 2(−1/3 + t) + 2(0 + t) = k → 4/3 + 2/3 − 2t + 2t = k → 2 = k. Thus k = 2. When k = 2, every point on the intersection line of π₁ and π₂ lies on π₃, meaning the three planes share an entire line, not just a point. Verification: the point (4/3, −1/3, 0) satisfies 4/3 − 2(−1/3) + 2(0) = 4/3 + 2/3 = 2 = k. ✓

SUMMARY

Summary & Review

Summary

This lesson developed the complete toolkit for analyzing intersections and angles between lines and planes in ℝ³. The angle between two lines is found using cos θ = |d₁ · d₂| / (|d₁||d₂|), the angle between two planes uses the analogous formula with normal vectors, and the angle between a line and a plane uses the sine version sin θ = |d · n| / (|d||n|) because the angle is complementary to the normal-direction angle.

For intersections, a line meets a plane at a unique point found by substituting parametric coordinates into the plane equation and solving for t (provided d · n ≠ 0). Two planes with non-parallel normals intersect in a line whose direction is n₁ × n₂. Two lines in ℝ³ may intersect, be parallel, or be skew — a possibility unique to three (or more) dimensions. The absolute value in every angle formula ensures we always report the acute angle, consistent with geometric convention.

Varsity Tutors • Calculus 3 • Intersections & Angles — Intersections and Angles Between Lines/Planes