Intuitional

Free revision notes · 19-page PDF

Scalar and Vector Products Notes — JC1 H2 Math

The scalar (dot) product combines two vectors into a single number, a·b = |a| |b| cos θ, and is used for angles, perpendicularity tests and projections. The vector (cross) product combines two vectors into a new vector that is perpendicular to both, and is used for normal vectors, parallel tests and areas.

Together they underpin the later H2 work on lines and planes. The foot of the perpendicular, the shortest distance from a point to a line and the area of a triangle in 3-D all reduce to these two products.

What these notes cover

  • •The scalar (dot) product
  • •Component form and properties
  • •Expanding a squared length
  • •Perpendicularity and the sign of the scalar product
  • •The vector (cross) product
  • •Component form of the vector product
  • •Anti-commutativity and the parallel test
  • •Angle between two vectors
  • •Angle between two lines
  • •Projections, perpendicular distances and areas
  • •Worked examples
  • •Common mistakes and exam technique

Key definitions

Scalar (dot) product
For non-zero vectors a and b, a·b = |a| |b| cos θ. Here θ is the angle between a and b, measured tail-to-tail, with 0° ≤ θ ≤ 180°. The result is a scalar. If either vector is the zero vector, a·b = 0.
Vector (cross) product
For non-zero vectors a and b, a × b = |a| |b| sin θ n̂. Here n̂ is the unit vector perpendicular to both a and b. Its direction follows the right-hand rule: point your fingers along a, curl them towards b, and your thumb gives n̂. The result is a vector.
Angle between two vectors
The angle between the two vectors when both are drawn from the same point (tail-to-tail), with 0 ≤ θ ≤ π. There is no reflex angle between two vectors.
Angle between two lines
By convention, the acute angle. A line has no preferred direction, so replacing a direction vector d by −d changes θ to π − θ.
Foot of the perpendicular
Let a = AP, where A is a point on line l. The foot F is where the perpendicular from P meets l. AF = |a| cos θ is the projection of a onto the line. FP = |a| sin θ is the rejection, the shortest distance from P to l.

Key formulas

Scalar product (component form)

a·b = a₁b₁ + a₂b₂ + a₃b₃

Applies to a = a₁i + a₂j + a₃k and b = b₁i + b₂j + b₃k. Dotting a vector with itself gives a·a = |a|².

Vector product (component form)

(a1a2a3)×(b1b2b3)=(a2b3−a3b2a3b1−a1b3a1b2−a2b1)\begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix} \times \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix} = \begin{pmatrix} a_2b_3 - a_3b_2 \\ a_3b_1 - a_1b_3 \\ a_1b_2 - a_2b_1 \end{pmatrix}

This is not given in MF26, so memorise it. The middle component is −(a₁b₃ − a₃b₁). The result is perpendicular to both a and b.

Angle between two vectors

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

Requires non-zero vectors measured tail-to-tail, with 0 ≤ θ ≤ π. For the acute angle between two lines, use |d₁·d₂| in the numerator.

Length of projection of a onto b

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

b̂ = b ÷ |b| must be a unit vector. a·b̂ is the signed length. The projection vector (a·b̂)b̂ gives the foot of the perpendicular.

Perpendicular distance from a point to a line

∣a×b^∣=∣a×b∣∣b∣|\mathbf{a}\times\hat{\mathbf{b}}| = \frac{|\mathbf{a}\times\mathbf{b}|}{|\mathbf{b}|}

Gives the distance from the point with position vector a to the line through the origin in the direction of b. Check with Pythagoras: (a·b̂)² + |a × b̂|² = |a|².

Area of triangle

Area=12∣a×b∣\text{Area} = \frac{1}{2}|\mathbf{a}\times\mathbf{b}|

a and b are adjacent sides drawn tail-to-tail, and the parallelogram they span has area |a × b|. Use the full vectors and never divide by |b|. For triangle ABC, cross two sides from the same vertex, such as AB and AC.

