3. Geometry and Trigonometry

Scalar Product

Scalar Product

students, imagine pushing a shopping cart and another person pushes in a different direction 🛒. Some pushes help each other, some cancel out, and some are completely independent. The scalar product helps us measure how much two vectors point in the same direction. It is one of the most useful ideas in Geometry and Trigonometry because it connects angles, lengths, and vector reasoning in a single tool.

In this lesson, you will learn how to:

  • understand the meaning of the scalar product and the words used with it,
  • calculate it using coordinates,
  • use it to find angles and test whether lines are perpendicular,
  • solve geometry problems in two and three dimensions,
  • see how it fits into the wider IB Mathematics: Applications and Interpretation HL toolkit.

The scalar product is sometimes called the dot product. Even though the result is a number, not a vector, it tells us a lot about the relationship between two vectors.

What the Scalar Product Means

If two vectors are written as $\mathbf{a}$ and $\mathbf{b}$, their scalar product is written as $\mathbf{a} \cdot \mathbf{b}$. The result is a scalar, which means a single number.

The geometric definition is

$$

$\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta,$

$$

where $|\mathbf{a}|$ and $|\mathbf{b}|$ are the magnitudes of the vectors, and $\theta$ is the angle between them.

This formula tells an important story 📐:

  • if the vectors point in exactly the same direction, then $\theta = 0$ and $\cos\theta = 1$, so the scalar product is large and positive;
  • if the vectors are perpendicular, then $\theta = 90^\circ$ and $\cos\theta = 0$, so the scalar product is $0$;
  • if the vectors point in opposite directions, then $\theta = 180^\circ$ and $\cos\theta = -1$, so the scalar product is negative.

That means the scalar product measures how much one vector acts in the direction of another. This is very useful in physics, navigation, and geometry.

For example, if a cyclist moves east and the wind blows east too, the wind helps a lot. If the wind blows north, it does not help forward motion. The scalar product captures that difference.

Calculating the Scalar Product with Coordinates

In IB Mathematics, vectors are often given in coordinate form. If

$$

$\mathbf{a}$ = $\begin{pmatrix}$ a_1 \ a_$2 \end{pmatrix}$, \qquad $\mathbf{b}$ = $\begin{pmatrix}$ b_1 \ b_$2 \end{pmatrix}$,

$$

then

$$

$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = a_1b_1 + a_2b_2.

$$

In three dimensions, if

$$

$\mathbf{a}$ = $\begin{pmatrix}$ a_1 \ a_2 \ a_$3 \end{pmatrix}$, \qquad $\mathbf{b}$ = $\begin{pmatrix}$ b_1 \ b_2 \ b_$3 \end{pmatrix}$,

$$

then

$$

$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = a_1b_1 + a_2b_2 + a_3b_3.

$$

This coordinate rule is extremely efficient because you do not need to find the angle first. You can calculate the scalar product directly from the components.

Example 1

Let

$$

$\mathbf{a}$ = $\begin{pmatrix} 3$ \ -$2 \end{pmatrix}$, \qquad $\mathbf{b}$ = $\begin{pmatrix} 5$ \ $4 \end{pmatrix}$.

$$

Then

$$

$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = 3(5) + (-2)(4) = 15 - 8 = 7.

$$

So the scalar product is $7$.

A positive answer means the vectors make an acute angle, so they point partly in the same direction.

Example 2

Let

$$

$\mathbf{u}$ = $\begin{pmatrix} 1$ \ 2 \ $2 \end{pmatrix}$, \qquad $\mathbf{v}$ = $\begin{pmatrix} 2$ \ -1 \ $1 \end{pmatrix}$.

$$

Then

$$

$\mathbf{u}$ $\cdot$ $\mathbf{v}$ = 1(2) + 2(-1) + 2(1) = 2 - 2 + 2 = 2.

$$

Again, this is positive, so the angle between them is less than $90^\circ$.

A common mistake is to add the coordinates instead of multiplying matching positions. Always pair first with first, second with second, and so on ✅.

Finding Angles Between Vectors

One of the most important uses of the scalar product is finding the angle between two vectors. If you know the vectors, you can rearrange

$$

$\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta$

$$

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 a key IB skill because it combines coordinate geometry, trigonometry, and vectors.

Example 3

Suppose

$$

$\mathbf{a}$ = $\begin{pmatrix} 2$ \ $1 \end{pmatrix}$, \qquad $\mathbf{b}$ = $\begin{pmatrix} 1$ \ $3 \end{pmatrix}$.

$$

First find the scalar product:

$$

$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = 2(1) + 1(3) = 5.

$$

Now find the 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.$

$$

students, this result shows how the scalar product turns vector information into a real angle.

Perpendicular Vectors and Geometry Reasoning

If two vectors are perpendicular, the angle between them is $90^\circ$. Since

$$

$\cos 90^\circ = 0,$

$$

it follows that

$$

$\mathbf{a} \cdot \mathbf{b} = 0.$

$$

This is a powerful test. Instead of measuring angles directly, you can check whether the scalar product is zero.

Example 4

Let

$$

$\mathbf{p}$ = $\begin{pmatrix} 4$ \ -$1 \end{pmatrix}$, \qquad $\mathbf{q}$ = $\begin{pmatrix} 1$ \ $4 \end{pmatrix}$.

