Skip to main content

Vectors operations and applications: VCE Specialist Mathematics Unit 3

Syllabus dot point

“Vectors in two and three dimensions in i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} form, magnitude and unit vectors, the scalar (dot) product and the angle between vectors, vector projection, and the use of the scalar product to test for perpendicular and parallel vectors”

6 min read

Quick answer

A vector a=a1i+a2j+a3k\mathbf{a} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k} has magnitude ∣a∣=a12+a22+a32|\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}, and the unit vector in its direction is a^=a/∣a∣\hat{\mathbf{a}} = \mathbf{a}/|\mathbf{a}|. The scalar (dot) product is a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ\mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + a_3 b_3 = |\mathbf{a}||\mathbf{b}|\cos\theta, so cos⁡θ=a⋅b∣a∣∣b∣\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}. Vectors are perpendicular when a⋅b=0\mathbf{a} \cdot \mathbf{b} = 0 and parallel when one is a scalar multiple of the other. The scalar resolute of a\mathbf{a} along b\mathbf{b} is a⋅b^\mathbf{a} \cdot \hat{\mathbf{b}}, and the vector resolute (projection) is (a⋅b^)b^(\mathbf{a} \cdot \hat{\mathbf{b}})\hat{\mathbf{b}}.

Jump to a section
  1. What this dot point is asking
  2. Component form, magnitude and unit vectors
  3. The scalar (dot) product
  4. Parallel and perpendicular tests
  5. Scalar and vector resolutes (projection)
  6. Why the dot product is central
  7. Examples in context
  8. Try this
  9. Exam-style questions

What this dot point is asking

VCAA wants you to operate on vectors in two and three dimensions using i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} component form: adding, scaling, finding magnitudes and unit vectors, computing the scalar (dot) product, finding the angle between two vectors, resolving one vector along another (projection), and using the dot product to test whether vectors are parallel or perpendicular. Vectors recur in the kinematics and vector-calculus parts of the course, so this foundation matters.

Component form, magnitude and unit vectors

In three dimensions a vector is written a=a1i+a2j+a3k\mathbf{a} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k}, where i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} are the unit vectors along the coordinate axes. Addition and scalar multiplication act component by component:

a+b=(a1+b1)i+(a2+b2)j+(a3+b3)k,λa=λa1i+λa2j+λa3k.\mathbf{a} + \mathbf{b} = (a_1 + b_1)\mathbf{i} + (a_2 + b_2)\mathbf{j} + (a_3 + b_3)\mathbf{k}, \qquad \lambda\mathbf{a} = \lambda a_1\mathbf{i} + \lambda a_2\mathbf{j} + \lambda a_3\mathbf{k}.

The magnitude (length) is

∣a∣=a12+a22+a32.|\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}.

The unit vector in the direction of a\mathbf{a} (for a≠0\mathbf{a} \neq \mathbf{0}) is

a^=a∣a∣,\hat{\mathbf{a}} = \frac{\mathbf{a}}{|\mathbf{a}|},

which has magnitude 11 and points the same way as a\mathbf{a}. The two-dimensional case is the same with the k\mathbf{k} component set to zero.

The scalar (dot) product

The scalar product of a\mathbf{a} and b\mathbf{b} is defined by either of two equivalent expressions:

a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ,\mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + a_3 b_3 = |\mathbf{a}||\mathbf{b}|\cos\theta,

where θ\theta is the angle between the vectors with 0≤θ≤π0 \leq \theta \leq \pi. The dot product is commutative and distributes over addition, and a⋅a=∣a∣2\mathbf{a} \cdot \mathbf{a} = |\mathbf{a}|^2. Rearranging the geometric form gives the angle between vectors:

cos⁡θ=a⋅b∣a∣∣b∣.\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}.

Parallel and perpendicular tests

Two key tests follow from the dot product.

  • Perpendicular: a⊥b\mathbf{a} \perp \mathbf{b} if and only if a⋅b=0\mathbf{a} \cdot \mathbf{b} = 0 (with both nonzero), since cos⁡90∘=0\cos 90^\circ = 0.
  • Parallel: a∥b\mathbf{a} \parallel \mathbf{b} if and only if a=λb\mathbf{a} = \lambda\mathbf{b} for some scalar λ\lambda; equivalently the dot product reaches its extreme ±∣a∣∣b∣\pm|\mathbf{a}||\mathbf{b}| because cos⁡θ=±1\cos\theta = \pm 1.

