Year 12 Specialist · Lesson 03 of 04 · 60 minutes

Vectors in three dimensions

How can vectors describe direction, angles and planes?

By the end, you can…

  • Calculate magnitudes, unit vectors and scalar products.
  • Connect projection to perpendicularity.
  • Use a vector product to find a normal and a plane equation.
Skills to bring
  • Two-dimensional vector arithmetic
  • Pythagoras and cosine
  • Coordinates in three dimensions

01 · 8 minutes · Start without a calculator

Warm up

Try these in your notebook. Use the answers to spot anything to revisit.

  1. Find ∣(3,4)∣|(3,4)|.

    Show worked answer

    55

    32+42=5\sqrt{3^2+4^2}=5.

  2. Calculate (1,2)+(3,−1)(1,2)+(3,-1).

    Show worked answer

    (4,1)(4,1)

    Add corresponding components.

  3. Calculate (1,0)⋅(0,1)(1,0)\cdot(0,1). What does this tell you?

    Show worked answer

    00; the nonzero vectors are perpendicular.

    The scalar product of perpendicular vectors is zero.

02 · 12 minutes · Think, then discuss

A direction perpendicular to two others

Let a=(1,0,1)\mathbf a=(1,0,1), b=(0,1,1)\mathbf b=(0,1,1) and n=(−1,−1,1)\mathbf n=(-1,-1,1). Use calculations and the diagram together.

Two vectors (1,0,1) and (0,1,1) lie in the plane z equals x plus y. Their cross product (-1,-1,1) points perpendicular to the plane.
The calculation, not the perspective drawing alone, establishes perpendicularity. Open full-size figure ↗
  1. Calculate a⋅n\mathbf a\cdot\mathbf n and b⋅n\mathbf b\cdot\mathbf n.
  2. What does this tell you about n\mathbf n?
  3. Does 2n2\mathbf n give another normal direction?
Compare your reasoning

Both scalar products are zero.

n\mathbf n is perpendicular to each of the two non-parallel vectors, so it is normal to their plane.

Yes. Any nonzero scalar multiple is also normal to that plane.

Magnitude and direction

For a nonzero vector, divide by its magnitude to get a unit vector in the same direction.

∣a∣=a12+a22+a32,a^=a∣a∣|\mathbf a|=\sqrt{a_1^2+a_2^2+a_3^2},\qquad \widehat{\mathbf a}=\frac{\mathbf a}{|\mathbf a|}

Scalar product and projection

The scalar product is a number. For nonzero b\mathbf b, the vector projection of a\mathbf a onto b\mathbf b is:

proj⁡ba=a⋅b∣b∣2b\operatorname{proj}_{\mathbf b}\mathbf a=\frac{\mathbf a\cdot\mathbf b}{|\mathbf b|^2}\mathbf b

Vector product and a plane

For non-parallel vectors, a×b\mathbf a\times\mathbf b is a nonzero vector perpendicular to both. A plane through r0\mathbf r_0 with normal n≠0\mathbf n\ne\mathbf0 satisfies:

n⋅(r−r0)=0\mathbf n\cdot(\mathbf r-\mathbf r_0)=0

03 · 15 minutes · Explain each step

Work it through

Worked example 1

An angle and a projection

Let a=(3,1)\mathbf a=(3,1) and b=(1,2)\mathbf b=(1,2). Find the angle between them and the projection of a\mathbf a onto b\mathbf b.

  1. a⋅b=3+2=5\mathbf a\cdot\mathbf b=3+2=5, ∣a∣=10|\mathbf a|=\sqrt{10} and ∣b∣=5|\mathbf b|=\sqrt5.
  2. cos⁡θ=5105=12\cos\theta=\frac5{\sqrt{10}\sqrt5}=\frac1{\sqrt2}, so θ=π/4\theta=\pi/4.
  3. proj⁡ba=55(1,2)=(1,2)\operatorname{proj}_{\mathbf b}\mathbf a=\frac55(1,2)=(1,2).
  4. The remainder (3,1)−(1,2)=(2,−1)(3,1)-(1,2)=(2,-1) is perpendicular to b\mathbf b: its dot product is 0.

