- #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
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.myusernameis said:I guess one of them is scalor and one of them is vector, but what is the REAL DIFFERENCE between them?
gracias
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.
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.
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.
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.
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.