Vectors in three dimensions

Vectors in three dimensions

Spec J1 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A third axis zz with unit vector k\mathbf k gives vectors xi+yj+zkx\mathbf i+y\mathbf j+z\mathbf k.
  • Add, subtract and scale component by component, exactly as in 2D.
  • Magnitude =x2+y2+z2=\sqrt{x^2+y^2+z^2}; distance between points is ∣b−a∣|\mathbf b-\mathbf a|.
  • Parallel vectors need all three components in one ratio.
  • Position under constant velocity is r=r0+tv\mathbf r=\mathbf r_0+t\mathbf v; bodies collide only if all three components give the same tt.

Three dimensions

A third axis, zz, perpendicular to xx and yy, has unit vector k\mathbf k. Everything works component by component, as in two dimensions.

A vector is xi+yj+zkx\mathbf i+y\mathbf j+z\mathbf k or the column (xyz)\begin{pmatrix}x\\ y\\ z\end{pmatrix}. The point (x,y,z)(x,y,z) has position vector xi+yj+zkx\mathbf i+y\mathbf j+z\mathbf k.

Addition, subtraction and multiplication by a scalar all work component by component.

xyz2i + 3j + 6kOP
The point P(2, 3, 6) has position vector 2i + 3j + 6k: go 2 along x, 3 along y and 6 along z (oblique projection).

Two dimensions

  • xi+yjx\mathbf i+y\mathbf j
  • Column of 2 numbers
  • Magnitude x2+y2\sqrt{x^2+y^2}

Three dimensions

  • xi+yj+zkx\mathbf i+y\mathbf j+z\mathbf k
  • Column of 3 numbers
  • Magnitude x2+y2+z2\sqrt{x^2+y^2+z^2}

Worked example

Given a=2i−3j+6k\mathbf a=2\mathbf i-3\mathbf j+6\mathbf k and b=i+2j−2k\mathbf b=\mathbf i+2\mathbf j-2\mathbf k, find 2a−3b2\mathbf a-3\mathbf b.

With a=2i−3j+6k\mathbf a=2\mathbf i-3\mathbf j+6\mathbf k and b=i+2j−2k\mathbf b=\mathbf i+2\mathbf j-2\mathbf k, what is a+b\mathbf a+\mathbf b?

Magnitude and distance

The magnitude of xi+yj+zkx\mathbf i+y\mathbf j+z\mathbf k applies Pythagoras twice. The distance between two points is the magnitude of b−a\mathbf b-\mathbf a.

So ∣2i−3j+6k∣=4+9+36=7|2\mathbf i-3\mathbf j+6\mathbf k|=\sqrt{4+9+36}=7.

The unit vector in the direction of a\mathbf a is a∣a∣\frac{\mathbf a}{|\mathbf a|}.

The distance between two points with position vectors a\mathbf a and b\mathbf b is ∣b−a∣|\mathbf b-\mathbf a|, where AB→=b−a\overrightarrow{AB}=\mathbf b-\mathbf a.

xyzOPdOP
Pythagoras twice: base diagonal d = √(2² + 3²) = √13, then OP = √(13 + 6²) = 7 (oblique projection, not to scale).
  • Magnitudex2+y2+z2\sqrt{x^2+y^2+z^2}
  • Distance ABAB∣b−a∣|\mathbf b-\mathbf a|

Worked example

Find the distance between A(1,2,3)A(1,2,3) and B(4,−2,15)B(4,-2,15).

What is ∣i−2j+2k∣|\mathbf i-2\mathbf j+2\mathbf k|?

Parallel and collinear

Two vectors are parallel if one is a scalar multiple of the other, so all three component ratios must match.

Parallel vectors satisfy v=ku\mathbf v=k\mathbf u. Three points are collinear if AC→=λAB→\overrightarrow{AC}=\lambda\overrightarrow{AB}.

To find a point CC with AC→=2AB→\overrightarrow{AC}=2\overrightarrow{AB}, use OC→=a+2AB→\overrightarrow{OC}=\mathbf a+2\overrightarrow{AB}.

ABABC
Collinear points (shown in the plane for clarity): AB = 2i + j and AC = 6i + 3j = 3AB, so A, B and C lie on one straight line.
  • Parallelv=ku\mathbf v=k\mathbf u in all three components
  • CollinearAC→=λAB→\overrightarrow{AC}=\lambda\overrightarrow{AB}

Worked example

u=2i−j+4k\mathbf u=2\mathbf i-\mathbf j+4\mathbf k and v=−6i+3j+μk\mathbf v=-6\mathbf i+3\mathbf j+\mu\mathbf k are parallel. Find μ\mu.

