The problem
I have 4 points
$ P \; (-1,2,0) \\ Q \; (2,1,3) \\ R \; (1,0,1) \\ S \; (3,-2,3) $
and I want to find the volume of a pyramid. What I'm most concerned here is the appropriate strategy to go about this.
What I've tried
- Since the volume is calculated by $\mbox{base} \cdot \mbox{height} \times \frac{1}{3}$ I first find the base
- The base in this case $\frac{1}{2}\lVert PQ\times QR \rVert$
- Next the height vector will co collinear with the normal vector, so I find that from the cross product ${\bf n} = PQ\times QR$
By this point, I've decided that $S$ is the top of the pyramid, and $PQR$ is the base. What I struggle with is finding the distance between the top and base, I.e. the height.
In my mind, that has to be a scaled version of the $\bf n$, but how do I find the scale? Or is my approach broken?
Hint: The volume of a Parallelepiped is given by the determinant of three of its spanning vectors. (That is $Q-P$, $R-P$ and $S-P$, for instance)