Applications of vectors to 3-D geometry

Applications of vectors to 3-D geometry

Spec 5.3 · Edexcel A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A line has vector equation r=a+λb\mathbf{r}=\mathbf{a}+\lambda\mathbf{b}, or equivalently (r−a)×b=0(\mathbf{r}-\mathbf{a})\times\mathbf{b}=\mathbf{0}.
  • Direction cosines are the components of the unit vector along the line, so cos⁡2α+cos⁡2β+cos⁡2γ=1\cos^2\alpha+\cos^2\beta+\cos^2\gamma=1.
  • A plane through a\mathbf{a} with normal n\mathbf{n} is r⋅n=a⋅n\mathbf{r}\cdot\mathbf{n}=\mathbf{a}\cdot\mathbf{n}.
  • The angle between a line and a plane uses sin⁡θ\sin\theta; the angle between two planes uses cos⁡ϕ\cos\phi on the normals.
  • Distance from a point to a plane: divide by ∣n∣|\mathbf{n}| and take the modulus.

Equations of a line

A line is fixed by one point and a direction, and can be written as a vector equation or in Cartesian form.

A line through AA with position vector a\mathbf{a} and direction b\mathbf{b} is r=a+λb\mathbf{r}=\mathbf{a}+\lambda\mathbf{b}, where the parameter λ\lambda fixes the point. Through two points AA and BB the direction is AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}.

Eliminating λ\lambda gives the Cartesian equations x−a1b1=y−a2b2=z−a3b3\frac{x-a_1}{b_1}=\frac{y-a_2}{b_2}=\frac{z-a_3}{b_3}.

Since r−a\mathbf{r}-\mathbf{a} is parallel to b\mathbf{b}, the line is also (r−a)×b=0(\mathbf{r}-\mathbf{a})\times\mathbf{b}=\mathbf{0}. To test a point, find λ\lambda from one coordinate and check the other two.

r = a + λbabOAB
A 2D sketch of r = a + λb: from the point A with position vector a, the line runs in the direction b.
  • Vector formr=a+λb\mathbf{r}=\mathbf{a}+\lambda\mathbf{b}
  • Cross product form(r−a)×b=0(\mathbf{r}-\mathbf{a})\times\mathbf{b}=\mathbf{0}

Worked example

Write r=(i−2j+3k)+λ(2i+j−2k)\mathbf{r}=(\mathbf{i}-2\mathbf{j}+3\mathbf{k})+\lambda(2\mathbf{i}+\mathbf{j}-2\mathbf{k}) in Cartesian form, then test whether (5,0,−1)(5,0,-1) lies on the line.

Which is a direction vector of the line through A(1,2,3)A(1,2,3) and B(4,0,5)B(4,0,5)?

Direction ratios and cosines

Direction cosines are the direction ratios divided by their magnitude, giving the cosines of the angles with the axes.

The components l:m:nl:m:n of any vector along a line are direction ratios. The direction 2i+j−2k2\mathbf{i}+\mathbf{j}-2\mathbf{k} has ratios 2:1:−22:1:-2, and so does 4i+2j−4k4\mathbf{i}+2\mathbf{j}-4\mathbf{k}.

The direction cosines are cos⁡α,cos⁡β,cos⁡γ\cos\alpha,\cos\beta,\cos\gamma, where α,β,γ\alpha,\beta,\gamma are the angles with the xx-, yy- and zz-axes. They are the components of the unit vector along the line, so cos⁡2α+cos⁡2β+cos⁡2γ=1\cos^2\alpha+\cos^2\beta+\cos^2\gamma=1.

For ratios 2:1:−22:1:-2 the magnitude is 33, so the direction cosines are 23,13,−23\frac23,\frac13,-\frac23.

534α = 53.1°OPX
A 2D analogue: the vector (3, 4) has direction cosines cos α = 3/5 and cos β = 4/5, and (3/5)² + (4/5)² = 1.
  • Direction cosinecos⁡α=ll2+m2+n2\cos\alpha=\dfrac{l}{\sqrt{l^2+m^2+n^2}}
  • Checkcos⁡2α+cos⁡2β+cos⁡2γ=1\cos^2\alpha+\cos^2\beta+\cos^2\gamma=1

Worked example

A line has direction ratios 3:−4:123:-4:12. Find the angle it makes with the zz-axis.

What are the direction cosines of a line with direction ratios 1:2:21:2:2?

Equations of a plane

A plane is fixed by a point and a normal vector, and its equation is r⋅n=a⋅n\mathbf{r}\cdot\mathbf{n}=\mathbf{a}\cdot\mathbf{n}.

A plane through the point with position vector a\mathbf{a} and perpendicular to a normal n\mathbf{n} has equation r⋅n=a⋅n\mathbf{r}\cdot\mathbf{n}=\mathbf{a}\cdot\mathbf{n}.

With n=n1i+n2j+n3k\mathbf{n}=n_1\mathbf{i}+n_2\mathbf{j}+n_3\mathbf{k} the Cartesian form is n1x+n2y+n3z=dn_1x+n_2y+n_3z=d, where d=a⋅nd=\mathbf{a}\cdot\mathbf{n}.