Which vector is parallel to 2i−j+4k2\mathbf i-\mathbf j+4\mathbf k?

Magnitude gives unknowns

A condition on the magnitude gives an equation for an unknown component. Squaring gives two roots, so check each.

Square both sides of ∣a∣=r|\mathbf a|=r to get x2+y2+z2=r2x^2+y^2+z^2=r^2, then solve for the unknown.

A squared bracket such as (4+q)2=16(4+q)^2=16 has two roots, ±4\pm4. Check each against the question.

−10−9−8−7−6−5−4−3−2−1012-80
  • ∣a∣=r|\mathbf a|=rx2+y2+z2=r2x^2+y^2+z^2=r^2

Worked example

u=2i−j+4k\mathbf u=2\mathbf i-\mathbf j+4\mathbf k and w=2i+3j+qk\mathbf w=2\mathbf i+3\mathbf j+q\mathbf k with ∣u+w∣=6|\mathbf u+\mathbf w|=6. Find qq.

∣3i+4j+pk∣=13|3\mathbf i+4\mathbf j+p\mathbf k|=13. What are the possible values of pp?

Kinematics with vectors

With constant velocity v\mathbf v, a body starting at r0\mathbf r_0 is at r0+tv\mathbf r_0+t\mathbf v after time tt. Speed is the magnitude of v\mathbf v.

The speed is the magnitude ∣v∣|\mathbf v|, a scalar. The velocity also includes direction. The displacement between two times is the change in position.

For a constant acceleration a\mathbf a, the vector equations of motion are v=u+ta\mathbf v=\mathbf u+t\mathbf a and r=r0+tu+12t2a\mathbf r=\mathbf r_0+t\mathbf u+\frac12t^2\mathbf a.

123456789101234567xyt = 0t = 2t = 4path of the body
Path of a body with r = (1 + 2t)i + (2 + t)j: it starts at (1, 2) and has constant velocity 2i + j, so its speed is √5.
  • Positionr=r0+tv\mathbf r=\mathbf r_0+t\mathbf v
  • Speed∣v∣|\mathbf v|
  • Constant accelerationv=u+ta\mathbf v=\mathbf u+t\mathbf a

Worked example

Drone AA starts at 5i−4j+10k5\mathbf i-4\mathbf j+10\mathbf k with velocity 2i+3j+6k2\mathbf i+3\mathbf j+6\mathbf k. Find its speed, its position at t=4t=4, and when it reaches height 7070 m.

A particle starts at i+2j+3k\mathbf i+2\mathbf j+3\mathbf k with velocity 2i−j+4k2\mathbf i-\mathbf j+4\mathbf k. What is its position at t=3t=3?

Collisions and meeting points

Two bodies meet if their position vectors are equal at the same time tt. All three component equations must give the same tt.

Set rA(t)=rB(t)\mathbf r_A(t)=\mathbf r_B(t) and equate the i\mathbf i, j\mathbf j and k\mathbf k components.

If they give different times, the paths cross but the bodies are not there together, so there is no collision.

  1. 1

    Equate components

    rA=rB\mathbf r_A=\mathbf r_B in i\mathbf i, j\mathbf j and k\mathbf k

  2. 2

    Solve two for t

    two equations give a value of t

  3. 3

    Check the third

    it must give the same t

  4. 4

    Conclude

    same t: collision; different t: paths cross only

Testing for a collision

Worked example

Drone AA is as before. Drone BB starts at 17i+2j+16k17\mathbf i+2\mathbf j+16\mathbf k with velocity −2i+j+4k-2\mathbf i+\mathbf j+4\mathbf k. Do they collide?

rA=(i+2j+3k)+t(i+j+k)\mathbf r_A=(\mathbf i+2\mathbf j+3\mathbf k)+t(\mathbf i+\mathbf j+\mathbf k) and rB=(5i+6j+3k)+t(−i−j+2k)\mathbf r_B=(5\mathbf i+6\mathbf j+3\mathbf k)+t(-\mathbf i-\mathbf j+2\mathbf k). Do they collide?

Try an exam question

a=i−2j+2k\mathbf a=\mathbf i-2\mathbf j+2\mathbf k and b=pi+6j+qk\mathbf b=p\mathbf i+6\mathbf j+q\mathbf k. Find ∣a∣|\mathbf a|, and find pp and qq given that b\mathbf b is parallel to a\mathbf a.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find ∣a∣|\mathbf a|.

1 mark, marked against the mark scheme

Revision notes