# Cross product of vectors (HL only)

> IB Mathematics: Analysis and Approaches HL · Unit 3: Geometry & Trigonometry
> Source: https://www.owlsprep.com/study/ib-math-aa-hl-u3-cross-product-of-vectors/

This HL-only sub-topic covers the definition, calculation, and key geometric applications of the cross product of two 3D vectors, a foundational tool for solving 3D geometry problems involving area and planes.

**Prerequisites:** [Vectors in 3 dimensions](https://www.owlsprep.com/study/ib-math-aa-hl-u3-vectors-3d/); [Dot product of vectors](https://www.owlsprep.com/study/ib-math-aa-hl-u3-dot-product-of-vectors/)

## Learning objectives

- Define the cross product of two 3D vectors in terms of magnitude and direction
- Calculate cross products using determinant and component formulas
- Apply cross product to find areas and check for parallel/collinear vectors
- Find a vector perpendicular to two given 3D vectors

## Definition and Geometric Interpretation

Unlike the dot product (which returns a scalar), the cross product of two 3D vectors returns another 3D vector. This vector has a specific magnitude and direction defined relative to the two input vectors.

**Cross Product** — A vector perpendicular to both $\vec{a}$ and $\vec{b}$ with magnitude $|\vec{a}||\vec{b}|\sin\theta$, where $\theta$ (for $0 \leq \theta \leq \pi$) is the angle between $\vec{a}$ and $\vec{b}$. Direction is given by the right-hand rule.

*Notation:* $\vec{a} \times \vec{b}$

*Example:* The cross product of any two parallel vectors is the zero vector, since $\sin 0 = 0$.

> **Right-Hand Rule Mnemonic**
>
> Point the index finger of your right hand along $\vec{a}$, your middle finger along $\vec{b}$, and your thumb will point in the direction of $\vec{a} \times \vec{b}$. Reverse inputs to get the opposite direction.

**Worked example:** Find the magnitude of the cross product of $\vec{a} = 2\vec{i}$ and $\vec{b} = 3\vec{j}$, and state its direction.

1. First find the angle between $\vec{a}$ (x-axis) and $\vec{b}$ (y-axis): $\theta = 90^\circ$, so $\sin\theta = 1$.
2. $$|\vec{a} \times \vec{b}| = |\vec{a}||\vec{b}|\sin\theta = (2)(3)(1) = 6$$
3. Apply the right-hand rule: index along x, middle along y, thumb points along the positive z-axis. Direction = positive z-axis.

## Calculating Cross Product in Component Form

For vectors given in component form $\vec{a} = a_1\vec{i} + a_2\vec{j} + a_3\vec{k}$ and $\vec{b} = b_1\vec{i} + b_2\vec{j} + b_3\vec{k}$, we use a 3x3 determinant to calculate the cross product:

$$\vec{a} \times \vec{b} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = (a_2b_3 - a_3b_2)\vec{i} - (a_1b_3 - a_3b_1)\vec{j} + (a_1b_2 - a_2b_1)\vec{k}$$

> **warning**
>
> Do not forget the negative sign on the $\vec{j}$ term! This is one of the most common mistakes in cross product calculations.

**Worked example:** Calculate $\vec{a} \times \vec{b}$ where $\vec{a} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}$ and $\vec{b} = \begin{pmatrix} 4 \\ 5 \\ 6 \end{pmatrix}$.

1. Substitute the components into the determinant formula:
2. $$\vec{a} \times \vec{b} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ 1 & 2 & 3 \\ 4 & 5 & 6 \end{vmatrix}$$
3. Expand the determinant along the first row:
4. $$= \vec{i}(2 \cdot 6 - 3 \cdot 5) - \vec{j}(1 \cdot 6 - 3 \cdot 4) + \vec{k}(1 \cdot 5 - 2 \cdot 4)$$
5. $$= -3\vec{i} + 6\vec{j} - 3\vec{k}$$
6. Check your result: the cross product must be perpendicular to both inputs. The dot product with $\vec{a}$ is $(-3)(1) + (6)(2) + (-3)(3) = 0$, which confirms correctness.

## Key Algebraic Properties

Cross product follows these core properties that you will use to simplify expressions and solve problems:

- Anti-commutativity: $\vec{a} \times \vec{b} = -\vec{b} \times \vec{a}$
- Distributive over addition: $\vec{a} \times (\vec{b} + \vec{c}) = \vec{a} \times \vec{b} + \vec{a} \times \vec{c}$
- Scalar associativity: $(k\vec{a}) \times \vec{b} = k(\vec{a} \times \vec{b})$
- Self cross product: $\vec{a} \times \vec{a} = \vec{0}$
- Unit vector products: $\vec{i} \times \vec{j} = \vec{k}, \vec{j} \times \vec{k} = \vec{i}, \vec{k} \times \vec{i} = \vec{j}$

**Check your understanding**

Test your understanding of cross product properties:

1. What is the value of $\vec{j} \times \vec{i}$?

   - $\vec{k}$
   - $-\vec{k}$
   - $\vec{0}$
   - $1$

   *Why:* Correct: cross product is anti-commutative, so $\vec{j} \times \vec{i} = -\vec{i} \times \vec{j} = -\vec{k}$.

