The dot product multiplies two vectors and gives a number. The cross product multiplies two vectors in 3-space and gives a vector, one that is perpendicular to both of them. It’s the tool for finding a direction at right angles to two given directions, and its length measures area. That makes it the key to torque, areas and volumes, and (in the next unit) the equations of planes.
The “write it twice” method. Write the components of a in a row, and those of b underneath, then repeat the first two columns at the right:
a1b1a2b2a3b3a1b1a2b2
Cover the first column. Each component comes from a 2×2 block, read as “down-right product minus up-right product”: columns 2–3 give a2b3−a3b2, columns 3–4 give a3b1−a1b3, and columns 4–5 give a1b2−a2b1.
The determinant method. A 2×2 determinant is prqs=ps−qr. The cross product can be written as a 3×3 determinant with i, j, k in the top row, expanded along that row:
Every term cancels with another one. The same thing happens for b⋅(a×b) (Practice question 9). This also gives you a built-in check: after computing a cross product, dot it with both vectors. If you don’t get 0 twice, there’s an arithmetic error.
There are two directions perpendicular to both a and b (one is the opposite of the other). The right-hand rule tells you which one a×b uses: point the fingers of your right hand along a, then curl them toward b (through the smaller angle). Your thumb points along a×b.
For example, i×j=k: fingers along the x-axis, curl toward the y-axis, and your thumb points up the z-axis. Going around the cycle i→j→k→i gives
i×j=k,j×k=i,k×i=j
and going backwards gives the negatives: j×i=−k, k×j=−i, i×k=−j.
If θ is the angle between a and b (0∘≤θ≤180∘), then
∣a×b∣=∣a∣∣b∣sinθ
This is the area of the parallelogram with sides a and b: base ∣a∣ times height ∣b∣sinθ. The applications page uses this for areas, volumes, and torque.
a×b is perpendicular to the plane of a and b, and b×a points the opposite way. Its length is the parallelogram’s area.
Let a=[1,1,0] and b=[0,1,1]. Find ∣a×b∣ and use it to find the angle between the vectors.
Solution.
a×b=[1(1)−0(1),0(0)−1(1),1(1)−1(0)]=[1,−1,1]
So ∣a×b∣=3. Both vectors have magnitude 2, so
sinθ=∣a∣∣b∣∣a×b∣=223=23
Careful: sinθ=23 has two answers between 0∘ and 180∘, namely 60∘ and 120∘. The sine can’t tell acute from obtuse. Use the dot product to decide: a⋅b=0+1+0=1>0, so the angle is acute and θ=60∘.
(Lesson: to find an angle, the dot product is the better tool. Use the cross product when you need a perpendicular vector or an area.)
Let a=[2,−1,1] and b=[1,3,0]. Find a×b and (−2a)×(4b), and describe the relationship. Then use the component formula to prove that (ma)×(nb)=mn(a×b) for any vectors a, b and any scalars m, n.
For the proof, write ma=[ma1,ma2,ma3] and nb=[nb1,nb2,nb3]. The first component of (ma)×(nb) is
(ma2)(nb3)−(ma3)(nb2)=mn(a2b3−a3b2)
which is mn times the first component of a×b. The other two components work the same way, because every term has exactly one factor from each vector. So (ma)×(nb)=mn(a×b).
Geometrically: the new parallelogram has sides 2 and 4 times as long, so 8 times the area. Because mn=−8 is negative, the cross product also flips to the opposite direction (it stays perpendicular to both vectors).
Forgetting the minus sign on the middle term. With the determinant method, the j term is subtracted. With the component formula, the middle component is a3b1−a1b3 (not a1b3−a3b1). Always check by dotting your answer with both vectors.
Swapping the order.a×b and b×a point in opposite directions. If a question asks for b×a, put b‘s components in the first row.
Treating the answer as a number. The cross product is a vector. Its magnitude∣a×b∣ is the number that equals ∣a∣∣b∣sinθ.
Finding an angle from the sine alone.sinθ is the same for θ and 180∘−θ. If you use the cross product to find an angle, check the sign of the dot product to choose between them, or just use the dot product instead.
Using the left hand (or curling the wrong way). The right-hand rule needs your right hand, with fingers along the first vector curling toward the second. Check with i×j=k.
Assuming you can regroup.(a×b)×c and a×(b×c) are usually different vectors (see Practice question 8). Work out the inner bracket first, exactly as written.
The results are different, so the cross product is not associative.
9. (Challenge) Use components to prove that b⋅(a×b)=0 for any vectors a and b in 3-space. Together with the same fact for a, explain what this tells you about the direction of a×b.
Each term cancels with another. A zero dot product means a×b is perpendicular to b. Together with a⋅(a×b)=0 (shown in Key ideas), this verifies that the cross product is perpendicular to both of the original vectors.
Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
After every cross product you compute, dot it with both original vectors as a check. Angles are in degrees.
H1. (Foundations) Find each cross product without using the component formula.
(a) j×i
(b) k×k
(c) (4k)×(−2i)
(d) Set up axes with x pointing east, y pointing north, and z pointing up. Vector a points north and vector b points east. Use the right-hand rule to decide whether a×b points up or down.
H2. (Foundations) Let a=[3,−2,1] and b=[1,4,−5]. Find a×b and verify that it’s perpendicular to both vectors.
(b) Write down b×a without doing the calculation again, and explain how you know.
(c) Find ∣a×b∣. Is ∣b×a∣ the same? Explain.
H4. (Core) Vectors a and b have ∣a∣=5 and ∣b∣=8.
(a) If the angle between them is 45∘, find ∣a×b∣ exactly and to two decimal places.
(b) A different pair of vectors with the same magnitudes has ∣a×b∣=20. Find both possible angles between them.
(c) For the pair in (b), you are also told that a⋅b=−203. Which angle is it?
H5. (Core) Let a=[1,2,−1] and b=[3,0,2].
(a) Find a vector perpendicular to both a and b.
(b) Find both unit vectors that are perpendicular to a and b.
(c) Which of your two unit vectors points in the direction of a×b, and which points in the direction of b×a?
H6. (Core)
(a) Use the cross product to decide which of v=[−6,9,−3] and w=[6,−9,4] is parallel to u=[4,−6,2].
(b) A parallelogram-shaped garden bed has adjacent sides given by p=[3,1,−2] and q=[1,−1,2], in metres (the ground is sloped, so the sides aren’t horizontal). Find its area, exactly and to the nearest hundredth of a square metre.
H7. (Challenge) Noor computes a×b for a=[1,3,−2] and b=[2,−1,4] and gets [10,8,−7].
(a) Without redoing the cross product, show that Noor’s answer must be wrong.
(b) Find her error and give the correct cross product.
(c) Check your corrected answer.
H8. (Challenge)
(a) Find the value of k so that [3,−1,k]×[−6,2,4]=0. What does this tell you about the two vectors?
(b) Show that there is no value of k that makes [3,−1,k]×[−6,3,4]=0, and explain why in terms of parallel vectors.
H9. (Challenge) Let a=[a1,a2,a3] and b=[b1,b2,b3].
(a) Expand (a×b)⋅a in components and show that it equals 0 for all vectors a and b.
(b) Using (a) and the matching fact for b, show that (a×b)⋅(sa+tb)=0 for any scalars s and t. What does this say about a×b and every vector in the plane of a and b?
(c) Without any arithmetic, find ([2,7,−1]×[5,0,3])⋅[12,7,5]. (Hint: compare [12,7,5] with [2,7,−1] and [5,0,3].)
H10. (Challenge) Is the cross product associative?
(a) For a=[1,2,0], b=[0,1,1] and c=[1,0,1], compute (a×b)×c and a×(b×c).
(b) What does your answer to (a) show about associativity?
(c) Use the anticommutative property to prove that (a×b)×a=a×(b×a) for all vectors a and b. Explain why this special case doesn’t contradict your answer to (b).