Given four three-dimensional points $a=(a_x,a_y,a_z),b=(b_x,b_y,b_z),c=(c_x,c_y,c_z),d=(d_x,d_y,d_z)$, the determinat is defined as:
\begin{equation}\begin{bmatrix}a,b,c,d\end{bmatrix} := \begin{vmatrix}a_x&a_y&a_z&1\\b_x&b_y&b_z&1\\c_x&c_y&c_z&1\\d_x&d_y&d_z&1\end{vmatrix} \end{equation}
\begin{equation} = \begin{vmatrix}a_x-d_x&a_y-d_y&a_z-d_z\\b_x-d_x&b_y-d_y&b_z-d_z\\c_x-d_x&c_y-d_y&c_z-d_z\end{vmatrix} \end{equation}
The sign of the determinant tells whether the point d is above, on, or below a plane through a, b, and c.
The above is from a paper I'm trying to understand. I'm not familiar with the theorem used, and my searches have come up empty. Why does this determinant give the position of d relative to the abc plane? Why not the position of c relative to the abd plane?
Also I see that the first determinant is equal to the second one, but how do you get from the first to the second? Am I missing another theorem, or has the author simply (cleverly) spotted this correlation?