Vectors in Three Dimensions Vector Algebra
Representation in ′ { ′ R ′ } ′ 3 \mathbb{'\{'}R{'\}'}^3 ′ { ′ R ′ } ′ 3
A vector ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ in three-dimensional space with components a 1 , a 2 , a 3 a_1, a_2, a_3 a 1 , a 2 , a 3 is written:
′ { ′ a ′ } ′ = ( a 1 a 2 a 3 ) = a 1 ′ { ′ i ′ } ′ + a 2 ′ { ′ j ′ } ′ + a 3 ′ { ′ k ′ } ′ \mathbf{'\{'}a{'\}'} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix} = a_1\mathbf{'\{'}i{'\}'} + a_2\mathbf{'\{'}j{'\}'} + a_3\mathbf{'\{'}k{'\}'} ′ { ′ a ′ } ′ = a 1 a 2 a 3 = a 1 ′ { ′ i ′ } ′ + a 2 ′ { ′ j ′ } ′ + a 3 ′ { ′ k ′ } ′
where ′ { ′ i ′ } ′ , ′ { ′ j ′ } ′ , ′ { ′ k ′ } ′ \mathbf{'\{'}i{'\}'}, \mathbf{'\{'}j{'\}'}, \mathbf{'\{'}k{'\}'} ′ { ′ i ′ } ′ , ′ { ′ j ′ } ′ , ′ { ′ k ′ } ′ are the standard basis vectors along the x x x , y y y , and z z z
axes respectively.
Vector Operations
For ′ { ′ a ′ } ′ = ( a 1 , a 2 , a 3 ) \mathbf{'\{'}a{'\}'} = (a_1, a_2, a_3) ′ { ′ a ′ } ′ = ( a 1 , a 2 , a 3 ) and ′ { ′ b ′ } ′ = ( b 1 , b 2 , b 3 ) \mathbf{'\{'}b{'\}'} = (b_1, b_2, b_3) ′ { ′ b ′ } ′ = ( b 1 , b 2 , b 3 ) , and λ ∈ ′ { ′ R ′ } ′ \lambda \in \mathbb{'\{'}R{'\}'} λ ∈ ′ { ′ R ′ } ′ :
′ { ′ a ′ } ′ + ′ { ′ b ′ } ′ = ( a 1 + b 1 , a 2 + b 2 , a 3 + b 3 ) \mathbf{'\{'}a{'\}'} + \mathbf{'\{'}b{'\}'} = (a_1 + b_1,\, a_2 + b_2,\, a_3 + b_3) ′ { ′ a ′ } ′ + ′ { ′ b ′ } ′ = ( a 1 + b 1 , a 2 + b 2 , a 3 + b 3 )
λ ′ { ′ a ′ } ′ = ( λ a 1 , λ a 2 , λ a 3 ) \lambda \mathbf{'\{'}a{'\}'} = (\lambda a_1,\, \lambda a_2,\, \lambda a_3) λ ′ { ′ a ′ } ′ = ( λ a 1 , λ a 2 , λ a 3 )
Magnitude
∣ ′ { ′ a ′ } ′ ∣ = a 1 2 + a 2 2 + a 3 2 |\mathbf{'\{'}a{'\}'}| = \sqrt{a_1^2 + a_2^2 + a_3^2} ∣ ′ { ′ a ′ } ′ ∣ = a 1 2 + a 2 2 + a 3 2
A unit vector in the direction of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ is ′ { ′ a ′ } ′ ^ = ′ { ′ a ′ } ′ ∣ ′ { ′ a ′ } ′ ∣ \hat{\mathbf{'\{'}a{'\}'}} = \dfrac{\mathbf{'\{'}a{'\}'}}{|\mathbf{'\{'}a{'\}'}|} ′ { ′ a ′ } ′ ^ = ∣ ′ { ′ a ′ } ′ ∣ ′ { ′ a ′ } ′ .
Distance Between Points
The distance between A ( x 1 , y 1 , z 1 ) A(x_1, y_1, z_1) A ( x 1 , y 1 , z 1 ) and B ( x 2 , y 2 , z 2 ) B(x_2, y_2, z_2) B ( x 2 , y 2 , z 2 ) is:
A B = ∣ A B → ∣ = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 + ( z 2 − z 1 ) 2 AB = |\overrightarrow{AB}| = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2} A B = ∣ A B ∣ = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 + ( z 2 − z 1 ) 2
The Scalar (Dot) Product
Definition
The scalar product (or dot product ) of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ is:
′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = a 1 b 1 + a 2 b 2 + a 3 b 3 \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = a_1 b_1 + a_2 b_2 + a_3 b_3 ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = a 1 b 1 + a 2 b 2 + a 3 b 3
Equivalently, in geometric form:
′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = ∣ ′ { ′ a ′ } ′ ∣ ∣ ′ { ′ b ′ } ′ ∣ cos θ \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = |\mathbf{'\{'}a{'\}'}||\mathbf{'\{'}b{'\}'}|\cos\theta ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = ∣ ′ { ′ a ′ } ′ ∣∣ ′ { ′ b ′ } ′ ∣ cos θ
where θ \theta θ is the angle between ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ (0 ≤ θ ≤ π 0 \le \theta \le \pi 0 ≤ θ ≤ π ).
Properties
Commutative: ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = ′ { ′ b ′ } ′ ⋅ ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = \mathbf{'\{'}b{'\}'} \cdot \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = ′ { ′ b ′ } ′ ⋅ ′ { ′ a ′ } ′
Distributive: ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ + ′ { ′ c ′ } ′ ) = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ + ′ { ′ a ′ } ′ ⋅ ′ { ′ c ′ } ′ \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} + \mathbf{'\{'}c{'\}'}) = \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} + \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}c{'\}'} ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ + ′ { ′ c ′ } ′ ) = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ + ′ { ′ a ′ } ′ ⋅ ′ { ′ c ′ } ′
Bilinear: ′ { ′ a ′ } ′ ⋅ ( λ ′ { ′ b ′ } ′ ) = λ ( ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ) \mathbf{'\{'}a{'\}'} \cdot (\lambda\mathbf{'\{'}b{'\}'}) = \lambda(\mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'}) ′ { ′ a ′ } ′ ⋅ ( λ ′ { ′ b ′ } ′ ) = λ ( ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ )
′ { ′ a ′ } ′ ⋅ ′ { ′ a ′ } ′ = ∣ ′ { ′ a ′ } ′ ∣ 2 \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}a{'\}'} = |\mathbf{'\{'}a{'\}'}|^2 ′ { ′ a ′ } ′ ⋅ ′ { ′ a ′ } ′ = ∣ ′ { ′ a ′ } ′ ∣ 2
′ { ′ i ′ } ′ ⋅ ′ { ′ i ′ } ′ = ′ { ′ j ′ } ′ ⋅ ′ { ′ j ′ } ′ = ′ { ′ k ′ } ′ ⋅ ′ { ′ k ′ } ′ = 1 \mathbf{'\{'}i{'\}'} \cdot \mathbf{'\{'}i{'\}'} = \mathbf{'\{'}j{'\}'} \cdot \mathbf{'\{'}j{'\}'} = \mathbf{'\{'}k{'\}'} \cdot \mathbf{'\{'}k{'\}'} = 1 ′ { ′ i ′ } ′ ⋅ ′ { ′ i ′ } ′ = ′ { ′ j ′ } ′ ⋅ ′ { ′ j ′ } ′ = ′ { ′ k ′ } ′ ⋅ ′ { ′ k ′ } ′ = 1
′ { ′ i ′ } ′ ⋅ ′ { ′ j ′ } ′ = ′ { ′ j ′ } ′ ⋅ ′ { ′ k ′ } ′ = ′ { ′ k ′ } ′ ⋅ ′ { ′ i ′ } ′ = 0 \mathbf{'\{'}i{'\}'} \cdot \mathbf{'\{'}j{'\}'} = \mathbf{'\{'}j{'\}'} \cdot \mathbf{'\{'}k{'\}'} = \mathbf{'\{'}k{'\}'} \cdot \mathbf{'\{'}i{'\}'} = 0 ′ { ′ i ′ } ′ ⋅ ′ { ′ j ′ } ′ = ′ { ′ j ′ } ′ ⋅ ′ { ′ k ′ } ′ = ′ { ′ k ′ } ′ ⋅ ′ { ′ i ′ } ′ = 0
Angle Between Vectors
cos θ = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ∣ ′ { ′ a ′ } ′ ∣ ∣ ′ { ′ b ′ } ′ ∣ \cos\theta = \frac{\mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'}}{|\mathbf{'\{'}a{'\}'}||\mathbf{'\{'}b{'\}'}|} cos θ = ∣ ′ { ′ a ′ } ′ ∣∣ ′ { ′ b ′ } ′ ∣ ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′
Example. Find the angle between ′ { ′ a ′ } ′ = ( 1 , 2 , − 1 ) \mathbf{'\{'}a{'\}'} = (1, 2, -1) ′ { ′ a ′ } ′ = ( 1 , 2 , − 1 ) and ′ { ′ b ′ } ′ = ( 3 , 1 , 4 ) \mathbf{'\{'}b{'\}'} = (3, 1, 4) ′ { ′ b ′ } ′ = ( 3 , 1 , 4 ) .
′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 3 + 2 − 4 = 1 \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = 3 + 2 - 4 = 1 ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 3 + 2 − 4 = 1
∣ ′ { ′ a ′ } ′ ∣ = 1 + 4 + 1 = 6 , ∣ ′ { ′ b ′ } ′ ∣ = 9 + 1 + 16 = 26 |\mathbf{'\{'}a{'\}'}| = \sqrt{1 + 4 + 1} = \sqrt{6}, \qquad |\mathbf{'\{'}b{'\}'}| = \sqrt{9 + 1 + 16} = \sqrt{26} ∣ ′ { ′ a ′ } ′ ∣ = 1 + 4 + 1 = 6 , ∣ ′ { ′ b ′ } ′ ∣ = 9 + 1 + 16 = 26
cos θ = 1 156 ⟹ θ ≈ 85.4 ∘ \cos\theta = \frac{1}{\sqrt{156}} \implies \theta \approx 85.4\,{}^{\circ} cos θ = 156 1 ⟹ θ ≈ 85.4 ∘
Perpendicularity
Two non-zero vectors are perpendicular (orthogonal) if and only if:
′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 0 \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = 0 ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 0
Example. Find a vector perpendicular to both ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) and ( 4 , 5 , 6 ) (4, 5, 6) ( 4 , 5 , 6 ) .
We need ′ { ′ n ′ } ′ = ( x , y , z ) \mathbf{'\{'}n{'\}'} = (x, y, z) ′ { ′ n ′ } ′ = ( x , y , z ) such that x + 2 y + 3 z = 0 x + 2y + 3z = 0 x + 2 y + 3 z = 0 and 4 x + 5 y + 6 z = 0 4x + 5y + 6z = 0 4 x + 5 y + 6 z = 0 . Let z = t z = t z = t :
x + 2 y = − 3 t , 4 x + 5 y = − 6 t x + 2y = -3t, \qquad 4x + 5y = -6t x + 2 y = − 3 t , 4 x + 5 y = − 6 t
From the first: x = − 3 t − 2 y x = -3t - 2y x = − 3 t − 2 y . Substituting: − 12 t − 8 y + 5 y = − 6 t ⟹ y = − 2 t -12t - 8y + 5y = -6t \implies y = -2t − 12 t − 8 y + 5 y = − 6 t ⟹ y = − 2 t .
x = − 3 t + 4 t = t x = -3t + 4t = t x = − 3 t + 4 t = t . So ′ { ′ n ′ } ′ = t ( 1 , − 2 , 1 ) \mathbf{'\{'}n{'\}'} = t(1, -2, 1) ′ { ′ n ′ } ′ = t ( 1 , − 2 , 1 ) . Taking t = 1 t = 1 t = 1 : ′ { ′ n ′ } ′ = ( 1 , − 2 , 1 ) \mathbf{'\{'}n{'\}'} = (1, -2, 1) ′ { ′ n ′ } ′ = ( 1 , − 2 , 1 ) .
The Vector (Cross) Product
Definition
The vector product (or cross product ) of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ is:
′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = ∣ ′ { ′ i ′ } ′ ′ { ′ j ′ } ′ ′ { ′ k ′ } ′ a 1 a 2 a 3 b 1 b 2 b 3 ∣ = ( a 2 b 3 − a 3 b 2 a 3 b 1 − a 1 b 3 a 1 b 2 − a 2 b 1 ) \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} = \begin{vmatrix} \mathbf{'\{'}i{'\}'} & \mathbf{'\{'}j{'\}'} & \mathbf{'\{'}k{'\}'} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = \begin{pmatrix} a_2 b_3 - a_3 b_2 \\ a_3 b_1 - a_1 b_3 \\ a_1 b_2 - a_2 b_1 \end{pmatrix} ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = ′ { ′ i ′ } ′ a 1 b 1 ′ { ′ j ′ } ′ a 2 b 2 ′ { ′ k ′ } ′ a 3 b 3 = a 2 b 3 − a 3 b 2 a 3 b 1 − a 1 b 3 a 1 b 2 − a 2 b 1
Geometric Interpretation
∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣ = ∣ ′ { ′ a ′ } ′ ∣ ∣ ′ { ′ b ′ } ′ ∣ sin θ |\mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'}| = |\mathbf{'\{'}a{'\}'}||\mathbf{'\{'}b{'\}'}|\sin\theta ∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣ = ∣ ′ { ′ a ′ } ′ ∣∣ ′ { ′ b ′ } ′ ∣ sin θ
The direction of ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ is perpendicular to both ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and
′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ , given by the right-hand rule.
Properties
Anti-commutative: ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = − ( ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ ) \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} = -(\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}a{'\}'}) ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = − ( ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ )
Distributive over addition: ′ { ′ a ′ } ′ × ( ′ { ′ b ′ } ′ + ′ { ′ c ′ } ′ ) = ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ + ′ { ′ a ′ } ′ × ′ { ′ c ′ } ′ \mathbf{'\{'}a{'\}'} \times (\mathbf{'\{'}b{'\}'} + \mathbf{'\{'}c{'\}'}) = \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} + \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}c{'\}'} ′ { ′ a ′ } ′ × ( ′ { ′ b ′ } ′ + ′ { ′ c ′ } ′ ) = ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ + ′ { ′ a ′ } ′ × ′ { ′ c ′ } ′
′ { ′ a ′ } ′ × ′ { ′ a ′ } ′ = ′ { ′ 0 ′ } ′ \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}a{'\}'} = \mathbf{'\{'}0{'\}'} ′ { ′ a ′ } ′ × ′ { ′ a ′ } ′ = ′ { ′ 0 ′ } ′
′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = ′ { ′ 0 ′ } ′ \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} = \mathbf{'\{'}0{'\}'} ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = ′ { ′ 0 ′ } ′ if and only if ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ are parallel (or one is zero)
′ { ′ i ′ } ′ × ′ { ′ j ′ } ′ = ′ { ′ k ′ } ′ \mathbf{'\{'}i{'\}'} \times \mathbf{'\{'}j{'\}'} = \mathbf{'\{'}k{'\}'} ′ { ′ i ′ } ′ × ′ { ′ j ′ } ′ = ′ { ′ k ′ } ′ , ′ { ′ j ′ } ′ × ′ { ′ k ′ } ′ = ′ { ′ i ′ } ′ \mathbf{'\{'}j{'\}'} \times \mathbf{'\{'}k{'\}'} = \mathbf{'\{'}i{'\}'} ′ { ′ j ′ } ′ × ′ { ′ k ′ } ′ = ′ { ′ i ′ } ′ , ′ { ′ k ′ } ′ × ′ { ′ i ′ } ′ = ′ { ′ j ′ } ′ \mathbf{'\{'}k{'\}'} \times \mathbf{'\{'}i{'\}'} = \mathbf{'\{'}j{'\}'} ′ { ′ k ′ } ′ × ′ { ′ i ′ } ′ = ′ { ′ j ′ } ′
Area of a Parallelogram and Triangle
The area of the parallelogram spanned by ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ is:
A = ∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣ A = |\mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'}| A = ∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣
The area of the triangle with sides represented by ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ is:
A = 1 2 ∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣ A = \frac{1}{2}|\mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'}| A = 2 1 ∣ ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ∣
Example. Find the area of the triangle with vertices A ( 1 , 0 , 0 ) A(1, 0, 0) A ( 1 , 0 , 0 ) , B ( 0 , 2 , 0 ) B(0, 2, 0) B ( 0 , 2 , 0 ) , C ( 0 , 0 , 3 ) C(0, 0, 3) C ( 0 , 0 , 3 ) .
A B → = ( − 1 , 2 , 0 ) , A C → = ( − 1 , 0 , 3 ) \overrightarrow{AB} = (-1, 2, 0), \qquad \overrightarrow{AC} = (-1, 0, 3) A B = ( − 1 , 2 , 0 ) , A C = ( − 1 , 0 , 3 )
A B → × A C → = ( 6 − 0 0 − ( − 3 ) 0 − ( − 2 ) ) = ( 6 3 2 ) \overrightarrow{AB} \times \overrightarrow{AC} = \begin{pmatrix} 6 - 0 \\ 0 - (-3) \\ 0 - (-2) \end{pmatrix} = \begin{pmatrix} 6 \\ 3 \\ 2 \end{pmatrix} A B × A C = 6 − 0 0 − ( − 3 ) 0 − ( − 2 ) = 6 3 2
A = 1 2 36 + 9 + 4 = 1 2 49 = 7 2 A = \frac{1}{2}\sqrt{36 + 9 + 4} = \frac{1}{2}\sqrt{49} = \frac{7}{2} A = 2 1 36 + 9 + 4 = 2 1 49 = 2 7
Equations of Lines in 3D
A line through point A A A with position vector ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ , in the direction of vector ′ { ′ d ′ } ′ \mathbf{'\{'}d{'\}'} ′ { ′ d ′ } ′ :
′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + t ′ { ′ d ′ } ′ , t ∈ ′ { ′ R ′ } ′ \mathbf{'\{'}r{'\}'} = \mathbf{'\{'}a{'\}'} + t\mathbf{'\{'}d{'\}'}, \qquad t \in \mathbb{'\{'}R{'\}'} ′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + t ′ { ′ d ′ } ′ , t ∈ ′ { ′ R ′ } ′
If ′ { ′ a ′ } ′ = ( x 0 , y 0 , z 0 ) \mathbf{'\{'}a{'\}'} = (x_0, y_0, z_0) ′ { ′ a ′ } ′ = ( x 0 , y 0 , z 0 ) and ′ { ′ d ′ } ′ = ( d 1 , d 2 , d 3 ) \mathbf{'\{'}d{'\}'} = (d_1, d_2, d_3) ′ { ′ d ′ } ′ = ( d 1 , d 2 , d 3 ) :
x = x 0 + t d 1 , y = y 0 + t d 2 , z = z 0 + t d 3 x = x_0 + td_1, \qquad y = y_0 + td_2, \qquad z = z_0 + td_3 x = x 0 + t d 1 , y = y 0 + t d 2 , z = z 0 + t d 3
If d 1 , d 2 , d 3 ≠ 0 d_1, d_2, d_3 \ne 0 d 1 , d 2 , d 3 = 0 :
x − x 0 d 1 = y − y 0 d 2 = z − z 0 d 3 \frac{x - x_0}{d_1} = \frac{y - y_0}{d_2} = \frac{z - z_0}{d_3} d 1 x − x 0 = d 2 y − y 0 = d 3 z − z 0
Example. Find the vector equation of the line through ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) and ( 4 , 6 , 5 ) (4, 6, 5) ( 4 , 6 , 5 ) .
Direction: ′ { ′ d ′ } ′ = ( 3 , 4 , 2 ) \mathbf{'\{'}d{'\}'} = (3, 4, 2) ′ { ′ d ′ } ′ = ( 3 , 4 , 2 ) .
′ { ′ r ′ } ′ = ( 1 2 3 ) + t ( 3 4 2 ) \mathbf{'\{'}r{'\}'} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} + t\begin{pmatrix} 3 \\ 4 \\ 2 \end{pmatrix} ′ { ′ r ′ } ′ = 1 2 3 + t 3 4 2
Equations of Planes
A plane through point A A A with position vector ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and normal vector ′ { ′ n ′ } ′ \mathbf{'\{'}n{'\}'} ′ { ′ n ′ } ′ :
′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ = ′ { ′ a ′ } ′ ⋅ ′ { ′ n ′ } ′ = d \mathbf{'\{'}r{'\}'} \cdot \mathbf{'\{'}n{'\}'} = \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}n{'\}'} = d ′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ = ′ { ′ a ′ } ′ ⋅ ′ { ′ n ′ } ′ = d
where d d d is a constant.
If ′ { ′ n ′ } ′ = ( a , b , c ) \mathbf{'\{'}n{'\}'} = (a, b, c) ′ { ′ n ′ } ′ = ( a , b , c ) and the plane passes through ( x 0 , y 0 , z 0 ) (x_0, y_0, z_0) ( x 0 , y 0 , z 0 ) :
a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0 a(x - x_0) + b(y - y_0) + c(z - z_0) = 0 a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0
or equivalently: a x + b y + c z = d ax + by + cz = d a x + b y + cz = d where d = a x 0 + b y 0 + c z 0 d = ax_0 + by_0 + cz_0 d = a x 0 + b y 0 + c z 0 .
A plane through point A A A containing two non-parallel direction vectors ′ { ′ d ′ } ′ 1 \mathbf{'\{'}d{'\}'}_1 ′ { ′ d ′ } ′ 1 and ′ { ′ d ′ } ′ 2 \mathbf{'\{'}d{'\}'}_2 ′ { ′ d ′ } ′ 2 :
′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + s ′ { ′ d ′ } ′ 1 + t ′ { ′ d ′ } ′ 2 , s , t ∈ ′ { ′ R ′ } ′ \mathbf{'\{'}r{'\}'} = \mathbf{'\{'}a{'\}'} + s\mathbf{'\{'}d{'\}'}_1 + t\mathbf{'\{'}d{'\}'}_2, \qquad s, t \in \mathbb{'\{'}R{'\}'} ′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + s ′ { ′ d ′ } ′ 1 + t ′ { ′ d ′ } ′ 2 , s , t ∈ ′ { ′ R ′ } ′
Example. Find the equation of the plane through ( 1 , 0 , 2 ) (1, 0, 2) ( 1 , 0 , 2 ) , ( 3 , 1 , 0 ) (3, 1, 0) ( 3 , 1 , 0 ) , and ( 0 , − 1 , 1 ) (0, -1, 1) ( 0 , − 1 , 1 ) .
A B → = ( 2 , 1 , − 2 ) , A C → = ( − 1 , − 1 , − 1 ) \overrightarrow{AB} = (2, 1, -2), \qquad \overrightarrow{AC} = (-1, -1, -1) A B = ( 2 , 1 , − 2 ) , A C = ( − 1 , − 1 , − 1 )
Normal: ′ { ′ n ′ } ′ = A B → × A C → \mathbf{'\{'}n{'\}'} = \overrightarrow{AB} \times \overrightarrow{AC} ′ { ′ n ′ } ′ = A B × A C :
′ { ′ n ′ } ′ = ( ( − 1 ) ( − 1 ) − ( − 2 ) ( − 1 ) ( − 2 ) ( − 1 ) − ( 2 ) ( − 1 ) ( 2 ) ( − 1 ) − ( 1 ) ( − 1 ) ) = ( − 1 4 − 1 ) \mathbf{'\{'}n{'\}'} = \begin{pmatrix} (-1)(-1) - (-2)(-1) \\ (-2)(-1) - (2)(-1) \\ (2)(-1) - (1)(-1) \end{pmatrix} = \begin{pmatrix} -1 \\ 4 \\ -1 \end{pmatrix} ′ { ′ n ′ } ′ = ( − 1 ) ( − 1 ) − ( − 2 ) ( − 1 ) ( − 2 ) ( − 1 ) − ( 2 ) ( − 1 ) ( 2 ) ( − 1 ) − ( 1 ) ( − 1 ) = − 1 4 − 1
Plane: − 1 ( x − 1 ) + 4 ( y − 0 ) − 1 ( z − 2 ) = 0 -1(x - 1) + 4(y - 0) - 1(z - 2) = 0 − 1 ( x − 1 ) + 4 ( y − 0 ) − 1 ( z − 2 ) = 0 , i.e. − x + 4 y − z + 3 = 0 -x + 4y - z + 3 = 0 − x + 4 y − z + 3 = 0 .
Angles Between Lines and Planes
Angle Between Two Lines
If two lines have direction vectors ′ { ′ d ′ } ′ 1 \mathbf{'\{'}d{'\}'}_1 ′ { ′ d ′ } ′ 1 and ′ { ′ d ′ } ′ 2 \mathbf{'\{'}d{'\}'}_2 ′ { ′ d ′ } ′ 2 :
cos θ = ∣ ′ { ′ d ′ } ′ 1 ⋅ ′ { ′ d ′ } ′ 2 ∣ ∣ ′ { ′ d ′ } ′ 1 ∣ ∣ ′ { ′ d ′ } ′ 2 ∣ \cos\theta = \frac{|\mathbf{'\{'}d{'\}'}_1 \cdot \mathbf{'\{'}d{'\}'}_2|}{|\mathbf{'\{'}d{'\}'}_1||\mathbf{'\{'}d{'\}'}_2|} cos θ = ∣ ′ { ′ d ′ } ′ 1 ∣∣ ′ { ′ d ′ } ′ 2 ∣ ∣ ′ { ′ d ′ } ′ 1 ⋅ ′ { ′ d ′ } ′ 2 ∣
Angle Between Two Planes
If two planes have normal vectors ′ { ′ n ′ } ′ 1 \mathbf{'\{'}n{'\}'}_1 ′ { ′ n ′ } ′ 1 and ′ { ′ n ′ } ′ 2 \mathbf{'\{'}n{'\}'}_2 ′ { ′ n ′ } ′ 2 :
cos θ = ∣ ′ { ′ n ′ } ′ 1 ⋅ ′ { ′ n ′ } ′ 2 ∣ ∣ ′ { ′ n ′ } ′ 1 ∣ ∣ ′ { ′ n ′ } ′ 2 ∣ \cos\theta = \frac{|\mathbf{'\{'}n{'\}'}_1 \cdot \mathbf{'\{'}n{'\}'}_2|}{|\mathbf{'\{'}n{'\}'}_1||\mathbf{'\{'}n{'\}'}_2|} cos θ = ∣ ′ { ′ n ′ } ′ 1 ∣∣ ′ { ′ n ′ } ′ 2 ∣ ∣ ′ { ′ n ′ } ′ 1 ⋅ ′ { ′ n ′ } ′ 2 ∣
Angle Between a Line and a Plane
If a line has direction ′ { ′ d ′ } ′ \mathbf{'\{'}d{'\}'} ′ { ′ d ′ } ′ and a plane has normal ′ { ′ n ′ } ′ \mathbf{'\{'}n{'\}'} ′ { ′ n ′ } ′ , the angle ϕ \phi ϕ between the
line and the plane satisfies:
sin ϕ = ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ∣ ∣ ′ { ′ n ′ } ′ ∣ \sin\phi = \frac{|\mathbf{'\{'}d{'\}'} \cdot \mathbf{'\{'}n{'\}'}|}{|\mathbf{'\{'}d{'\}'}||\mathbf{'\{'}n{'\}'}|} sin ϕ = ∣ ′ { ′ d ′ } ′ ∣∣ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣
(The angle between the line and the normal is θ = 90 ∘ − ϕ \theta = 90\,{}^{\circ} - \phi θ = 90 ∘ − ϕ .)
Shortest Distances
Distance from a Point to a Line
The shortest distance from point P P P with position vector ′ { ′ p ′ } ′ \mathbf{'\{'}p{'\}'} ′ { ′ p ′ } ′ to the line
′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + t ′ { ′ d ′ } ′ \mathbf{'\{'}r{'\}'} = \mathbf{'\{'}a{'\}'} + t\mathbf{'\{'}d{'\}'} ′ { ′ r ′ } ′ = ′ { ′ a ′ } ′ + t ′ { ′ d ′ } ′ is:
d = ∣ ( ′ { ′ p ′ } ′ − ′ { ′ a ′ } ′ ) × ′ { ′ d ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ∣ d = \frac{|(\mathbf{'\{'}p{'\}'} - \mathbf{'\{'}a{'\}'}) \times \mathbf{'\{'}d{'\}'}|}{|\mathbf{'\{'}d{'\}'}|} d = ∣ ′ { ′ d ′ } ′ ∣ ∣ ( ′ { ′ p ′ } ′ − ′ { ′ a ′ } ′ ) × ′ { ′ d ′ } ′ ∣
Distance from a Point to a Plane
The shortest distance from point P ( x 1 , y 1 , z 1 ) P(x_1, y_1, z_1) P ( x 1 , y 1 , z 1 ) to the plane a x + b y + c z + d = 0 ax + by + cz + d = 0 a x + b y + cz + d = 0 is:
D = ∣ a x 1 + b y 1 + c z 1 + d ∣ a 2 + b 2 + c 2 D = \frac{|ax_1 + by_1 + cz_1 + d|}{\sqrt{a^2 + b^2 + c^2}} D = a 2 + b 2 + c 2 ∣ a x 1 + b y 1 + c z 1 + d ∣
Example. Find the distance from ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) to the plane 2 x − y + 2 z = 5 2x - y + 2z = 5 2 x − y + 2 z = 5 .
D = ∣ 2 ( 1 ) − 1 ( 2 ) + 2 ( 3 ) − 5 ∣ 4 + 1 + 4 = ∣ 2 − 2 + 6 − 5 ∣ 3 = 1 3 D = \frac{|2(1) - 1(2) + 2(3) - 5|}{\sqrt{4 + 1 + 4}} = \frac{|2 - 2 + 6 - 5|}{3} = \frac{1}{3} D = 4 + 1 + 4 ∣2 ( 1 ) − 1 ( 2 ) + 2 ( 3 ) − 5∣ = 3 ∣2 − 2 + 6 − 5∣ = 3 1
Distance Between Two Skew Lines
Two lines in 3D that are neither parallel nor intersecting are skew . The shortest distance
between the line ′ { ′ r ′ } ′ 1 = ′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 \mathbf{'\{'}r{'\}'}_1 = \mathbf{'\{'}a{'\}'}_1 + t\mathbf{'\{'}d{'\}'}_1 ′ { ′ r ′ } ′ 1 = ′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 and the line
′ { ′ r ′ } ′ 2 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2 \mathbf{'\{'}r{'\}'}_2 = \mathbf{'\{'}a{'\}'}_2 + s\mathbf{'\{'}d{'\}'}_2 ′ { ′ r ′ } ′ 2 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2 is:
d = ∣ ( ′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 ) ⋅ ( ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ) ∣ ∣ ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ∣ d = \frac{|(\mathbf{'\{'}a{'\}'}_2 - \mathbf{'\{'}a{'\}'}_1) \cdot (\mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2)|}{|\mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2|} d = ∣ ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ∣ ∣ ( ′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 ) ⋅ ( ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ) ∣
Distance Between Parallel Planes
For parallel planes a x + b y + c z = d 1 ax + by + cz = d_1 a x + b y + cz = d 1 and a x + b y + c z = d 2 ax + by + cz = d_2 a x + b y + cz = d 2 :
D = ∣ d 1 − d 2 ∣ a 2 + b 2 + c 2 D = \frac{|d_1 - d_2|}{\sqrt{a^2 + b^2 + c^2}} D = a 2 + b 2 + c 2 ∣ d 1 − d 2 ∣
Vector Triple Product
Scalar Triple Product
The scalar triple product is:
[ ′ { ′ a ′ } ′ , ′ { ′ b ′ } ′ , ′ { ′ c ′ } ′ ] = ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) [\mathbf{'\{'}a{'\}'}, \mathbf{'\{'}b{'\}'}, \mathbf{'\{'}c{'\}'}] = \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) [ ′ { ′ a ′ } ′ , ′ { ′ b ′ } ′ , ′ { ′ c ′ } ′ ] = ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ )
Its absolute value equals the volume of the parallelepiped spanned by ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ , ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ , and
′ { ′ c ′ } ′ \mathbf{'\{'}c{'\}'} ′ { ′ c ′ } ′ .
′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = ∣ a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3 ∣ \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) = \begin{vmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{vmatrix} ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3
Coplanarity Test
Three vectors ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ , ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ , ′ { ′ c ′ } ′ \mathbf{'\{'}c{'\}'} ′ { ′ c ′ } ′ are coplanar if and only if:
′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = 0 \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) = 0 ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = 0
Properties
′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = ′ { ′ b ′ } ′ ⋅ ( ′ { ′ c ′ } ′ × ′ { ′ a ′ } ′ ) = ′ { ′ c ′ } ′ ⋅ ( ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ) \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) = \mathbf{'\{'}b{'\}'} \cdot (\mathbf{'\{'}c{'\}'} \times \mathbf{'\{'}a{'\}'}) = \mathbf{'\{'}c{'\}'} \cdot (\mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'}) ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = ′ { ′ b ′ } ′ ⋅ ( ′ { ′ c ′ } ′ × ′ { ′ a ′ } ′ ) = ′ { ′ c ′ } ′ ⋅ ( ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ )
Cyclic permutation preserves the value; swapping any two vectors negates it.
Vector Projections
Projection of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ onto ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′
The scalar projection (component) of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ along ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ :
c o m p ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ∣ ′ { ′ b ′ } ′ ∣ = ∣ ′ { ′ a ′ } ′ ∣ cos θ \mathrm{comp}_{\mathbf{'\{'}b{'\}'}}\,\mathbf{'\{'}a{'\}'} = \frac{\mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'}}{|\mathbf{'\{'}b{'\}'}|} = |\mathbf{'\{'}a{'\}'}|\cos\theta comp ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = ∣ ′ { ′ b ′ } ′ ∣ ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = ∣ ′ { ′ a ′ } ′ ∣ cos θ
The vector projection of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ onto ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ :
p r o j ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ∣ ′ { ′ b ′ } ′ ∣ 2 ′ { ′ b ′ } ′ = ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ′ { ′ b ′ } ′ ⋅ ′ { ′ b ′ } ′ ′ { ′ b ′ } ′ \mathrm{proj}_{\mathbf{'\{'}b{'\}'}}\,\mathbf{'\{'}a{'\}'} = \frac{\mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'}}{|\mathbf{'\{'}b{'\}'}|^2}\,\mathbf{'\{'}b{'\}'} = \frac{\mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'}}{\mathbf{'\{'}b{'\}'} \cdot \mathbf{'\{'}b{'\}'}}\,\mathbf{'\{'}b{'\}'} proj ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = ∣ ′ { ′ b ′ } ′ ∣ 2 ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ′ { ′ b ′ } ′ = ′ { ′ b ′ } ′ ⋅ ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ ′ { ′ b ′ } ′
The component of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ perpendicular to ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ is:
′ { ′ a ′ } ′ ⊥ = ′ { ′ a ′ } ′ − p r o j ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'}_{\perp} = \mathbf{'\{'}a{'\}'} - \mathrm{proj}_{\mathbf{'\{'}b{'\}'}}\,\mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ ⊥ = ′ { ′ a ′ } ′ − proj ′ { ′ b ′ } ′ ′ { ′ a ′ } ′
Example. Find the projection of ′ { ′ a ′ } ′ = ( 3 , 1 , − 2 ) \mathbf{'\{'}a{'\}'} = (3, 1, -2) ′ { ′ a ′ } ′ = ( 3 , 1 , − 2 ) onto ′ { ′ b ′ } ′ = ( 1 , 0 , 2 ) \mathbf{'\{'}b{'\}'} = (1, 0, 2) ′ { ′ b ′ } ′ = ( 1 , 0 , 2 ) .
′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 3 + 0 − 4 = − 1 , ∣ ′ { ′ b ′ } ′ ∣ 2 = 1 + 4 = 5 \mathbf{'\{'}a{'\}'} \cdot \mathbf{'\{'}b{'\}'} = 3 + 0 - 4 = -1, \qquad |\mathbf{'\{'}b{'\}'}|^2 = 1 + 4 = 5 ′ { ′ a ′ } ′ ⋅ ′ { ′ b ′ } ′ = 3 + 0 − 4 = − 1 , ∣ ′ { ′ b ′ } ′ ∣ 2 = 1 + 4 = 5
p r o j ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = − 1 5 ( 1 , 0 , 2 ) = ( − 1 5 , 0 , − 2 5 ) \mathrm{proj}_{\mathbf{'\{'}b{'\}'}}\,\mathbf{'\{'}a{'\}'} = \frac{-1}{5}(1, 0, 2) = \left(-\frac{1}{5},\, 0,\, -\frac{2}{5}\right) proj ′ { ′ b ′ } ′ ′ { ′ a ′ } ′ = 5 − 1 ( 1 , 0 , 2 ) = ( − 5 1 , 0 , − 5 2 )
Intersection of Lines and Planes
Line-Line Intersection
Two lines ′ { ′ r ′ } ′ 1 = ′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 \mathbf{'\{'}r{'\}'}_1 = \mathbf{'\{'}a{'\}'}_1 + t\mathbf{'\{'}d{'\}'}_1 ′ { ′ r ′ } ′ 1 = ′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 and ′ { ′ r ′ } ′ 2 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2 \mathbf{'\{'}r{'\}'}_2 = \mathbf{'\{'}a{'\}'}_2 + s\mathbf{'\{'}d{'\}'}_2 ′ { ′ r ′ } ′ 2 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2
intersect if and only if the system
′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2 \mathbf{'\{'}a{'\}'}_1 + t\mathbf{'\{'}d{'\}'}_1 = \mathbf{'\{'}a{'\}'}_2 + s\mathbf{'\{'}d{'\}'}_2 ′ { ′ a ′ } ′ 1 + t ′ { ′ d ′ } ′ 1 = ′ { ′ a ′ } ′ 2 + s ′ { ′ d ′ } ′ 2
has a solution for ( t , s ) (t, s) ( t , s ) . If the direction vectors are not parallel but the system has no
solution, the lines are skew.
Line-Plane Intersection
Substitute the parametric form of the line into the equation of the plane a x + b y + c z = d ax + by + cz = d a x + b y + cz = d and
solve for the parameter.
Example. Find where the line ′ { ′ r ′ } ′ = ( 1 , 2 , 0 ) + t ( 1 , − 1 , 3 ) \mathbf{'\{'}r{'\}'} = (1, 2, 0) + t(1, -1, 3) ′ { ′ r ′ } ′ = ( 1 , 2 , 0 ) + t ( 1 , − 1 , 3 ) meets the plane
x + 2 y − z = 5 x + 2y - z = 5 x + 2 y − z = 5 .
Substituting: ( 1 + t ) + 2 ( 2 − t ) − 3 t = 5 ⟹ 1 + t + 4 − 2 t − 3 t = 5 ⟹ − 4 t = 0 (1 + t) + 2(2 - t) - 3t = 5 \implies 1 + t + 4 - 2t - 3t = 5 \implies -4t = 0 ( 1 + t ) + 2 ( 2 − t ) − 3 t = 5 ⟹ 1 + t + 4 − 2 t − 3 t = 5 ⟹ − 4 t = 0 .
t = 0 t = 0 t = 0 , so the intersection point is ( 1 , 2 , 0 ) (1, 2, 0) ( 1 , 2 , 0 ) .
Plane-Plane Intersection
Two planes ′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ 1 = d 1 \mathbf{'\{'}r{'\}'} \cdot \mathbf{'\{'}n{'\}'}_1 = d_1 ′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ 1 = d 1 and ′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ 2 = d 2 \mathbf{'\{'}r{'\}'} \cdot \mathbf{'\{'}n{'\}'}_2 = d_2 ′ { ′ r ′ } ′ ⋅ ′ { ′ n ′ } ′ 2 = d 2 intersect
in a line. The direction of this line is ′ { ′ d ′ } ′ = ′ { ′ n ′ } ′ 1 × ′ { ′ n ′ } ′ 2 \mathbf{'\{'}d{'\}'} = \mathbf{'\{'}n{'\}'}_1 \times \mathbf{'\{'}n{'\}'}_2 ′ { ′ d ′ } ′ = ′ { ′ n ′ } ′ 1 × ′ { ′ n ′ } ′ 2 (provided the
planes are not parallel).
If ′ { ′ n ′ } ′ 1 \mathbf{'\{'}n{'\}'}_1 ′ { ′ n ′ } ′ 1 and ′ { ′ n ′ } ′ 2 \mathbf{'\{'}n{'\}'}_2 ′ { ′ n ′ } ′ 2 are parallel (i.e. ′ { ′ n ′ } ′ 1 = k ′ { ′ n ′ } ′ 2 \mathbf{'\{'}n{'\}'}_1 = k\mathbf{'\{'}n{'\}'}_2 ′ { ′ n ′ } ′ 1 = k ′ { ′ n ′ } ′ 2 ), the planes
are either coincident (same plane) or parallel and distinct (no intersection).
Direction Cosines and Direction Ratios
Direction Cosines
For a vector ′ { ′ a ′ } ′ = ( a 1 , a 2 , a 3 ) \mathbf{'\{'}a{'\}'} = (a_1, a_2, a_3) ′ { ′ a ′ } ′ = ( a 1 , a 2 , a 3 ) with ∣ ′ { ′ a ′ } ′ ∣ ≠ 0 |\mathbf{'\{'}a{'\}'}| \ne 0 ∣ ′ { ′ a ′ } ′ ∣ = 0 , the direction cosines are:
l = cos α = a 1 ∣ ′ { ′ a ′ } ′ ∣ , m = cos β = a 2 ∣ ′ { ′ a ′ } ′ ∣ , n = cos γ = a 3 ∣ ′ { ′ a ′ } ′ ∣ l = \cos\alpha = \frac{a_1}{|\mathbf{'\{'}a{'\}'}|}, \qquad m = \cos\beta = \frac{a_2}{|\mathbf{'\{'}a{'\}'}|}, \qquad n = \cos\gamma = \frac{a_3}{|\mathbf{'\{'}a{'\}'}|} l = cos α = ∣ ′ { ′ a ′ } ′ ∣ a 1 , m = cos β = ∣ ′ { ′ a ′ } ′ ∣ a 2 , n = cos γ = ∣ ′ { ′ a ′ } ′ ∣ a 3
where α , β , γ \alpha, \beta, \gamma α , β , γ are the angles between ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ and the x x x , y y y , z z z axes
respectively.
They satisfy: l 2 + m 2 + n 2 = 1 l^2 + m^2 + n^2 = 1 l 2 + m 2 + n 2 = 1 .
Direction Ratios
Any triple of numbers ( a 1 , a 2 , a 3 ) (a_1, a_2, a_3) ( a 1 , a 2 , a 3 ) proportional to the direction cosines are direction ratios .
For a vector ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ , its components are direction ratios.
Worked Problems
Problem: Shortest Distance Between Skew Lines
Find the shortest distance between ′ { ′ r ′ } ′ 1 = ( 0 , 1 , 0 ) + t ( 1 , 0 , − 1 ) \mathbf{'\{'}r{'\}'}_1 = (0, 1, 0) + t(1, 0, -1) ′ { ′ r ′ } ′ 1 = ( 0 , 1 , 0 ) + t ( 1 , 0 , − 1 ) and
′ { ′ r ′ } ′ 2 = ( 0 , 0 , 1 ) + s ( 0 , 1 , 1 ) \mathbf{'\{'}r{'\}'}_2 = (0, 0, 1) + s(0, 1, 1) ′ { ′ r ′ } ′ 2 = ( 0 , 0 , 1 ) + s ( 0 , 1 , 1 ) .
′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 = ( 0 , − 1 , 1 ) \mathbf{'\{'}a{'\}'}_2 - \mathbf{'\{'}a{'\}'}_1 = (0, -1, 1) ′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 = ( 0 , − 1 , 1 ) , ′ { ′ d ′ } ′ 1 = ( 1 , 0 , − 1 ) \mathbf{'\{'}d{'\}'}_1 = (1, 0, -1) ′ { ′ d ′ } ′ 1 = ( 1 , 0 , − 1 ) , ′ { ′ d ′ } ′ 2 = ( 0 , 1 , 1 ) \mathbf{'\{'}d{'\}'}_2 = (0, 1, 1) ′ { ′ d ′ } ′ 2 = ( 0 , 1 , 1 ) .
′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 = ( 0 − ( − 1 ) − 1 − 0 1 − 0 ) = ( 1 − 1 1 ) \mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2 = \begin{pmatrix} 0 - (-1) \\ -1 - 0 \\ 1 - 0 \end{pmatrix} = \begin{pmatrix} 1 \\ -1 \\ 1 \end{pmatrix} ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 = 0 − ( − 1 ) − 1 − 0 1 − 0 = 1 − 1 1
∣ ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ∣ = 1 + 1 + 1 = 3 |\mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2| = \sqrt{1 + 1 + 1} = \sqrt{3} ∣ ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ∣ = 1 + 1 + 1 = 3
( ′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 ) ⋅ ( ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ) = 0 + 1 + 1 = 2 (\mathbf{'\{'}a{'\}'}_2 - \mathbf{'\{'}a{'\}'}_1) \cdot (\mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2) = 0 + 1 + 1 = 2 ( ′ { ′ a ′ } ′ 2 − ′ { ′ a ′ } ′ 1 ) ⋅ ( ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 ) = 0 + 1 + 1 = 2
d = 2 3 = 2 3 3 d = \frac{2}{\sqrt{3}} = \frac{2\sqrt{3}}{3} d = 3 2 = 3 2 3
Problem: Reflection of a Point in a Plane
Find the reflection of the point P ( 1 , 2 , 3 ) P(1, 2, 3) P ( 1 , 2 , 3 ) in the plane 2 x − y + z = 4 2x - y + z = 4 2 x − y + z = 4 .
The normal is ′ { ′ n ′ } ′ = ( 2 , − 1 , 1 ) \mathbf{'\{'}n{'\}'} = (2, -1, 1) ′ { ′ n ′ } ′ = ( 2 , − 1 , 1 ) , ∣ ′ { ′ n ′ } ′ ∣ = 6 |\mathbf{'\{'}n{'\}'}| = \sqrt{6} ∣ ′ { ′ n ′ } ′ ∣ = 6 .
The foot of the perpendicular from P P P to the plane is found by solving the line
′ { ′ r ′ } ′ = ( 1 , 2 , 3 ) + t ( 2 , − 1 , 1 ) \mathbf{'\{'}r{'\}'} = (1, 2, 3) + t(2, -1, 1) ′ { ′ r ′ } ′ = ( 1 , 2 , 3 ) + t ( 2 , − 1 , 1 ) intersecting the plane:
2 ( 1 + 2 t ) − ( 2 − t ) + ( 3 + t ) = 4 ⟹ 2 + 4 t − 2 + t + 3 + t = 4 ⟹ 6 t = 1 ⟹ t = 1 6 2(1 + 2t) - (2 - t) + (3 + t) = 4 \implies 2 + 4t - 2 + t + 3 + t = 4 \implies 6t = 1 \implies t = \frac{1}{6} 2 ( 1 + 2 t ) − ( 2 − t ) + ( 3 + t ) = 4 ⟹ 2 + 4 t − 2 + t + 3 + t = 4 ⟹ 6 t = 1 ⟹ t = 6 1
Foot F = ( 1 + 2 6 , 2 − 1 6 , 3 + 1 6 ) = ( 4 3 , 11 6 , 19 6 ) F = \left(1 + \dfrac{2}{6},\, 2 - \dfrac{1}{6},\, 3 + \dfrac{1}{6}\right) = \left(\dfrac{4}{3},\, \dfrac{11}{6},\, \dfrac{19}{6}\right) F = ( 1 + 6 2 , 2 − 6 1 , 3 + 6 1 ) = ( 3 4 , 6 11 , 6 19 ) .
The reflection P ′ P' P ′ satisfies F = P + P ′ 2 F = \dfrac{P + P'}{2} F = 2 P + P ′ :
P ′ = 2 F − P = ( 8 3 − 1 , 11 3 − 2 , 19 3 − 3 ) = ( 5 3 , 5 3 , 10 3 ) P' = 2F - P = \left(\dfrac{8}{3} - 1,\, \dfrac{11}{3} - 2,\, \dfrac{19}{3} - 3\right) = \left(\dfrac{5}{3},\, \dfrac{5}{3},\, \dfrac{10}{3}\right) P ′ = 2 F − P = ( 3 8 − 1 , 3 11 − 2 , 3 19 − 3 ) = ( 3 5 , 3 5 , 3 10 )
warning
The cross product is defined only in ′ { ′ R ′ } ′ 3 \mathbb{'\{'}R{'\}'}^3 ′ { ′ R ′ } ′ 3 (and ′ { ′ R ′ } ′ 7 \mathbb{'\{'}R{'\}'}^7 ′ { ′ R ′ } ′ 7 ). Do not attempt to compute
cross products in ′ { ′ R ′ } ′ 2 \mathbb{'\{'}R{'\}'}^2 ′ { ′ R ′ } ′ 2 directly. Also, ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ≠ ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} \ne \mathbf{'\{'}b{'\}'} \times
\mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ = ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ : the cross product is anti-commutative.
Additional Worked Examples
Worked Example: Intersection of Two Lines in 3D
Determine whether the lines ′ { ′ r ′ } ′ 1 = ( 1 , 2 , 0 ) + t ( 2 , − 1 , 1 ) \mathbf{'\{'}r{'\}'}_1 = (1, 2, 0) + t(2, -1, 1) ′ { ′ r ′ } ′ 1 = ( 1 , 2 , 0 ) + t ( 2 , − 1 , 1 ) and
′ { ′ r ′ } ′ 2 = ( 3 , 0 , − 1 ) + s ( 1 , 1 , 2 ) \mathbf{'\{'}r{'\}'}_2 = (3, 0, -1) + s(1, 1, 2) ′ { ′ r ′ } ′ 2 = ( 3 , 0 , − 1 ) + s ( 1 , 1 , 2 ) intersect. If so, find the intersection point.
Solution For intersection, we need t t t and s s s such that:
1 + 2 t = 3 + s , 2 − t = s , t = − 1 + 2 s 1 + 2t = 3 + s, \qquad 2 - t = s, \qquad t = -1 + 2s 1 + 2 t = 3 + s , 2 − t = s , t = − 1 + 2 s
From the second equation: s = 2 − t s = 2 - t s = 2 − t .
Substitute into the first: 1 + 2 t = 3 + 2 − t ⟹ 3 t = 4 ⟹ t = 4 3 1 + 2t = 3 + 2 - t \implies 3t = 4 \implies t = \dfrac{4}{3} 1 + 2 t = 3 + 2 − t ⟹ 3 t = 4 ⟹ t = 3 4 .
Then s = 2 − 4 3 = 2 3 s = 2 - \dfrac{4}{3} = \dfrac{2}{3} s = 2 − 3 4 = 3 2 .
Check with the third equation: t = − 1 + 2 s ⟹ 4 3 = − 1 + 4 3 = 1 3 t = -1 + 2s \implies \dfrac{4}{3} = -1 + \dfrac{4}{3} = \dfrac{1}{3} t = − 1 + 2 s ⟹ 3 4 = − 1 + 3 4 = 3 1 .
Since 4 3 ≠ 1 3 \dfrac{4}{3} \ne \dfrac{1}{3} 3 4 = 3 1 , the system is inconsistent. The lines do not intersect; they
are skew.
Worked Example: Angle Between a Line and a Plane
Find the acute angle between the line ′ { ′ r ′ } ′ = ( 1 , − 1 , 2 ) + t ( 3 , 1 , − 2 ) \mathbf{'\{'}r{'\}'} = (1, -1, 2) + t(3, 1, -2) ′ { ′ r ′ } ′ = ( 1 , − 1 , 2 ) + t ( 3 , 1 , − 2 ) and the plane
2 x − y + 2 z = 6 2x - y + 2z = 6 2 x − y + 2 z = 6 .
Solution The direction of the line is ′ { ′ d ′ } ′ = ( 3 , 1 , − 2 ) \mathbf{'\{'}d{'\}'} = (3, 1, -2) ′ { ′ d ′ } ′ = ( 3 , 1 , − 2 ) .
The normal of the plane is ′ { ′ n ′ } ′ = ( 2 , − 1 , 2 ) \mathbf{'\{'}n{'\}'} = (2, -1, 2) ′ { ′ n ′ } ′ = ( 2 , − 1 , 2 ) .
The angle α \alpha α between the line and the normal satisfies:
cos α = ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ∣ ∣ ′ { ′ n ′ } ′ ∣ \cos\alpha = \frac{|\mathbf{'\{'}d{'\}'} \cdot \mathbf{'\{'}n{'\}'}|}{|\mathbf{'\{'}d{'\}'}||\mathbf{'\{'}n{'\}'}|} cos α = ∣ ′ { ′ d ′ } ′ ∣∣ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣
′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ = 6 − 1 − 4 = 1 \mathbf{'\{'}d{'\}'} \cdot \mathbf{'\{'}n{'\}'} = 6 - 1 - 4 = 1 ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ = 6 − 1 − 4 = 1
∣ ′ { ′ d ′ } ′ ∣ = 9 + 1 + 4 = 14 , ∣ ′ { ′ n ′ } ′ ∣ = 4 + 1 + 4 = 3 |\mathbf{'\{'}d{'\}'}| = \sqrt{9 + 1 + 4} = \sqrt{14}, \qquad |\mathbf{'\{'}n{'\}'}| = \sqrt{4 + 1 + 4} = 3 ∣ ′ { ′ d ′ } ′ ∣ = 9 + 1 + 4 = 14 , ∣ ′ { ′ n ′ } ′ ∣ = 4 + 1 + 4 = 3
cos α = 1 3 14 = 14 42 ⟹ α ≈ 85.0 ∘ \cos\alpha = \frac{1}{3\sqrt{14}} = \frac{\sqrt{14}}{42} \implies \alpha \approx 85.0\,{}^{\circ} cos α = 3 14 1 = 42 14 ⟹ α ≈ 85.0 ∘
The angle between the line and the plane is ϕ = 90 ∘ − α ≈ 5.0 ∘ \phi = 90\,{}^{\circ} - \alpha \approx 5.0\,{}^{\circ} ϕ = 90 ∘ − α ≈ 5.0 ∘ .
Worked Example: Shortest Distance Between Parallel Planes
Find the shortest distance between the planes 3 x + 2 y − z = 4 3x + 2y - z = 4 3 x + 2 y − z = 4 and 3 x + 2 y − z = − 8 3x + 2y - z = -8 3 x + 2 y − z = − 8 .
Solution Both planes have the same normal vector ′ { ′ n ′ } ′ = ( 3 , 2 , − 1 ) \mathbf{'\{'}n{'\}'} = (3, 2, -1) ′ { ′ n ′ } ′ = ( 3 , 2 , − 1 ) , so they are parallel.
The distance between parallel planes a x + b y + c z = d 1 ax + by + cz = d_1 a x + b y + cz = d 1 and a x + b y + c z = d 2 ax + by + cz = d_2 a x + b y + cz = d 2 is:
D = ∣ d 1 − d 2 ∣ a 2 + b 2 + c 2 = ∣ 4 − ( − 8 ) ∣ 9 + 4 + 1 = 12 14 = 12 14 14 = 6 14 7 D = \frac{|d_1 - d_2|}{\sqrt{a^2 + b^2 + c^2}} = \frac{|4 - (-8)|}{\sqrt{9 + 4 + 1}} = \frac{12}{\sqrt{14}} = \frac{12\sqrt{14}}{14} = \frac{6\sqrt{14}}{7} D = a 2 + b 2 + c 2 ∣ d 1 − d 2 ∣ = 9 + 4 + 1 ∣4 − ( − 8 ) ∣ = 14 12 = 14 12 14 = 7 6 14
D ≈ 3.22 D \approx 3.22 D ≈ 3.22
Worked Example: Volume of a Parallelepiped
Find the volume of the parallelepiped with adjacent edges represented by ′ { ′ a ′ } ′ = ( 1 , 0 , 2 ) \mathbf{'\{'}a{'\}'} = (1, 0, 2) ′ { ′ a ′ } ′ = ( 1 , 0 , 2 ) ,
′ { ′ b ′ } ′ = ( 3 , 1 , − 1 ) \mathbf{'\{'}b{'\}'} = (3, 1, -1) ′ { ′ b ′ } ′ = ( 3 , 1 , − 1 ) , and ′ { ′ c ′ } ′ = ( 2 , − 1 , 1 ) \mathbf{'\{'}c{'\}'} = (2, -1, 1) ′ { ′ c ′ } ′ = ( 2 , − 1 , 1 ) .
Solution The volume is ∣ ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) ∣ |\mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'})| ∣ ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) ∣ .
First compute ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ \mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'} ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ :
′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ = ( ( 1 ) ( 1 ) − ( − 1 ) ( − 1 ) ( − 1 ) ( 2 ) − ( 3 ) ( 1 ) ( 3 ) ( − 1 ) − ( 1 ) ( 2 ) ) = ( 0 − 5 − 5 ) \mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'} = \begin{pmatrix} (1)(1) - (-1)(-1) \\ (-1)(2) - (3)(1) \\ (3)(-1) - (1)(2) \end{pmatrix} = \begin{pmatrix} 0 \\ -5 \\ -5 \end{pmatrix} ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ = ( 1 ) ( 1 ) − ( − 1 ) ( − 1 ) ( − 1 ) ( 2 ) − ( 3 ) ( 1 ) ( 3 ) ( − 1 ) − ( 1 ) ( 2 ) = 0 − 5 − 5
Then ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = ( 1 ) ( 0 ) + ( 0 ) ( − 5 ) + ( 2 ) ( − 5 ) = − 10 \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) = (1)(0) + (0)(-5) + (2)(-5) = -10 ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = ( 1 ) ( 0 ) + ( 0 ) ( − 5 ) + ( 2 ) ( − 5 ) = − 10 .
Volume = ∣ − 10 ∣ = 10 = |-10| = 10 = ∣ − 10∣ = 10 .
Alternatively, compute the determinant directly:
∣ 1 0 2 3 1 − 1 2 − 1 1 ∣ = 1 ( 1 − 1 ) − 0 + 2 ( − 3 − 2 ) = − 10 \begin{vmatrix} 1 & 0 & 2 \\ 3 & 1 & -1 \\ 2 & -1 & 1 \end{vmatrix} = 1(1 - 1) - 0 + 2(-3 - 2) = -10 1 3 2 0 1 − 1 2 − 1 1 = 1 ( 1 − 1 ) − 0 + 2 ( − 3 − 2 ) = − 10
Volume = ∣ − 10 ∣ = 10 = |-10| = 10 = ∣ − 10∣ = 10 .
Worked Example: Plane Through a Line Perpendicular to Another Plane
Find the equation of the plane that contains the line ′ { ′ r ′ } ′ = ( 1 , 2 , 3 ) + t ( 1 , − 1 , 0 ) \mathbf{'\{'}r{'\}'} = (1, 2, 3) + t(1, -1, 0) ′ { ′ r ′ } ′ = ( 1 , 2 , 3 ) + t ( 1 , − 1 , 0 ) and is
perpendicular to the plane x + 2 y − z = 7 x + 2y - z = 7 x + 2 y − z = 7 .
Solution The plane must contain the direction vector ′ { ′ d ′ } ′ = ( 1 , − 1 , 0 ) \mathbf{'\{'}d{'\}'} = (1, -1, 0) ′ { ′ d ′ } ′ = ( 1 , − 1 , 0 ) of the given line.
The plane is perpendicular to x + 2 y − z = 7 x + 2y - z = 7 x + 2 y − z = 7 , whose normal is ′ { ′ n ′ } ′ 1 = ( 1 , 2 , − 1 ) \mathbf{'\{'}n{'\}'}_1 = (1, 2, -1) ′ { ′ n ′ } ′ 1 = ( 1 , 2 , − 1 ) . Since the
planes are perpendicular, ′ { ′ n ′ } ′ 1 \mathbf{'\{'}n{'\}'}_1 ′ { ′ n ′ } ′ 1 lies in the desired plane.
The desired plane has normal ′ { ′ n ′ } ′ = ′ { ′ d ′ } ′ × ′ { ′ n ′ } ′ 1 \mathbf{'\{'}n{'\}'} = \mathbf{'\{'}d{'\}'} \times \mathbf{'\{'}n{'\}'}_1 ′ { ′ n ′ } ′ = ′ { ′ d ′ } ′ × ′ { ′ n ′ } ′ 1 :
′ { ′ n ′ } ′ = ( ( − 1 ) ( − 1 ) − ( 0 ) ( 2 ) ( 0 ) ( 1 ) − ( 1 ) ( − 1 ) ( 1 ) ( 2 ) − ( − 1 ) ( 1 ) ) = ( 1 1 3 ) \mathbf{'\{'}n{'\}'} = \begin{pmatrix} (-1)(-1) - (0)(2) \\ (0)(1) - (1)(-1) \\ (1)(2) - (-1)(1) \end{pmatrix} = \begin{pmatrix} 1 \\ 1 \\ 3 \end{pmatrix} ′ { ′ n ′ } ′ = ( − 1 ) ( − 1 ) − ( 0 ) ( 2 ) ( 0 ) ( 1 ) − ( 1 ) ( − 1 ) ( 1 ) ( 2 ) − ( − 1 ) ( 1 ) = 1 1 3
The plane passes through ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) (a point on the line):
1 ( x − 1 ) + 1 ( y − 2 ) + 3 ( z − 3 ) = 0 1(x - 1) + 1(y - 2) + 3(z - 3) = 0 1 ( x − 1 ) + 1 ( y − 2 ) + 3 ( z − 3 ) = 0
x + y + 3 z − 12 = 0 x + y + 3z - 12 = 0 x + y + 3 z − 12 = 0
Common Pitfalls
Confusing the angle between a line and a plane. The formula
cos θ = ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ∣ ∣ ′ { ′ n ′ } ′ ∣ \cos\theta = \dfrac{|\mathbf{'\{'}d{'\}'} \cdot \mathbf{'\{'}n{'\}'}|}{|\mathbf{'\{'}d{'\}'}||\mathbf{'\{'}n{'\}'}|} cos θ = ∣ ′ { ′ d ′ } ′ ∣∣ ′ { ′ n ′ } ′ ∣ ∣ ′ { ′ d ′ } ′ ⋅ ′ { ′ n ′ } ′ ∣ gives the angle
between the line direction and the normal to the plane. The angle between the line and the
plane itself is 90 ∘ − θ 90\,{}^{\circ} - \theta 90 ∘ − θ .
Cross product direction errors. The cross product ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ \mathbf{'\{'}a{'\}'} \times \mathbf{'\{'}b{'\}'} ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ follows the
right-hand rule. Reversing the order gives ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ = − ( ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ) \mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}a{'\}'} = -(\mathbf{'\{'}a{'\}'} \times
\mathbf{'\{'}b{'\}'}) ′ { ′ b ′ } ′ × ′ { ′ a ′ } ′ = − ( ′ { ′ a ′ } ′ × ′ { ′ b ′ } ′ ) . Always check the sign when computing normals to planes.
Incorrect distance formula. The distance from point ( x 1 , y 1 , z 1 ) (x_1, y_1, z_1) ( x 1 , y 1 , z 1 ) to the plane
a x + b y + c z = d ax + by + cz = d a x + b y + cz = d is ∣ a x 1 + b y 1 + c z 1 − d ∣ a 2 + b 2 + c 2 \dfrac{|ax_1 + by_1 + cz_1 - d|}{\sqrt{a^2 + b^2 + c^2}} a 2 + b 2 + c 2 ∣ a x 1 + b y 1 + c z 1 − d ∣ . Note the − d -d − d
in the numerator: this depends on whether the plane equation is written as a x + b y + c z = d ax + by + cz = d a x + b y + cz = d or
a x + b y + c z + d = 0 ax + by + cz + d = 0 a x + b y + cz + d = 0 .
Assuming two lines in 3D always intersect. Unlike in 2D, two lines in 3D may be skew (neither
parallel nor intersecting). Always check consistency of all three equations when solving for
intersection parameters.
Parametric line-plane intersection gives t = 0 t = 0 t = 0 . If substituting the parametric line into the
plane equation yields t = 0 t = 0 t = 0 , the intersection point is the point on the line at t = 0 t = 0 t = 0 , i.e.
the initial point of the line. This is a valid answer, not an error.
Mixing up scalar and vector projections. The scalar projection gives a number (the length of
the shadow), while the vector projection gives a vector. The scalar projection can be negative if
the angle exceeds 90 ∘ 90\,{}^{\circ} 90 ∘ .
Scalar triple product coplanarity test. Three vectors ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ , ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ , ′ { ′ c ′ } ′ \mathbf{'\{'}c{'\}'} ′ { ′ c ′ } ′
are coplanar if ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = 0 \mathbf{'\{'}a{'\}'} \cdot (\mathbf{'\{'}b{'\}'} \times \mathbf{'\{'}c{'\}'}) = 0 ′ { ′ a ′ } ′ ⋅ ( ′ { ′ b ′ } ′ × ′ { ′ c ′ } ′ ) = 0 . A zero result means the
volume of the parallelepiped is zero, confirming coplanarity.
Normal vector to a plane from two direction vectors. If a plane contains direction vectors
′ { ′ d ′ } ′ 1 \mathbf{'\{'}d{'\}'}_1 ′ { ′ d ′ } ′ 1 and ′ { ′ d ′ } ′ 2 \mathbf{'\{'}d{'\}'}_2 ′ { ′ d ′ } ′ 2 , the normal is ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 \mathbf{'\{'}d{'\}'}_1 \times \mathbf{'\{'}d{'\}'}_2 ′ { ′ d ′ } ′ 1 × ′ { ′ d ′ } ′ 2 . A common
mistake is to use the dot product or to use ′ { ′ d ′ } ′ 2 × ′ { ′ d ′ } ′ 1 \mathbf{'\{'}d{'\}'}_2 \times \mathbf{'\{'}d{'\}'}_1 ′ { ′ d ′ } ′ 2 × ′ { ′ d ′ } ′ 1 without
recognising this gives the opposite normal direction (which is still valid for the plane equation).
Exam-Style Problems
Find the vector equation of the line through A ( 2 , − 1 , 3 ) A(2, -1, 3) A ( 2 , − 1 , 3 ) and B ( 5 , 1 , − 2 ) B(5, 1, -2) B ( 5 , 1 , − 2 ) . Determine whether
the point C ( 4 , 0 , 1 ) C(4, 0, 1) C ( 4 , 0 , 1 ) lies on this line.
Find the equation of the plane through ( 1 , 0 , − 1 ) (1, 0, -1) ( 1 , 0 , − 1 ) , ( 2 , 3 , 1 ) (2, 3, 1) ( 2 , 3 , 1 ) , and ( 0 , 1 , 2 ) (0, 1, 2) ( 0 , 1 , 2 ) . Find the
distance from the origin to this plane.
Two lines are given by ′ { ′ r ′ } ′ 1 = ( 0 , 1 , 2 ) + t ( 1 , − 1 , 1 ) \mathbf{'\{'}r{'\}'}_1 = (0, 1, 2) + t(1, -1, 1) ′ { ′ r ′ } ′ 1 = ( 0 , 1 , 2 ) + t ( 1 , − 1 , 1 ) and
′ { ′ r ′ } ′ 2 = ( 1 , 0 , − 1 ) + s ( 2 , 1 , 0 ) \mathbf{'\{'}r{'\}'}_2 = (1, 0, -1) + s(2, 1, 0) ′ { ′ r ′ } ′ 2 = ( 1 , 0 , − 1 ) + s ( 2 , 1 , 0 ) . Show that the lines are skew and find the shortest
distance between them.
Find the angle between the planes x + y + z = 1 x + y + z = 1 x + y + z = 1 and 2 x − y + z = 3 2x - y + z = 3 2 x − y + z = 3 .
The points A ( 1 , 0 , 0 ) A(1, 0, 0) A ( 1 , 0 , 0 ) , B ( 0 , 2 , 0 ) B(0, 2, 0) B ( 0 , 2 , 0 ) , C ( 0 , 0 , 3 ) C(0, 0, 3) C ( 0 , 0 , 3 ) , and D ( 1 , 1 , 1 ) D(1, 1, 1) D ( 1 , 1 , 1 ) form a tetrahedron. Find
its volume using the scalar triple product.
Find the reflection of the point ( 3 , − 1 , 2 ) (3, -1, 2) ( 3 , − 1 , 2 ) in the plane x − 2 y + z = 4 x - 2y + z = 4 x − 2 y + z = 4 .
A line passes through ( 1 , 2 , 3 ) (1, 2, 3) ( 1 , 2 , 3 ) and is perpendicular to both vectors ( 1 , 0 , − 1 ) (1, 0, -1) ( 1 , 0 , − 1 ) and
( 0 , 1 , 2 ) (0, 1, 2) ( 0 , 1 , 2 ) . Find the vector equation of this line and its intersection with the plane
2 x + y − z = 1 2x + y - z = 1 2 x + y − z = 1 .
Find the projection of ′ { ′ a ′ } ′ = ( 4 , − 1 , 3 ) \mathbf{'\{'}a{'\}'} = (4, -1, 3) ′ { ′ a ′ } ′ = ( 4 , − 1 , 3 ) onto ′ { ′ b ′ } ′ = ( 2 , 1 , − 2 ) \mathbf{'\{'}b{'\}'} = (2, 1, -2) ′ { ′ b ′ } ′ = ( 2 , 1 , − 2 ) . Hence find the
component of ′ { ′ a ′ } ′ \mathbf{'\{'}a{'\}'} ′ { ′ a ′ } ′ perpendicular to ′ { ′ b ′ } ′ \mathbf{'\{'}b{'\}'} ′ { ′ b ′ } ′ .
Cross-References
Trigonometry for angle calculations: see Trigonometry
Calculus for vector-valued functions and differentiation: see Differentiation
Integration for arc length and surface area of curves: see Integration
tip
Ready to test your understanding of Vectors ? The diagnostic test contains the hardest questions within the IB specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Vectors with other IB mathematics topics to test synthesis under exam conditions.
See Diagnostic Guide for instructions on self-marking and building a personal test matrix.