Why this mat­ters

You can mul­ti­ply two vec­tors in two dif­fer­ent ways, and each one answers a dif­fer­ent ques­tion. The scalar (dot) prod­uct gives you a plain num­ber, and it tells you about the angle between the vec­tors. The vec­tor (cross) prod­uct gives you a new vec­tor stand­ing per­pen­dic­u­lar to both, and its length turns out to be an area. We will define both, use them to find angles, pro­jec­tions, per­pen­dic­u­lar direc­tions and areas, and fin­ish with mixed prac­tice.

Scalar prod­uct

a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ=a1b1+a2b2+a3b3.\vec a \cdot \vec b = \lvert\vec a\rvert\lvert\vec b\rvert\cos\theta = a_1b_1 + a_2b_2 + a_3b_3.

  • a⃗⋅b⃗=0  ⟺  a⃗⊥b⃗\vec a \cdot \vec b = 0 \iff \vec a \perp \vec b (for non-zero vec­tors).
  • a⃗⋅a⃗=∣a⃗∣2\vec a \cdot \vec a = \lvert\vec a\rvert^2; i^⋅i^=1\hat i \cdot \hat i = 1, i^⋅j^=0\hat i \cdot \hat j = 0.
  • It is com­mu­ta­tive and dis­trib­u­tive, so it behaves much like ordi­nary mul­ti­pli­ca­tion.
  • The pro­jec­tion of a⃗\vec a on b⃗\vec b is a⃗⋅b⃗∣b⃗∣\displaystyle \frac{\vec a \cdot \vec b}{\lvert\vec b\rvert}.

Exam­ple 1. a⃗=i^+2j^+2k^\vec a = \hat i + 2\hat j + 2\hat k, b⃗=2i^−j^+2k^\vec b = 2\hat i - \hat j + 2\hat k. Then a⃗⋅b⃗=2−2+4=4\vec a \cdot \vec b = 2 - 2 + 4 = 4, so cos⁡θ=43⋅3=49\displaystyle \cos\theta = \tfrac{4}{3 \cdot 3} = \tfrac{4}{9}, and the pro­jec­tion of a⃗\vec a on b⃗\vec b is 43\displaystyle \tfrac{4}{3}.

Exam­ple 2. For what λ\lambda are 2i^+λj^+k^2\hat i + \lambda\hat j + \hat k and i^−2j^+3k^\hat i - 2\hat j + 3\hat k per­pen­dic­u­lar? Set the dot prod­uct to zero: 2−2λ+3=02 - 2\lambda + 3 = 0, which gives λ=52\displaystyle \lambda = \tfrac{5}{2}.

Exam­ple 3. A very use­ful iden­tity is ∣a⃗+b⃗∣2=∣a⃗∣2+2a⃗⋅b⃗+∣b⃗∣2\lvert\vec a + \vec b\rvert^2 = \lvert\vec a\rvert^2 + 2\vec a\cdot\vec b + \lvert\vec b\rvert^2. If ∣a⃗∣=3\lvert\vec a\rvert = 3, ∣b⃗∣=4\lvert\vec b\rvert = 4 and ∣a⃗+b⃗∣=5\lvert\vec a + \vec b\rvert = 5, then a⃗⋅b⃗=0\vec a \cdot \vec b = 0, so the vec­tors are per­pen­dic­u­lar. Does that remind you of Pythago­ras?

Vec­tor prod­uct

a⃗×b⃗=∣a⃗∣∣b⃗∣sin⁡θ n^\vec a \times \vec b = \lvert\vec a\rvert\lvert\vec b\rvert\sin\theta\,\hat n, where n^\hat n is the unit vec­tor per­pen­dic­u­lar to both, cho­sen by the right-hand rule. Curl the fin­gers of your right hand from the first vec­tor to the sec­ond, and your thumb points along it. In com­po­nents,

