Skip to main content

Vectors in 3D

Vectors in 3D

This chapter extends the study of vectors from A Level Mathematics into three dimensions, introducing the vector (cross) product, equations of planes, and the scalar triple product. These tools are essential for geometry, mechanics, and physics at university level.

Board Coverage

BoardPaperNotes
AQAPaper 13D vectors, scalar product, vector product, planes, scalar triple product
EdexcelFP13D vectors, scalar product, vector product, lines and planes
OCR (A)Paper 13D vectors, scalar product, vector product, planes
CIEP13D vectors, scalar product, vector product, lines, planes, intersections
All boards cover 3D vectors, the scalar product, and the vector product. AQA includes the

scalar triple product for volumes. CIE places particular emphasis on intersections of lines and planes. :::


1. Review of A Level Vectors

A vector has magnitude and direction. In 2D, a=(a1a2)\mathbf{a} = \begin{pmatrix}a_1\\a_2\end{pmatrix} has magnitude a=a12+a22|\mathbf{a}| = \sqrt{a_1^2 + a_2^2}.

Key results from A Level:

  • Scalar (dot) product: ab=abcosθ\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta
  • Perpendicularity: ab    ab=0\mathbf{a} \perp \mathbf{b} \iff \mathbf{a}\cdot\mathbf{b} = 0
  • Vector equation of a line: r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d}

This chapter extends all of these ideas into three dimensions and introduces new operations.


2. Vectors in 3D

2.1 Notation

A vector in 3D is written as a column vector or in component form:

a=(a1a2a3)=a1i+a2j+a3k\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k}

where i\mathbf{i}, j\mathbf{j}, k\mathbf{k} are unit vectors along the xx-, yy-, zz-axes.

2.2 Position vectors and displacement

Definition. The position vector of a point P(x,y,z)P(x,y,z) relative to origin OO is

OP=(xyz)\overrightarrow{OP} = \begin{pmatrix}x\\y\\z\end{pmatrix}

The displacement from AA to BB is AB=ba\overrightarrow{AB} = \mathbf{b} - \mathbf{a}.

2.3 Magnitude

a=a12+a22+a32|\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}

2.4 Direction cosines

Definition. The direction cosines of a\mathbf{a} are

cosα=LBa1RB◆◆LBaRB,cosβ=LBa2RB◆◆LBaRB,cosγ=LBa3RB◆◆LBaRB\cos\alpha = \frac◆LB◆a_1◆RB◆◆LB◆|\mathbf{a}|◆RB◆, \quad \cos\beta = \frac◆LB◆a_2◆RB◆◆LB◆|\mathbf{a}|◆RB◆, \quad \cos\gamma = \frac◆LB◆a_3◆RB◆◆LB◆|\mathbf{a}|◆RB◆

where α\alpha, β\beta, γ\gamma are the angles a\mathbf{a} makes with the xx-, yy-, zz-axes.

cos2α+cos2β+cos2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1.


3. Scalar (Dot) Product

3.1 Definition

Definition. The scalar (dot) product of a\mathbf{a} and b\mathbf{b} in 3D is

ab=a1b1+a2b2+a3b3\boxed{\mathbf{a}\cdot\mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3}

3.2 Geometric interpretation

ab=abcosθ\boxed{\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta}

where θ\theta is the angle between a\mathbf{a} and b\mathbf{b}.

3.3 Key properties

  • aa=a2\mathbf{a}\cdot\mathbf{a} = |\mathbf{a}|^2
  • ab=ba\mathbf{a}\cdot\mathbf{b} = \mathbf{b}\cdot\mathbf{a} (commutative)
  • a(b+c)=ab+ac\mathbf{a}\cdot(\mathbf{b} + \mathbf{c}) = \mathbf{a}\cdot\mathbf{b} + \mathbf{a}\cdot\mathbf{c} (distributive)
  • ab=0    ab\mathbf{a}\cdot\mathbf{b} = 0 \iff \mathbf{a} \perp \mathbf{b} (when neither is zero)

4. Vector (Cross) Product

4.1 Definition

Definition. The vector (cross) product of a=(a1a2a3)\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix} and b=(b1b2b3)\mathbf{b} = \begin{pmatrix}b_1\\b_2\\b_3\end{pmatrix} is

a×b=(a2b3a3b2a3b1a1b3a1b2a2b1)\boxed{\mathbf{a}\times\mathbf{b} = \begin{pmatrix}a_2b_3 - a_3b_2\\a_3b_1 - a_1b_3\\a_1b_2 - a_2b_1\end{pmatrix}}

4.2 Determinant form

The cross product can be computed using a symbolic determinant:

a×b=ijka1a2a3b1b2b3\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}

4.3 Geometric interpretation

Theorem. a×b=absinθ|\mathbf{a}\times\mathbf{b}| = |\mathbf{a}||\mathbf{b}|\sin\theta, where θ\theta is the angle between a\mathbf{a} and b\mathbf{b}.

Proof that the cross product magnitude equals the area of the parallelogram

Consider the parallelogram with adjacent sides a\mathbf{a} and b\mathbf{b}.

a×b2=(a2b3a3b2)2+(a3b1a1b3)2+(a1b2a2b1)2|\mathbf{a}\times\mathbf{b}|^2 = (a_2b_3 - a_3b_2)^2 + (a_3b_1 - a_1b_3)^2 + (a_1b_2 - a_2b_1)^2

Expanding and collecting terms:

a×b2=(a12+a22+a32)(b12+b22+b32)(a1b1+a2b2+a3b3)2|\mathbf{a}\times\mathbf{b}|^2 = (a_1^2+a_2^2+a_3^2)(b_1^2+b_2^2+b_3^2) - (a_1b_1+a_2b_2+a_3b_3)^2

=a2b2(ab)2= |\mathbf{a}|^2|\mathbf{b}|^2 - (\mathbf{a}\cdot\mathbf{b})^2

Since ab=abcosθ\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta:

a×b2=a2b2(1cos2θ)=a2b2sin2θ|\mathbf{a}\times\mathbf{b}|^2 = |\mathbf{a}|^2|\mathbf{b}|^2(1 - \cos^2\theta) = |\mathbf{a}|^2|\mathbf{b}|^2\sin^2\theta

a×b=absinθ|\mathbf{a}\times\mathbf{b}| = |\mathbf{a}||\mathbf{b}|\sin\theta

The area of the parallelogram is base ×\times height =a×bsinθ= |\mathbf{a}| \times |\mathbf{b}|\sin\theta, which equals a×b|\mathbf{a}\times\mathbf{b}|. \square

The cross product a×b\mathbf{a}\times\mathbf{b} is perpendicular to both a\mathbf{a} and b\mathbf{b}, and its direction is given by the right-hand rule.

4.4 Properties

  • a×b=(b×a)\mathbf{a}\times\mathbf{b} = -(\mathbf{b}\times\mathbf{a}) (anti-commutative)
  • a×a=0\mathbf{a}\times\mathbf{a} = \mathbf{0}
  • a×b=0    a\mathbf{a}\times\mathbf{b} = \mathbf{0} \iff \mathbf{a} and b\mathbf{b} are parallel (or one is zero)
  • a×(b+c)=a×b+a×c\mathbf{a}\times(\mathbf{b}+\mathbf{c}) = \mathbf{a}\times\mathbf{b} + \mathbf{a}\times\mathbf{c} (distributive)
  • i×j=k\mathbf{i}\times\mathbf{j} = \mathbf{k}, j×k=i\mathbf{j}\times\mathbf{k} = \mathbf{i}, k×i=j\mathbf{k}\times\mathbf{i} = \mathbf{j}
warning a×b=b×a\mathbf{a}\times\mathbf{b} = -\mathbf{b}\times\mathbf{a}. The cross product is

only defined in 3D. :::


5. Equation of a Line in 3D

5.1 Vector form

Definition. The vector equation of a line through point AA (position vector a\mathbf{a}) in direction d\mathbf{d} is

r=a+λd,λR\boxed{\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}, \quad \lambda \in \mathbb{R}}

5.2 Cartesian form

If a=(a1a2a3)\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix} and d=(d1d2d3)\mathbf{d} = \begin{pmatrix}d_1\\d_2\\d_3\end{pmatrix}, the parametric equations are:

x=a1+λd1,y=a2+λd2,z=a3+λd3x = a_1 + \lambda d_1, \quad y = a_2 + \lambda d_2, \quad z = a_3 + \lambda d_3

