Scalar (Dot) Product

CSEC Additional Mathematics Essential Knowledge: The scalar product (also called dot product) is a fundamental operation in vector algebra that combines two vectors to produce a scalar (a single number). Unlike vector addition, which gives another vector, the dot product yields a scalar value that reveals important geometric relationships between vectors, such as the angle between them and whether they are perpendicular.

Key Concept: For two vectors \(\vec{a} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} b_1 \\ b_2 \end{pmatrix}\) in 2D, the scalar product is defined as \(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2\). In 3D, for \(\vec{a} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}\), \(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3\).

Part 1: Definition and Basic Formula

·

What is the Scalar Product?

Vector \(\vec{a}\)

\(\vec{a} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix}\)
or \(\vec{a} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}\)
Vector \(\vec{b}\)

\(\vec{b} = \begin{pmatrix} b_1 \\ b_2 \end{pmatrix}\)
or \(\vec{b} = \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}\)
Scalar Product

\(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2\)
(or + \(a_3b_3\) in 3D)
🧮
The Algebraic Definition

The scalar product is calculated by multiplying corresponding components and adding the results:

2D Vectors

\[ \vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 \]

3D Vectors

\[ \vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2 + a_3b_3 \]

Important: The result is a scalar (a single number), not a vector!

📝 Example 1: Basic Calculation

Find the scalar product of \(\vec{a} = \begin{pmatrix} 2 \\ -3 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 5 \\ 4 \end{pmatrix}\).

1
Formula: \(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2\)
2
Identify components: \(a_1 = 2\), \(a_2 = -3\), \(b_1 = 5\), \(b_2 = 4\)
3
Calculate: \((2 \times 5) + (-3 \times 4) = 10 + (-12) = -2\)
4
Result: \(\vec{a} \cdot \vec{b} = -2\)
📝 Example 2: 3D Vectors

Find \(\vec{u} \cdot \vec{v}\) where \(\vec{u} = \begin{pmatrix} 1 \\ -2 \\ 3 \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} 4 \\ 0 \\ -1 \end{pmatrix}\).

1
3D formula: \(\vec{u} \cdot \vec{v} = u_1v_1 + u_2v_2 + u_3v_3\)
2
Identify components: \(u_1 = 1\), \(u_2 = -2\), \(u_3 = 3\), \(v_1 = 4\), \(v_2 = 0\), \(v_3 = -1\)
3
Calculate: \((1 \times 4) + (-2 \times 0) + (3 \times -1) = 4 + 0 – 3 = 1\)
4
Result: \(\vec{u} \cdot \vec{v} = 1\)

Part 2: Geometric Interpretation and Formula

📐

The Angle Between Vectors

Geometric Formula for Dot Product

The scalar product can also be expressed in terms of the magnitudes of the vectors and the angle between them:

\[ \vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta \]

Where:

  • \(|\vec{a}|\) = magnitude (length) of vector \(\vec{a}\)
  • \(|\vec{b}|\) = magnitude (length) of vector \(\vec{b}\)
  • \(\theta\) = angle between the vectors (0° ≤ θ ≤ 180°)

Visualizing the Angle Between Vectors

Vectors \(\vec{a}\) and \(\vec{b}\) with angle θ between them
Vector \(\vec{a}\)
Length = \(|\vec{a}|\)
Vector \(\vec{b}\)
Length = \(|\vec{b}|\)
Angle θ
Between 0° and 180°
\[ \vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta \]
📝 Example 3: Using the Geometric Formula

Two vectors have magnitudes 5 and 8, and the angle between them is 60°. Find their scalar product.

1
Formula: \(\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta\)
2
Given: \(|\vec{a}| = 5\), \(|\vec{b}| = 8\), \(\theta = 60^\circ\)
3
Substitute: \(5 \times 8 \times \cos 60^\circ\)
4
Calculate: \(\cos 60^\circ = 0.5\), so \(40 \times 0.5 = 20\)
5
Result: \(\vec{a} \cdot \vec{b} = 20\)
📝 Example 4: Finding the Angle

Given \(\vec{a} = \begin{pmatrix} 3 \\ 0 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 2 \\ 2 \end{pmatrix}\), find the angle between them.

