The area of a parallelogram with adjacent sides `vec u` and `vec v` is

`A_"llgram" = |vec u xx vec v|`.

A triangle is really just half of a parallelogram, so the area of a triangle with sides `vec u` and `vec v` (the third side doesn’t matter) is

`A_"tri" = 1/2|vec u xx vec v|`.

The volume of a parallelepiped (a solid body of which each face is a parallelogram) with edges `vec u`, `vec v`, and `vec w` sharing a vertex is

`V_"llpiped" = |vec u xx vec v * vec w|`.

The order of the three vectors does not matter. Like always, the cross product must be evaluated before the dot product. The absolute value bars here actually mean absolute value, not magnitude, since the dot product produces a scalar. This value is sometimes negative, but volume must be nonnegative. Notice the similarity to the coplanarity test: if three vectors form a parallelepiped of zero volume, they are coplanar.

The form `vec u xx vec v * vec w` is called the scalar triple product. It turns up in quite a few seemingly unrelated places in this unit.