β—€ Back to Note

Tony's Intertwingled Memex β€’ Reference Manual

Triple Scalar Product and Spatial Volume

Formulas & Definitions
Core Definition

Given three 3D vectors uβƒ—=⟨u1,u2,u3⟩\vec{u} = \langle u_1, u_2, u_3 \rangleu=⟨u1​,u2​,u3β€‹βŸ©, vβƒ—=⟨v1,v2,v3⟩\vec{v} = \langle v_1, v_2, v_3 \ranglev=⟨v1​,v2​,v3β€‹βŸ©, and wβƒ—=⟨w1,w2,w3⟩\vec{w} = \langle w_1, w_2, w_3 \ranglew=⟨w1​,w2​,w3β€‹βŸ©, the Triple Scalar Product (or box product) is defined as:

uβƒ—β‹…(vβƒ—Γ—wβƒ—)=∣u1u2u3v1v2v3w1w2w3∣\vec{u} \cdot (\vec{v} \times \vec{w}) = \begin{vmatrix} u_1 & u_2 & u_3 \\ v_1 & v_2 & v_3 \\ w_1 & w_2 & w_3 \end{vmatrix}uβ‹…(vΓ—w)=​u1​v1​w1​​u2​v2​w2​​u3​v3​w3​​​
The absolute value ∣uβƒ—β‹…(vβƒ—Γ—wβƒ—)∣|\vec{u} \cdot (\vec{v} \times \vec{w})|∣uβ‹…(vΓ—w)∣ represents the exact geometric volume of the parallelepiped spanned by uβƒ—\vec{u}u, vβƒ—\vec{v}v, and wβƒ—\vec{w}w in R3\mathbb{R}^3R3.


Concept Explanation

Geometric Intuition

To understand why the triple scalar product computes volume, consider the geometric definition of a parallelepiped:

Volume=(BaseΒ Area)Γ—(PerpendicularΒ Height)\text{Volume} = (\text{Base Area}) \times (\text{Perpendicular Height})Volume=(BaseΒ Area)Γ—(PerpendicularΒ Height)

  1. Base Area: The cross product v⃗×w⃗\vec{v} \times \vec{w}v×w produces a vector perpendicular to the base with magnitude equal to the base area:
    Areabase=βˆ₯vβƒ—Γ—wβƒ—βˆ₯\text{Area}_{\text{base}} = \|\vec{v} \times \vec{w}\|Areabase​=βˆ₯vΓ—wβˆ₯
  2. Perpendicular Height: The height hhh is the scalar projection of vector u⃗\vec{u}u onto the normal direction vector n⃗=v⃗×w⃗\vec{n} = \vec{v} \times \vec{w}n=v×w:
    h=βˆ₯uβƒ—βˆ₯∣cosβ‘Ο•βˆ£h = \|\vec{u}\| |\cos\phi|h=βˆ₯uβˆ₯∣cosΟ•βˆ£
    where ϕ\phiϕ is the angle between u⃗\vec{u}u and v⃗×w⃗\vec{v} \times \vec{w}v×w.
  3. Volume Synthesis:
    Volume=βˆ₯vβƒ—Γ—wβƒ—βˆ₯(βˆ₯uβƒ—βˆ₯∣cosβ‘Ο•βˆ£)=∣uβƒ—β‹…(vβƒ—Γ—wβƒ—)∣\text{Volume} = \|\vec{v} \times \vec{w}\| (\|\vec{u}\| |\cos\phi|) = |\vec{u} \cdot (\vec{v} \times \vec{w})|Volume=βˆ₯vΓ—wβˆ₯(βˆ₯uβˆ₯∣cosΟ•βˆ£)=∣uβ‹…(vΓ—w)∣
         u  /_________________
           /                 /|
          /                 / |
         /_________________/  |
        |                 |   | h = ||u|| |cos Ο†|
        |                 |  /
        |                 | /  Area = ||v x w||
        |_________________|/
          w              v

Determinant Formula

Evaluating the cross product and then the dot product collapses into the determinant of a 3Γ—33 \times 33Γ—3 matrix:

uβƒ—β‹…(vβƒ—Γ—wβƒ—)=u1(v2w3βˆ’v3w2)βˆ’u2(v1w3βˆ’v3w1)+u3(v1w2βˆ’v2w1)\vec{u} \cdot (\vec{v} \times \vec{w}) = u_1 (v_2 w_3 - v_3 w_2) - u_2 (v_1 w_3 - v_3 w_1) + u_3 (v_1 w_2 - v_2 w_1)uβ‹…(vΓ—w)=u1​(v2​w3β€‹βˆ’v3​w2​)βˆ’u2​(v1​w3β€‹βˆ’v3​w1​)+u3​(v1​w2β€‹βˆ’v2​w1​)

