Section 9.3: The Dot Product
Section 9.3: The Dot Product
The dot product of two vectors gives a scalar that is computed in the following manner.
Solution:
█
3
Then
a⋅b
cos θ =
|a| |b|
a ⋅ b = | a | | b | cos θ
Example 2: Find the angle θ between the given vectors a = < 3, 1 > and b = < 2, -1 >.
Solution:
█
4
Parallel Vectors
Parallel Vectors
2a
a
-a
Orthogonal Vectors
a⋅b = 0
Orthogonal Vectors
π
Note: If two vectors a and b are orthogonal, they intersect at the angle θ = and
2
π
a ⋅ b = | a | | b | cos( ) =| a | | b | (0) = 0
2
5
Example 3: Determine whether the two vectors a and b are orthogonal, parallel, or
neither.
3 1
a. a =< 2, 18 > , b =< ,− >
2 6
b. a = −4i − 5 j + 6k , b = 8i + 10 j − 12k
c. a = −4i − 5 j + 6k , b = 5 j − 6k
Solution:
█
6
Projections
Suppose we are given the vectors a and b in the following diagram
θ
a
w = proja b
The vector in red w = proja b is called the vector projection of the vector b onto the
vector a. Since w is a smaller vector in length the vector a, it is “parallel” to a and hence
is a scalar multiple of a. Thus, we can write w = k a, The scalar k is know as the scalar
projection of vector b onto the vector a (also known as the component of b along a). We
assign the scalar k the notation
k = comp a b
adjacent | w | | ka | k | a |
cos θ = = = =
hypotenuse | b | |b| |b|
a⋅b
cos θ =
|a| |b|
k|a| a⋅b
=
|b| |a| |b|
To get the vector projection, we compute the vector w. This gives the following result.
a⋅b
w = ka = a
| a |2
a⋅b
Scalar Projection of b onto a: comp a b =
| a |2
a⋅b
Vector Projection of b onto a: proja b = (comp a b ) a = a
| a |2
Example 4: Find the scalar and vector projections of b onto a if a =< 0,2,3 > and
< −2,1,1 >
a⋅b
comp a b =
| a |2
We see that
and that
( 13 )2 = 13 .
2
| a | 2 = ⎛⎜ (0) 2 + (2) 2 + (3) 2 ⎞⎟ =
⎝ ⎠
a⋅b 5
Scalar projection of b onto a = comp a b = = .
| a |2 13
Hence, the vector projection is
5 10 15
Vector projection of b onto a = (comp a b) a = < 0,2,3 >=< 0, , > .
13 13 13