2. If $\vec{a} \times \vec{b} = \vec{0}$, what does this tell us about $\vec{a}$ and $\vec{b}$?

   - They are perpendicular
   - They are parallel
   - They are unit vectors
   - They have equal magnitude

   *Why:* Right! $|\vec{a} \times \vec{b}| = 0$ implies $\sin\theta = 0$, so $\theta = 0$ or $\pi$, meaning vectors are parallel.

## Geometric Applications

The magnitude of the cross product has a direct geometric meaning: it equals the area of the parallelogram spanned by the two input vectors. This leads to a range of practical applications in 3D geometry.

**Area Formulas** — Area of parallelogram with adjacent sides $\vec{a}, \vec{b}$ = $|\vec{a} \times \vec{b}|$. Area of triangle with adjacent sides $\vec{a}, \vec{b}$ = $\frac{1}{2}|\vec{a} \times \vec{b}|$. Cross product also gives a normal vector perpendicular to a plane containing the two vectors.

**Worked example:** Find the area of triangle ABC with vertices at A(1, 0, 0), B(0, 2, 0), C(0, 0, 3).

1. Find two sides of the triangle starting from the same vertex A:
2. $$\vec{AB} = (-1, 2, 0), \quad \vec{AC} = (-1, 0, 3)$$
3. Calculate the cross product:
4. $$\vec{AB} \times \vec{AC} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ -1 & 2 & 0 \\ -1 & 0 & 3 \end{vmatrix} = 6\vec{i} + 3\vec{j} + 2\vec{k}$$
5. Find the magnitude of the cross product:
6. $$|\vec{AB} \times \vec{AC}| = \sqrt{6^2 + 3^2 + 2^2} = 7$$
7. Area of the triangle is half the magnitude:
8. $$\text{Area} = \frac{7}{2} = 3.5 \text{ square units}$$

> **exam_tip**
>
> Always check if the question asks for parallelogram or triangle area. Examiners regularly test that you remember to halve the cross product magnitude for triangles.

## Common pitfalls

- **Wrong:** Forgetting the negative sign on the $\vec{j}$ term when expanding the cross product determinant
  - Why it fails: The cofactor of the middle element in the first row of a determinant has a negative sign, which is often missed
  - Correct: Always use the pattern: $+ \vec{i}(...) - \vec{j}(...) + \vec{k}(...)$ when expanding the cross product determinant
- **Wrong:** Confusing cross product with dot product, giving a scalar result instead of a vector
  - Why it fails: Cross product produces a vector, while dot product produces a scalar, mixing them leads to lost marks
  - Correct: Always check the question: questions asking for perpendicular vectors or area use cross product, questions asking for angles use dot product
- **Wrong:** Forgetting to halve the cross product magnitude when calculating triangle area
  - Why it fails: Cross product magnitude gives the area of the full parallelogram, not half for the triangle
  - Correct: Always confirm the shape you are calculating area for, remember $\text{Area}_{\text{triangle}} = \frac{1}{2}|\vec{a} \times \vec{b}|$
- **Wrong:** Claiming $\vec{a} \times \vec{b} = \vec{0}$ means one vector is the zero vector
  - Why it fails: Cross product is zero for any two parallel vectors, not just when one is zero
  - Correct: If $\vec{a} \times \vec{b} = \vec{0}$, conclude that $\vec{a}$ and $\vec{b}$ are parallel (collinear if they share a common point)
- **Wrong:** Using cross product to find a perpendicular vector for two 2D vectors
  - Why it fails: Cross product is only defined for two 3D vectors
  - Correct: For a 2D vector $(a, b)$, a perpendicular vector is simply $(-b, a)$, no cross product needed

## Cheatsheet

| Concept | Formula |
| --- | --- |
| Magnitude of cross product | $\|\vec{a} \times \vec{b}\| = \|a\|\|b\|\sin\theta$ |
| Component form calculation | $\begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix}$ |
| Anti-commutativity | $\vec{a} \times \vec{b} = -\vec{b} \times \vec{a}$ |
| Parallel vectors condition | $\vec{a} \times \vec{b} = \vec{0}$ |
| Area of parallelogram | $\|\vec{a} \times \vec{b}\|$ |
| Area of triangle | $\frac{1}{2}\|\vec{a} \times \vec{b}\|$ |
| Normal vector to a plane | $\vec{n} = \vec{a} \times \vec{b}$ for two vectors in the plane |

## What's next

Now that you have mastered the cross product of vectors, you can apply this core HL tool to more advanced 3D geometry problems involving lines and planes. Cross product is the foundation for finding equations of planes, calculating the angle between two planes, finding distances from points to planes, and calculating volumes of parallelepipeds using the scalar triple product, which combines dot product and cross product. Mastery of cross product calculations is essential for almost all 3D geometry questions that appear in Paper 1 and Paper 2 of IB AA HL, so it is important to practice expanding determinants and checking your results for perpendicularity.

- [Vector equations of lines and planes (HL only)](https://www.owlsprep.com/study/ib-math-aa-hl-u3-vector-equations-of-lines-and/)
- [Intersections and angles between lines and planes (HL only)](https://www.owlsprep.com/study/ib-math-aa-hl-u3-intersections-and-angles-between-lines/)
- [Distance from point to plane (HL only)](https://www.owlsprep.com/study/ib-math-aa-hl-u3-distance-from-point-to-plane/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ib-math-aa-hl-u3-cross-product-of-vectors/
