Vectors and complex numbers
Compute with vectors (sum, dot product, angle, projection) and complex numbers (arithmetic, conjugate, modulus).
20 min
Vectors in the plane
A vector a = (a₁, a₂) has length |a| = √(a₁² + a₂²). Add and subtract by components; scale by multiplying each component.
The dot product a · b = a₁b₁ + a₂b₂ = |a||b| cos θ, where θ is the angle between them (0° ≤ θ ≤ 180°). So:
- cos θ = a · b / (|a||b|)
- a ⊥ b exactly when a · b = 0
- a ∥ b exactly when a₁b₂ − a₂b₁ = 0
- The projection of a onto b has signed length (a · b)/|b|.
The same formulas work in 3D with a third component.
Define i with i² = −1. A complex number is z = a + bi with real part a and imaginary part b.
- Add, subtract, multiply like polynomials, then replace i² by −1.
- Conjugate: z̄ = a − bi. Then z · z̄ = a² + b².
- Modulus: |z| = √(a² + b²).
- Division: multiply top and bottom by the conjugate of the denominator.
- Powers of i cycle with period 4: i, −1, −i, 1.
Find the angle between a = (2, −1) and b = (1, 3).
- 1
a · b = 2·1 + (−1)·3 = −1
Dot product.
Simplify (3 + 2i)/(1 − i).
- 1
Multiply top and bottom by 1 + i
The conjugate of the denominator.
Make the vectors perpendicular: with a = (2, −1) try b = (1, 2). The dot product is 0. Now flip b₁ to −1 and notice the sign: positive means an acute angle, negative means an obtuse one.
Dot product a · b
—
- a · b = a₁b₁ + a₂b₂ = |a||b| cos θ.
- Perpendicular vectors have dot product 0.
- i² = −1, and z · z̄ = a² + b² = |z|².
- To divide complex numbers, multiply by the conjugate of the denominator.
- Powers of i repeat in a cycle of four.
Practice.
a = (1, 2), b = (3, −4). Find a · b.
For which k are (1, k) and (2, 6) perpendicular?
- Ak = −1/3
- Bk = 1/3
- Ck = 3
- Dk = −3
|3 − 4i| = ?
(1 + i)² equals:
- A2
- B2i
- C1 + 2i
- D−2i
Write i⁷ + i⁸ in the form a + bi. What is a?
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of CSCA Mathematics is planned around your week. Free.