1
Calculate dot product: \(\vec{a} \cdot \vec{b} = (3 \times 2) + (0 \times 2) = 6\)
2
Find magnitudes:
\(|\vec{a}| = \sqrt{3^2 + 0^2} = \sqrt{9} = 3\)
\(|\vec{b}| = \sqrt{2^2 + 2^2} = \sqrt{8} = 2\sqrt{2}\)
3
Use formula: \(\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta\)
\(6 = 3 \times 2\sqrt{2} \times \cos \theta = 6\sqrt{2} \cos \theta\)
4
Solve for cos θ: \(\cos \theta = \frac{6}{6\sqrt{2}} = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}\)
5
Find θ: \(\theta = \cos^{-1}\left(\frac{\sqrt{2}}{2}\right) = 45^\circ\)

Part 3: Properties of the Scalar Product

🔧

Important Rules and Relationships

Commutative Property

\(\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}\)

The order doesn’t matter: \(a_1b_1 + a_2b_2 = b_1a_1 + b_2a_2\)

Distributive Property

\(\vec{a} \cdot (\vec{b} + \vec{c}) = \vec{a} \cdot \vec{b} + \vec{a} \cdot \vec{c}\)

The dot product distributes over vector addition

Scalar Multiplication

\((k\vec{a}) \cdot \vec{b} = k(\vec{a} \cdot \vec{b}) = \vec{a} \cdot (k\vec{b})\)

Scalar factors can be factored out

Zero Vector Property

\(\vec{a} \cdot \vec{0} = 0\)

The dot product with the zero vector is always zero

Same Vector Property

\(\vec{a} \cdot \vec{a} = |\vec{a}|^2\)

The dot product of a vector with itself gives the square of its magnitude

Perpendicular Vectors

If \(\vec{a} \cdot \vec{b} = 0\) and neither vector is zero, then the vectors are perpendicular (θ = 90°)

Key Insight: Orthogonal Vectors

Two vectors are perpendicular (orthogonal) if and only if their dot product is zero:

\[ \vec{a} \perp \vec{b} \quad \text{if and only if} \quad \vec{a} \cdot \vec{b} = 0 \]

This is because \(\cos 90^\circ = 0\), so \(\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos 90^\circ = 0\).

📝 Example 5: Checking for Perpendicularity

Determine whether the vectors \(\vec{p} = \begin{pmatrix} 2 \\ -3 \end{pmatrix}\) and \(\vec{q} = \begin{pmatrix} 6 \\ 4 \end{pmatrix}\) are perpendicular.

1
Calculate dot product: \(\vec{p} \cdot \vec{q} = (2 \times 6) + (-3 \times 4) = 12 – 12 = 0\)
2
Check: Since \(\vec{p} \cdot \vec{q} = 0\) and neither vector is zero
3
Conclusion: The vectors are perpendicular (θ = 90°)

Part 4: Applications and Problem Types

🎯

CSEC-Style Problems

Type 1: Finding the Angle

Problem: Given two vectors, find the angle between them

Method: Use \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}\)

Example: Find angle between \(\begin{pmatrix} 1 \\ 2 \end{pmatrix}\) and \(\begin{pmatrix} 3 \\ 1 \end{pmatrix}\)

Type 2: Checking Orthogonality

Problem: Determine if vectors are perpendicular

Method: Calculate \(\vec{a} \cdot \vec{b}\); if result is 0, vectors are perpendicular

Example: Check if \(\begin{pmatrix} 2 \\ -1 \end{pmatrix}\) and \(\begin{pmatrix} 3 \\ 6 \end{pmatrix}\) are perpendicular

Type 3: Finding Missing Components

Problem: Given \(\vec{a} \cdot \vec{b} = k\) and some components, find the missing ones

Method: Use algebraic definition to set up equation

Example: Find x if \(\begin{pmatrix} 2 \\ 3 \end{pmatrix} \cdot \begin{pmatrix} x \\ 5 \end{pmatrix} = 7\)

Type 4: Projections

Problem: Find the scalar projection of \(\vec{a}\) onto \(\vec{b}\)

Formula: \(\text{proj}_{\vec{b}} \vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|}\)

Example: Find projection of \(\begin{pmatrix} 4 \\ 2 \end{pmatrix}\) onto \(\begin{pmatrix} 1 \\ 0 \end{pmatrix}\)

📝 Example 6: Finding Missing Component (Past Paper Style)

The vectors \(\vec{u} = \begin{pmatrix} 3 \\ k \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}\) are perpendicular. Find the value of k.

