Pv7, Pv8 - The vector product

Pv7, Pv8 - The vector product

Produce a vector perpendicular to two given directions, rather than a single scalar. You will calculate the vector product, interpret its direction and zero cases, and use its magnitude to find an angle when the acute or obtuse choice is known.

Calculating a perpendicular vector

A drone must climb perpendicular to both ground directions a=(200)\mathbf{a} = \begin{pmatrix}2\\0\\0\end{pmatrix} and b=(120)\mathbf{b} = \begin{pmatrix}1\\2\\0\end{pmatrix}. Can one calculation produce the climb direction?

Both directions lie in the horizontal plane, so an upward vector is an obvious answer here. In a tilted plane, you would want a method that finds the answer without relying on a picture. The vector product does just that.

You already know

The scalar product a.b\mathbf{a}.\mathbf{b} is a number. To check that a proposed non-zero vector n\mathbf{n} is perpendicular to two non-zero vectors, check n.a=n.b=0\mathbf{n}.\mathbf{a} = \mathbf{n}.\mathbf{b} = 0.

The cross symbol signals a different operation from the scalar product. Its output has three components.

Vector product in components

For numerical three-dimensional vectors a=(a1a2a3)\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix} and b=(b1b2b3)\mathbf{b} = \begin{pmatrix}b_1\\b_2\\b_3\end{pmatrix},

a×b=(a2b3−a3b2a3b1−a1b3a1b2−a2b1)\mathbf{a}\times\mathbf{b} = \begin{pmatrix} a_2b_3-a_3b_2\\ a_3b_1-a_1b_3\\ a_1b_2-a_2b_1 \end{pmatrix}

It is perpendicular to both inputs; if the result is zero, it supplies no perpendicular direction.

In the formula booklet.

The determinant arrangement ∣ijka1a2a3b1b2b3∣\begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\a_1&a_2&a_3\\b_1&b_2&b_3\end{vmatrix} is another way the booklet displays the same rule. The middle component is especially easy to reverse accidentally. For a numerical calculation you may use your calculator, but name the operation you are using.

Worked example 1: a common perpendicular

Question. Use the vector product to find a vector perpendicular to a=(120)\mathbf{a} = \begin{pmatrix}1\\2\\0\end{pmatrix} and b=(013)\mathbf{b} = \begin{pmatrix}0\\1\\3\end{pmatrix}.

Plan. Calculate a×b\mathbf{a}\times\mathbf{b} in the stated order and check its scalar products.

a×b=(2(3)−0(1)0(0)−1(3)1(1)−2(0))component formula=(6−31)evaluate\begin{aligned} \mathbf{a}\times\mathbf{b} &= \begin{pmatrix}2(3)-0(1)\\0(0)-1(3)\\1(1)-2(0)\end{pmatrix} && \text{component formula} \\ &= \begin{pmatrix}6\\-3\\1\end{pmatrix} && \text{evaluate} \end{aligned}

Why this step? The vector product gives a vector, so no inverse trigonometric function or division by lengths is needed to find a perpendicular direction.

Answer. One suitable vector is (6−31)\begin{pmatrix}6\\-3\\1\end{pmatrix}.

Check. 6(1)−3(2)+1(0)=06(1)-3(2)+1(0) = 0 and 6(0)−3(1)+1(3)=06(0)-3(1)+1(3) = 0.

Change only the sign of the last component of b\mathbf{b}. Follow the component formula carefully rather than trying to guess which signs in the answer will change.

Worked example 2: one negative input component

Question. Use the vector product to find a vector perpendicular to (120)\begin{pmatrix}1\\2\\0\end{pmatrix} and (01−3)\begin{pmatrix}0\\1\\-3\end{pmatrix}.

Plan. Substitute the new signed component into each place it occurs in the vector-product formula.

a×b=(2(−3)−0(1)0(0)−1(−3)1(1)−2(0))retain brackets=(−631)simplify signs\begin{aligned} \mathbf{a}\times\mathbf{b} &= \begin{pmatrix}2(-3)-0(1)\\0(0)-1(-3)\\1(1)-2(0)\end{pmatrix} && \text{retain brackets} \\ &= \begin{pmatrix}-6\\3\\1\end{pmatrix} && \text{simplify signs} \end{aligned}

