← IB Mathematics: Analysis & Approaches · HL · IB Maths AA revision
⭐ 0
IB Diploma Mathematics: Analysis & Approaches HL · Vectors
Mini-Lesson

Vectors

3 missions. Guess, learn, then check. Your place is saved.

  1. Mission 1How can one number tell you if two directions are at right angles?
  2. Mission 2Two aircraft fly straight paths. Will they collide or just pass close?
  3. Mission 3Three points fix a plane. Which direction sticks straight out of it?
Mission 1

How can one number tell you if two directions are at right angles?

Make a guess: How can one number tell you if two directions are at right angles?

Vectors · scalar product

Components, magnitude and unit vectors

Position vectors and the displacement AB in three dimensionsxyzijkabAB=b−aA(2,1,3)B(4,3,1)O
  • A vector has size and direction: v = ( v₁ ; v₂ ; v₃ ) = v₁i + v₂j + v₃k.
  • Position vector OA→ = a. Displacement AB→ = b − a (end minus start).
  • Magnitude: |v| = √(v₁² + v₂² + v₃²), so the distance AB is |AB→|.
  • A unit vector has magnitude 1: v/(|v|). Vectors are parallel if one is a scalar multiple of the other, w = kv.
Calculate
?Points A and B have coordinates (1, −2, 3) and (3, 4, 0). Find the distance AB.
Worked example Vectors · scalar product

A velocity with a given speed

Question
A drone flies at a constant speed of 15 m s⁻¹ in the direction of 2i − 2j + k. Find its velocity vector.
  1. 1
    Find the magnitude of the direction vector: √(2² + (−2)² + 1²) = √9 = 3
  2. 2
    Normalise to get a unit vector: 1/3( 2 ; −2 ; 1 )
  3. 3
    Rescale to the speed: 15 × 1/3( 2 ; −2 ; 1 ) = ( 10 ; −10 ; 5 )
Answer
velocity = 10i − 10j + 5k m s⁻¹. Check: √(100 + 100 + 25) = 15.
⚠️ Watch out
15(2i − 2j + k) has magnitude 45, not 15. Normalise first.
Vectors · scalar product

The scalar product

  • The scalar product (dot product) of v and w is a number, not a vector:
v·w = v₁w₁ + v₂w₂ + v₃w₃ = |v||w|cos θ
  • θ is the angle between the vectors when they point away from the same point. So cos θ = (v·w)/(|v||w|).
  • For non-zero vectors: v·w > 0 means θ is acute, v·w = 0 means perpendicular, and v·w < 0 means obtuse.
  • Properties: v·w = w·v, u·(v + w) = u·v + u·w, (kv)·w = k(v·w) and v·v = |v|². For parallel vectors, |v·w| = |v||w|. You can use these in vector proofs.
Worked example Vectors · scalar product

The angle between two vectors

Question
Find the angle between p = ( 2 ; 1 ; −2 ) and q = ( 3 ; 0 ; 4 ), in degrees.
  1. 1
    Scalar product: p·q = 6 + 0 − 8 = −2
  2. 2
    Magnitudes: |p| = √(4 + 1 + 4) = 3 and |q| = √(9 + 0 + 16) = 5
  3. 3
    Cosine: cos θ = (−2)/(3 × 5) = −2/15
  4. 4
    Inverse cosine: θ = arccos (−2/15)
Answer
θ ≈ 97.7° (3 s.f.), an obtuse angle.
⚠️ Watch out
keep the minus sign. Dropping it gives 82.3°, the supplement of the true angle.
Calculate
?Points A(1, 0, 2), B(3, 1, 0) and C(4, k, 5) are such that angle AB̂C = 90°. Find the value of k.
Worked example Vectors · scalar product

A vector proof: the angle in a semicircle

