The Scalar Product
Welcome, students! π In Geometry and Trigonometry, many important ideas are built around measuring distance, direction, and angle. The scalar product, also called the dot product, is one of the most useful tools for this. It connects vectors to angles, proves whether lines are perpendicular, and helps solve problems in both two and three dimensions.
In this lesson, you will learn to:
- explain what the scalar product means and why it matters,
- calculate it using coordinates or magnitudes,
- use it to find angles and test perpendicularity,
- apply it in Geometry and Trigonometry problems,
- see how it fits into coordinate geometry, vectors, and 3D reasoning.
By the end, you should be able to use the scalar product confidently in IB Mathematics: Analysis and Approaches HL. π
What is the scalar product?
A vector has both size and direction, but the scalar product gives a single number, called a scalar. That is why it is called the scalar product. For two vectors $\mathbf{a}$ and $\mathbf{b}$, the scalar product is written as $\mathbf{a} \cdot \mathbf{b}$.
There are two main ways to think about it:
- Coordinate form: if $\mathbf{a} = (a_1, a_2)$ and $\mathbf{b} = (b_1, b_2)$, then
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = a_1b_1 + a_2b_2.
$$
In three dimensions, if $\mathbf{a} = (a_1, a_2, a_3)$ and $\mathbf{b} = (b_1, b_2, b_3)$, then
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = a_1b_1 + a_2b_2 + a_3b_3.
$$
- Magnitude and angle form: if the angle between the vectors is $\theta$, then
$$
$\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta.$
$$
These two formulas describe the same idea from different viewpoints. The coordinate form is useful for calculations, while the magnitude-angle form links vectors to geometry and trigonometry. π
A very important fact is that the scalar product measures how much one vector points in the direction of another. If two vectors point in the same general direction, the value is positive. If they are perpendicular, the value is $0$. If they point in opposite directions, the value is negative.
Calculating the scalar product in coordinate geometry
The easiest way to calculate a scalar product is from coordinates. Suppose
$$
$\mathbf{a} = (3, -2)$
$$
and
$$
$\mathbf{b} = (5, 4).$
$$
Then
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = (3)(5) + (-2)(4) = 15 - 8 = 7.
$$
So the scalar product is $7$.
Now let us look at a three-dimensional example. If
$$
$\mathbf{u} = (1, 2, -1)$
$$
and
$$
$\mathbf{v} = (4, 0, 3),$
$$
then
$$
$\mathbf{u}$ $\cdot$ $\mathbf{v}$ = (1)(4) + (2)(0) + (-1)(3) = 4 + 0 - 3 = 1.
$$
This method is especially useful in coordinate geometry because many questions give points in space or in a plane. If you can turn points into vectors, you can use the scalar product to compare directions and angles.
For example, if points $A(1,2)$, $B(4,6)$, and $C(5,1)$ are given, then the vectors
$$
$\overrightarrow{AB} = (4-1, 6-2) = (3,4)$
$$
and
$$
$\overrightarrow{AC} = (5-1, 1-2) = (4,-1)$
$$
can be found from coordinate differences. Then
$$
\overrightarrow{AB} $\cdot$ \overrightarrow{AC} = (3)(4) + (4)(-1) = 12 - 4 = 8.
$$
This tells you something about the angle at $A$ in triangle $ABC$. π
Using the scalar product to find angles
The scalar product becomes especially powerful when combined with trigonometry. From
$$
$\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta,$
$$
you can rearrange to get
$$
$\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|\,|\mathbf{b}|}.$
$$
Then
$$
$\theta$ = $\cos^{-1}$$\left($$\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|\,|\mathbf{b}|}$$\right)$.
$$
This is useful when you know vector coordinates but need the angle between them.
Example: Let
$$
$\mathbf{a} = (2, 1)$
$$
and
$$
$\mathbf{b} = (1, 3).$
$$
First compute the scalar product:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = (2)(1) + (1)(3) = 5.
$$
Next find magnitudes:
$$
|$\mathbf{a}$| = $\sqrt{2^2 + 1^2}$ = $\sqrt{5}$,
$$
$$
|$\mathbf{b}$| = $\sqrt{1^2 + 3^2}$ = $\sqrt{10}$.
$$
So
$$
$\cos$$\theta$ = $\frac{5}{\sqrt{5}\sqrt{10}}$ = $\frac{5}{\sqrt{50}}$ = $\frac{1}{\sqrt{2}}$.
$$
Therefore
$$
$\theta = 45^\circ.$
$$
That result is very useful in geometry because it links vector methods to angle-measuring, which is at the heart of trigonometry. If you are given side lengths or coordinates, the scalar product can help you solve a triangle even when it is not a right triangle.
Perpendicular vectors and geometric meaning
One of the simplest and most important tests is for perpendicularity. If two vectors are perpendicular, the angle between them is $90^\circ$. Since
$$
$\cos 90^\circ = 0,$
$$
we get
$$
$\mathbf{a} \cdot \mathbf{b} = 0.$
$$
So the condition for perpendicular vectors is:
$$
$\mathbf{a} \cdot \mathbf{b} = 0.$
$$
This is often used to check whether two lines meet at right angles.
Example: If direction vectors for two lines are
$$
$\mathbf{d_1} = (3, 1)$
$$
and
$$
$\mathbf{d_2} = (1, -3),$
$$
then
$$
$\mathbf{d_1}$ $\cdot$ $\mathbf{d_2}$ = (3)(1) + (1)(-3) = 0.
$$
Therefore the lines are perpendicular. β
This is a fast and reliable method because you do not need to draw the lines. It works in two dimensions and in three dimensions.
The scalar product also helps with projecting one vector onto another. Although the full projection formula may appear later, the idea is that the scalar product measures the βshadowβ of one vector in the direction of another. If you walk east and then another person walks northeast, the scalar product tells you how much of their motion is in the east direction. πΆββοΈ
The scalar product in triangles and real-world problems
In IB Mathematics: Analysis and Approaches HL, questions often combine vectors with triangle geometry. For instance, if a triangle has two sides represented by vectors $\mathbf{a}$ and $\mathbf{b}$, then the included angle can be found using the scalar product formula.
Suppose a triangle has sides from a common point with vectors
$$
$\mathbf{a} = (6, 2)$
$$
and
$$
$\mathbf{b} = (2, 5).$
$$
To find the angle between them:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = (6)(2) + (2)(5) = 12 + 10 = 22.
$$
Also,
$$
|$\mathbf{a}$| = $\sqrt{6^2 + 2^2}$ = $\sqrt{40}$,
$$
$$
|$\mathbf{b}$| = $\sqrt{2^2 + 5^2}$ = $\sqrt{29}$.
$$
Then
$$
$\cos\theta = \frac{22}{\sqrt{40}\sqrt{29}}.$
$$
This may not give a neat angle, but it still gives an exact trigonometric expression or a numerical value if needed.
In real life, the scalar product appears in physics, engineering, and computer graphics. For example, if a force acts on a moving object, the work done is related to the scalar product of force and displacement. In graphics, it helps determine how light falls on a surface. These examples show that the same mathematics used in class also supports technology and science. π
Common mistakes and how to avoid them
A frequent mistake is mixing up the scalar product with multiplication of vector lengths. Remember that $\mathbf{a} \cdot \mathbf{b}$ is not the same as $|\mathbf{a}||\mathbf{b}|$ unless the vectors point in the same direction and the angle is $0^\circ$.
Another common error is forgetting to use matching components. In three dimensions, every component must be included:
$$
(a_1, a_2, a_3) $\cdot$ (b_1, b_2, b_3) = a_1b_1 + a_2b_2 + a_3b_3.
$$
If one component is missing, the answer will be wrong.
A third mistake is using the wrong angle. The formula
$$
$\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta$
$$
uses the angle between the vectors, not the angle each makes with an axis unless that is specifically the angle being asked for.
A final tip: always check whether the result makes sense. If the angle is acute, the scalar product should be positive. If the angle is obtuse, it should be negative. If the angle is $90^\circ$, it should be zero. This reasoning helps catch errors quickly. π§
Conclusion
The scalar product is one of the key ideas in Geometry and Trigonometry because it links algebra, vectors, and angles in a single formula. It can be calculated from coordinates, used to find angles, and applied to test perpendicularity. It also appears in triangle problems, three-dimensional geometry, and many real-world situations.
For IB Mathematics: Analysis and Approaches HL, the scalar product is not just a formula to memorize. It is a tool for reasoning about shape, direction, and space. When you understand both its algebraic form and its geometric meaning, you can solve a wide range of problems more confidently, students. π―
Study Notes
- The scalar product of vectors $\mathbf{a}$ and $\mathbf{b}$ is written as $\mathbf{a} \cdot \mathbf{b}$.
- In two dimensions, if $\mathbf{a} = (a_1, a_2)$ and $\mathbf{b} = (b_1, b_2)$, then $\mathbf{a} \cdot \mathbf{b} = a_1b_1 + a_2b_2$.
- In three dimensions, if $\mathbf{a} = (a_1, a_2, a_3)$ and $\mathbf{b} = (b_1, b_2, b_3)$, then $\mathbf{a} \cdot \mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3$.
- The geometric formula is $\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta$.
- To find the angle between vectors, use $\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|\,|\mathbf{b}|}$.
- Two vectors are perpendicular if and only if $\mathbf{a} \cdot \mathbf{b} = 0$.
- A positive scalar product usually means an acute angle, a zero scalar product means $90^\circ$, and a negative scalar product means an obtuse angle.
- The scalar product is useful in coordinate geometry, triangle problems, vector reasoning, and 3D geometry.
- It is an important bridge between algebra and trigonometry in IB Mathematics: Analysis and Approaches HL.
- Always include every component when calculating $\mathbf{a} \cdot \mathbf{b}$, and check whether your result matches the geometry of the problem.