Worked example

Find the angle between the vectors a = (2, 1, −2) and b = (1, 3, 2), giving your answer in radians to 3 significant figures.

  1. 1Compute the scalar product: a·b = (2)(1) + (1)(3) + (−2)(2) = 2 + 3 − 4 = 1, and since a·b > 0, expect an acute angle.
  2. 2Compute both magnitudes: |a| = √(2² + 1² + (−2)²) = √9 = 3 and |b| = √(1² + 3² + 2²) = √14.
  3. 3Substitute into the formula: cos θ = (a·b) ÷ (|a| |b|) = 1 ÷ (3√14).
  4. 4Evaluate with the calculator in radian mode: θ = cos⁻¹(0.08909…) = 1.4816…, so θ = 1.48 rad (3 s.f.).
  5. 5The angle is acute as predicted (just under π ÷ 2 ≈ 1.57), and in degrees it would be 84.9° (3 s.f.).

Watch out: Check that the calculator is in radian mode before pressing cos⁻¹. A wrong-mode answer loses the accuracy mark even if the working is perfect.

Common mistakes

Projecting without unit-ising

Wrong: The length of projection of a onto b is a·b.

Right: a·b contains an unwanted factor of |b|, so the length of projection is |a·b| ÷ |b|. Doubling b does not change the projection of a, but it doubles a·b, so a·b cannot be correct.

Forgetting the middle-row sign flip

Wrong: Writing the second component of a × b as a₁b₃ − a₃b₁.

Right: Write −(a₁b₃ − a₃b₁) with the minus sign and brackets first, then simplify to a₃b₁ − a₁b₃. Check the answer by dotting it with both original vectors: both results must be 0.

Cancelling in a dot-product equation

Wrong: If a·b = a·c, then b = c.

Right: Division by a vector is not defined. a·b = a·c only gives a·(b − c) = 0, so a is perpendicular to b − c, or one of them is the zero vector.

Questions students ask

What is the difference between the scalar product and the vector product?

The scalar (dot) product a·b = |a| |b| cos θ is a single number, which can be negative, zero or positive. The vector (cross) product a × b = |a| |b| sin θ n̂ is a vector perpendicular to both a and b, with its direction set by the right-hand rule. Giving a vector answer for a dot product, or a scalar answer for a cross product, loses marks.

How do you show two vectors are perpendicular or parallel?

For non-zero vectors, a and b are perpendicular exactly when a·b = 0. They are parallel exactly when a × b equals the zero vector (0, 0, 0), not the number 0. To show two vectors are parallel, it is often faster to find a scalar λ with b = λa.

How do you find the acute angle between two lines using vectors?

Use cos θ = |d₁·d₂| ÷ (|d₁| |d₂|), where d₁ and d₂ are direction vectors of the lines. The modulus guarantees the acute angle because a line has no preferred direction. Do not take the modulus for the angle between two vectors, where an obtuse answer can be correct.

How do you find the area of a triangle using the cross product?

The parallelogram with adjacent sides a and b has area |a × b|, and the triangle has half of that, ½|a × b|. For triangle ABC, form two side vectors from the same vertex, such as AB and AC, before crossing. Area formulas never need a unit vector, so do not divide by |b|.

In the full PDF

  • •Labelled diagrams of the tail-to-tail angle, the right-hand rule, the projection triangle and the parallelogram area
  • •Further worked examples on perpendicularity, the squared-length identity, computing a cross product and the parallel test
  • •Two full exam-style examples: a foot of the perpendicular verified with a vector product, and an exact triangle area after finding λ
  • •The remaining misconceptions, including treating the cross product as commutative and giving the obtuse angle between lines
  • •Exam technique on choosing the right product, checking cross products, keeping answers exact and quoting formulas
  • •A five-point summary of results to quote in the exam, with the syllabus note on triple products