Dot versus cross product between two vectors
The main difference between dot- and cross product is that the dot product returns a scalar whereas the cross product returns a vector.
For the dot product (or inner product) you multiply the magnitudes of a and b with the cosine of their shared angle, which amount to a projection of b onto a. So you ask "How much of b goes into the same direction as a?", which you then multiply with the magnitude of a. This is commutative, so you can switch it around without the end results different (it's a scalar after all).
The cross product returns a vector instead, so it has a direction. This is because you now multiply the magnitude of a and b with the sine over theta, which measures what part of b goes into a completely different direction than a. Because the result is perpendicular to both a and b, you end up with another vector. The direction w.r.t the xy-plane of vectors a and b depends on the order of the product, because the cross product is anti-commutative, i.e. commutative with the inverse vector.
Great source: https://ximera.osu.edu/mooculus/calculus2/crossProducts/digInCrossProducts
Right-hand rule for direction of cross product:
- For vectors a x b let the index of your right hand point in direction of a, and middle finger in direction of b
- Your thumb points to the direction of the resulting vector
Anticommutative:
If you switch the arguments of the cross product around results in the inverse of the former result.
So for cross product: A x B = -B x A