Lesson 7.2: The Scalar (Dot) Product
Introduction
Hello, students! 😊 In this lesson, we’re going to explore a powerful tool in vectors: the scalar (dot) product. It’s not just mathematical jargon; this concept is incredibly useful in physics, engineering, and even computer graphics. By the end of this lesson, you will be able to:
- Understand the definition and properties of the dot product.
- Use the dot product to find the angle between two vectors.
- Test for perpendicularity using the dot product.
- Project one vector onto another.
- Calculate and evaluate a scalar product.
Let’s dive in!
What is the Scalar (Dot) Product?
The scalar product, also known as the dot product, is a way to multiply two vectors to get a scalar (a single number) as the result. The dot product of two vectors a and b is calculated using the formula:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = |$\mathbf{a}$| |$\mathbf{b}$| $\cos($$\theta)$
$$
Where:
- $|\mathbf{a}|$ is the magnitude (length) of vector a.
- $|\mathbf{b}|$ is the magnitude of vector b.
- $\theta$ is the angle between the two vectors.
Properties of the Dot Product
The dot product has several important properties:
- Commutative Property: $\mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a}$
- Distributive Property: $\mathbf{a} \cdot (\mathbf{b} + \mathbf{c}) = \mathbf{a} \cdot \mathbf{b} + \mathbf{a} \cdot \mathbf{c}$
- Associative with Scalars: $k(\mathbf{a} \cdot \mathbf{b}) = (k\mathbf{a}) \cdot \mathbf{b} = \mathbf{a} \cdot (k\mathbf{b})$
These properties make the dot product very versatile in solving vector problems!
Finding the Angle Between Two Vectors
To find the angle between two vectors using the dot product, we rearrange the original formula:
$$
$\theta$ = $\cos^{-1}$$\left($$\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}| |\mathbf{b}|}$
ight)
$$
Example
Suppose we have the vectors a = (3, 4) and b = (4, 1). First, let's find their dot product:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = $3 \cdot 4$ + $4 \cdot 1$ = 12 + 4 = 16
$$
Next, we calculate their magnitudes:
$$
|$\mathbf{a}$| = $\sqrt{3^2 + 4^2}$ = $\sqrt{9 + 16}$ = $\sqrt{25}$ = 5
$$
$$
|$\mathbf{b}$| = $\sqrt{4^2 + 1^2}$ = $\sqrt{16 + 1}$ = $\sqrt{17}$
$$
Now we can find the angle $\theta$:
$$
$\theta = \cos^{-1}\left(\frac{16}{5 \cdot \sqrt{17}}$
ight)
$$
Use a calculator to get the angle measurement.
Testing for Perpendicularity
Vectors are perpendicular (orthogonal) if their dot product equals zero:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = 0 \implies \text{perpendicular}
$$
Example
Let’s say a = (1, 2) and b = (-2, 1). Calculate the dot product:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = $1 \cdot$ (-2) + $2 \cdot 1$ = -2 + 2 = 0
$$
Since the dot product is zero, we conclude that the vectors are perpendicular! ✅
Projection of One Vector onto Another
The projection of vector a onto vector b can be found using:
$$\text{proj}_{\mathbf{b}} \mathbf{a} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|^2} \mathbf{b}
$$
Example
Using our vectors again: a = (3, 4) and b = (4, 1). First, we calculate the dot product:
$$
$\mathbf{a}$ $\cdot$ $\mathbf{b}$ = 16 \quad \text{(as calculated previously)}
$$
Then, find the magnitude of $\mathbf{b}$:
$$
$|\mathbf{b}|^2 = 17$
$$
Now, we substitute into the projection formula:
$$\text{proj}_{\mathbf{b}} \mathbf{a} = \frac{16}{17} \mathbf{b} = \frac{16}{17}(4, 1) = \left(\frac{64}{17}, \frac{16}{17}
ight)
$$
This tells us how much of a goes in the direction of b! 💡
Conclusion
In summary, the scalar (dot) product is a powerful tool in vector mathematics that helps us understand relationships between vectors, such as their angles and perpendicularity. It also assists in practical tasks like projecting one vector onto another. Remember the main formulas and properties as they will come in handy as you explore further into vectors!
Study Notes
- The dot product of vectors a and b is given by: $ \mathbf{a} \cdot \mathbf{b} = |\mathbf{a}| |\mathbf{b}| \cos(\theta)$.
- Vectors are perpendicular if their dot product equals 0: $ \mathbf{a} \cdot \mathbf{b} = 0$.
- The angle between two vectors can be calculated using: $ $\theta$ = $\cos^{-1}$$\left($$\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}| |\mathbf{b}|}
ight).
- The projection formula is $ \text{proj}_{\mathbf{b}} \mathbf{a} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|^2} \mathbf{b}$.
