Q:

# What is the difference between dot product and cross product?

A:

The dot product is a scalar that is equal to the length of the projection of one vector X onto a unit vector pointing in the same direction as another vector Y, provided that X and Y start in the same location. The cross product is a vector that is perpendicular to two other vectors X and Y.

Know More

The dot product is calculated by multiplying together the first element, the second element and so on of X and Y; these products are summed to yield the dot product. The dot product is also found by multiplying together the length of X, the length of Y and the cosine of the angle between X and Y. Calculating the cross product requires finding the determinant of a matrix in which the first row contains unit vectors, the second row contains the vector X and the third row contains the vector Y. Although the dot product is commutative (X dot Y is the same quantity as Y dot X), the cross product is not. X cross Y is the determinant of the matrix described above, while Y cross X is the determinant of the matrix where the first row contains unit vectors, Y is the second row and X is the third row.

## Related Questions

• A:

The square root function in MATLAB is sqrt(a), where a is a numerical scalar, vector or array. The square root function returns the positive square root b of each element of the argument a, such that b x b = a.

Filed Under:
• A:

In math, the sine of an angle is defined as the length of the side of a right triangle opposite the acute angle divided by the length of the hypotenuse. The lengths of these sides can be determined through the Pythagorean Theorem.

Filed Under:
• A:

There are many applications in which calculus is used in real life, such as calculating minimum payments due on credit cards, determining the length of cable required to connect two substations and evaluating survey data. Just as geometry is the mathematical study of shapes, calculus is the mathematical study of change.