Scalar and vector resolutes (projection)

Resolving a\mathbf{a} in the direction of b\mathbf{b} splits a\mathbf{a} into a component along b\mathbf{b} and a component perpendicular to it. The scalar resolute of a\mathbf{a} in the direction of b\mathbf{b} is

a⋅b^=a⋅b∣b∣,\mathbf{a} \cdot \hat{\mathbf{b}} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|},

a signed length. The vector resolute (the projection of a\mathbf{a} onto b\mathbf{b}) is

proj⁡ba=(a⋅b^) b^=a⋅b∣b∣2 b.\operatorname{proj}_{\mathbf{b}}\mathbf{a} = (\mathbf{a} \cdot \hat{\mathbf{b}})\,\hat{\mathbf{b}} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|^2}\,\mathbf{b}.

The component of a\mathbf{a} perpendicular to b\mathbf{b} is then a−proj⁡ba\mathbf{a} - \operatorname{proj}_{\mathbf{b}}\mathbf{a}, which lets you decompose a\mathbf{a} into parallel and perpendicular parts.

Worked example

Angle and projection in 3D

Let a=2i+j−2k\mathbf{a} = 2\mathbf{i} + \mathbf{j} - 2\mathbf{k} and b=3i−4k\mathbf{b} = 3\mathbf{i} - 4\mathbf{k}. Find the angle between them and the vector resolute of a\mathbf{a} along b\mathbf{b}.

Step 1: Compute the magnitudes

Work out the length of each vector before computing the dot product, since both are needed for the angle formula.

∣a∣=22+12+(−2)2=4+1+4=9=3.|\mathbf{a}| = \sqrt{2^2 + 1^2 + (-2)^2} = \sqrt{4 + 1 + 4} = \sqrt{9} = 3.

For b=3i+0j−4k\mathbf{b} = 3\mathbf{i} + 0\mathbf{j} - 4\mathbf{k}:

∣b∣=32+02+(−4)2=9+16=25=5.|\mathbf{b}| = \sqrt{3^2 + 0^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5.

Step 2: Compute the dot product

Multiply corresponding components and sum:

a⋅b=(2)(3)+(1)(0)+(−2)(−4)=6+0+8=14.\mathbf{a} \cdot \mathbf{b} = (2)(3) + (1)(0) + (-2)(-4) = 6 + 0 + 8 = 14.

Step 3: Find the angle between the vectors

The cosine formula gives the angle directly:

cos⁡θ=a⋅b∣a∣∣b∣=143×5=1415,\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|} = \frac{14}{3 \times 5} = \frac{14}{15},

so θ=cos⁡−1 ⁣(1415)≈21.0∘\theta = \cos^{-1}\!\left(\frac{14}{15}\right) \approx 21.0^\circ.

Step 4: Find the vector resolute of a\mathbf{a} along b\mathbf{b}

The vector resolute is the projection of a\mathbf{a} onto b\mathbf{b}, which scales b\mathbf{b} by the ratio of the dot product to ∣b∣2|\mathbf{b}|^2:

proj⁡ba=a⋅b∣b∣2 b=1425(3i−4k)=4225i−5625k.\operatorname{proj}_{\mathbf{b}}\mathbf{a} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|^2}\,\mathbf{b} = \frac{14}{25}(3\mathbf{i} - 4\mathbf{k}) = \frac{42}{25}\mathbf{i} - \frac{56}{25}\mathbf{k}.

Check: the magnitude of this projection is 1425∣b∣=1425×5=145\frac{14}{25}|\mathbf{b}| = \frac{14}{25}\times 5 = \frac{14}{5}, which matches the scalar resolute a⋅b∣b∣=145\frac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|} = \frac{14}{5}, as expected.

Why the dot product is central

