Module 4 - Dot and Cross Product PDF
Module 4 - Dot and Cross Product PDF
Objectives:
After completing this module, the student must be able to:
1. Find the angle between two vectors;
2. Find the projection of one vector onto another;
1
STATICS OF RIGID BODIES - LECTURE NOTES
The component of A that is perpendicular to line aa can also be obtained, see figure below. Since 𝐀 =
𝐀 𝑎 + 𝐀 ⊥ , then 𝐀 ⊥ = 𝐀 − 𝐀𝑎 . There are two possible ways of obtaining 𝐀⊥ . One way would be to
determine 𝜃 from the dot product, 𝜃 = cos–1 (A ∙ uA/A), then 𝐀 ⊥ = A sin 𝜃. Alternatively, if 𝐴𝑎 is known,
then by Pythagorean’s theorem we can also write
𝐴⊥ = √𝐴2 + 𝐴2𝑎 .
Let θ and λ be the angles shown in the accompanying figure. The direction cosines of v can be
expressed as cos α = cos λ cos θ, cos β = cos λ sin θ, and cos γ = sin λ.
ILLUSTRATIVE PROBLEMS
1. Find the dot product of the vectors and the cosine of the angle between them:
(a) u = i + 2j & v = 6i − 8j.
(b) u = -7i - 3j & v = j.
(c) u = (1, -3, 7) & v = (8, -2, -2).
(d) u = (-3, 1, 2) & v = (4, 2, -5).
Solution:
(a) u ∙ v = AxBx + AyBy = (1)(6) + (2)(−8) = −10
𝐮 ∙ 𝐯 −10 −10 1
cos 𝜃 = = = =− .
𝑢⋅𝑣 2 2 2
√1 + 2 √6 + (−8) 2 √5√100 √5
(b) u ∙ v = AxBx + AyBy = (−7)(0) + (−3)(1) = −3
𝐮 ∙ 𝐯 −3 −3 3
cos 𝜃 = = = =− .
𝑢⋅𝑣 √(−7)2 + (−3)2 √02 + 12 √58√1 √58
(c) u ∙ v = AxBx + AyBy + AzBz = (1)(8) + (−3)(−2) + (7)(−2) = 0
𝐮 ∙ 𝐯 0
cos 𝜃 = = = 0.
𝑢⋅𝑣 √12 + (−3)2 + 72 √82 + (−2)2 + (−2)2
(d) u ∙ v = AxBx + AyBy + AzBz = (−3)(4) + (1)(2) + (2)(−5) = −20
𝐮 ∙ 𝐯 −20 −20 20
cos 𝜃 = = = =− .
𝑢⋅𝑣 2 2 2 2 2
√(−3) + 1 + 2 √4 + 2 + (−5) 2 √14√45 3√70
2. In each part, determine whether u and v make an acute angle, an obtuse angle, or are orthogonal.
(a) u = 7i + 3j + 5k, v = −8i + 4j + 2k
(b) u = 6i + j + 3k, v = 4i − 6k
(c) u = (1, 1, 1), v = (−1, 0, 0)
(d) u = (4, 1, 6), v = (−3, 0, 2)
Solution:
(a) u ⋅ v = (7)(−8) + (3)(4) + (5)(2) = −56 + 12 + 10 = −34 < 0, obtuse.
(b) u ⋅ v = (6)(4) + (1)(0) + (3)(−6) = 6 > 0, acute.
(c) u ⋅ v = (1)(−1) + (1)(0) + (1)(0) = −1 < 0, obtuse.
(d) u ⋅ v = (4)(−3) + (1)(0) + (6)(2) = 0, orthogonal.
3. Explain why each of the following expressions makes no sense.
(a) u ⋅ (u ⋅ v) (b) (u · v) ⋅ w (c) ‖𝐮 · 𝐯 ‖ (d) k · (u + v)
2
STATICS OF RIGID BODIES - LECTURE NOTES
Solution:
(a) The dot product of a vector u and a scalar v · w is not defined.
(b) The sum of a scalar u · v and a vector w is not defined.
(c) u · v is not a vector, it is a scalar.
(d) The dot product of a scalar k and a vector u + v is not defined.
5. . Find r so that the vector from the point A(1, −1, 3) to the point B(3, 0, 5) is orthogonal to the vector from
A to the point P (r, r, r).
Solution:
𝐀 · 𝐁 = (2𝐢 + 𝐣 + 2𝐤) ⋅ ((𝑟 − 1)𝐢 + (𝑟 + 1)𝐣 + (𝑟 − 3)𝐤)
𝐀 · 𝐁 = 2(𝑟 − 1) + (𝑟 + 1) + 2(𝑟 − 3) = 5𝑟 − 7 = 0 ⇒ 𝑟 = 7/5.
6. Find two unit vectors in 2-space that make an angle of 45° with 4i + 3j.
Solution:
By inspection, 3i − 4j is orthogonal to and has the same length as 4i + 3j, so
𝐅1 = (4i + 3j) + (3i − 4j) = 7i − j and 𝐅2 = (4i + 3j) + (−1)(3i − 4j) = i + 7j
each make an angle of 45° with 4i + 3j; unit vectors in the directions of 𝐮1 and 𝐮2 are
7𝐢 − 𝐣 7𝐢 − 𝐣
𝐮1 = =
√72 + (−1)2 √50
𝐢 + 7𝐣 𝐢 + 7𝐣
𝐮2 = = .
√12 + 72 √50
7. Find the direction angles of the vector shown in the accompanying figure to the nearest degree.
Solution:
√3
cos α = cos λ cos θ = cos 60° cos 30° = 𝑜𝑟 𝛼 = 64°.
4
cos β = cos λ sin θ = cos 60° sin 30° = 3/4 𝑜𝑟 𝛽 = 41°.
1
cos γ = sin λ= sin 30° = or 𝛾 = 60°.
2
8. Find, to the nearest degree, the acute angle formed by two diagonals of a cube.
Solution:
With the cube as shown above, and a the length of each edge,
𝑑1 = ai + aj + ak
𝑑2 = ai + aj – ak.
𝑑1 𝑑2 𝑎2 + 𝑎2 − 𝑎2 𝑎2 1
cos 𝜃 = = = 2 = 𝑜𝑟 𝜃 = 71°.
|𝑑1 | ⋅ |𝑑2 | √𝑎2 + 𝑎2 + 𝑎2 √𝑎2 + 𝑎2 + (−𝑎)2 3𝑎 3
3
STATICS OF RIGID BODIES - LECTURE NOTES
9. Find, to the nearest degree, the angles that a diagonal of a box with dimensions 10 cm by 15 cm by 25 cm
makes with the edges of the box.
Solution:
Take i, j, and k along adjacent edges of the box, then 10i + 15j + 25k is along a diagonal, and a unit
vector in this direction is
𝐅 10𝐢 + 15j + 25𝐤 2 3 5
= = 𝐢+ 𝐣+ 𝐤.
𝐹 √10 + 15 + 25
2 2 2 √38 √38 √38
The direction cosines are α ≈ 71°, β ≈ 61°, and γ ≈ 36°.
10. Express the force F in Cartesian vector form if it acts at the midpoint B of the rod.
SOLUTION.
𝐫𝐴𝐶 −3𝐢 + 4𝐣 − 4𝐤
𝐫𝐴𝐵 = = = −1.5𝐢 + 2𝐣 − 2𝐤.
2 2
𝐫𝐴𝐷 = 𝐫𝐴𝐵 + 𝐫𝐵𝐷
𝐫𝐵𝐷 = 𝐫𝐴𝐷 + 𝐫𝐴𝐵
𝐫𝐵𝐷 = (4𝐢 + 6𝐣 − 4𝐤) − (−1.5𝐢 + 2𝐣 − 2𝐤)
𝐫𝐵𝐷 = (5.5𝐢 + 4𝐣 − 2𝐤) m.
𝐫𝐵𝐷 5.5𝐢 + 4𝐣 − 2𝐤
𝐅 = 600 ( ) = 600 ( )
𝑟𝐵𝐷 7.0887
= 465.5𝐢 + 338.6𝐣 − 169.3𝐤.
𝐅 ≈ {466𝐢 + 339𝐣 − 169𝐤} N.
11. Express force F in Cartesian vector form if point B is located 3 m along the rod from the end C.
SOLUTION.
𝐫𝐶𝐴 = (3𝐢 − 4𝐣 + 4𝐤) = 6.4
3 3
𝐫𝐶𝐵 = ( ) 𝐫𝐶𝐴 = ( ) (3𝐢 − 4𝐣 + 4𝐤) = 1.4𝐢 − 1.9𝐣 + 1.9𝐤 .
6.4 6.4
𝐫𝑂𝐵 = 𝐫𝑂𝐶 + 𝐫𝐶𝐵 = (−3i + 4j) + (1.4𝐢 − 1.9𝐣 + 1.9𝐤 = −1.6𝐢 + 2.1𝐣 + 1.9𝐤.
𝐫𝐵𝐷 = 𝐫𝑂𝐷 − 𝐫𝑂𝐵 = (4𝐢 + 6𝐣) − 𝐫𝑂𝐵 = (4𝐢 + 6𝐣) − (−1.6𝐢 + 2.1𝐣 + 1.9𝐤)
𝐫𝐵𝐷 = 5.6𝐢 + 3.9𝐣 − 1.9𝐤.
4
STATICS OF RIGID BODIES - LECTURE NOTES
𝐅𝐴 = 𝐅𝐵 = 𝐅𝐶 = {−149.8𝐤} lb.
𝐹𝑅𝑧 = 𝛴𝐹𝑧
130 = 3(0.8321𝐹)
𝐹 = 52.1 lb.
14. The frame shown below left is subjected to a horizontal force F = {300j} N. Determine the magnitudes of
the components of this force parallel and perpendicular to member AB.
5
STATICS OF RIGID BODIES - LECTURE NOTES
Solution: The magnitude of the component of F along AB is equal to the dot product of F and the unit
vector uB, which defines the direction of AB. Since
𝐫𝐵 2i + 6j + 3k
𝐮𝐵 = = = 0.286 i + 0.857 j + 0.429k
𝑟𝐵 √(2)2 + (6)2 + (3)2
Then
𝐹𝐴𝐵 = 𝐹 cos 𝜃 = ∙ 𝐮𝐵 = (300𝐣) ∙ (0.286𝐢 + 0.857𝐣 + 0.429𝐤)
𝐹𝐴𝐵 = (0)(0.286) + (300)(0.857) + (0)(0.429) = 257.1 N.
𝐹𝐴𝐵 = 257.1 N.
Since the result is a positive scalar, FAB has the same sense of direction as uB. Expressing FAB in Cartesian
vector form, we have
𝐅𝐴𝐵 = 𝐹𝐴𝐵 ∙ 𝐮𝐵 = (257.1 N)(0.286𝐢 + 0.857𝐣 + 0.429𝐤) = {73.5𝐢 + 220𝐣 + 110𝐤} N.
The perpendicular component, is therefore
𝐅⊥ = 𝐅 − 𝐅𝐴𝐵 = 300𝐣 − (73.5𝐢 + 220𝐣 + 110𝐤) = {−73.5𝐢 + 79.6𝐣 − 110𝐤} N.
Its magnitude can be determined either from this vector or by using the Pythagorean Theorem:
2
𝐅⊥ = √𝐹 2 − 𝐹𝐴𝐵 = √(300 𝑁)2 + (257.1 𝑁)2 = 155 N.
6
STATICS OF RIGID BODIES - LECTURE NOTES
(a) u = 2i + 3j + 2k, v = i + 4j + 2k
(b) u = 2i + j + 2k, v = 3i − 4k
(c) u = (1, 3, 1), v = (−1, 0, 3)
(d) u = (2, 1, 6), v = (−3, 1, 2)
18. . Find r so that the vector from the point A(1, −4, 3) to the point B(1, 0, 5) is orthogonal to the vector from
A to the point C(r, 2r, 3r).
19. Find two unit vectors in 2-space that make an angle of 30° with 2i + 3j.
20. Find the direction angles of the vector shown in the accompanying figure to the nearest degree.
Solution:
√3
cos α = cos λ cos θ = cos 60° cos 30° = 𝑜𝑟 𝛼 = 64°.
4
cos β = cos λ sin θ = cos 60° sin 30° = 3/4 𝑜𝑟 𝛽 = 41°.
1
cos γ = sin λ= sin 30° = or 𝛾 = 60°.
2
21. Find, to the nearest degree, the acute angle formed by two long diagonals of a box whose length, width
and height ratio is 1:2:3.
22. Find, to the nearest degree, the angles that a diagonal of a box with dimensions 10 cm by 15 cm by 20 cm
makes with the edges of the box.
23. Determine the angle θ between the two cables.
24. Determine the magnitude of the projection of the force F1 along cable AC.
25. Determine the magnitudes of the projected components of the force F = [60i + 12j - 40k] N along the
cables AB and AC.
7
STATICS OF RIGID BODIES - LECTURE NOTES
30. Determine the magnitude of the projected component of F along AC. Express this component as a
Cartesian vector.
31. Determine the angle θ between the pipe segments BA and BC.
8
STATICS OF RIGID BODIES - LECTURE NOTES
33. Determine the projected component of the force F = 12 lb acting in the direction of cable AC. Express the
result as a Cartesian vector.
9
STATICS OF RIGID BODIES - LECTURE NOTES
The purpose of the arrows is to help you remember the formula—the determinant is the product of the
entries on the rightward arrow minus the product of the entries on the leftward arrow. For example,
The right side of this formula is easily remembered by noting that a1, a2, and a3 are the entries in the first
“row” of the left side, and the 2 × 2 determinants on the right side arise by deleting the first row and an
appropriate column from the left side. The pattern is as follows:
For example,
There are also definitions of 4 × 4 determinants, 5 × 5 determinants, and higher, but we will not need them
in this text. Properties of determinants are studied in a branch of mathematics called linear algebra, but we
will only need the two properties stated in the following theorem.
10
STATICS OF RIGID BODIES - LECTURE NOTES
11
STATICS OF RIGID BODIES - LECTURE NOTES
These results should not be memorized; rather, it should be clearly understood how each is obtained by
using the right-hand rule and the definition of the cross product. A simple scheme shown above is helpful
for obtaining the same results when the need arises. If the circle is constructed as shown, then “crossing”
two unit vectors in a counter-clockwise fashion around the circle yields the positive third unit vector; e.g.,
𝐤 × 𝐢 = 𝐣. “Crossing” clockwise, a negative unit vector is obtained; e.g., 𝐢 × 𝐤 = −𝐣.
Let us now consider the cross product of two general vectors A and B which are expressed in Cartesian
vector form. We have
𝐀 × 𝐁 = (𝐴𝑥 𝐢 + 𝐴𝑦 𝐣 + 𝐴𝑧 𝐤)(𝐵𝑥 𝐢 + 𝐵𝑦 𝐣 + 𝐵𝑧 𝐤)
= 𝐴𝑥 𝐵𝑥 (𝐢 × 𝐢) + 𝐴𝑥 𝐵𝑦 (𝐢 × 𝐣) + 𝐴𝑥 𝐵𝑧 (𝐢 × 𝐤)
+𝐴𝑦 𝐵𝑥 (𝐣 × 𝐢) + 𝐴𝑦 𝐵𝑦 (𝐣 × 𝐣) + 𝐴𝑦 𝐵𝑧 (𝐣 × 𝐤)
+𝐴𝑧 𝐵𝑥 (𝐤 × 𝐢) + 𝐴𝑧 𝐵𝑦 (𝐤 × 𝐣) + 𝐴𝑧 𝐵𝑧 (𝐤 × 𝐤)
Carrying out the cross-product operations and combining terms yields
𝐀 × 𝐁 = (𝐴𝑦 𝐵𝑧 − 𝐴𝑧 𝐵𝑦 )𝐢 − (𝐴𝑥 𝐵𝑧 − 𝐴𝑧 𝐵𝑥 )𝐣 + (𝐴𝑥 𝐵𝑦 − 𝑦𝐵𝑥 )𝐤
This equation may also be written in a more compact determinant form as
𝐢 𝐣 𝐤
𝐀 × 𝐁 = | 𝐴𝑥 𝐴𝑦 𝐴𝑧 |
𝐵𝑥 𝐵𝑦 𝐵𝑧
Thus, to find the cross product of any two Cartesian vectors A and B, it is necessary to expand a
determinant whose first row of elements consists of the unit vectors i, j, and k and whose second and third
rows represent the x, y, z components of the two vectors A and B, respectively.
4.10 ALGEBRAIC PROPERTIES OF THE CROSS PRODUCT
Our next goal is to establish some of the basic algebraic properties of the cross product. As you read the
discussion, keep in mind the essential differences between the cross product and the dot product:
• The cross product is defined only for vectors in 3-space, whereas the dot product is defined for vectors
in 2-space and 3-space.
• The cross product of two vectors is a vector, whereas the dot product of two vectors is a scalar.
The main algebraic properties of the cross product are listed in the next theorem.
4.2.2 Theorem. If u, v, and w are any vectors in 3-space and k is any scalar, then:
(a) u × v = −(v × u)
(b) u × (v + w) = (u × v) + (u × w)
(c) (u + v) × w = (u × w) + (v × w)
(d ) k(u × v) = (ku) × v = u × (kv)
(e) u × 0 = 0 × u = 0
(f)u×u=0
The following cross products occur so frequently that it is helpful to be familiar with them:
𝐢 × 𝐣 = 𝐤 𝐣 × 𝐤 = 𝐢 𝐤 × 𝐢 = 𝐣 𝐣 × 𝐢 = −𝐤 𝐤 × 𝐣 = −𝐢 𝐢 × 𝐤 = −𝐣
These results are easy to obtain; for example,
𝐢 𝐣 𝐤
0 0 1 0 1 0
𝐢 × 𝐣 = |1 0 0| = | |𝐢−| |𝐣+| | 𝐤 = 𝐤.
1 0 0 0 0 1
0 1 0
However, the cross product of two consecutive vectors in the counter-clockwise direction is the next
vector around, and the cross product of two consecutive vectors in the clockwise direction is the
negative of the next vector around.
12
STATICS OF RIGID BODIES - LECTURE NOTES
ILLUSTRATIVE EXAMPLES
1. Let u = (1, 2, −2) and v = (3, 0, 1). Find (a) u × v (b) v × u.
Solution:
𝐢 𝐣 𝐤
2 −2 1 −2 1 2
𝐮 × 𝐯 = |1 2 −2| = | |𝐢−| |𝐣+ | | 𝐤 = 2𝐢 − 7𝐣 − 6𝐤.
0 1 3 1 3 0
3 0 1
Solution (b). We could use the method of part (a), but it is really not necessary to perform any
computations. The net effect of reversing the factors in a cross product is to reverse the signs of the
components. Thus, by inspection
v × u = −(u × v) = −2i + 7j + 6k.
3. Calculate the area of the parallelogram spanned by the vectors a = (3, −3, 1) and b = (4, 9, 2).
Solution: The cross product is
𝐢 𝐣 𝐤
−3 1 3 1 3 −3
𝐚 × 𝐛 = |3 −3 1| = | |𝐢− | |𝐣 + | | 𝐤 = −15𝐢 − 2𝐣 − 39𝐤.
9 2 4 21 4 9
4 9 2
The area is √(−15)2 + (−2)2 + (39)2 = √1750 = 5√70 𝑠𝑞𝑢𝑎𝑟𝑒 𝑢𝑛𝑖𝑡𝑠.
4. Calculate the area of the parallelogram spanned by the vectors a = (3, −3, 1) and c = (−12, 12, −4).
Solution:
𝐢 𝐣 𝐤
−3 1 3 1 3 −3
𝐚×𝐜 =| 3 −3 1 | = | |𝐢− | |𝐣+ | | 𝐤 = 0𝐢 + 0𝐣 + 0𝐤.
12 −4 −12 −4 −12 12
−12 12 −4
The magnitude of the zero vector is zero, so the area of the parallelogram is zero. What happened? The
second vector falls on the same line with a factor -4; no area can be formed.
13
STATICS OF RIGID BODIES - LECTURE NOTES
𝑎𝑥 𝑎𝑦 𝑎𝑧 1 2 3
𝐚 ⋅ (𝐛 × 𝐜) = |𝑏𝑥 𝑏𝑦 𝑏𝑧 | = |0 3 4| = 3 + 16 + 0 − 18 − 0 − 0 = 1.
𝑐𝑥 𝑐𝑦 𝑐𝑧 2 0 1
7. Find the volume of pyramid formed by vectors: u = (2, 3, 1), v = (2, 3, 5), and w = (4, 5, 6).
13. Find two unit vectors that are normal to the plane determined by the points A(0, −2, 1), B(1, −1, −2), and
C(−1, 1, 0).
14. Find the area of the parallelogram that has u = i − j + 2k and v = 3j + k as adjacent sides.
15. Find the area of the triangle with vertices P, Q, and R; where
(a) P(1, 5, −2), Q(0, 0, 0), R(3, 5, 1)
(b) P (2, 0, −3), Q(1, 4, 5), R(7, 2, 9)
16. 21–24 Find u (v × w) if u = 2i − 3j + k, v = 4i + j − 3k, w = j + 5k
17. Find u (v × w): u = (1, −2, 2), v = (0, 3, 2), w = (−4, 1, −3)
18. Use a scalar triple product to find the volume of the parallelepiped that has u, v, and w as adjacent edges:
u = (2, −6, 2), v = (0, 4, −2), & w = (2, 2, −4).
14
STATICS OF RIGID BODIES - LECTURE NOTES
19. Use a determinant to find the cross product i × (i + j + k) by rewriting the cross product as i × (i + j + k) =
(i × i) + (i × j) + (i × k) and evaluating each term.
20. Find k × (i + j + k).
21. Find u × v and check that it is orthogonal to both u and v; where
(a) u = (0, 1, −2), v = (3, 0, −4) (b) u = 4i + k, v = 2i − j
22. Let u = (2, −1, 3), v = (0, 1, 7), and w = (1, 4, 5); find (a) (u × v) × (v × w) & (b) (v × w) × (u × v).
23. Use a scalar triple product to find the volume of the parallelepiped that has u, v, and w as adjacent edges.
u = 3i + j + 2k, v = 4i + 5j + k, w = i + 2j + 4k
24. If A, B, and D are given vectors, prove the distributive law for the vector cross product, i.e., A × (B + D)
= (A × B) + (A × D).
25. Prove the triple scalar product identity A ∙ (B × C) = (A × B) ∙ C.
26. Given the three nonzero vectors A, B, and C, show that if A ∙ (B × C) = 0, the three vectors must lie in the
same plane.
15