When all di0d_i \neq 0, the Cartesian (symmetric) form is:

xa1d1=ya2d2=za3d3\boxed{\frac{x - a_1}{d_1} = \frac{y - a_2}{d_2} = \frac{z - a_3}{d_3}}

5.3 Intersection of two lines in 3D

Given r1=a1+λd1\mathbf{r}_1 = \mathbf{a}_1 + \lambda\mathbf{d}_1 and r2=a2+μd2\mathbf{r}_2 = \mathbf{a}_2 + \mu\mathbf{d}_2:

  1. Equate components to get three equations in λ\lambda and μ\mu.
  2. Solve two equations for λ\lambda and μ\mu.
  3. Check the third equation:
    • If consistent: the lines intersect.
    • If inconsistent: the lines are skew (not parallel, not intersecting).
  4. If d1×d2=0\mathbf{d}_1 \times \mathbf{d}_2 = \mathbf{0}: the lines are parallel.

Example. Find the intersection of r1=(120)+λ(112)\mathbf{r}_1 = \begin{pmatrix}1\\2\\0\end{pmatrix} + \lambda\begin{pmatrix}1\\-1\\2\end{pmatrix} and r2=(314)+μ(211)\mathbf{r}_2 = \begin{pmatrix}3\\1\\4\end{pmatrix} + \mu\begin{pmatrix}2\\1\\-1\end{pmatrix}.

Equating: 1+λ=3+2μ1+\lambda = 3+2\mu, 2λ=1+μ2-\lambda = 1+\mu, 2λ=4μ2\lambda = 4-\mu.

From equation 2: λ=1μ\lambda = 1 - \mu. From equation 1: 1+(1μ)=3+2μ    2μ=3+2μ    3μ=1    μ=1/31+(1-\mu) = 3+2\mu \implies 2-\mu = 3+2\mu \implies -3\mu = 1 \implies \mu = -1/3, λ=4/3\lambda = 4/3.

Check equation 3: 2(4/3)=4(1/3)    8/3=13/32(4/3) = 4-(-1/3) \implies 8/3 = 13/3. Not consistent — the lines are skew.


6. Equation of a Plane

6.1 Vector form

Definition. The equation of a plane with normal vector n\mathbf{n} passing through point AA (position vector a\mathbf{a}) is

rn=an\boxed{\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n}}

This works because every point PP on the plane satisfies APn\overrightarrow{AP} \perp \mathbf{n}, i.e., (ra)n=0(\mathbf{r} - \mathbf{a})\cdot\mathbf{n} = 0.

6.2 Cartesian form

If n=(abc)\mathbf{n} = \begin{pmatrix}a\\b\\c\end{pmatrix} and an=d\mathbf{a}\cdot\mathbf{n} = d:

ax+by+cz=d\boxed{ax + by + cz = d}

6.3 Finding the normal to a plane

Given three points AA, BB, CC on the plane, the normal is

n=AB×AC\mathbf{n} = \overrightarrow{AB} \times \overrightarrow{AC}

Example. Find the equation of the plane through A(1,0,2)A(1,0,2), B(3,1,0)B(3,1,0), C(0,2,1)C(0,2,1).

AB=(212)\overrightarrow{AB} = \begin{pmatrix}2\\1\\-2\end{pmatrix}, AC=(121)\overrightarrow{AC} = \begin{pmatrix}-1\\2\\-1\end{pmatrix}.

n=AB×AC=((1)(1)(2)(2)(2)(1)(2)(1)(2)(2)(1)(1))=(345)\mathbf{n} = \overrightarrow{AB}\times\overrightarrow{AC} = \begin{pmatrix}(1)(-1)-(-2)(2)\\(-2)(-1)-(2)(-1)\\(2)(2)-(1)(-1)\end{pmatrix} = \begin{pmatrix}3\\4\\5\end{pmatrix}.

rn=an=1(3)+0(4)+2(5)=13\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n} = 1(3)+0(4)+2(5) = 13.

3x+4y+5z=13\boxed{3x + 4y + 5z = 13}

6.4 Angle between two planes

The angle between two planes with normals n1\mathbf{n}_1 and n2\mathbf{n}_2 is

cosθ=LBn1n2RB◆◆LBn1n2RB\boxed{\cos\theta = \frac◆LB◆|\mathbf{n}_1\cdot\mathbf{n}_2|◆RB◆◆LB◆|\mathbf{n}_1||\mathbf{n}_2|◆RB◆}

The acute angle is found by taking the absolute value.

6.5 Angle between a line and a plane

The angle ϕ\phi between a line with direction d\mathbf{d} and a plane with normal n\mathbf{n} satisfies:

sinϕ=LBdnRB◆◆LBdnRB\sin\phi = \frac◆LB◆|\mathbf{d}\cdot\mathbf{n}|◆RB◆◆LB◆|\mathbf{d}||\mathbf{n}|◆RB◆

Equivalently, if α\alpha is the angle between d\mathbf{d} and n\mathbf{n}, then ϕ=90°α\phi = 90° - \alpha.

6.6 Line of intersection of two planes

To find the line of intersection of a1x+b1y+c1z=d1a_1 x + b_1 y + c_1 z = d_1 and a2x+b2y+c2z=d2a_2 x + b_2 y + c_2 z = d_2:

  1. The direction is d=n1×n2\mathbf{d} = \mathbf{n}_1 \times \mathbf{n}_2.
  2. Find a point satisfying both equations (set one variable to zero and solve).

7. Distance from a Point to a Plane

7.1 Formula

Theorem. The perpendicular distance from point PP with position vector p\mathbf{p} to the plane rn=d\mathbf{r}\cdot\mathbf{n} = d is

D=LBpndRB◆◆LBnRB\boxed{D = \frac◆LB◆|\mathbf{p}\cdot\mathbf{n} - d|◆RB◆◆LB◆|\mathbf{n}|◆RB◆}

In Cartesian form, for plane ax+by+cz=dax + by + cz = d and point (x0,y0,z0)(x_0, y_0, z_0):

D=LBax0+by0+cz0dRB◆◆LBa2+b2+c2RB\boxed{D = \frac◆LB◆|ax_0 + by_0 + cz_0 - d|◆RB◆◆LB◆\sqrt{a^2+b^2+c^2}◆RB◆}

Proof of the distance formula

Let the plane have equation rn^=p\mathbf{r}\cdot\hat{\mathbf{n}} = p where n^\hat{\mathbf{n}} is a unit normal and pp is the perpendicular distance from the origin to the plane.

For any point PP with position vector p\mathbf{p}, the distance from PP to the plane is the magnitude of the projection of p\mathbf{p} onto n^\hat{\mathbf{n}}, minus pp:

D=pn^pD = |\mathbf{p}\cdot\hat{\mathbf{n}} - p|

If the plane is given as rn=d\mathbf{r}\cdot\mathbf{n} = d (where n\mathbf{n} is not necessarily a unit vector), then n^=n/n\hat{\mathbf{n}} = \mathbf{n}/|\mathbf{n}| and p=d/np = d/|\mathbf{n}|:

D=pLBnRB◆◆LBnRBLBdRB◆◆LBnRB=LBpndRB◆◆LBnRBD = \left|\mathbf{p}\cdot\frac◆LB◆\mathbf{n}◆RB◆◆LB◆|\mathbf{n}|◆RB◆ - \frac◆LB◆d◆RB◆◆LB◆|\mathbf{n}|◆RB◆\right| = \frac◆LB◆|\mathbf{p}\cdot\mathbf{n} - d|◆RB◆◆LB◆|\mathbf{n}|◆RB◆

\square

Example. Find the distance from P(1,2,3)P(1, 2, 3) to the plane 2xy+2z=52x - y + 2z = 5.

D=LB2(1)1(2)+2(3)5RB◆◆LB4+1+4RB=LB22+65RB◆◆LB3RB=13D = \dfrac◆LB◆|2(1)-1(2)+2(3)-5|◆RB◆◆LB◆\sqrt{4+1+4}◆RB◆ = \dfrac◆LB◆|2-2+6-5|◆RB◆◆LB◆3◆RB◆ = \dfrac{1}{3}.


8. Scalar Triple Product

8.1 Definition

Definition. The scalar triple product of vectors a\mathbf{a}, b\mathbf{b}, c\mathbf{c} is

[abc]=a(b×c)\boxed{[\mathbf{a}\,\mathbf{b}\,\mathbf{c}] = \mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})}

In component form:

a(b×c)=a1a2a3b1b2b3c1c2c3\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}

