The cross product (or vector product) is a mathematical operation that produces a vector that is perpendicular to the plane of the two input vectors.

It is defined by the following formula:

  • where and are input vectors.
  • and are the magnitudes of the vectors.
  • is the angle between the vectors.
  • is a unit vector perpendicular to the plane of the input vector often known as the normal vector.

Example

Suppose you have two vectors, A and B, with the following components:

First, we need to calculate the magnitudes of the vectors:

Next, we need to calculate the angle between the vectors:

degrees

Finally, we need to calculate the normal vector, n:

To calculate , we use the following formula:

Then we can calculate the magnitude of :

#sapling