Can anyone describe to me the difference between dot product and cross product?

In summary, the dot product gives you a scalar from two vectors, while the cross product gives you a vector that is perpendicular to both of the input vectors. Additionally, the cross product is defined only for 3-D vectors, while the dot product is much more general and can be used to calculate different types of inner products.
  • #1
myusernameis
56
0
I guess one of them is scalor and one of them is vector, but what is the REAL DIFFERENCE between them?


gracias
 
Physics news on Phys.org
  • #2
Well, like you said, the dot product gives you a scalar and the cross product gives you a vector.

Also, cos[tex]\theta[/tex]=[tex]\frac{x \cdot y}{||x||||y||}[/tex] whereas
a x b = (||a||)(||b||)sin[tex]\theta[/tex](n), where n is the unit vector perpendicular to the plane containing a and b.

The dot product essentially gets you a scalar from two vectors, which is directly related to the formula for the dot product. If you want to learn more, read a linear algebra text. A cross product gets you a vector that is perpendicular to both a and b (provided that a and b are not colinear, in which case the result will be the zero vector).
 
  • #3
thanks!
 
  • #4
myusernameis said:
I guess one of them is scalor and one of them is vector, but what is the REAL DIFFERENCE between them?
gracias
There are a lot of differences between them. The cross product can be thought of as a map from R^3 x R^3 to R^3. In other words it takes as input two 3-D vectors, does something to them that produces a third vector in R^3 that happens to be orthogonal to both of the input vectors. The cross product is defined only for 3-D vectors.

The dot product is much more general, and is one example of an operation called an inner product. A vector space with the additional structure of an inner product is called an inner product space. The dot product you're probably familiar makes R^2 and R^3 (and R^n) inner product spaces. Besides vector spaces, function spaces can have inner products defined for them, and they can be defined in a variety of ways: as a sum or an integral or as a product of matrix multiplication. In all cases the inner product results in a number, so can be thought of as a mapping from V x V to a field such as R.

If you search Wikipedia using "inner product" or "dot product" or "inner product" you'll find a lot more information.
Mark
 

FAQ: Can anyone describe to me the difference between dot product and cross product?

What is the definition of dot product and cross product?

The dot product is a mathematical operation that takes two vectors and produces a scalar value. It measures the projection of one vector onto another. The cross product, on the other hand, is a mathematical operation that takes two vectors and produces a vector that is perpendicular to both of the original vectors.

What is the geometric interpretation of dot product and cross product?

The dot product can be interpreted as the product of the magnitudes of the two vectors and the cosine of the angle between them. This means that the dot product is positive when the vectors are in the same direction, negative when they are in opposite directions, and zero when they are perpendicular. The cross product can be interpreted as the area of the parallelogram formed by the two vectors. This means that the cross product is zero when the vectors are parallel or antiparallel, and its magnitude is maximum when the vectors are perpendicular.

What are the applications of dot product and cross product?

The dot product is commonly used in physics and engineering for calculating work, power, and angles between vectors. It is also used in computer graphics for lighting and shading calculations. The cross product is used in physics and engineering for calculating torque and angular momentum. It is also used in computer graphics for calculating surface normals and determining the orientation of objects.

How are dot product and cross product calculated?

The dot product is calculated by multiplying the corresponding components of the two vectors and then adding them together. Alternatively, it can be calculated using the formula A · B = |A||B|cosθ, where A and B are the two vectors and θ is the angle between them. The cross product is calculated by taking the determinant of a 3x3 matrix formed by the two vectors and the unit vectors in the x, y, and z directions. Alternatively, it can be calculated using the formula A x B = |A||B|sinθn, where A and B are the two vectors, θ is the angle between them, and n is a unit vector perpendicular to both A and B.

Can the dot product and cross product be used with vectors in any dimension?

Yes, the dot product and cross product can be used with vectors in any dimension, but the resulting scalar or vector will be in the same dimension as the original vectors. For example, the dot product of two 3-dimensional vectors will be a scalar, and the cross product will be a 3-dimensional vector. The formulas for calculating the dot product and cross product also change accordingly with the number of dimensions.

Back
Top