8.2 Geometric interpretation

Proof that the scalar triple product equals the volume of the parallelepiped

The parallelepiped with edges a\mathbf{a}, b\mathbf{b}, c\mathbf{c} has base area b×c|\mathbf{b}\times\mathbf{c}| (from Section 4.3).

The height is the component of a\mathbf{a} perpendicular to the base, which is the projection of a\mathbf{a} onto the direction of b×c\mathbf{b}\times\mathbf{c}:

height=acosϕ=LBa(b×c)RB◆◆LBb×cRB\mathrm{height} = |\mathbf{a}|\cos\phi = \frac◆LB◆\mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})◆RB◆◆LB◆|\mathbf{b}\times\mathbf{c}|◆RB◆

where ϕ\phi is the angle between a\mathbf{a} and b×c\mathbf{b}\times\mathbf{c}.

V=base×height=b×cLBa(b×c)RB◆◆LBb×cRB=a(b×c)V = \mathrm{base} \times \mathrm{height} = |\mathbf{b}\times\mathbf{c}| \cdot \frac◆LB◆\mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})◆RB◆◆LB◆|\mathbf{b}\times\mathbf{c}|◆RB◆ = \mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})

Taking the absolute value to get a positive volume:

V=a(b×c)\boxed{V = |\mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})|}

\square

8.3 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}) (cyclic permutation)
  • a(b×c)=a(c×b)\mathbf{a}\cdot(\mathbf{b}\times\mathbf{c}) = -\mathbf{a}\cdot(\mathbf{c}\times\mathbf{b}) (swapping two vectors changes sign)
  • [abc]=0[\mathbf{a}\,\mathbf{b}\,\mathbf{c}] = 0 if and only if a\mathbf{a}, b\mathbf{b}, c\mathbf{c} are coplanar
info CC, DD are coplanar, then

AB(AC×AD)=0\overrightarrow{AB}\cdot(\overrightarrow{AC}\times\overrightarrow{AD}) = 0. :::


9. Distance Between Two Skew Lines

The shortest distance between two skew lines r1=a1+λd1\mathbf{r}_1 = \mathbf{a}_1 + \lambda\mathbf{d}_1 and r2=a2+μd2\mathbf{r}_2 = \mathbf{a}_2 + \mu\mathbf{d}_2 is

D=LB(a2a1)(d1×d2)RB◆◆LBd1×d2RB\boxed{D = \frac◆LB◆|(\mathbf{a}_2 - \mathbf{a}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2)|◆RB◆◆LB◆|\mathbf{d}_1\times\mathbf{d}_2|◆RB◆}

Intuition. The shortest distance is measured along the common perpendicular. The direction of the common perpendicular is d1×d2\mathbf{d}_1 \times \mathbf{d}_2. The formula projects the vector between any point on each line onto this perpendicular direction.


10. Key Results Summary

| Quantity | Formula | | --------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------- | -------- | -------------------------------- | ----------- | | Dot product | ab=a1b1+a2b2+a3b3=abcosθ\mathbf{a}\cdot\mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3 = | \mathbf{a} | | \mathbf{b} | \cos\theta | | Cross product | a×b=(a2b3a3b2a3b1a1b3a1b2a2b1)\mathbf{a}\times\mathbf{b} = \begin{pmatrix}a_2b_3-a_3b_2\\a_3b_1-a_1b_3\\a_1b_2-a_2b_1\end{pmatrix} | | Line | r=a+λd\mathbf{r} = \mathbf{a} + \lambda\mathbf{d} | | Plane (vector) | rn=d\mathbf{r}\cdot\mathbf{n} = d | | Plane (Cartesian) | ax+by+cz=dax + by + cz = d | | Point-plane distance | D=LBpndRB◆◆LBnRBD = \dfrac◆LB◆ | \mathbf{p}\cdot\mathbf{n} - d | ◆RB◆◆LB◆ | \mathbf{n} | ◆RB◆ | | Parallelepiped volume | V=a(b×c)V = | \mathbf{a}\cdot(\mathbf{b}\times\mathbf{c}) | | | Skew line distance | D=LB(a_2a_1)(d_1×d_2)RB◆◆LBd_1×d_2RBD = \dfrac◆LB◆ | (\mathbf{a}\_2-\mathbf{a}\_1)\cdot(\mathbf{d}\_1\times\mathbf{d}\_2) | ◆RB◆◆LB◆ | \mathbf{d}\_1\times\mathbf{d}\_2 | ◆RB◆ |


Problems

Problem 1

Given a=(213)\mathbf{a} = \begin{pmatrix}2\\-1\\3\end{pmatrix} and b=(142)\mathbf{b} = \begin{pmatrix}1\\4\\-2\end{pmatrix}, find a×b\mathbf{a}\times\mathbf{b} and verify that it is perpendicular to both a\mathbf{a} and b\mathbf{b}.

Solution 1

a×b=((1)(2)(3)(4)(3)(1)(2)(2)(2)(4)(1)(1))=(2123+48+1)=(1079)\mathbf{a}\times\mathbf{b} = \begin{pmatrix}(-1)(-2)-(3)(4)\\(3)(1)-(2)(-2)\\(2)(4)-(-1)(1)\end{pmatrix} = \begin{pmatrix}2-12\\3+4\\8+1\end{pmatrix} = \begin{pmatrix}-10\\7\\9\end{pmatrix}

Verify: a(a×b)=2(10)+(1)(7)+3(9)=207+27=0\mathbf{a}\cdot(\mathbf{a}\times\mathbf{b}) = 2(-10)+(-1)(7)+3(9) = -20-7+27 = 0. ✓

b(a×b)=1(10)+4(7)+(2)(9)=10+2818=0\mathbf{b}\cdot(\mathbf{a}\times\mathbf{b}) = 1(-10)+4(7)+(-2)(9) = -10+28-18 = 0. ✓

If you get this wrong, revise: Vector Cross Product — Section 4.

Problem 2

Find the equation of the plane through A(1,2,0)A(1, 2, 0), B(0,1,3)B(0, 1, 3), C(2,1,1)C(2, -1, 1).

Solution 2

AB=(113)\overrightarrow{AB} = \begin{pmatrix}-1\\-1\\3\end{pmatrix}, AC=(131)\overrightarrow{AC} = \begin{pmatrix}1\\-3\\1\end{pmatrix}.

n=AB×AC=((1)(1)(3)(3)(3)(1)(1)(1)(1)(3)(1)(1))=(844)\mathbf{n} = \overrightarrow{AB}\times\overrightarrow{AC} = \begin{pmatrix}(-1)(1)-(3)(-3)\\(3)(1)-(-1)(1)\\(-1)(-3)-(-1)(1)\end{pmatrix} = \begin{pmatrix}8\\4\\4\end{pmatrix}

Simplify: n=(211)\mathbf{n} = \begin{pmatrix}2\\1\\1\end{pmatrix}.

rn=an=2+2+0=4\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n} = 2+2+0 = 4.

2x+y+z=4\boxed{2x + y + z = 4}

If you get this wrong, revise: Equation of a Plane — Section 6.

Problem 3

Find the distance from the point P(3,1,2)P(3, 1, -2) to the plane x+2y2z=6x + 2y - 2z = 6.

Solution 3

D=LB3+2(1)2(2)6RB◆◆LB1+4+4RB=LB3+2+46RB◆◆LB3RB=33=1D = \dfrac◆LB◆|3 + 2(1) - 2(-2) - 6|◆RB◆◆LB◆\sqrt{1+4+4}◆RB◆ = \dfrac◆LB◆|3+2+4-6|◆RB◆◆LB◆3◆RB◆ = \dfrac{3}{3} = 1.

D=1\boxed{D = 1}.

If you get this wrong, revise: Distance from Point to Plane — Section 7.

Problem 4

Find the shortest distance between the skew lines r1=(011)+λ(102)\mathbf{r}_1 = \begin{pmatrix}0\\1\\-1\end{pmatrix} + \lambda\begin{pmatrix}1\\0\\2\end{pmatrix} and r2=(102)+μ(011)\mathbf{r}_2 = \begin{pmatrix}1\\0\\2\end{pmatrix} + \mu\begin{pmatrix}0\\1\\-1\end{pmatrix}.

Solution 4

a2a1=(113)\mathbf{a}_2 - \mathbf{a}_1 = \begin{pmatrix}1\\-1\\3\end{pmatrix}, d1=(102)\mathbf{d}_1 = \begin{pmatrix}1\\0\\2\end{pmatrix}, d2=(011)\mathbf{d}_2 = \begin{pmatrix}0\\1\\-1\end{pmatrix}.