Coplanarity Test

Three vectors u⃗,v⃗,w⃗\vec{u}, \vec{v}, \vec{w}u,v,w in R3\mathbb{R}^3R3 lie in the same geometric plane (coplanar) if and only if the volume of the spanned parallelepiped collapses to zero:

uβƒ—,vβƒ—,wβƒ—Β areΒ coplanarβ€…β€ŠβŸΊβ€…β€Šuβƒ—β‹…(vβƒ—Γ—wβƒ—)=0\vec{u}, \vec{v}, \vec{w} \text{ are coplanar} \iff \vec{u} \cdot (\vec{v} \times \vec{w}) = 0u,v,wΒ areΒ coplanar⟺uβ‹…(vΓ—w)=0

Volume of a Tetrahedron

A tetrahedron formed by four vertices in space spanned by vectors uβƒ—,vβƒ—,wβƒ—\vec{u}, \vec{v}, \vec{w}u,v,w occupying one corner has volume equal to 16\frac{1}{6}61​ of the enclosing parallelepiped:

Vtetrahedron=16∣uβƒ—β‹…(vβƒ—Γ—wβƒ—)∣V_{\text{tetrahedron}} = \frac{1}{6}|\vec{u} \cdot (\vec{v} \times \vec{w})|Vtetrahedron​=61β€‹βˆ£uβ‹…(vΓ—w)∣


Engineering Applications

  • Civil & Structural Engineering: Calculating the volume, mass, and center of gravity of irregular concrete foundations, rock excavation blocks, and 3D truss polyhedra.
  • Aerospace & Mechanical Engineering: Modeling fluid flow flux across slanted 3D control volumes and computing moment of inertia tensors for non-symmetric satellite bodies.
  • Computer Graphics & CAD Modeling: Rapid coplanarity and degeneracy checks in 3D tetrahedral finite element meshes (FEM) and 3D geometric intersection algorithms.

Example Problems

Example 1: Volume of a Parallelepiped

Find the volume of the parallelepiped with adjacent edges uβƒ—=⟨1,4,βˆ’7⟩\vec{u} = \langle 1, 4, -7 \rangleu=⟨1,4,βˆ’7⟩, vβƒ—=⟨2,βˆ’1,4⟩\vec{v} = \langle 2, -1, 4 \ranglev=⟨2,βˆ’1,4⟩, and wβƒ—=⟨0,βˆ’9,18⟩\vec{w} = \langle 0, -9, 18 \ranglew=⟨0,βˆ’9,18⟩.

Solution
  1. Set up the triple scalar product determinant:
    uβƒ—β‹…(vβƒ—Γ—wβƒ—)=∣14βˆ’72βˆ’140βˆ’918∣\vec{u} \cdot (\vec{v} \times \vec{w}) = \begin{vmatrix} 1 & 4 & -7 \\ 2 & -1 & 4 \\ 0 & -9 & 18 \end{vmatrix}uβ‹…(vΓ—w)=​120​4βˆ’1βˆ’9β€‹βˆ’7418​​
  2. Expand along Row 1:
    uβƒ—β‹…(vβƒ—Γ—wβƒ—)=1[(βˆ’1)(18)βˆ’(4)(βˆ’9)]βˆ’4[(2)(18)βˆ’(4)(0)]+(βˆ’7)[(2)(βˆ’9)βˆ’(βˆ’1)(0)]\vec{u} \cdot (\vec{v} \times \vec{w}) = 1[(-1)(18) - (4)(-9)] - 4[(2)(18) - (4)(0)] + (-7)[(2)(-9) - (-1)(0)]uβ‹…(vΓ—w)=1[(βˆ’1)(18)βˆ’(4)(βˆ’9)]βˆ’4[(2)(18)βˆ’(4)(0)]+(βˆ’7)[(2)(βˆ’9)βˆ’(βˆ’1)(0)]
    =1[βˆ’18+36]βˆ’4[36βˆ’0]βˆ’7[βˆ’18βˆ’0]= 1[-18 + 36] - 4[36 - 0] - 7[-18 - 0]=1[βˆ’18+36]βˆ’4[36βˆ’0]βˆ’7[βˆ’18βˆ’0]
    =1(18)βˆ’4(36)βˆ’7(βˆ’18)=18βˆ’144+126=0= 1(18) - 4(36) - 7(-18) = 18 - 144 + 126 = 0=1(18)βˆ’4(36)βˆ’7(βˆ’18)=18βˆ’144+126=0
  3. Geometric Conclusion: Because the triple scalar product is 000, the volume is 0 units30\text{ units}^30 units3, proving that vectors u⃗,v⃗,w⃗\vec{u}, \vec{v}, \vec{w}u,v,w are coplanar.

