The cross product
The ship unfolds a solar panel, a flat sheet spanned by two vectors. Which way does the panel face, and how big is it? In space, the cross product answers both. It only exists for vectors with three coordinates.
Working it out
For [a₁, a₂, a₃] and [b₁, b₂, b₃], the cross product is a vector:
[a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁]
Notice the pattern: each coordinate leaves out its own place and crosses the other two coordinates. For example:
The first coordinate is 0 times minus 1 minus 2 times 1, which is minus 2; the second 2 times 0 minus 1 times minus 1, which is 1; and the third 1 times 1 minus 0 times 0, which is 1. The middle one is the easiest to get wrong: it starts from the third coordinates, not the first.
The order matters: the other way round, the vector 0, 1, minus 1, cross the vector 1, 0, 2 is the vector 2, minus 1, minus 1, the same arrow turned round.
Perpendicular to both
The cross product is perpendicular to both vectors. The dot products show it: the vector minus 2, 1, 1, dot the vector 1, 0, 2 is minus 2 plus 0 plus 2, and the vector minus 2, 1, 1, dot the vector 0, 1, minus 1 is 0 plus 1 minus 1, both 0. So it points straight out of the panel, the way the panel faces.
Areas
Its length is the area of the parallelogram the two vectors span:
A triangle is half a parallelogram. So a triangular panel with corners A, B and C has the area
Here AB × AC is the vector minus 5, minus 5, 10, whose length is the square root of 150, which is 5 the square root of 6. Half of that, 5 the square root of 6 over 2, is about 6.1.
The cross product of two vectors in space is perpendicular to both, and its length is the area of their parallelogram. Half of it is a triangle's area. Mind the middle coordinate.