d1×d2=((0)(1)(2)(1)(2)(0)(1)(1)(1)(1)(0)(0))=(211)\mathbf{d}_1\times\mathbf{d}_2 = \begin{pmatrix}(0)(-1)-(2)(1)\\(2)(0)-(1)(-1)\\(1)(1)-(0)(0)\end{pmatrix} = \begin{pmatrix}-2\\1\\1\end{pmatrix}

d1×d2=4+1+1=6|\mathbf{d}_1\times\mathbf{d}_2| = \sqrt{4+1+1} = \sqrt{6}.

(a2a1)(d1×d2)=1(2)+(1)(1)+3(1)=21+3=0(\mathbf{a}_2-\mathbf{a}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2) = 1(-2)+(-1)(1)+3(1) = -2-1+3 = 0.

D=LB0RB◆◆LB6RB=0D = \dfrac◆LB◆0◆RB◆◆LB◆\sqrt{6}◆RB◆ = 0. The lines actually intersect (not skew).

If you get this wrong, revise: Distance Between Skew Lines — Section 9.

Problem 5

Find the volume of the parallelepiped with edges a=(102)\mathbf{a} = \begin{pmatrix}1\\0\\2\end{pmatrix}, b=(311)\mathbf{b} = \begin{pmatrix}3\\1\\-1\end{pmatrix}, c=(211)\mathbf{c} = \begin{pmatrix}2\\-1\\1\end{pmatrix}.

Solution 5

b×c=((1)(1)(1)(1)(1)(2)(3)(1)(3)(1)(1)(2))=(055)\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}

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.

V=10=10V = |-10| = \boxed{10}.

If you get this wrong, revise: Scalar Triple Product — Section 8.

Problem 6

Find the angle between the planes 2xy+z=32x - y + z = 3 and x+y+2z=1x + y + 2z = 1.

Solution 6

n1=(211)\mathbf{n}_1 = \begin{pmatrix}2\\-1\\1\end{pmatrix}, n1=6|\mathbf{n}_1| = \sqrt{6}. n2=(112)\mathbf{n}_2 = \begin{pmatrix}1\\1\\2\end{pmatrix}, n2=6|\mathbf{n}_2| = \sqrt{6}.

cosθ=LB21+2RB◆◆LB66RB=36=12\cos\theta = \dfrac◆LB◆|2-1+2|◆RB◆◆LB◆\sqrt{6}\cdot\sqrt{6}◆RB◆ = \dfrac{3}{6} = \dfrac{1}{2}.

θ=60°\theta = \boxed{60°}.

If you get this wrong, revise: Angle Between Two Planes — Section 6.4.

Problem 7

Show that the points A(1,2,3)A(1, 2, 3), B(3,1,2)B(3, 1, 2), C(2,3,1)C(2, 3, 1), D(0,4,4)D(0, 4, 4) are coplanar.

Solution 7

AB=(211)\overrightarrow{AB} = \begin{pmatrix}2\\-1\\-1\end{pmatrix}, AC=(112)\overrightarrow{AC} = \begin{pmatrix}1\\1\\-2\end{pmatrix}, AD=(121)\overrightarrow{AD} = \begin{pmatrix}-1\\2\\1\end{pmatrix}.

AB(AC×AD)=211112121\overrightarrow{AB}\cdot(\overrightarrow{AC}\times\overrightarrow{AD}) = \begin{vmatrix}2&-1&-1\\1&1&-2\\-1&2&1\end{vmatrix}

=2(11(2)2)(1)(11(2)(1))+(1)(121(1))= 2(1\cdot 1-(-2)\cdot 2) - (-1)(1\cdot 1-(-2)(-1)) + (-1)(1\cdot 2-1\cdot(-1))

=2(1+4)+1(12)1(2+1)=1013=60= 2(1+4) + 1(1-2) - 1(2+1) = 10 - 1 - 3 = 6 \neq 0.

Wait — 606 \neq 0, so the points are not coplanar. Let me verify.

Actually, let me recompute AC×AD\overrightarrow{AC}\times\overrightarrow{AD}:

=((1)(1)(2)(2)(2)(1)(1)(1)(1)(2)(1)(1))=(513)= \begin{pmatrix}(1)(1)-(-2)(2)\\(-2)(-1)-(1)(1)\\(1)(2)-(1)(-1)\end{pmatrix} = \begin{pmatrix}5\\1\\3\end{pmatrix}

AB(513)=1013=60\overrightarrow{AB}\cdot\begin{pmatrix}5\\1\\3\end{pmatrix} = 10-1-3 = 6 \neq 0.

The points are not coplanar.

If you get this wrong, revise: Scalar Triple Product — Section 8.

Problem 8

Find the line of intersection of the planes x+y+z=6x + y + z = 6 and 2xy+z=32x - y + z = 3.

Solution 8

n1=(111)\mathbf{n}_1 = \begin{pmatrix}1\\1\\1\end{pmatrix}, n2=(211)\mathbf{n}_2 = \begin{pmatrix}2\\-1\\1\end{pmatrix}.

Direction: d=n1×n2=((1)(1)(1)(1)(1)(2)(1)(1)(1)(1)(1)(2))=(213)\mathbf{d} = \mathbf{n}_1\times\mathbf{n}_2 = \begin{pmatrix}(1)(1)-(1)(-1)\\(1)(2)-(1)(1)\\(1)(-1)-(1)(2)\end{pmatrix} = \begin{pmatrix}2\\1\\-3\end{pmatrix}.

Set z=0z = 0: x+y=6x + y = 6 and 2xy=32x - y = 3. Adding: 3x=9    x=33x = 9 \implies x = 3, y=3y = 3.

Point: (3,3,0)(3, 3, 0).

r=(330)+λ(213)\boxed{\mathbf{r} = \begin{pmatrix}3\\3\\0\end{pmatrix} + \lambda\begin{pmatrix}2\\1\\-3\end{pmatrix}}

If you get this wrong, revise: Line of Intersection — Section 6.6.

Problem 9

Find the acute angle between the line r=(112)+λ(311)\mathbf{r} = \begin{pmatrix}1\\-1\\2\end{pmatrix} + \lambda\begin{pmatrix}3\\1\\-1\end{pmatrix} and the plane 2xy+2z=52x - y + 2z = 5.

Solution 9

d=(311)\mathbf{d} = \begin{pmatrix}3\\1\\-1\end{pmatrix}, n=(212)\mathbf{n} = \begin{pmatrix}2\\-1\\2\end{pmatrix}.

sinϕ=LBdnRB◆◆LBdnRB=LB612RB◆◆LB119RB=LB3RB◆◆LB311RB=LB1RB◆◆LB11RB\sin\phi = \dfrac◆LB◆|\mathbf{d}\cdot\mathbf{n}|◆RB◆◆LB◆|\mathbf{d}||\mathbf{n}|◆RB◆ = \dfrac◆LB◆|6-1-2|◆RB◆◆LB◆\sqrt{11}\sqrt{9}◆RB◆ = \dfrac◆LB◆3◆RB◆◆LB◆3\sqrt{11}◆RB◆ = \dfrac◆LB◆1◆RB◆◆LB◆\sqrt{11}◆RB◆.

ϕ=arcsin ⁣(LB1RB◆◆LB11RB)17.6°\phi = \arcsin\!\left(\dfrac◆LB◆1◆RB◆◆LB◆\sqrt{11}◆RB◆\right) \approx \boxed{17.6°}.

If you get this wrong, revise: Angle Between Line and Plane — Section 6.5.

Problem 10

Find the shortest distance between the skew lines r1=(100)+λ(123)\mathbf{r}_1 = \begin{pmatrix}1\\0\\0\end{pmatrix} + \lambda\begin{pmatrix}1\\2\\3\end{pmatrix} and r2=(010)+μ(234)\mathbf{r}_2 = \begin{pmatrix}0\\1\\0\end{pmatrix} + \mu\begin{pmatrix}2\\3\\4\end{pmatrix}.

Solution 10

a2a1=(110)\mathbf{a}_2-\mathbf{a}_1 = \begin{pmatrix}-1\\1\\0\end{pmatrix}, d1=(123)\mathbf{d}_1 = \begin{pmatrix}1\\2\\3\end{pmatrix}, d2=(234)\mathbf{d}_2 = \begin{pmatrix}2\\3\\4\end{pmatrix}.