The dot product converts geometry into arithmetic. Lengths come from a⋅a=∣a∣2\mathbf{a} \cdot \mathbf{a} = |\mathbf{a}|^2, angles from the cosine formula, perpendicularity from a zero product, and projections from resolving along a unit vector. Almost every vector exam question reduces to one of these four uses, so recognising which one a problem needs is the key skill.

Common exam traps
Confusing scalar and vector resolutes
The scalar resolute a⋅b^\mathbf{a} \cdot \hat{\mathbf{b}} is a number; the vector resolute (a⋅b^)b^(\mathbf{a} \cdot \hat{\mathbf{b}})\hat{\mathbf{b}} is a vector. Read the question for which is wanted.
Forgetting to normalise
The projection uses the unit vector b^\hat{\mathbf{b}}. Using b\mathbf{b} without dividing by ∣b∣|\mathbf{b}| scales the answer wrongly.
Sign of the scalar resolute
If the angle is obtuse the scalar resolute is negative. Do not take the absolute value unless a length is explicitly requested.
Testing parallel with the dot product alone
A zero dot product means perpendicular, not parallel. For parallel, check that one vector is a scalar multiple of the other.

Examples in context

Example 1. Perpendicularity. a=i+2j\mathbf{a} = \mathbf{i} + 2\mathbf{j} and b=4i−2j\mathbf{b} = 4\mathbf{i} - 2\mathbf{j} satisfy a⋅b=4−4=0\mathbf{a} \cdot \mathbf{b} = 4 - 4 = 0, so they are perpendicular.

Example 2. Unit vector. For a=3i+4j\mathbf{a} = 3\mathbf{i} + 4\mathbf{j}, ∣a∣=5|\mathbf{a}| = 5, so a^=35i+45j\hat{\mathbf{a}} = \frac{3}{5}\mathbf{i} + \frac{4}{5}\mathbf{j}.

Try this

Q1. Find the angle between a=i+j\mathbf{a} = \mathbf{i} + \mathbf{j} and b=i\mathbf{b} = \mathbf{i}. [2 marks]

  • Cue. cos⁡θ=12⋅1=12\cos\theta = \frac{1}{\sqrt{2}\cdot 1} = \frac{1}{\sqrt 2}, so θ=45∘\theta = 45^\circ.

Q2. Find the scalar resolute of a=2i−j+2k\mathbf{a} = 2\mathbf{i} - \mathbf{j} + 2\mathbf{k} in the direction of b=i+2j+2k\mathbf{b} = \mathbf{i} + 2\mathbf{j} + 2\mathbf{k}. [2 marks]

  • Cue. a⋅b=2−2+4=4\mathbf{a}\cdot\mathbf{b} = 2 - 2 + 4 = 4, ∣b∣=3|\mathbf{b}| = 3, so scalar resolute =43= \frac{4}{3}.

Q3. Determine the value of tt for which a=ti+3j\mathbf{a} = t\mathbf{i} + 3\mathbf{j} is perpendicular to b=2i−j\mathbf{b} = 2\mathbf{i} - \mathbf{j}. [2 marks]

  • Cue. 2t−3=02t - 3 = 0, so t=32t = \frac{3}{2}.

Exam-style questions

Questions in the style of VCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

2023 VCAA-style1 mark
If the sum of two unit vectors is a unit vector, then the magnitude of the difference of the two vectors is A. 0 B. 1/2 C. sqrt(2) D. sqrt(3) E. sqrt(5)
Show worked answer →

The answer is D.

Let the two unit vectors be a and b, so |a| = |b| = 1, and let their sum be a unit vector, so |a + b| = 1.

Use the scalar product expansion |a + b|^2 = |a|^2 + 2(a . b) + |b|^2. Substituting, 1 = 1 + 2(a . b) + 1, so 2(a . b) = -1 and a . b = -1/2.

Now expand the difference: |a - b|^2 = |a|^2 - 2(a . b) + |b|^2 = 1 - 2(-1/2) + 1 = 1 + 1 + 1 = 3.

Therefore |a - b| = sqrt(3), which is option D. (Geometrically the two unit vectors are 120 degrees apart.)

Practise this

Sources & how we know this

ExamExplained