I am currently studying linear algebra from Gilbert R Strang's book. I have a few questions regarding computing area using matrices.
In the book, for a triangle with coordinates: $(x_1, y_1)$, $(x_2, y_2)$, $(x_3, y_3)$
The area is given as 1/2*det($$ \begin{matrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \\ \end{matrix} $$)
1. Is the intuition behind adding the column of 1's just to make it into a square matrix?
Moving onto calculating volume of a rectangle with sides of length (r,s,t). The coordinate matrix will be: $$ \begin{matrix} 0 & 0 & 0 \\ r & 0 & 0 \\ 0 & s & 0 \\ 0 & 0 & t \\ r & s & 0 \\ 0 & s & t \\ r & 0 & t \\ r & s & t \\ \end{matrix} $$
2. Going by the logic applied to compute area of triangle, will I need to add 5 columns of 1's in order to get the volume.
Because in the book, the author mentions that computing the determinant of the diagonal matrix A with diagonal entries r,s,t would give the volume as rst (which is true by the Lbh formula)
3. But, what I fail to understand is how does a computing the determinant of a subset of three vectors give me the volume?
Also if I use the three vectors (r,s,0) , (r, 0 ,t) and (0, s, t) to do the same, the value of the determinant is -2rst which is the incorrect volume. Do the three vectors chosen need to be perpendicular?
4. Basically I am having trouble wrapping my head around how you need all three coordinates to compute the area but only 3 coordinates (vectors?) to compute the volume despite there being 8 coordinates that bound the rectangle in 3D space.