1
Perpendicular condition: \(\vec{u} \cdot \vec{v} = 0\)
2
Calculate dot product: \(\vec{u} \cdot \vec{v} = (3 \times 2) + (k \times -1) = 6 – k\)
3
Set equal to 0: \(6 – k = 0\)
4
Solve: \(k = 6\)
📝 Example 7: Finding the Angle Between Vectors

Find the acute angle between the vectors \(\vec{a} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 3 \\ -1 \end{pmatrix}\).

1
Dot product: \(\vec{a} \cdot \vec{b} = (1 \times 3) + (2 \times -1) = 3 – 2 = 1\)
2
Magnitudes:
\(|\vec{a}| = \sqrt{1^2 + 2^2} = \sqrt{5}\)
\(|\vec{b}| = \sqrt{3^2 + (-1)^2} = \sqrt{10}\)
3
Use formula: \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|} = \frac{1}{\sqrt{5} \times \sqrt{10}} = \frac{1}{\sqrt{50}} = \frac{1}{5\sqrt{2}}\)
4
Calculate θ: \(\theta = \cos^{-1}\left(\frac{1}{5\sqrt{2}}\right) \approx \cos^{-1}(0.1414) \approx 81.87^\circ\)

Real-World Applications:

Physics: Calculating work done (force × displacement in direction of force)
Engineering: Finding component of force in a given direction
Computer Graphics: Calculating lighting, shading, and reflections
Robotics: Determining if robot arms are aligned properly
Navigation: Determining if paths are perpendicular

Part 5: Work Done – A Key Physics Application

Work = Force · Displacement

🔋
Work Done Formula

In physics, work done by a constant force is given by:

\[ W = \vec{F} \cdot \vec{d} = |\vec{F}| |\vec{d}| \cos \theta \]

Where:

  • \(W\) = work done (in joules, J)
  • \(\vec{F}\) = force vector (in newtons, N)
  • \(\vec{d}\) = displacement vector (in meters, m)
  • \(\theta\) = angle between force and displacement

Key Insight: Only the component of force in the direction of displacement does work.

📝 Example 8: Work Done Problem

A force \(\vec{F} = \begin{pmatrix} 10 \\ 5 \end{pmatrix}\) N moves an object through a displacement \(\vec{d} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}\) m. Calculate the work done.

1
Work formula: \(W = \vec{F} \cdot \vec{d}\)
2
Calculate dot product: \(W = (10 \times 3) + (5 \times 4) = 30 + 20 = 50\)
3
Result: Work done = 50 J
4
Alternative using geometric formula:
\(|\vec{F}| = \sqrt{10^2 + 5^2} = \sqrt{125} = 5\sqrt{5}\)
\(|\vec{d}| = \sqrt{3^2 + 4^2} = \sqrt{25} = 5\)
\(\cos \theta = \frac{\vec{F} \cdot \vec{d}}{|\vec{F}| |\vec{d}|} = \frac{50}{5\sqrt{5} \times 5} = \frac{50}{25\sqrt{5}} = \frac{2}{\sqrt{5}}\)
\(W = |\vec{F}| |\vec{d}| \cos \theta = 5\sqrt{5} \times 5 \times \frac{2}{\sqrt{5}} = 25 \times 2 = 50\) J

Comparison Table: Algebraic vs Geometric Interpretation

Aspect Algebraic Definition Geometric Definition
Formula \(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2\) (2D)
\(a_1b_1 + a_2b_2 + a_3b_3\) (3D)
\(\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta\)
When to Use When vectors are given in component form When magnitudes and angle are known, or to find angle
Result Type Scalar (number) Scalar (number)
Perpendicular Test Check if \(a_1b_1 + a_2b_2 = 0\) Check if \(\cos \theta = 0\) (θ = 90°)
Advantages Easy calculation from components Reveals geometric relationship (angle)

Common Mistakes to Avoid: 1. Adding vectors instead of multiplying components (dot product is NOT vector addition)
2. Forgetting that the result is a scalar, not a vector
3. Using wrong formula for angle: \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}\), not \(\sin \theta\)
4. Not checking if vectors are zero before concluding perpendicularity
5. Confusing dot product with cross product (cross product gives a vector, dot product gives scalar)
6. Forgetting absolute values when finding magnitudes for angle calculation
7. Using degrees instead of radians in calculator (check mode!)

