What is the difference between dot product and cross product?
The difference between dot product and cross product:
Cross Product | Dot Product |
---|---|
The cross product is the product of the magnitude of the vector and the sine of the angle in which they subtend each other. | The dot product is the product of the magnitude of the vectors and the cos of the angle between them |
The output is a vector. | The output is a scalar. |
The cross product of two vectors and is:
where are the magnitudes of the vectors and is the angle between the vectors and is a unit vector perpendicular to both vectors | The dot product of two vectors and is:
where are the magnitudes of the vectors and is the angle between the vectors
|
Hence,the difference is clearly explained.