Example 2: Volume of a Structural Tetrahedron

A foundation footing has tetrahedral vertices at A(0,1,2)A(0, 1, 2)A(0,1,2), B(2,4,5)B(2, 4, 5)B(2,4,5), C(βˆ’1,0,1)C(-1, 0, 1)C(βˆ’1,0,1), and D(3,βˆ’1,4)D(3, -1, 4)D(3,βˆ’1,4). Calculate the exact volume of the footing.

Solution
  1. Find the three edge displacement vectors originating from vertex AAA:
    uβƒ—=ABβƒ—=⟨2βˆ’0,β€…β€Š4βˆ’1,β€…β€Š5βˆ’2⟩=⟨2,3,3⟩\vec{u} = \vec{AB} = \langle 2-0, \; 4-1, \; 5-2 \rangle = \langle 2, 3, 3 \rangleu=AB=⟨2βˆ’0,4βˆ’1,5βˆ’2⟩=⟨2,3,3⟩
    vβƒ—=ACβƒ—=βŸ¨βˆ’1βˆ’0,β€…β€Š0βˆ’1,β€…β€Š1βˆ’2⟩=βŸ¨βˆ’1,βˆ’1,βˆ’1⟩\vec{v} = \vec{AC} = \langle -1-0, \; 0-1, \; 1-2 \rangle = \langle -1, -1, -1 \ranglev=AC=βŸ¨βˆ’1βˆ’0,0βˆ’1,1βˆ’2⟩=βŸ¨βˆ’1,βˆ’1,βˆ’1⟩
    wβƒ—=ADβƒ—=⟨3βˆ’0,β€…β€Šβˆ’1βˆ’1,β€…β€Š4βˆ’2⟩=⟨3,βˆ’2,2⟩\vec{w} = \vec{AD} = \langle 3-0, \; -1-1, \; 4-2 \rangle = \langle 3, -2, 2 \ranglew=AD=⟨3βˆ’0,βˆ’1βˆ’1,4βˆ’2⟩=⟨3,βˆ’2,2⟩
  2. Evaluate the triple scalar product:
    uβƒ—β‹…(vβƒ—Γ—wβƒ—)=∣233βˆ’1βˆ’1βˆ’13βˆ’22∣\vec{u} \cdot (\vec{v} \times \vec{w}) = \begin{vmatrix} 2 & 3 & 3 \\ -1 & -1 & -1 \\ 3 & -2 & 2 \end{vmatrix}uβ‹…(vΓ—w)=​2βˆ’13​3βˆ’1βˆ’2​3βˆ’12​​
    =2[(βˆ’1)(2)βˆ’(βˆ’1)(βˆ’2)]βˆ’3[(βˆ’1)(2)βˆ’(βˆ’1)(3)]+3[(βˆ’1)(βˆ’2)βˆ’(βˆ’1)(3)]= 2[(-1)(2) - (-1)(-2)] - 3[(-1)(2) - (-1)(3)] + 3[(-1)(-2) - (-1)(3)]=2[(βˆ’1)(2)βˆ’(βˆ’1)(βˆ’2)]βˆ’3[(βˆ’1)(2)βˆ’(βˆ’1)(3)]+3[(βˆ’1)(βˆ’2)βˆ’(βˆ’1)(3)]
    =2[βˆ’2βˆ’2]βˆ’3[βˆ’2+3]+3[2+3]=2(βˆ’4)βˆ’3(1)+3(5)=βˆ’8βˆ’3+15=4= 2[-2 - 2] - 3[-2 + 3] + 3[2 + 3] = 2(-4) - 3(1) + 3(5) = -8 - 3 + 15 = 4=2[βˆ’2βˆ’2]βˆ’3[βˆ’2+3]+3[2+3]=2(βˆ’4)βˆ’3(1)+3(5)=βˆ’8βˆ’3+15=4
  3. Compute tetrahedron volume:
    V=16∣uβƒ—β‹…(vβƒ—Γ—wβƒ—)∣=16(4)=23Β units3V = \frac{1}{6}|\vec{u} \cdot (\vec{v} \times \vec{w})| = \frac{1}{6}(4) = \frac{2}{3}\text{ units}^3V=61β€‹βˆ£uβ‹…(vΓ—w)∣=61​(4)=32​ units3

Connections & References

  • Parent Concepts: Dot and Cross Products, Cross Product, Dot Product
  • Related Concepts: Matrix Determinants, Equations of Lines in 3D, Vector Projections
  • Course Sessions: Session 03 - Dot and Cross Product, Session 07 - Midterm Review 1