# Dot Product vs. Cross Product

## Key Differences

## Comparison Chart

### .

### Also Known As

### Denoted As

### Calculations

### Representation

### Commutative Law

### Zero Product

### Uses

### Dot Product **vs.** Cross Product

The dot product is the product of two vector quantities that result in a scalar quantity. On the other side, the cross product is the product of two vectors that result in a vector quantity. The dot product is also identified as a scalar product. On the flip side, the cross product is also known as the vector product.

If there are two vectors named “a” and “b,” then their dot product is represented as “a . b,” which is obtained by multiplying the magnitude with the cosine of the angles. So, it can be defined as A . B = AB Cos θ. On the other hand, a cross product is denoted as “a × b.” which can be obtained by multiplying the magnitude with the sine of the angles, which is then multiplied by a unit vector, i.e., “n.” So, cross product can be defined as A × B = AB Sinθ n.

A dot product follows commutative law (According to this law, the sum and product of two factors do not change by changing their order) as A . B =B . A. Conversely, the cross product does not follow the commutative law, i.e., A × B ≠B × A.

The dot product is used to find out the distance of a point to a plane and to calculate the projection of a point etc. On the other side, a cross product is used to calculate the specular light and to calculate the distance of a point, etc.

### What is Dot Product**?**

The dot product is the product of two vectors that give a scalar quantity. It is also recognized as a scalar product. If there are two vectors named “a” and “b,” then their dot product is represented as “a . b.” So, the name “dot product” is given due to its centered dot ‘.’ which is used to designate this operation. On the other side, it is also known as the scalar product because this product results in a scalar quantity.

A dot product is an algebraic operation in which two vectors, i.e., quantities with both magnitude and direction, combine to give a scalar quantity that has only magnitude but not direction. This product can be found by multiplication of the magnitude of mass with the cosine or cotangent of the angles. So, it is written as: A . B = AB Cos θ

The two vector’s scalar product will be zero if they are vertical to each other, i.e., A . B**=** 0. Moreover, a dot product also follows the commutative law. According to this law, the sum and product of two factors do not change by changing their order, i.e. A . B = B . A

#### Uses

- Generally, it is used when a vector needs to be projected onto another vector.
- It can also be used to get the angle between two vectors or the length of a vector.
- A dot product is used to find the projection of a point.
- It is also used in engineering calculations so frequently.

### What is Cross Product**?**

Cross product is the product of two vectors that give a vector quantity. It is also recognized as a vector quantity. If there are two vectors named “a” and “b,” then their cross product is represented as “a × b.” So, the name cross product is given to it due to the central cross, i.e., “×,” which is used to designate this operation. On the other side, it is also known as a vector product because this product results in a vector quantity.

A cross product is an algebraic operation in which two vectors, i.e., quantities with both magnitude and direction combine and give a vector quantity in result too. This product can be found by multiplication of the magnitude of mass with the angle’s sine, which is then multiplied by a unit vector, i.e., “n.” So, it is written as

A × B**=** AB Sinθ n

The vector product of two vectors will be zero if they are parallel to each other, i.e., A×B**=** 0. Moreover, the cross product does not follow the commutative law, i.e., A×B ≠B×A.

#### Uses

- It is used to find a vector that is verticle to the level spanned by two vectors.
- A cross product is also used to find the area of a parallelogram that is formed by two vectors such that each vector provides a pair of parallel sides.
- It is also used in engineering calculations so frequently.
- It is also used to calculate the specular light and to calculate the distance of a point etc.