d1×d2=((2)(4)(3)(3)(3)(2)(1)(4)(1)(3)(2)(2))=(121)\mathbf{d}_1\times\mathbf{d}_2 = \begin{pmatrix}(2)(4)-(3)(3)\\(3)(2)-(1)(4)\\(1)(3)-(2)(2)\end{pmatrix} = \begin{pmatrix}-1\\2\\-1\end{pmatrix}

d1×d2=1+4+1=6|\mathbf{d}_1\times\mathbf{d}_2| = \sqrt{1+4+1} = \sqrt{6}.

(a2a1)(d1×d2)=(1)(1)+1(2)+0(1)=1+2=3(\mathbf{a}_2-\mathbf{a}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2) = (-1)(-1)+1(2)+0(-1) = 1+2 = 3.

D=LB3RB◆◆LB6RB=LB36RB◆◆LB6RB=LB6RB◆◆LB2RBD = \dfrac◆LB◆3◆RB◆◆LB◆\sqrt{6}◆RB◆ = \dfrac◆LB◆3\sqrt{6}◆RB◆◆LB◆6◆RB◆ = \boxed{\dfrac◆LB◆\sqrt{6}◆RB◆◆LB◆2◆RB◆}.

If you get this wrong, revise: Distance Between Skew Lines — Section 9.


11. Advanced Worked Examples

Example 11.1: Reflection in a plane

Problem. Find the reflection of the point P(1,2,3)P(1, 2, 3) in the plane x+y+z=6x + y + z = 6.

Solution. The reflected point PP' satisfies:

P=P2Dn^P' = P - 2D\hat{\mathbf{n}}

where D=LB1+2+36RB◆◆LB3RB=0D = \dfrac◆LB◆1+2+3-6◆RB◆◆LB◆\sqrt{3}◆RB◆ = 0 and n^=LB1RB◆◆LB3RB(1,1,1)\hat{\mathbf{n}} = \dfrac◆LB◆1◆RB◆◆LB◆\sqrt{3}◆RB◆(1, 1, 1).

Since D=0D = 0, the point PP lies on the plane, so its reflection is itself: P=(1,2,3)P' = (1, 2, 3).

Let me use a point not on the plane. The reflection of Q(0,0,0)Q(0, 0, 0):

D=LB0+0+06RB◆◆LB3RB=23D = \frac◆LB◆0 + 0 + 0 - 6◆RB◆◆LB◆\sqrt{3}◆RB◆ = -2\sqrt{3}

Q=(0,0,0)2(23)LB1RB◆◆LB3RB(1,1,1)=(0,0,0)+4(1,1,1)=(4,4,4)Q' = (0, 0, 0) - 2(-2\sqrt{3})\frac◆LB◆1◆RB◆◆LB◆\sqrt{3}◆RB◆(1, 1, 1) = (0, 0, 0) + 4(1, 1, 1) = (4, 4, 4)

Check: the midpoint of QQ and QQ' is (2,2,2)(2, 2, 2), which satisfies 2+2+2=62+2+2 = 6. Correct.

Example 11.2: Angle between a line and a plane

Problem. Find the acute angle between the line r=(1,1,2)+λ(3,0,1)\mathbf{r} = (1, -1, 2) + \lambda(3, 0, -1) and the plane x2y+2z=5x - 2y + 2z = 5.

Solution. d=(3,0,1)\mathbf{d} = (3, 0, -1), n=(1,2,2)\mathbf{n} = (1, -2, 2).

sinϕ=LBdnRB◆◆LBdnRB=LB3+02RB◆◆LB109RB=LB1RB◆◆LB310RB\sin\phi = \frac◆LB◆|\mathbf{d}\cdot\mathbf{n}|◆RB◆◆LB◆|\mathbf{d}||\mathbf{n}|◆RB◆ = \frac◆LB◆|3 + 0 - 2|◆RB◆◆LB◆\sqrt{10}\sqrt{9}◆RB◆ = \frac◆LB◆1◆RB◆◆LB◆3\sqrt{10}◆RB◆

ϕ=arcsin ⁣(LB1RB◆◆LB310RB)6.1\phi = \arcsin\!\left(\frac◆LB◆1◆RB◆◆LB◆3\sqrt{10}◆RB◆\right) \approx 6.1^\circ

Example 11.3: Volume of a tetrahedron using the scalar triple product

Problem. Find the volume of the tetrahedron with vertices O(0,0,0)O(0,0,0), A(1,0,0)A(1,0,0), B(0,2,0)B(0,2,0), C(0,0,3)C(0,0,3).

Solution. OA=(1,0,0)\overrightarrow{OA} = (1,0,0), OB=(0,2,0)\overrightarrow{OB} = (0,2,0), OC=(0,0,3)\overrightarrow{OC} = (0,0,3).

V=OA(OB×OC)=100020003=6=6V = |\overrightarrow{OA}\cdot(\overrightarrow{OB}\times\overrightarrow{OC})| = \left|\begin{vmatrix}1&0&0\\0&2&0\\0&0&3\end{vmatrix}\right| = |6| = 6

This equals 16×1×2×3=1\frac{1}{6} \times 1 \times 2 \times 3 = 1, confirming the standard formula.

Example 11.4: Shortest distance using calculus

Problem. Find the shortest distance between the lines r1=(1,0,0)+λ(1,1,0)\mathbf{r}_1 = (1, 0, 0) + \lambda(1, 1, 0) and r2=(0,1,0)+μ(0,1,1)\mathbf{r}_2 = (0, 1, 0) + \mu(0, 1, 1).

Solution. d1=(1,1,0)\mathbf{d}_1 = (1, 1, 0), d2=(0,1,1)\mathbf{d}_2 = (0, 1, 1).

These are not parallel (not scalar multiples), so the lines are either intersecting or skew.

d1×d2=(1101,0011,1110)=(1,1,1)\mathbf{d}_1 \times \mathbf{d}_2 = (1\cdot 1 - 0\cdot 1, 0\cdot 0 - 1\cdot 1, 1\cdot 1 - 1\cdot 0) = (1, -1, 1).

Check intersection: 1+λ=01+\lambda = 0 and 1+λ=1+μ1+\lambda = 1+\mu and λ=μ\lambda = \mu.

From the first: λ=1\lambda = -1. From the second: 0=1+(1)=00 = 1 + (-1) = 0. From the third: 1=1-1 = -1. Consistent! The lines intersect, so the shortest distance is 00.

Example 11.5: Finding the equation of a plane from three points

Problem. Find the equation of the plane through P(1,1,0)P(1, 1, 0), Q(2,0,1)Q(2, 0, 1), R(0,1,1)R(0, 1, 1).

Solution. PQ=(1,1,1)\overrightarrow{PQ} = (1, -1, 1), PR=(1,0,1)\overrightarrow{PR} = (-1, 0, 1).

n=PQ×PR=((1)(1)(1)(0)(1)(1)(1)(1)(1)(0)(1)(1))=(121)\mathbf{n} = \overrightarrow{PQ}\times\overrightarrow{PR} = \begin{pmatrix}(-1)(1) - (1)(0)\\(1)(-1) - (1)(1)\\(1)(0) - (-1)(-1)\end{pmatrix} = \begin{pmatrix}-1\\-2\\-1\end{pmatrix}

rn=(1)(1)+(1)(2)+(0)(1)=3\mathbf{r}\cdot\mathbf{n} = (1)(-1) + (1)(-2) + (0)(-1) = -3.

Equation: x2yz=3-x - 2y - z = -3, i.e., x+2y+z=3\boxed{x + 2y + z = 3}.

Example 11.6: Verifying coplanarity

Problem. Determine whether the points A(1,0,1)A(1, 0, 1), B(2,1,3)B(2, 1, 3), C(3,1,4)C(3, 1, 4), D(0,1,1)D(0, -1, -1) are coplanar.

Solution. AB=(1,1,2)\overrightarrow{AB} = (1, 1, 2), AC=(2,1,3)\overrightarrow{AC} = (2, 1, 3), AD=(1,1,2)\overrightarrow{AD} = (-1, -1, -2).

AB×AC=((1)(3)(2)(1)(2)(2)(1)(3)(1)(1)(1)(2))=(111)\overrightarrow{AB}\times\overrightarrow{AC} = \begin{pmatrix}(1)(3)-(2)(1)\\(2)(2)-(1)(3)\\(1)(1)-(1)(2)\end{pmatrix} = \begin{pmatrix}1\\1\\-1\end{pmatrix}

