Volume of Parallelepiped by Vectors

Another application of cross product of vectors occurs in geometry, or rather application of both the dot and the cross product, wherein it helps with finding the volume of a solid called parallelepiped.

A parallelepiped is a six faced three dimensional shape. All six faces are parallelograms(hence the name). The opposite faces are parallel and congruent(same shape and area). 




Firstly, by looking at the figure I hope that we all agree that the volume of parallelepiped is the area of the base times the height, where any face of the solid can be chosen as its base. The height is the length of the perpendicular from the chosen base to the opposite face.


Volume of parallelepiped = Area of PQRS \(\times h\)


Take any vertex and define three vectors, \(\vec{a}, \vec{b}\) and \(\vec{c}\), from that vertex along the three edges, as shown. Their magnitude equals the length of the corresponding edge.


Now, the base of the solid is a parallelogram. In my previous post, we saw that the area of a parallelogram is \(|\vec{m} \times \vec{n}|\) where \(\vec{m}\) and \(\vec{n}\) are vectors along the two adjacent sides of the parallelogram, originating from a common vertex, and having magnitudes equal to the lengths of the sides.


\(\implies\) area of PQRS = \(|\vec{a} \times \vec{b}|\)


By definition, \(\vec{a} \times \vec{b}\) is a vector perpendicular to both \(\vec{a}\) and \(\vec{b}\). Since \(\vec{a}\) and \(\vec{b}\), both are parallel to the base PQRS, \(\vec{a} \times \vec{b}\) is perpendicular to the base PQRS as well. 


Define \(\vec{e}\) along height h, whose magnitude is equal to h. Notice since height h is normal to the base, \(\vec{e}\) is also normal to the base, and therefore parallel to \(\vec{a} \times \vec{b}\). 




Let \(\theta\) be the angle between \(\vec{e}\) and \(\vec{c}\) as shown. 


Notice in the figure that the tip of the arrowheads of \(\vec{e}\) and \(\vec{c}\) are both at the same height above the base. If we define a vector from one tip to the other, this new vector will be parallel to the base, and hence perpendicular to \(\vec{e}\) forming a right angled triangle as shown.


\(\implies |\vec{e}| = |\vec{c}| \cos{\theta}\)


Therefore, the volume of the parallelepiped is :


Volume of parallelepiped = Area of PQRS \(\times h\)

                         = \(|\vec{a} \times \vec{b}| \times |\vec{c}| \cos{\theta}\) ….(1)


\(\theta\) is the angle between \(\vec{c}\) and \(\vec{e}\). But it is also the angle between \(\vec{c}\) and \(\vec{a} \times \vec{b}\) because \(\vec{e}\) and \(\vec{a} \times \vec{b}\) are parallel. (Is it always?)


So (1) reads as the product of the magnitudes of vectors… times the cosine of the angle between the vectors (formed at the point of common tails). But this is exactly the dot product \(\vec{c} \cdot (\vec{a} \times \vec{b})\). 


\(\implies\) Volume of parallelepiped = \(\vec{c} \cdot (\vec{a} \times \vec{b})\)


An application of both the dot product and cross product of vectors!


However, this is still not quite finished yet. It is important to realize that (1) can only be written as the dot product when \(\theta\) is the angle formed at the point of common tail (when the vectors are put tail-to-tail). Let’s say that \(\vec{a} \times \vec{b}\) normal to the base was directed the other way instead.



As you can see, the angle \(\vec{a} \times \vec{b}\) makes with \(\vec{c}\) tail-to-tail is not \(\theta\) but \(180 - \theta\). 


So (1) cannot now equal \(\vec{c} \cdot (\vec{a} \times \vec{b})\). However, it is (- \(\vec{c} \cdot (\vec{a} \times \vec{b}))\).


This is because the dot product of any two vectors with \(\theta\) as an angle between them at the point of common tail, is just the negative of the dot product of the same vectors with \(180 - \theta\) as an angle at the point of common tail


This fact can be easily checked.


From the definition of dot product,

\(\vec{c} \cdot (\vec{a} \times \vec{b}) = |\vec{a} \times \vec{b}| \times |\vec{c}| \cos{(180 - \theta)}\)

         

                    \(=  - |\vec{a} \times \vec{b}| \times |\vec{c}| \cos{\theta}\)….\((\cos{(180 -  \theta)} = -\cos{\theta})\)

                    \(=  - \vec{c} \cdot (\vec{a} \times \vec{b})\)


So this means that \(\vec{a} \times \vec{b}\) could point to either of the two directions, but the resulting value of the volume will only differ in sign. Obviously, volume cannot be negative. We could use this reasoning and simply discard the negative sign. Or, we can insert a modulus(absolute value sign) around the formula :


Volume of parallelepiped =  \(|\vec{c} \cdot (\vec{a} \times \vec{b})|\)


This now always outputs a positive value regardless of the direction of \(\vec{a} \times \vec{b}\). 


Comments