a⃗×b⃗=∣i^j^k^a1a2a3b1b2b3∣.\vec a \times \vec b = \begin{vmatrix} \hat i & \hat j & \hat k \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix}.

  • b⃗×a⃗=−a⃗×b⃗\vec b \times \vec a = -\vec a \times \vec b; a⃗×a⃗=0⃗\vec a \times \vec a = \vec 0; i^×j^=k^\hat i \times \hat j = \hat k, j^×k^=i^\hat j \times \hat k = \hat i, k^×i^=j^\hat k \times \hat i = \hat j.
  • a⃗×b⃗=0⃗  ⟺  \vec a \times \vec b = \vec 0 \iff the vec­tors are par­al­lel, or one of them is zero.
  • ∣a⃗×b⃗∣\lvert\vec a \times \vec b\rvert gives the area of the par­al­lel­o­gram on a⃗\vec a and b⃗\vec b, and half of it gives the area of the tri­an­gle.

Exam­ple 4. a⃗=2i^+j^−k^\vec a = 2\hat i + \hat j - \hat k, b⃗=i^−j^+2k^\vec b = \hat i - \hat j + 2\hat k. Then a⃗×b⃗=(2−1)i^−(4+1)j^+(−2−1)k^=i^−5j^−3k^\vec a \times \vec b = (2 - 1)\hat i - (4 + 1)\hat j + (-2 - 1)\hat k = \hat i - 5\hat j - 3\hat k, and the par­al­lel­o­gram has area 35\sqrt{35}.

Vectors a = 2i + j - k and b = i - j + 2k drawn from the origin in 3D with the parallelogram they span, area root 35, and a x b = i - 5j - 3k perpendicular to both.
a x b is per­pen­dic­u­lar to both vec­tors; its length is the par­al­lel­o­gram area.

Exam­ple 5. Let us find the area of the tri­an­gle A(1,1,2)A(1, 1, 2), B(2,3,5)B(2, 3, 5), C(1,5,5)C(1, 5, 5). Here AB→=i^+2j^+3k^\overrightarrow{AB} = \hat i + 2\hat j + 3\hat k, AC→=4j^+3k^\overrightarrow{AC} = 4\hat j + 3\hat k. Their cross prod­uct is −6i^−3j^+4k^-6\hat i - 3\hat j + 4\hat k, so the area is 1261\displaystyle \tfrac{1}{2}\sqrt{61}.

Triangle with vertices A(1, 1, 2), B(2, 3, 5) and C(1, 5, 5) shaded in 3D, with the side vectors AB and AC drawn from A; its area is half root 61.
The tri­an­gle area is half the length of AB x AC.

Exam­ple 6. For a unit vec­tor per­pen­dic­u­lar to both vec­tors of Exam­ple 4, just divide their cross prod­uct by its length: 135(i^−5j^−3k^)\displaystyle \tfrac{1}{\sqrt{35}}(\hat i - 5\hat j - 3\hat k).

