Calculates the cross product of two vectors in space. It is perpendicular to both, and its magnitude is the area of the parallelogram they span. Half of that is the area of the triangle.
Two vectors in space give a third one perpendicular to both. That is the cross product.
Each component multiplies the other two components crosswise and subtracts. The magnitude of the cross product is the area of the parallelogram the two vectors span, and half of that is the area of the triangle.
The dot product returns a number; the cross product returns a vector. The dot product measures how far two vectors point the same way, the cross product how far they point differently. Parallel vectors have a cross product of zero and span no area at all.
For and , the component is , the component is and the component is . The magnitude is , about 7.348, and the triangle is half that, about 3.674.
Order matters: is with every sign flipped. The dot product does not behave this way.
For vectors in a plane, set to 0. Only the component of the cross product survives, and its value is the area of the parallelogram.