Vectors, the Dot & Cross Products & Solid Coordinate Geometry

the volume of a parallelepiped

Take a cardboard box and push it sideways so its right angles lean over; it becomes a slanted box, a parallelepiped, with six parallelogram faces. How much space does it still enclose? Surprisingly, the leaning makes no difference to the rule for volume, and three edge vectors meeting at one corner tell you the answer instantly through a single number.

Let three edges from one vertex be the vectors u, v, w. The volume is V = |u . (v x w)|, the absolute value of the scalar triple product. The reasoning is clean: v x w is a vector perpendicular to the base parallelogram, and its magnitude |v x w| equals that base's area. Dotting with u picks out the component of u perpendicular to the base — exactly the height. Since volume = base area times height, and the dot product folds the height-times-area together, |u . (v x w)| is the volume. The absolute value matters because the triple product can come out negative (a left-handed corner), and a volume must be non-negative. Equivalently, the volume is the absolute value of the 3-by-3 determinant whose rows are the components of u, v, w.

This single formula does heavy lifting: it gives the volume of any parallelepiped, and one sixth of it gives the volume of the tetrahedron on the same three edges. When the triple product is zero the box is flat — the three edges are coplanar and enclose no volume — which is also the coplanarity test. A subtle point about the box-shape itself: pushing it over (a shear) changes the shape and the face areas but, remarkably, NOT the volume, as long as the base and height are unchanged. This is Cavalieri's principle showing up in vector form, and it is why the simple base-times-height rule survives the slant.

For edges u = (2, 0, 0), v = (0, 3, 0), w = (1, 1, 4): v x w = (3*4 - 0*1, 0*1 - 0*4, 0*1 - 3*1) = (12, 0, -3), then u . (v x w) = 2*12 + 0 + 0 = 24, so the volume is |24| = 24. The tetrahedron on the same three edges has volume 24/6 = 4.

The absolute scalar triple product of the three edge vectors.

Take the absolute value: the triple product can be negative (signalling a left-handed corner), but a volume is never negative. A zero result means the three edges are coplanar and the 'box' is flat, with no volume at all.

Also called
box volume from three edge vectors盒積體積