Mixed prac­tice for the chap­ter

  1. Find the angle between i^−j^\hat i - \hat j and j^−k^\hat j - \hat k.
  2. Find the pro­jec­tion of 3i^−j^+4k^3\hat i - \hat j + 4\hat k on 2i^+3j^−6k^2\hat i + 3\hat j - 6\hat k.
  3. Show that 2i^−j^+k^2\hat i - \hat j + \hat k, i^−3j^−5k^\hat i - 3\hat j - 5\hat k and 3i^−4j^−4k^3\hat i - 4\hat j - 4\hat k form a right-angled tri­an­gle.
  4. If ∣a⃗∣=2\lvert\vec a\rvert = 2, ∣b⃗∣=3\lvert\vec b\rvert = 3 and a⃗⋅b⃗=3\vec a \cdot \vec b = 3, find the angle between them and ∣a⃗−b⃗∣\lvert\vec a - \vec b\rvert.
  5. If a⃗+b⃗+c⃗=0⃗\vec a + \vec b + \vec c = \vec 0 with ∣a⃗∣=3\lvert\vec a\rvert = 3, ∣b⃗∣=5\lvert\vec b\rvert = 5, ∣c⃗∣=7\lvert\vec c\rvert = 7, find the angle between a⃗\vec a and b⃗\vec b.
  6. Find a⃗×b⃗\vec a \times \vec b for a⃗=3i^+2j^+2k^\vec a = 3\hat i + 2\hat j + 2\hat k, b⃗=i^+2j^−2k^\vec b = \hat i + 2\hat j - 2\hat k, and a unit vec­tor per­pen­dic­u­lar to both.
  7. Find the area of the par­al­lel­o­gram with adja­cent sides i^+2j^+3k^\hat i + 2\hat j + 3\hat k and 3i^−2j^+k^3\hat i - 2\hat j + \hat k.
  8. Find the area of the tri­an­gle with ver­tices (1,2,3)(1, 2, 3), (2,−1,1)(2, -1, 1), (1,2,−4)(1, 2, -4).
  9. Show that (a⃗−b⃗)×(a⃗+b⃗)=2(a⃗×b⃗)(\vec a - \vec b) \times (\vec a + \vec b) = 2(\vec a \times \vec b).
  10. Find λ\lambda if (2i^+6j^+27k^)×(i^+λj^+μk^)=0⃗(2\hat i + 6\hat j + 27\hat k) \times (\hat i + \lambda\hat j + \mu\hat k) = \vec 0.

Answers

Show answers
  1. cos⁡θ=−122=−12\displaystyle \cos\theta = \tfrac{-1}{\sqrt{2}\sqrt{2}} = -\tfrac{1}{2}, so the angle is 120∘120^\circ.
  2. 6−3−247=−3\displaystyle \tfrac{6 - 3 - 24}{7} = -3.
  3. With a⃗=2i^−j^+k^\vec a = 2\hat i - \hat j + \hat k and b⃗=i^−3j^−5k^\vec b = \hat i - 3\hat j - 5\hat k, the third vec­tor is a⃗+b⃗\vec a + \vec b, so the three form a tri­an­gle; and a⃗⋅b⃗=2+3−5=0\vec a \cdot \vec b = 2 + 3 - 5 = 0, so it is right-angled.
  4. cos⁡θ=12\displaystyle \cos\theta = \tfrac{1}{2}, 60∘60^\circ; and ∣a⃗−b⃗∣2=4−6+9=7\lvert\vec a - \vec b\rvert^2 = 4 - 6 + 9 = 7, so the length is 7\sqrt{7}.
  5. Since ∣c⃗∣2=∣a⃗+b⃗∣2\lvert\vec c\rvert^2 = \lvert\vec a + \vec b\rvert^2, we get 49=9+25+30cos⁡θ49 = 9 + 25 + 30\cos\theta, so cos⁡θ=12\displaystyle \cos\theta = \tfrac{1}{2} and the angle is 60∘60^\circ.
  6. −8i^+8j^+4k^-8\hat i + 8\hat j + 4\hat k; 13(−2i^+2j^+k^)\displaystyle \tfrac{1}{3}(-2\hat i + 2\hat j + \hat k).
  7. The cross prod­uct is 8i^+8j^−8k^8\hat i + 8\hat j - 8\hat k, so the area is 838\sqrt{3}.
  8. AB→=i^−3j^−2k^\overrightarrow{AB} = \hat i - 3\hat j - 2\hat k, AC→=−7k^\overrightarrow{AC} = -7\hat k; their cross prod­uct is 21i^+7j^21\hat i + 7\hat j, giv­ing area 7102\displaystyle \tfrac{7\sqrt{10}}{2}.
  9. Expand, remem­ber­ing that a vec­tor crossed with itself is zero: a⃗×b⃗−b⃗×a⃗=2a⃗×b⃗\vec a \times \vec b - \vec b \times \vec a = 2\vec a \times \vec b.
  10. The vec­tors must be par­al­lel, so λ=3\lambda = 3, μ=272\displaystyle \mu = \tfrac{27}{2}.