(AB×AC)AD=1(1)+1(1)+(1)(2)=11+2=0(\overrightarrow{AB}\times\overrightarrow{AC})\cdot\overrightarrow{AD} = 1(-1) + 1(-1) + (-1)(-2) = -1 - 1 + 2 = 0

Since the scalar triple product is zero, the four points are coplanar. \blacksquare

Example 11.7: Projection of a vector onto a plane

Problem. Find the projection of the vector a=(2,1,1)\mathbf{a} = (2, 1, -1) onto the plane x+y+z=1x + y + z = 1.

Solution. The unit normal is n^=LB1RB◆◆LB3RB(1,1,1)\hat{\mathbf{n}} = \dfrac◆LB◆1◆RB◆◆LB◆\sqrt{3}◆RB◆(1, 1, 1).

The projection of a\mathbf{a} onto the normal direction:

projna=(an^)n^=2+113(1,1,1)=23(1,1,1)\text{proj}_{\mathbf{n}}\,\mathbf{a} = (\mathbf{a}\cdot\hat{\mathbf{n}})\hat{\mathbf{n}} = \frac{2+1-1}{3}(1,1,1) = \frac{2}{3}(1,1,1)

The projection onto the plane (i.e., the component parallel to the plane):

a=aprojna=(2,1,1)23(1,1,1)=(43,13,53)\mathbf{a}_{\parallel} = \mathbf{a} - \text{proj}_{\mathbf{n}}\,\mathbf{a} = (2, 1, -1) - \frac{2}{3}(1, 1, 1) = \left(\frac{4}{3}, \frac{1}{3}, -\frac{5}{3}\right)

Example 11.8: Vector product proof of the sine rule

Problem. Using the vector product, prove that a×b=absinθ|\mathbf{a}\times\mathbf{b}| = |\mathbf{a}||\mathbf{b}|\sin\theta.

Solution. See Section 4.3 of this document. The proof uses the identity:

a×b2=a2b2(ab)2|\mathbf{a}\times\mathbf{b}|^2 = |\mathbf{a}|^2|\mathbf{b}|^2 - (\mathbf{a}\cdot\mathbf{b})^2

Substituting ab=abcosθ\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta:

=a2b2(1cos2θ)=a2b2sin2θ= |\mathbf{a}|^2|\mathbf{b}|^2(1 - \cos^2\theta) = |\mathbf{a}|^2|\mathbf{b}|^2\sin^2\theta

Taking square roots gives the result.


12. Connections to Other Topics

12.1 Vectors and matrices

The cross product a×b\mathbf{a}\times\mathbf{b} can be computed as a 3×33 \times 3 determinant. See Matrices.

12.2 Vectors and mechanics

Vector methods are essential in mechanics for resolving forces, moments, and angular momentum. The moment of a force F\mathbf{F} about point OO is r×F\mathbf{r}\times\mathbf{F}. See Projectile Motion.

12.3 Planes and coordinate geometry

The equation of a plane and the distance formula connect vectors to 3D coordinate geometry. See Polar Coordinates.


13. Additional Exam-Style Questions

Question 11

The lines L1L_1 and L2L_2 are given by:

L1L_1: r=(121)+λ(211)\mathbf{r} = \begin{pmatrix}1\\2\\-1\end{pmatrix} + \lambda\begin{pmatrix}2\\-1\\1\end{pmatrix}

L2L_2: r=(311)+μ(111)\mathbf{r} = \begin{pmatrix}3\\1\\1\end{pmatrix} + \mu\begin{pmatrix}1\\-1\\-1\end{pmatrix}

Find the shortest distance between L1L_1 and L2L_2.

Solution

d1=(2,1,1)\mathbf{d}_1 = (2,-1,1), d2=(1,1,1)\mathbf{d}_2 = (1,-1,-1).

d1×d2=((1)(1)(1)(1)(1)(1)(2)(1)(2)(1)(1)(1))=(233)\mathbf{d}_1\times\mathbf{d}_2 = \begin{pmatrix}(-1)(-1)-(1)(-1)\\(1)(1)-(2)(-1)\\(2)(-1)-(-1)(1)\end{pmatrix} = \begin{pmatrix}2\\3\\-3\end{pmatrix}

d1×d2=4+9+9=22|\mathbf{d}_1\times\mathbf{d}_2| = \sqrt{4+9+9} = \sqrt{22}.

a2a1=(2,1,2)\mathbf{a}_2 - \mathbf{a}_1 = (2, -1, 2).

(a2a1)(d1×d2)=436=5(\mathbf{a}_2-\mathbf{a}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2) = 4 - 3 - 6 = -5.

D=LB5RB◆◆LB22RB=LB5RB◆◆LB22RB=LB522RB◆◆LB22RBD = \dfrac◆LB◆|-5|◆RB◆◆LB◆\sqrt{22}◆RB◆ = \dfrac◆LB◆5◆RB◆◆LB◆\sqrt{22}◆RB◆ = \dfrac◆LB◆5\sqrt{22}◆RB◆◆LB◆22◆RB◆.

Question 12

Find the volume of the parallelepiped with edges a=(2,0,1)\mathbf{a} = (2, 0, 1), b=(1,3,0)\mathbf{b} = (1, 3, 0), c=(0,1,2)\mathbf{c} = (0, -1, 2).

Solution

V=a(b×c)=det(201130012)V = |\mathbf{a}\cdot(\mathbf{b}\times\mathbf{c})| = \left|\det\begin{pmatrix}2&0&1\\1&3&0\\0&-1&2\end{pmatrix}\right|

=2(60)0+1(10)=121=11= |2(6-0) - 0 + 1(-1-0)| = |12 - 1| = 11.

Question 13

Prove that the points equidistant from two fixed points lie on the perpendicular bisector plane of the segment joining them.

Solution

Let the fixed points be AA and BB with position vectors a\mathbf{a} and b\mathbf{b}. A point PP is equidistant from AA and BB when:

pa=pb|\mathbf{p} - \mathbf{a}| = |\mathbf{p} - \mathbf{b}|

Squaring: (pa)(pa)=(pb)(pb)(\mathbf{p}-\mathbf{a})\cdot(\mathbf{p}-\mathbf{a}) = (\mathbf{p}-\mathbf{b})\cdot(\mathbf{p}-\mathbf{b})

p22ap+a2=p22bp+b2|\mathbf{p}|^2 - 2\mathbf{a}\cdot\mathbf{p} + |\mathbf{a}|^2 = |\mathbf{p}|^2 - 2\mathbf{b}\cdot\mathbf{p} + |\mathbf{b}|^2

2(ba)p=b2a22(\mathbf{b} - \mathbf{a})\cdot\mathbf{p} = |\mathbf{b}|^2 - |\mathbf{a}|^2

This is the equation of a plane with normal ba\mathbf{b} - \mathbf{a} (perpendicular to ABAB), which passes through the midpoint LBa+bRB◆◆LB2RB\dfrac◆LB◆\mathbf{a}+\mathbf{b}◆RB◆◆LB◆2◆RB◆. This is the perpendicular bisector. \blacksquare

Question 14

Find the equation of the plane containing the line L:r=(1,0,2)+λ(1,2,1)L: \mathbf{r} = (1, 0, 2) + \lambda(1, 2, -1) and the point P(3,1,4)P(3, 1, 4).

Solution

The direction of LL is d=(1,2,1)\mathbf{d} = (1, 2, -1). Two vectors in the plane are PQ=(1,0,2)(3,1,4)=(2,1,2)\overrightarrow{PQ} = (1, 0, 2) - (3, 1, 4) = (-2, -1, -2) (wait, QQ should be on LL, not PP).

Actually, the point on LL at λ=0\lambda = 0 is (1,0,2)(1, 0, 2). Vectors in the plane: PQ=(13,01,24)=(2,1,2)\overrightarrow{PQ} = (1-3, 0-1, 2-4) = (-2, -1, -2) and d=(1,2,1)\mathbf{d} = (1, 2, -1).

n=(2,1,2)×(1,2,1)=((1)(1)(2)(2)(2)(1)(2)(1)(2)(2)(1)(1))=(1+4224+1)=(543)\mathbf{n} = (-2,-1,-2)\times(1,2,-1) = \begin{pmatrix}(-1)(-1)-(-2)(2)\\(-2)(1)-(-2)(-1)\\(-2)(2)-(-1)(1)\end{pmatrix} = \begin{pmatrix}1+4\\-2-2\\-4+1\end{pmatrix} = \begin{pmatrix}5\\-4\\-3\end{pmatrix}