Why this step? The middle component contains a subtraction of −3-3, so it becomes positive.

Answer. (−631)\begin{pmatrix}-6\\3\\1\end{pmatrix} is a suitable perpendicular vector.

Check. −6+6=0-6+6 = 0 for the first scalar product and 3−3=03-3 = 0 for the second.

If only a perpendicular vector is requested, any non-zero multiple of the result also works. A unit perpendicular needs one further step: divide the result by its magnitude. For example, the first result has magnitude 46\sqrt{46}, so its corresponding unit vector is 146(6−31)\frac1{\sqrt{46}}\begin{pmatrix}6\\-3\\1\end{pmatrix}.

Watch out

Wrong middle component: a1b3−a3b1a_1b_3-a_3b_1. Right: a3b1−a1b3a_3b_1-a_1b_3. Copy the booklet's order rather than relying on a half-remembered sign pattern.

When asked for a perpendicular vector using the vector product, stating a×b=…\mathbf{a}\times\mathbf{b} = \ldots identifies the method. Expanding all three components is useful for learning and checking, but is not required merely to establish that you used the vector product.

Direction, order and a zero product

A vector perpendicular to two directions can point either way; the order of the vector product selects one of them.

For the drone, a×b=(004)\mathbf{a}\times\mathbf{b} = \begin{pmatrix}0\\0\\4\end{pmatrix} points up, while b×a=(00−4)\mathbf{b}\times\mathbf{a} = \begin{pmatrix}0\\0\\-4\end{pmatrix} points down. Both are perpendicular to the ground, but they are different vector products.

[DIAGRAM: asset_name: Right-handed vector product; asset_slug: right_handed_product; caption: The order a, b, a cross b forms a right-handed triple; description: A three-dimensional coordinate view shows blue a=(2,0,0), clay b=(1,2,0), and sage a cross b=(0,0,4) rising vertically from their common origin. A pale parallelogram spans a and b in the horizontal plane. A note shows that reversing the input order reverses the upward arrow.]
The order a, b, a cross b forms a right-handed triple

Right-handed triple

For non-parallel non-zero vectors, a\mathbf{a}, b\mathbf{b} and the unit vector n^\hat{\mathbf{n}} in the direction of a×b\mathbf{a}\times\mathbf{b}, in that order, form a right-handed triple. Curl the fingers of your right hand from a\mathbf{a} towards b\mathbf{b} through the smaller angle; your thumb gives n^\hat{\mathbf{n}}. In particular, i×j=k\mathbf{i}\times\mathbf{j} = \mathbf{k}.

Reversing the order reverses every component in the formula: b×a=−a×b\mathbf{b}\times\mathbf{a} = -\mathbf{a}\times\mathbf{b}. This order rule is not separately printed in the booklet; learn it from the component formula. It is a striking difference from a.b=b.a\mathbf{a}.\mathbf{b} = \mathbf{b}.\mathbf{a}.

If two non-zero vectors are parallel, either in the same direction or in opposite directions, their vector product is 0\mathbf{0}. For example, (1,2,3)×(−2,−4,−6)=0(1, 2, 3)\times(-2, -4, -6) = \mathbf{0}. There is no single chosen perpendicular direction. A zero input also makes the product zero, so include that possibility unless the inputs are stated to be non-zero.

Key idea

For non-zero vectors, a zero vector product means parallel directions. A zero scalar product means perpendicular directions. Check which product you have before interpreting the zero.

The zero-product criterion is not in the formula booklet as a separate statement; it follows from the magnitude form in the next section.

Using the magnitude to find an angle

The length of the vector product measures how far the two directions are from being parallel.

Its magnitude is also the area of the parallelogram spanned by the vectors: base ∣a∣|\mathbf{a}| times perpendicular height ∣b∣sin⁡θ|\mathbf{b}|\sin\theta. This explains why a parallel pair gives zero and why a perpendicular pair gives the largest product for fixed lengths. The area interpretation is a consequence of the formula, not a separate booklet result.

Geometric form of the vector product

For non-parallel non-zero vectors with angle 0<θ<π0<\theta<\pi,

a×b=∣a∣ ∣b∣sin⁡θ n^\mathbf{a}\times\mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\sin\theta\,\hat{\mathbf{n}}

where a\mathbf{a}, b\mathbf{b}, n^\hat{\mathbf{n}}, in that order, form a right-handed triple. In particular,

