Algebra Calculators

##### Related Content

Programmers and Teachers:

# Cross Product Calculator

Get unlimited calculations here.

## Cross Product Lesson

#### Lesson Contents

### What is a Cross Product?

The cross product of two vectors is a vector that is orthogonal to both original vectors. To calculate a cross product, the vectors that are being multiplied must occupy three-dimensional space. A vector with one or two components of zero may still be considered to occupy three-dimensional space.

**The cross product creates a resultant vector that is orthogonal to both original vectors.** This means that a 90° angle can be drawn between the resultant vector and each of the original vectors. **The magnitude of the resultant vector is equal to the area of the parallelogram that is projected from the two original vectors.**

The image below is a visualization of what the direction and magnitude of a cross product represent. Note that the cross product is normal to the plane on which both original vectors lie on. Essentially, a cross product is a description of the parallelogram created by two vectors on their common plane.

A cross product tells us the normal direction

and projected area of two vectors.

### How to Calculate the Cross Product

An easy way to remember how to calculate the cross product of two vectors is shown in the image below. If vector a = u_{1}i + u_{2}j + u_{3}k, and vector b = v_{1}i + v_{2}j + v_{3}k, then the multiplication matrix should be set up as shown, and the resultant vector will equal the summation shown on the left half of the image.

The summation is written in full form as:**a×b = (u _{2}v_{3} – u_{3}v_{2})i – (u_{1}v_{3} – u_{3}v_{1})j + (u_{1}v_{2} – u_{2}v_{1})k**

The cross product of a = u_{1}i + u_{2}j + u_{3}k, and b = v_{1}i + v_{2}j + v_{3}k

## How the Calculator Works

The cross product calculator is written in the programming language JavaScript (JS). Your device’s internet browser has a built in JS engine that runs the code immediately when you click the calculate button. This allows instant solutions and no waiting on the page to refresh.

The core routine of the calculator uses the same process as shown in the image above. Your inputted vector components are filtered, built into an array (which is effectively a vector in JS), and then fed to the cross product equations. The resultant components are then built into the resultant vector.

The resultant vector is converted to LaTeX (a math rendering language) and then displayed in the answer area. Sometimes the inputted components do not have a solution or an error occurs during calculations. In the case of these anomalies, an error message will be displayed in the answer area.