rn=(1)(5)+(0)(4)+(2)(3)=56=1\mathbf{r}\cdot\mathbf{n} = (1)(5) + (0)(-4) + (2)(-3) = 5 - 6 = -1.

Equation: 5x4y3z=15x - 4y - 3z = -1.

Verify: (3)(4)4(1)3(4)=15412=311(3)(-4) - 4(1) - 3(4) = -15 - 4 - 12 = -31 \neq -1. Let me recheck.

Using point P(3,1,4)P(3, 1, 4): 5(3)4(1)3(4)=15412=15(3) - 4(1) - 3(4) = 15 - 4 - 12 = -1. Correct.

Question 15

Prove that a×(b×c)=b×(c×a)=c×(a×b)\mathbf{a}\times(\mathbf{b}\times\mathbf{c}) = \mathbf{b}\times(\mathbf{c}\times\mathbf{a}) = \mathbf{c}\times(\mathbf{a}\times\mathbf{b}).

Solution

This is the cyclic permutation property of the scalar triple product. In determinant form:

det(a1a2a3b1b2b3c1c2c3)=det(b1b2b3c1c2c3a1a2a3)=det(c1c2c3a1a2a3b1b2b3)\det\begin{pmatrix}a_1&a_2&a_3\\b_1&b_2&b_3\\c_1&c_2&c_3\end{pmatrix} = \det\begin{pmatrix}b_1&b_2&b_3\\c_1&c_2&c_3\\a_1&a_2&a_3\end{pmatrix} = \det\begin{pmatrix}c_1&c_2&c_3\\a_1&a_2&a_3\\b_1&b_2&b_3\end{pmatrix}

Each equality follows from the fact that swapping two rows of a determinant changes its sign, and two swaps return to the original sign. \blacksquare


14. Connections to Other Topics

14.1 Vectors and matrices

The cross product and scalar triple product can be expressed as determinants. See Matrices.

14.2 Vectors and mechanics

Vector methods are essential for resolving forces, computing moments (M=r×F\mathbf{M} = \mathbf{r} \times \mathbf{F}), and angular momentum. See Projectile Motion.

14.3 Planes and coordinate geometry

The equation of a plane connects vectors to 3D geometry. See Polar Coordinates for parametric representations of curves.


15. Key Results Summary

| Result | Formula | | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | -------- | -------------------------------- | ---------------------------------- | ------------- | ----- | | Scalar product | ab=abcosθ=a1b1+a2b2+a3b3\mathbf{a}\cdot\mathbf{b} = | \mathbf{a} | | \mathbf{b} | \cos\theta = a_1b_1+a_2b_2+a_3b_3 | | Vector product | a×b=(a2b3a3b2a3b1a1b3a1b2a2b1)\mathbf{a}\times\mathbf{b} = \begin{pmatrix}a_2b_3-a_3b_2\\a_3b_1-a_1b_3\\a_1b_2-a_2b_1\end{pmatrix} | | Scalar triple product | [a,b,c]=a(b×c)=det(a  b  c)[\mathbf{a},\mathbf{b},\mathbf{c}] = \mathbf{a}\cdot(\mathbf{b}\times\mathbf{c}) = \det(\mathbf{a}\;\mathbf{b}\;\mathbf{c}) | | Distance: point to plane | D=LBandRB◆◆LBnRBD = \dfrac◆LB◆ | \mathbf{a}\cdot\mathbf{n} - d | ◆RB◆◆LB◆ | \mathbf{n} | ◆RB◆ | | Distance: skew lines | D=LB(a_2a_1)(d_1×d_2)RB◆◆LBd_1×d_2RBD = \dfrac◆LB◆ | (\mathbf{a}\_2-\mathbf{a}\_1)\cdot(\mathbf{d}\_1\times\mathbf{d}\_2) | ◆RB◆◆LB◆ | \mathbf{d}\_1\times\mathbf{d}\_2 | ◆RB◆ | | Angle: line to plane | sinϕ=LBdnRB◆◆LBdnRB\sin\phi = \dfrac◆LB◆ | \mathbf{d}\cdot\mathbf{n} | ◆RB◆◆LB◆ | \mathbf{d} | | \mathbf{n} | ◆RB◆ | | Angle: two planes | cosθ=LBn_1n_2RB◆◆LBn_1n_2RB\cos\theta = \dfrac◆LB◆ | \mathbf{n}\_1\cdot\mathbf{n}\_2 | ◆RB◆◆LB◆ | \mathbf{n}\_1 | | \mathbf{n}\_2 | ◆RB◆ | | Volume of tetrahedron | V=16[a,b,c]V = \dfrac{1}{6} | [\mathbf{a},\mathbf{b},\mathbf{c}] | | | Reflection in plane | P=P2Dn^P' = P - 2D\hat{\mathbf{n}} where D=LBPndRB◆◆LBnRBD = \dfrac◆LB◆P\cdot\mathbf{n}-d◆RB◆◆LB◆ | \mathbf{n} | ◆RB◆ |


16. Further Exam-Style Questions

Question 16

Find the equation of the plane that passes through the points A(1,0,0)A(1,0,0), B(0,1,0)B(0,1,0), C(0,0,1)C(0,0,1) and verify that D(1/3,1/3,1/3)D(1/3, 1/3, 1/3) lies on it.

Solution

AB=(1,1,0)\overrightarrow{AB} = (-1,1,0), AC=(1,0,1)\overrightarrow{AC} = (-1,0,1).

n=AB×AC=(1,1,1)\mathbf{n} = \overrightarrow{AB}\times\overrightarrow{AC} = (1,1,1).

rn=(1)(1)+(0)(1)+(0)(1)=1\mathbf{r}\cdot\mathbf{n} = (1)(1)+(0)(1)+(0)(1) = 1.

Equation: x+y+z=1\boxed{x+y+z = 1}.

Check DD: 13+13+13=1\dfrac{1}{3}+\dfrac{1}{3}+\dfrac{1}{3} = 1. ✓

Question 17

Prove that a×(b×c)=b(ac)c(ab)\mathbf{a}\times(\mathbf{b}\times\mathbf{c}) = \mathbf{b}(\mathbf{a}\cdot\mathbf{c}) - \mathbf{c}(\mathbf{a}\cdot\mathbf{b}) (the vector triple product expansion).

Solution

Let a=(a1,a2,a3)\mathbf{a} = (a_1,a_2,a_3), b=(b1,b2,b3)\mathbf{b} = (b_1,b_2,b_3), c=(c1,c2,c3)\mathbf{c} = (c_1,c_2,c_3).

b×c=(b2c3b3c2,  b3c1b1c3,  b1c2b2c1)\mathbf{b}\times\mathbf{c} = (b_2c_3-b_3c_2,\; b_3c_1-b_1c_3,\; b_1c_2-b_2c_1).

The first component of a×(b×c)\mathbf{a}\times(\mathbf{b}\times\mathbf{c}):

a2(b1c2b2c1)a3(b3c1b1c3)=a2b1c2a2b2c1a3b3c1+a3b1c3a_2(b_1c_2-b_2c_1) - a_3(b_3c_1-b_1c_3) = a_2b_1c_2-a_2b_2c_1-a_3b_3c_1+a_3b_1c_3

=b1(a2c2+a3c3)c1(a2b2+a3b3)= b_1(a_2c_2+a_3c_3) - c_1(a_2b_2+a_3b_3)

=b1(aca1c1)c1(aba1b1)= b_1(\mathbf{a}\cdot\mathbf{c}-a_1c_1) - c_1(\mathbf{a}\cdot\mathbf{b}-a_1b_1)

=b1(ac)c1(ab)a1b1c1+a1c1b1=b1(ac)c1(ab)= b_1(\mathbf{a}\cdot\mathbf{c}) - c_1(\mathbf{a}\cdot\mathbf{b}) - a_1b_1c_1+a_1c_1b_1 = b_1(\mathbf{a}\cdot\mathbf{c})-c_1(\mathbf{a}\cdot\mathbf{b}).

Similarly for the other two components. \blacksquare

Question 18

Two lines are given by r1=(0,1,0)+λ(1,0,1)\mathbf{r}_1 = (0,1,0)+\lambda(1,0,-1) and r2=(0,0,1)+μ(0,1,1)\mathbf{r}_2 = (0,0,1)+\mu(0,1,1). Determine whether they intersect, are parallel, or are skew.