∣a×b∣=∣a∣ ∣b∣sin⁡θ|\mathbf{a}\times\mathbf{b}| = |\mathbf{a}|\,|\mathbf{b}|\sin\theta

The magnitude identity also holds for parallel vectors, with value zero; no unique n^\hat{\mathbf{n}} is then selected.

In the formula booklet.

Since sin⁡θ=sin⁡(π−θ)\sin\theta = \sin(\pi-\theta), the magnitude alone does not distinguish acute and obtuse angles. Use the given angle information, or the sign of the scalar product, to select the right one.

Worked example 3: an acute angle from the vector product

Question. Using the vector product, determine the angle between a=(110)\mathbf{a} = \begin{pmatrix}1\\1\\0\end{pmatrix} and b=(101)\mathbf{b} = \begin{pmatrix}1\\0\\1\end{pmatrix}, given that the angle is acute.

Plan. Find the magnitude of the vector product, divide by both lengths, and select the acute inverse-sine value.

a×b=(1−1−1)vector product∣a×b∣=3,∣a∣=∣b∣=2lengthssin⁡θ=322=32magnitude formθ=60∘acute choice\begin{aligned} \mathbf{a}\times\mathbf{b} &= \begin{pmatrix}1\\-1\\-1\end{pmatrix} && \text{vector product} \\ |\mathbf{a}\times\mathbf{b}| &= \sqrt3,\quad |\mathbf{a}|=|\mathbf{b}|=\sqrt2 && \text{lengths} \\ \sin\theta &= \frac{\sqrt3}{\sqrt2\sqrt2}=\frac{\sqrt3}{2} && \text{magnitude form} \\ \theta &= 60^\circ && \text{acute choice} \end{aligned}

Why this step? The instruction to use the vector product determines the method; a scalar-product calculation alone would not answer that instruction.

Answer. 60∘60^\circ.

Check. The scalar product is 1>01>0, consistent with an acute angle.

Reverse only b\mathbf{b} and specify an obtuse angle. The sine ratio stays unchanged, so the angle information now does essential work.

Worked example 4: choosing the obtuse angle

Question. Using the vector product, determine the angle between (110)\begin{pmatrix}1\\1\\0\end{pmatrix} and (−10−1)\begin{pmatrix}-1\\0\\-1\end{pmatrix}, given that it is obtuse.

Plan. Calculate the sine ratio, then take the supplement of the acute inverse-sine answer.

a×b=(−111)order unchangedsin⁡θ=322=32same magnitudeθ=180∘−60∘=120∘obtuse choice\begin{aligned} \mathbf{a}\times\mathbf{b} &= \begin{pmatrix}-1\\1\\1\end{pmatrix} && \text{order unchanged} \\ \sin\theta &= \frac{\sqrt3}{\sqrt2\sqrt2}=\frac{\sqrt3}{2} && \text{same magnitude} \\ \theta &= 180^\circ-60^\circ=120^\circ && \text{obtuse choice} \end{aligned}

Why this step? Inverse sine returns 60∘60^\circ, but both 60∘60^\circ and 120∘120^\circ have the required sine.

Answer. 120∘120^\circ.

Check. The scalar product is −1<0-1<0, so the selected obtuse angle is correct.

The opening drone can use the upward direction (0,0,4)(0, 0, 4), or any positive multiple, for its climb. The vector product has supplied both perpendicularity and a chosen sense.

Watch out

Wrong: sin⁡θ=12\sin\theta = \frac12, therefore the vector angle must be 30∘30^\circ. Right: for 0≤θ≤180∘0\le\theta\le180^\circ, it can be 30∘30^\circ or 150∘150^\circ. Use the stated acute or obtuse condition.

This matched problem changes the sine ratio while keeping the obtuse choice.

Quick Recap

  • The vector product gives a vector perpendicular to both inputs.
  • Reversing the inputs reverses the result.
  • For non-zero inputs, a zero vector product means parallel directions.
  • Its magnitude is ∣a∣ ∣b∣sin⁡θ|\mathbf{a}|\,|\mathbf{b}|\sin\theta; select the acute or obtuse angle using the available information.

The drone's upward perpendicular direction is given by a×b=(0,0,4)\mathbf{a}\times\mathbf{b} = (0, 0, 4).