$$

Then

$$

$\mathbf{p}$ $\cdot$ $\mathbf{q}$ = 4(1) + (-1)(4) = 4 - 4 = 0.

$$

So the vectors are perpendicular.

This idea is widely used in geometry problems. For example, a rectangle has adjacent sides that are perpendicular. In three dimensions, if you can show that two direction vectors have scalar product $0$, you have proved that the lines or edges meet at a right angle.

The scalar product also helps with checking whether a line is normal to a plane, because a normal vector is perpendicular to every direction vector lying in the plane.

Scalar Product in Three Dimensions

In three-dimensional problems, the scalar product is especially useful because many spatial figures are described with vectors. This includes cuboids, pyramids, and lines in space.

Suppose two position vectors are

$$

$\mathbf{r}_1$ = $\begin{pmatrix}$ x_1 \ y_1 \ z_$1 \end{pmatrix}$, \qquad $\mathbf{r}_2$ = $\begin{pmatrix}$ x_2 \ y_2 \ z_$2 \end{pmatrix}$.

$$

Then the vector from one point to another can be found by subtraction, and the scalar product can be used to study angles in the shape.

Example 5: Diagonal of a cuboid

Imagine a cuboid with side lengths $2$, $3$, and $6$. A space diagonal can be represented by

$$

$\mathbf{d}$ = $\begin{pmatrix} 2$ \ 3 \ $6 \end{pmatrix}$.

$$

Its magnitude is

$$

|$\mathbf{d}$| = $\sqrt{2^2 + 3^2 + 6^2}$ = $\sqrt{49}$ = 7.

$$

Now suppose you want the angle between this diagonal and the edge vector

$$

$\mathbf{e}$ = $\begin{pmatrix} 2$ \ 0 \ $0 \end{pmatrix}$.

$$

Then

$$

$\mathbf{d}$ $\cdot$ $\mathbf{e}$ = 2(2) + 3(0) + 6(0) = 4,

$$

and

$$

$|\mathbf{e}| = 2.$

$$

So

$$

$\cos$$\theta$ = $\frac{4}{7 \cdot 2}$ = $\frac{2}{7}$.

$$

Thus,

$$

$\theta = \cos^{-1}\left(\frac{2}{7}\right).$

$$

This kind of calculation appears in IB questions about 3D interpretation and spatial reasoning.

Why the Scalar Product Matters in Applications

The scalar product is not just a formula to memorize. It is a bridge between algebra and geometry.

It is useful for:

  • finding angles between vectors,
  • checking perpendicularity,
  • proving geometric relationships,
  • solving problems in navigation and mechanics,
  • interpreting shapes in $2$D and $3$D.

In physics, the work done by a force is linked to the scalar product of force and displacement. In geography and navigation, it can describe how two directions compare. In geometry, it helps analyze shapes by using coordinates instead of only diagrams.

For IB AI HL, this is important because many tasks ask you to interpret what a calculation means, not just to perform it. For example, if you find that $\mathbf{a} \cdot \mathbf{b} > 0$, you can conclude the angle is acute. If $\mathbf{a} \cdot \mathbf{b} = 0$, the vectors are perpendicular. If $\mathbf{a} \cdot \mathbf{b} < 0$, the angle is obtuse.

This sign information is often enough to make a strong geometric statement.

Conclusion

The scalar product is a central idea in Geometry and Trigonometry because it connects vector components, angles, and spatial reasoning. students, you have seen that it can be calculated directly from coordinates, used to find angles, and used to test whether vectors are perpendicular. You have also seen how it applies in $2$D and $3$D contexts, making it a powerful tool for IB Mathematics: Applications and Interpretation HL.

When you meet a scalar product question, first identify the vectors, then calculate the product carefully, and finally interpret the result in geometric terms. That final interpretation is the heart of the topic ✨.

Study Notes

  • The scalar product of vectors $\mathbf{a}$ and $\mathbf{b}$ is written as $\mathbf{a} \cdot \mathbf{b}$.
  • The geometric formula is $\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\cos\theta$.
  • In coordinates, compute it by multiplying matching components and adding the results.
  • In $2$D, if $\mathbf{a} = \begin{pmatrix} a_1 \\ a_2 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} b_1 \\ b_2 \end{pmatrix}$, then $\mathbf{a} \cdot \mathbf{b} = a_1b_1 + a_2b_2$.
  • In $3$D, if $\mathbf{a} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}$, then $\mathbf{a} \cdot \mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3$.
  • If $\mathbf{a} \cdot \mathbf{b} = 0$, then the vectors are perpendicular.
  • If $\mathbf{a} \cdot \mathbf{b} > 0$, the angle between them is acute.
  • If $\mathbf{a} \cdot \mathbf{b} < 0$, the angle between them is obtuse.
  • To find an angle, use $\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}|\,|\mathbf{b}|}$.
  • The scalar product is a key tool for geometry, trigonometry, and three-dimensional reasoning in IB Mathematics: Applications and Interpretation HL.

Practice Quiz

5 questions to test your understanding

Scalar Product — IB Mathematics Applications And Interpretation HL | A-Warded