Worked example 2

Build a plane from two directions

Find the plane through the origin containing a=(1,0,1)\mathbf a=(1,0,1) and b=(0,1,1)\mathbf b=(0,1,1).

  1. Use a×b=(a2b3−a3b2, a3b1−a1b3, a1b2−a2b1)\mathbf a\times\mathbf b=(a_2b_3-a_3b_2,\ a_3b_1-a_1b_3,\ a_1b_2-a_2b_1).
  2. Here a×b=(−1,−1,1)\mathbf a\times\mathbf b=(-1,-1,1). Check its scalar product with each direction is zero.
  3. The plane is −x−y+z=0-x-y+z=0, equivalently x+y−z=0x+y-z=0.
  4. A reversed vector product gives the opposite normal, but the same plane.

04 · 20 minutes · Work by hand, then check

Try it yourself

Start with questions 1–4. Continue to 5–6 if time allows, or finish them after class. Show your reasoning before opening an answer.

  1. Find the magnitude of a=(2,−1,2)\mathbf a=(2,-1,2) and a unit vector in its direction.

    Show worked answer

    ∣a∣=3|\mathbf a|=3; a^=(23,−13,23)\widehat{\mathbf a}=(\frac23,-\frac13,\frac23).

    The squared magnitude is 4+1+4=94+1+4=9.

  2. Calculate (1,2,−1)⋅(3,0,4)(1,2,-1)\cdot(3,0,4).

    Show worked answer

    −1-1

    3+0−4=−13+0-4=-1.

  3. Find kk so that (1,k,2)(1,k,2) is perpendicular to (2,1,−1)(2,1,-1).

    Show worked answer

    k=0k=0

    Set the scalar product to zero: 2+k−2=02+k-2=0.

  4. Calculate (1,0,0)×(0,1,0)(1,0,0)\times(0,1,0).

    Show worked answer

    (0,0,1)(0,0,1)

    Use the component formula or the right-hand orientation of the coordinate axes.

  5. Find a plane through (1,0,2)(1,0,2) with normal (2,−1,1)(2,-1,1).

    Show worked answer

    2x−y+z=42x-y+z=4

    2(x−1)−y+(z−2)=02(x-1)-y+(z-2)=0.

  6. Find where the line r=(1,0,1)+t(1,1,0)\mathbf r=(1,0,1)+t(1,1,0) meets x+y−z=0x+y-z=0.

    Show worked answer

    t=0t=0, at (1,0,1)(1,0,1).

    Substitute x=1+tx=1+t, y=ty=t, z=1z=1: 2t=02t=0.

Quick checks

Choose an answer, then check your reasoning.

Which operation produces a scalar?
A normal to 2x−y+z=42x-y+z=4 is…

05 · 5 minutes · An independent check

Exit ticket

Close your notes and try both questions. Then write one idea you can explain and one question you still have.

  1. How does b×a\mathbf b\times\mathbf a compare with a×b\mathbf a\times\mathbf b?

    Show worked answer

    b×a=−(a×b)\mathbf b\times\mathbf a=-(\mathbf a\times\mathbf b)

    Reversing the order reverses the direction.

  2. Verify that the projection remainder (2,−1)(2,-1) is perpendicular to (1,2)(1,2).

    Show worked answer

    (2,−1)⋅(1,2)=2−2=0(2,-1)\cdot(1,2)=2-2=0.

    Both vectors are nonzero, so the zero scalar product gives perpendicularity.

Keep the idea working

After class

Finish any remaining practice, then try these two follow-up questions.

  1. Find a plane through (0,1,2)(0,1,2) with normal (1,2,−1)(1,2,-1).

    Show worked answer

    x+2y−z=0x+2y-z=0

    x+2(y−1)−(z−2)=0x+2(y-1)-(z-2)=0.

  2. Find the projection of (2,3)(2,3) onto (1,0)(1,0).

    Show worked answer

    (2,0)(2,0)

    The projection coefficient is 2/1=22/1=2.

Mark complete when you have attempted the practice and checked your exit ticket.