MathorynMathematical Formula Database

Linear Algebra

Cross Product

The cross product of two 3D vectors is a vector perpendicular to both, with length ∣a∣∣b∣sin⁡θ|\mathbf a||\mathbf b|\sin\theta (the area of the parallelogram they span). It is used for normals, torque and angular momentum.

a×b=(a2b3−a3b2, a3b1−a1b3, a1b2−a2b1)\mathbf a\times\mathbf b=\left(a_2b_3-a_3b_2,\ a_3b_1-a_1b_3,\ a_1b_2-a_2b_1\right)
LaTeX\mathbf a\times\mathbf b=\left(a_2b_3-a_3b_2,\ a_3b_1-a_1b_3,\ a_1b_2-a_2b_1\right)

Variables

a=(a1,a2,a3)\mathbf a=(a_1,a_2,a_3)
first vector
b=(b1,b2,b3)\mathbf b=(b_1,b_2,b_3)
second vector

Example

Compute (1,2,3)×(4,5,6)(1,2,3)\times(4,5,6).

  1. (2⋅6−3⋅5, 3⋅4−1⋅6, 1⋅5−2⋅4)(2\cdot6-3\cdot5,\ 3\cdot4-1\cdot6,\ 1\cdot5-2\cdot4).

Answer: (−3, 6, −3)(-3,\ 6,\ -3).

Related formulas