A plane can also be written r=a+λb+μc\mathbf{r}=\mathbf{a}+\lambda\mathbf{b}+\mu\mathbf{c} for two non-parallel directions b\mathbf{b} and c\mathbf{c} in the plane. Its normal is then b×c\mathbf{b}\times\mathbf{c}.

planenAN
A plane seen edge-on (x + y = 4): its normal n = (1, 1) is perpendicular to every line in the plane.
  • Vector formr⋅n=a⋅n\mathbf{r}\cdot\mathbf{n}=\mathbf{a}\cdot\mathbf{n}
  • Cartesian formn1x+n2y+n3z=dn_1x+n_2y+n_3z=d
  • Normal from two directionsn=b×c\mathbf{n}=\mathbf{b}\times\mathbf{c}

Worked example

Find the Cartesian equation of the plane through A(1,2,3)A(1,2,3) with normal n=2i−j+2k\mathbf{n}=2\mathbf{i}-\mathbf{j}+2\mathbf{k}.

A plane contains the directions b=i\mathbf{b}=\mathbf{i} and c=j\mathbf{c}=\mathbf{j}. Which is a normal to it?

Intersections and angles

Substitute the line into the plane to find the intersection; use sin⁡θ\sin\theta for line and plane, and cos⁡ϕ\cos\phi for two planes.

To find where a line meets a plane, write a general point of the line in terms of λ\lambda, substitute into the plane's equation, solve for λ\lambda, then substitute back.

If the line has direction d\mathbf{d} and the plane has normal n\mathbf{n}, the acute angle θ\theta between them satisfies sin⁡θ=∣d⋅n∣∣d∣∣n∣\sin\theta=\frac{|\mathbf{d}\cdot\mathbf{n}|}{|\mathbf{d}||\mathbf{n}|}. The scalar product gives the angle with the normal, which is 90∘−θ90^\circ-\theta.

The angle between two planes is the angle between their normals: cos⁡ϕ=∣n1⋅n2∣∣n1∣∣n2∣\cos\phi=\frac{|\mathbf{n}_1\cdot\mathbf{n}_2|}{|\mathbf{n}_1||\mathbf{n}_2|}.

planelinenormalθ90° − θPQOBN
The line meets the plane at θ, so it makes 90° − θ with the normal (θ = 30° here).

Worked example

Find the angle between the line with direction d=2i+j−k\mathbf{d}=2\mathbf{i}+\mathbf{j}-\mathbf{k} and the plane with normal n=i+2j+2k\mathbf{n}=\mathbf{i}+2\mathbf{j}+2\mathbf{k}.

Which formula gives the angle between a line and a plane?

Perpendicular distances

For a plane use the Cartesian formula; for a line use the vector product with the direction.

The distance from (x1,y1,z1)(x_1,y_1,z_1) to the plane n1x+n2y+n3z=dn_1x+n_2y+n_3z=d is ∣n1x1+n2y1+n3z1−d∣n12+n22+n32\frac{|n_1x_1+n_2y_1+n_3z_1-d|}{\sqrt{n_1^2+n_2^2+n_3^2}}.

To find the foot of the perpendicular, draw the line through the point in the direction n\mathbf{n} and find where it meets the plane.

The distance from a point PP to a line through AA with direction d\mathbf{d} is ∣AP→×d∣∣d∣\frac{|\overrightarrow{AP}\times\mathbf{d}|}{|\mathbf{d}|}.

plane2√2PFL2
Distance from P(4, 4) to the plane x + y = 4 (edge-on): |4 + 4 − 4| ÷ √2 = 2√2 ≈ 2.83, along the normal to the foot F(2, 2).
  • Point to plane∣n1x1+n2y1+n3z1−d∣∣n∣\dfrac{|n_1x_1+n_2y_1+n_3z_1-d|}{|\mathbf{n}|}
  • Point to line∣AP→×d∣∣d∣\dfrac{|\overrightarrow{AP}\times\mathbf{d}|}{|\mathbf{d}|}

Point to plane

Find the distance from (4,3,−1)(4,3,-1) to the plane 2x−y+2z=62x-y+2z=6.

Point to line

Find the distance from P(5,1,0)P(5,1,0) to the line through A(1,−2,0)A(1,-2,0) with direction d=3i−4j+12k\mathbf{d}=3\mathbf{i}-4\mathbf{j}+12\mathbf{k}.

What is the distance from the origin to the plane x+2y+2z=9x+2y+2z=9?

Try an exam question

The plane Π\Pi passes through A(1,2,3)A(1,2,3) and has normal n=2i−j+2k\mathbf{n}=2\mathbf{i}-\mathbf{j}+2\mathbf{k}. Find a Cartesian equation of Π\Pi, and the perpendicular distance from the point (4,3,−1)(4,3,-1) to Π\Pi.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the direction cosines of ll, taking the direction given by the vector equation.

1 mark, marked against the mark scheme

Revision notes