Angle in a semicircle with vectorsa−c−a−ca−acABCO
Question
AB is a diameter of a circle with centre O, and C is another point on the circle. Let OA→ = a and OC→ = c. Prove that AĈB = 90°.
  1. 1
    Use the circle: O is the midpoint of AB, so OB→ = −a; radii are equal, so |c| = |a|
  2. 2
    Write the sides from C: CA→ = a − c and CB→ = −a − c
  3. 3
    Expand the scalar product: CA→·CB→ = −(a − c)·(a + c) = −(a·a + a·c − c·a − c·c)
  4. 4
    Simplify with a·c = c·a and v·v = |v|²: CA→·CB→ = −(|a|² − |c|²) = 0
  5. 5
    Conclude: C is not A or B, so both vectors are non-zero, and a zero scalar product means they are perpendicular
Answer
CA→·CB→ = 0, so AĈB = 90°, as required.
⚠️ Watch out
justify each fact you use (equal radii, OB→ = −a, non-zero vectors). Unexplained steps lose marks in a "prove" question.
Sort it
?Use the scalar product (and scalar multiples) to classify each pair of vectors.

Tap a statement, then tap the group it belongs in. Then press Check.

Mission check

?How can one number tell you if two directions are at right angles? Take u = ( 2 ; −3 ; 1 ) and v = ( 4 ; 2 ; −2 ).
Mission 2

Two aircraft fly straight paths. Will they collide or just pass close?

Make a guess: Two aircraft fly straight paths. Will they collide or just pass close?

Vectors · lines

The vector equation of a line

A line in three dimensions r = a + λbxyzr=a+λbabλ=−1λ=0λ=1λ=2O
  • A line through the point with position vector a, in the direction of b, is
r = a + λb, λ ∈ ℝ
  • a fixes where the line is; the direction vector b fixes which way it points. Each value of λ gives one point on the line.
  • Parametric form: write each component separately, x = x₀ + λ l, y = y₀ + λ m, z = z₀ + λ n.
  • Cartesian form: make λ the subject of each and equate, (x − x₀)/l = (y − y₀)/m = (z − z₀)/n.
Quick check
?Which point lies on the line r = ( 1 ; 2 ; −1 ) + λ( 2 ; −1 ; 3 )?
Vectors · lines

Parallel, intersecting or skew

  • Compare the direction vectors first. If one is a multiple of the other, the lines are parallel (or coincident, if they share a point).
  • If not, set the two equations equal: a₁ + λb₁ = a₂ + μb₂. Use a different letter for each parameter.
  • Solve two of the component equations for λ and μ, then test the third.
  • Third equation true: the lines intersect. False: in 3-D the lines are skew; they are not parallel and never meet.
Worked example Vectors · lines

Finding a point of intersection

Question
Show that the lines r = ( 1 ; −1 ; 2 ) + λ( 2 ; 1 ; −1 ) and r = ( 3 ; −3 ; 2 ) + μ( 1 ; 2 ; −1 ) intersect, and find the point of intersection.
  1. 1
    Direction vectors are not multiples of each other, so the lines are not parallel
  2. 2
    Equate x and y: 1 + 2λ = 3 + μ and −1 + λ = −3 + 2μ
  3. 3
    Substitute μ = 2λ − 2 into the second: −1 + λ = −7 + 4λ, so λ = 2 and μ = 2
  4. 4
    Test z: 2 − λ = 0 and 2 − μ = 0. Both are 0, so the lines intersect
  5. 5
    Substitute λ = 2 into the first line: (1 + 4, −1 + 2, 2 − 2)
Answer
the lines intersect at (5, 1, 0).
⚠️ Watch out
you must test the third equation. If the second line started at (3, −3, 5), the same λ and μ would fail the z test and the lines would be skew.
Calculate
?Find the acute angle between the lines r = ( 0 ; 1 ; 4 ) + λ( 1 ; 2 ; 2 ) and r = ( 3 ; 0 ; −1 ) + μ( 2 ; −1 ; −2 ). Give your answer in degrees to 3 significant figures.
Vectors · lines

