# Given a parallelepiped, how do I find the determinant given vertices?

Here are the given vertices of a given parallelepiped...

$(-1, 0, 0), (0, 4, 0), (-3, -5, 2), (-2, 2, -1)$

I know that first, we should translate all to the origin...

$(0, 0, 0), (1, 4, 0), (-2, -5, 2), (-1, 2, -1)$

Is the matrix to evaluate the determinant by $\begin{bmatrix}1 & 4 & 0\\-2 & -5 & 2\\-1 & 2 & -1\end{bmatrix}$ or is this incorrect?

-

It looks right. – Aleks Vlasev Oct 17 '12 at 5:18
Yes it is. The volume is 15. – copper.hat Oct 17 '12 at 5:25
Great! Thank you – LearningPython Oct 17 '12 at 5:57

## 1 Answer

There are two approaches: either you transform one point to the origin, or you add a $1$ to every vector:

$$\begin{vmatrix} -1 & 0 & -3 & -2\\ 0 & 4 & -5 & 2 \\ 0 & 0 & 2 & -1 \\ 1 & 1 & 1 & 1 \end{vmatrix} = -\begin{vmatrix} 1 & -2 & -1 \\ 4 & -5 & 2 \\ 0 & 2 & -1 \end{vmatrix} = 15$$

So the two solutions differ in their sign. Which doesn't matter if you only care about absolute values, otherwise you should make sure to use one way exclusively. Of course, transforming a matrix doesn't change its determinant, so you might as well write the vectors as rows, the way you do in your question.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 4, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8953378796577454, "perplexity_flag": "head"}