Quiz: Test Your Understanding

Scalar (Dot) Product Quiz
Question 1: Calculate \(\vec{a} \cdot \vec{b}\) where \(\vec{a} = \begin{pmatrix} 2 \\ -5 \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}\).
Answer:
\(\vec{a} \cdot \vec{b} = (2 \times 3) + (-5 \times 4) = 6 – 20 = -14\)
Question 2: Find the angle between \(\vec{u} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}\) and \(\vec{v} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\).
Answer:
1. Dot product: \(\vec{u} \cdot \vec{v} = (1 \times 1) + (1 \times 0) = 1\)
2. Magnitudes: \(|\vec{u}| = \sqrt{1^2 + 1^2} = \sqrt{2}\), \(|\vec{v}| = \sqrt{1^2 + 0^2} = 1\)
3. \(\cos \theta = \frac{1}{\sqrt{2} \times 1} = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}\)
4. \(\theta = \cos^{-1}\left(\frac{\sqrt{2}}{2}\right) = 45^\circ\)
Question 3: Determine if \(\vec{p} = \begin{pmatrix} 4 \\ -2 \end{pmatrix}\) and \(\vec{q} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\) are perpendicular.
Answer:
Calculate dot product: \(\vec{p} \cdot \vec{q} = (4 \times 1) + (-2 \times 2) = 4 – 4 = 0\)
Since dot product = 0 and neither vector is zero, the vectors are perpendicular.
Question 4: Find k such that \(\vec{a} = \begin{pmatrix} 3 \\ k \end{pmatrix}\) and \(\vec{b} = \begin{pmatrix} 2 \\ -3 \end{pmatrix}\) are perpendicular.
Answer:
For perpendicular vectors: \(\vec{a} \cdot \vec{b} = 0\)
\((3 \times 2) + (k \times -3) = 0\)
\(6 – 3k = 0\)
\(-3k = -6\)
\(k = 2\)
Question 5: A force \(\vec{F} = \begin{pmatrix} 8 \\ 6 \end{pmatrix}\) N moves an object through displacement \(\vec{d} = \begin{pmatrix} 5 \\ 0 \end{pmatrix}\) m. Calculate the work done.
Answer:
Work done = \(\vec{F} \cdot \vec{d} = (8 \times 5) + (6 \times 0) = 40 + 0 = 40\) J

🎯 Key Concepts Summary

  • Algebraic Definition: \(\vec{a} \cdot \vec{b} = a_1b_1 + a_2b_2\) (2D) or \(a_1b_1 + a_2b_2 + a_3b_3\) (3D)
  • Geometric Definition: \(\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta\)
    • θ = angle between vectors (0° ≤ θ ≤ 180°)
  • Finding Angle: \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}\)
  • Perpendicular Vectors: \(\vec{a} \cdot \vec{b} = 0\) (if neither vector is zero)
  • Same Vector: \(\vec{a} \cdot \vec{a} = |\vec{a}|^2\)
  • Work Done: \(W = \vec{F} \cdot \vec{d}\) (physics application)
  • Properties:
    • Commutative: \(\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}\)
    • Distributive: \(\vec{a} \cdot (\vec{b} + \vec{c}) = \vec{a} \cdot \vec{b} + \vec{a} \cdot \vec{c}\)
    • Scalar multiplication: \((k\vec{a}) \cdot \vec{b} = k(\vec{a} \cdot \vec{b})\)
  • Common CSEC Questions:
    • Calculate dot product given components
    • Find angle between two vectors
    • Determine if vectors are perpendicular
    • Find missing component given dot product
    • Calculate work done (physics application)
    • Use properties to simplify expressions
  • Exam Strategy:
    • Know both algebraic and geometric definitions
    • Remember: dot product gives scalar, not vector
    • For angle problems: use \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}\)
    • Check calculator mode (degrees/radians) for angle problems
    • Show all steps: components → dot product → magnitudes → angle

CSEC Exam Strategy: When answering scalar product questions: (1) Write the appropriate formula first, (2) For component calculation: multiply corresponding components and add, (3) For angle problems: find dot product, find magnitudes, then use \(\cos \theta\) formula, (4) For perpendicular vectors: set dot product = 0 and solve, (5) For work done: use \(W = \vec{F} \cdot \vec{d}\). Remember: The dot product is commutative, so order doesn’t matter!

Scroll to Top