Solution

d1=(1,0,1)\mathbf{d}_1 = (1,0,-1), d2=(0,1,1)\mathbf{d}_2 = (0,1,1). Not parallel (not scalar multiples).

For intersection: λ=0\lambda = 0, 1=μ1 = \mu, λ=1+μ-\lambda = 1+\mu.

From λ=0\lambda = 0: 1=μ1 = \mu and 0=1+1=20 = 1+1 = 2. Contradiction.

The lines are skew.

Distance: d1×d2=(01(1)1,  (1)011,  1100)=(1,1,1)\mathbf{d}_1\times\mathbf{d}_2 = (0\cdot1-(-1)\cdot1,\; (-1)\cdot0-1\cdot1,\; 1\cdot1-0\cdot0) = (1,-1,1).

d1×d2=3|\mathbf{d}_1\times\mathbf{d}_2| = \sqrt{3}.

a2a1=(0,1,1)\mathbf{a}_2-\mathbf{a}_1 = (0,-1,1). (a2a1)(d1×d2)=0+1+1=2(\mathbf{a}_2-\mathbf{a}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2) = 0+1+1 = 2.

D=LB2RB◆◆LB3RB=LB23RB◆◆LB3RBD = \dfrac◆LB◆2◆RB◆◆LB◆\sqrt{3}◆RB◆ = \boxed{\dfrac◆LB◆2\sqrt{3}◆RB◆◆LB◆3◆RB◆}.


17. Advanced Topics

17.1 Vector equations of planes

The equation of a plane can be written in three equivalent forms:

  • Scalar product: rn=d\mathbf{r}\cdot\mathbf{n} = d
  • Cartesian: ax+by+cz=dax+by+cz = d
  • Parametric: r=a+sb+tc\mathbf{r} = \mathbf{a} + s\mathbf{b} + t\mathbf{c}

17.2 The shortest distance between two skew lines — alternative derivation

The shortest distance between skew lines equals the perpendicular distance from any point on one line to the parallel plane containing the other line.

17.3 Triple vector product identity

The BAC-CAB rule: a×(b×c)=b(ac)c(ab)\mathbf{a}\times(\mathbf{b}\times\mathbf{c}) = \mathbf{b}(\mathbf{a}\cdot\mathbf{c}) - \mathbf{c}(\mathbf{a}\cdot\mathbf{b}).

This identity is extensively used in mechanics (e.g., angular momentum, moments).

17.4 Applications in geometry

  • Coplanarity test: [a,b,c]=0    [\mathbf{a},\mathbf{b},\mathbf{c}] = 0 \iff the three vectors are coplanar.
  • Volume of parallelepiped: V=[a,b,c]V = |[\mathbf{a},\mathbf{b},\mathbf{c}]|.
  • Volume of tetrahedron: V=16[a,b,c]V = \dfrac{1}{6}|[\mathbf{a},\mathbf{b},\mathbf{c}]|.

18. Further Exam-Style Questions

Question 19

Find the angle between the planes 2xy+z=32x - y + z = 3 and x+y+2z=1x + y + 2z = 1.

Solution

n1=(2,1,1)\mathbf{n}_1 = (2,-1,1), n2=(1,1,2)\mathbf{n}_2 = (1,1,2).

cosθ=LB21+2RB◆◆LB66RB=36=12\cos\theta = \dfrac◆LB◆|2-1+2|◆RB◆◆LB◆\sqrt{6}\sqrt{6}◆RB◆ = \dfrac{3}{6} = \dfrac{1}{2}.

θ=60°\boxed{\theta = 60°}

Question 20

Prove that the line of intersection of the planes x+y+z=1x+y+z=1 and 2xy+z=32x-y+z=3 is parallel to the vector (2,1,3)(2, 1, -3).

Solution

The direction of the line of intersection is n1×n2=(1,1,1)×(2,1,1)\mathbf{n}_1 \times \mathbf{n}_2 = (1,1,1) \times (2,-1,1).

=((1)(1)(1)(1)(1)(2)(1)(1)(1)(1)(1)(2))=(2,1,3)= \begin{pmatrix}(1)(1)-(1)(-1)\\(1)(2)-(1)(1)\\(1)(-1)-(1)(2)\end{pmatrix} = (2, 1, -3).

Since the cross product gives (2,1,3)(2,1,-3), the line is parallel to this vector. \blacksquare


19. Advanced Topics in 3D Vectors

19.1 Direction cosines

If a\mathbf{a} makes angles α,β,γ\alpha, \beta, \gamma with the coordinate axes, then:

cosα=LBa1RB◆◆LBaRB\cos\alpha = \dfrac◆LB◆a_1◆RB◆◆LB◆|\mathbf{a}|◆RB◆, cosβ=LBa2RB◆◆LBaRB\cos\beta = \dfrac◆LB◆a_2◆RB◆◆LB◆|\mathbf{a}|◆RB◆, cosγ=LBa3RB◆◆LBaRB\cos\gamma = \dfrac◆LB◆a_3◆RB◆◆LB◆|\mathbf{a}|◆RB◆

and cos2α+cos2β+cos2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1.

19.2 Triple vector product (BAC-CAB rule)

a×(b×c)=b(ac)c(ab)\mathbf{a}\times(\mathbf{b}\times\mathbf{c}) = \mathbf{b}(\mathbf{a}\cdot\mathbf{c}) - \mathbf{c}(\mathbf{a}\cdot\mathbf{b})

Note: (a×b)×c=b(ac)a(bc)(\mathbf{a}\times\mathbf{b})\times\mathbf{c} = \mathbf{b}(\mathbf{a}\cdot\mathbf{c}) - \mathbf{a}(\mathbf{b}\cdot\mathbf{c}) (different!)

19.3 Shortest distance from a point to a line

The shortest distance from point PP (position vector p\mathbf{p}) to the line r=a+λd\mathbf{r} = \mathbf{a} + \lambda\mathbf{d} is:

D=LB(pa)×dRB◆◆LBdRBD = \frac◆LB◆|(\mathbf{p}-\mathbf{a})\times\mathbf{d}|◆RB◆◆LB◆|\mathbf{d}|◆RB◆

19.4 Vector planes — parametric form

A plane through point a\mathbf{a} spanned by vectors b\mathbf{b} and c\mathbf{c}:

r=a+sb+tc\mathbf{r} = \mathbf{a} + s\mathbf{b} + t\mathbf{c}

The normal is n=b×c\mathbf{n} = \mathbf{b}\times\mathbf{c}.


20. Further Exam-Style Questions

Question 21

Find the shortest distance from the point P(1,2,3)P(1,2,3) to the line r=(0,1,1)+λ(1,1,0)\mathbf{r} = (0,1,-1)+\lambda(1,1,0).

Solution

pa=(1,2,3)(0,1,1)=(1,1,4)\mathbf{p}-\mathbf{a} = (1,2,3)-(0,1,-1) = (1,1,4). d=(1,1,0)\mathbf{d} = (1,1,0).

(pa)×d=(104141101111)=(4,4,0)(\mathbf{p}-\mathbf{a})\times\mathbf{d} = \begin{pmatrix}1\cdot0-4\cdot1\\4\cdot1-1\cdot0\\1\cdot1-1\cdot1\end{pmatrix} = (-4, 4, 0).

D=LB(4,4,0)RB◆◆LB(1,1,0)RB=LB32RB◆◆LB2RB=LB42RB◆◆LB2RB=4D = \dfrac◆LB◆|(-4,4,0)|◆RB◆◆LB◆|(1,1,0)|◆RB◆ = \dfrac◆LB◆\sqrt{32}◆RB◆◆LB◆\sqrt{2}◆RB◆ = \dfrac◆LB◆4\sqrt{2}◆RB◆◆LB◆\sqrt{2}◆RB◆ = \boxed{4}.

Question 22

Prove that the lines r1=(1,0,0)+λ(1,1,1)\mathbf{r}_1 = (1,0,0)+\lambda(1,1,1) and r2=(0,1,0)+μ(1,1,0)\mathbf{r}_2 = (0,1,0)+\mu(1,-1,0) intersect and find the point of intersection.

Solution

1+λ=μ1+\lambda = \mu, λ=1μ\lambda = 1-\mu, λ=0\lambda = 0.

From λ=0\lambda = 0: μ=1\mu = 1. Check: 1=11 = 1 ✓, 0=00 = 0 ✓, 0=00 = 0 ✓.

The lines intersect at (1,0,0)\boxed{(1,0,0)}.