Lines as motion

  • An object moving with constant velocity v from position r₀ has position r = r₀ + tv at time t. The parameter is now time.
  • The speed is |v|. The relative position of B from A is AB→ = r_B − r_A.
  • Two paths can cross with no collision. A collision needs the same point at the same time: solve r_A(t) = r_B(t) with one t.
Worked example Vectors · lines

Crossing paths

Question
Positions in km relative to a control tower, t minutes after noon, are r_A = ( 1 ; 2 ; 3 ) + t( 2 ; 1 ; 0 ) and r_B = ( 8 ; −2 ; 0 ) + t( −1 ; 2 ; 1 ). Do the paths cross, and do the aircraft collide?
  1. 1
    Paths: use different parameters, 1 + 2s = 8 − u and 2 + s = −2 + 2u, giving s = 2, u = 3
  2. 2
    Test z: 3 = 0 + 3, true. The paths cross at (5, 4, 3)
  3. 3
    Times: A is there when t = 2, but B only when t = 3
  4. 4
    Collision test: x needs 1 + 2t = 8 − t, so t = 7/3, but z needs 3 = t. No single t works
Answer
the paths cross at (5, 4, 3), but the aircraft do not collide: B arrives 1 minute after A has passed.
⚠️ Watch out
using the same letter for both parameters in step 1 would wrongly suggest the paths never meet.
Calculate
?Two drones move with positions r_P = ( 1 ; 2 ; 0 ) + t( 2 ; −1 ; 1 ) and r_Q = ( 7 ; −4 ; 9 ) + t( 0 ; 1 ; −2 ), in metres, t seconds after launch. They collide. Find the value of t when they collide.
Mission check

?Two aircraft fly straight paths. Will they collide or just pass close? Take r_A = ( 0 ; 1 ; 2 ) + t( 1 ; 1 ; 0 ) and r_B = ( 1 ; 0 ; 0 ) + t( 0 ; 1 ; 1 ).
Mission 3

Three points fix a plane. Which direction sticks straight out of it?

Make a guess: Three points fix a plane. Which direction sticks straight out of it?

Vectors · planes

The vector product

The vector productvwv×wθarea =|v×w|
  • The vector product (cross product) is a vector perpendicular to both v and w:
v×w = ( v₂w₃ − v₃w₂ ; v₃w₁ − v₁w₃ ; v₁w₂ − v₂w₁ )
  • v×w = |v||w|sin θ n, where n is a unit normal set by the right-hand screw rule.
  • Order matters: w×v = −v×w. Also v×v = 0, and for non-zero vectors v×w = 0 means parallel.
  • |v×w| is the area of the parallelogram with sides v and w; a triangle is half.
Quick check
?Find ( 2 ; −1 ; 3 )×( 1 ; 4 ; −2 ).
Vectors · planes

Equations of a plane

  • Vector form: r = a + λb + μc, where a is a point and b, c are non-parallel vectors in the plane.
  • A normal n is perpendicular to every vector in the plane. You can take n = b×c.
  • Scalar product form: r·n = a·n.
  • Cartesian form: with n = ( n₁ ; n₂ ; n₃ ), this is n₁x + n₂y + n₃z = d, where d = a·n.
Worked example Vectors · planes

The plane through three points

Question
Find a Cartesian equation of the plane through A(1, 0, 2), B(3, 1, 0) and C(2, −1, 4).
  1. 1
    Two vectors in the plane: AB→ = ( 2 ; 1 ; −2 ) and AC→ = ( 1 ; −1 ; 2 )
  2. 2
    Normal: AB→×AC→ = ( 2 − 2 ; −2 − 4 ; −2 − 1 ) = ( 0 ; −6 ; −3 ), so use n = ( 0 ; 2 ; 1 )
  3. 3
    Find d using A: a·n = 0 + 0 + 2 = 2
  4. 4
    Check with B and C: 2(1) + 0 = 2 and 2(−1) + 4 = 2
Answer
2y + z = 2
⚠️ Watch out
any non-zero multiple of a normal is also a normal. Dividing by −3 keeps the numbers small.
Calculate
?Find the area of triangle ABC from the previous example, to 3 significant figures.
Vectors · planes

Intersections and angles

  • Line and plane: substitute the line's x, y, z (in terms of λ) into the plane's equation and solve. One λ: one point. No solution: parallel. True for every λ: the line lies in the plane.
  • Two planes: non-parallel planes meet in a line, with direction n₁×n₂. Three planes: solve the system (a point, a line, a plane, or no common point).
  • Angles: between two planes, the acute angle has cos θ = (|n₁·n₂|)/(|n₁||n₂|). Between a line and a plane, sin θ = (|b·n|)/(|b||n|).
Worked example Vectors · planes

Where a line meets a plane

Question
Find the point where the line r = ( 1 ; 2 ; 0 ) + λ( 1 ; −1 ; 2 ) meets the plane 2x + y − z = 3.
  1. 1
    Parametric form: x = 1 + λ, y = 2 − λ, z = 2λ
  2. 2
    Substitute: 2(1 + λ) + (2 − λ) − 2λ = 3
  3. 3
    Simplify: 4 − λ = 3, so λ = 1
  4. 4
    Put λ = 1 into the line: (1 + 1, 2 − 1, 2)
Answer
the line meets the plane at (2, 1, 2). Check: 4 + 1 − 2 = 3.
⚠️ Watch out
substitute the line into the plane, not the plane's normal into the line.
Calculate
?Find the acute angle between the line and the plane in the previous example, in degrees to 3 significant figures.
Sort it
?What is the intersection in each case?

Tap a statement, then tap the group it belongs in. Then press Check.

Mission check

?Three points fix a plane. Which direction sticks straight out of it? The plane contains P(1, 0, 0), Q(0, 2, 0) and R(0, 0, 3).
Recap

Big ideas

  • AB→ = b − a, |v| = √(v₁² + v₂² + v₃²), and a unit vector is v/(|v|): normalise, then rescale.
  • v·w = v₁w₁ + v₂w₂ + v₃w₃ = |v||w|cos θ gives the angle between vectors; zero means perpendicular.
  • A line is r = a + λb: a point plus multiples of a direction; the angle between lines comes from the direction vectors.
  • To compare two lines: parallel if the directions are multiples; otherwise solve with two parameters and test the third equation (intersect or skew).
  • With r = r₀ + tv, a collision needs the same point at the same time; crossing paths alone don't collide.
  • v×w is perpendicular to both vectors; |v×w| = |v||w|sin θ is the parallelogram's area.
  • A plane is r = a + λb + μc, or r·n = a·n, or n₁x + n₂y + n₃z = d, with normal n = b×c.
  • Substitute a line into a plane to intersect them; use normals for angles between planes, and sin θ = (|b·n|)/(|b||n|) for a line and a plane.
🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Vectors for IB Diploma Mathematics: Analysis & Approaches HL. 🎉

  1. Mission 1How can one number tell you if two directions are at right angles?
  2. Mission 2Two aircraft fly straight paths. Will they collide or just pass close?
  3. Mission 3Three points fix a plane. Which direction sticks straight out of it?

Your stars: 0 / 0

Next: more IB Mathematics: Analysis & Approaches · HL lessons and games on the IB Mathematics: Analysis & Approaches · HL page.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to IB Mathematics: Analysis & Approaches · HL

Specification points and sources for this lesson are listed at the bottom of the page.

Sources (3)

The specification points and sources behind this lesson.

  1. 1 IB Mathematics: analysis and approaches guide (first assessment 2021), AHL 3.12, 3.13
  2. 2 IB Mathematics: analysis and approaches guide (first assessment 2021), AHL 3.14, 3.15
  3. 3 IB Mathematics: analysis and approaches guide (first assessment 2021), AHL 3.16, 3.17, 3.18