Prerequisites
If you are not familiar with matrix you may like to look at the following page first:
Description
A determinant is a scalar number which is calculated from a matrix. This number can determine whether a set of linear equations are solvable, in other words whether the matrix can be inverted.
Calculating Determinant
The formula for the determinant is shown here:
Notation
This scalar number is represented by the matrix with vertical lines on each side: |M|
Alternative Approaches
Like many mathematical concepts there are are different ways to understand determinants:
Solving linear equations
If we have n equations with n unknowns then we can solve these equations, provided that these equations are all independent, if they are not, then one equation is derived from another and therefore does not provided any additional information.
Independence of vectors
Imagine that we have 3 vectors in 3D space, then we normalise these vectors and put them in a 3x3 matrix:
| x1 | x2 | x3 |
| y1 | y2 | y3 |
| z1 | z2 | z3 |
If these vectors are all in the same plane then the determinant of the matrix will be zero:
If these vectors are mutually perpendicular then the determinant of the matrix will be one (or minus one):

so the determinant allows us to determine if the vectors are independent so that they can span the space.
What we are doing here is defining a set of basis vectors in terms of another. In other words defining one coordinate system in terms of another coordinate system. This is the same as representing a transform as described here.
If |M| =1 then the transform represents a rotation (or an even number of reflections) from the original coordinate system.
If |M| = -1 then the transform represents an odd number of reflections from the original coordinate system.
If |M| is positive then the new basis vectors will have the same handedness, for instance, if the absolute coordinate system is right handed then the basis vectors will also form a right hand coordinate system.
If |M| is negative then the new basis vectors will have the opposite handedness, for instance, if the absolute coordinate system is right handed then the basis vectors will form a left hand coordinate system.
Volume enclosed by vectors
|M| is the volume enclosed by the vectors. However the sign is significant , it may be negative, if an odd number of coordinates are inverted the 'volume' will be negative.
This is the same as the tri-vector of a 3D clifford algebra.
Use to calculate inverse matrix
The formula for calculating the inverse of matrix [M] involve multiplication by the scalar factor 1/|M| so if |M| =0 all the components of the inverse will be infinity indicating, in that case, that [M] does not have an inverse.
Determinants
For a 3x3 matrix the determinant is:
|M| = m11 m22 m33 + m12 m23 m31 + m13 m21 m32 - m11 m23 m32 - m12 m 21 m33 - m13 m22 m31
In general, to find a determinant of a n dimensional matrix, select an element from each row or column of the matrix and multiply this by its minor, changing the sign each time.
The minor of an element is the remaining terms when the row and column of the element are removed.

Laplace Expansion
We can either expand along any column (j = 1,2 .. n):
| n | ||
| det(M) = | Σ | Mij Cij |
| i=1 |
or any row (j = 1,2 .. n):
| n | ||
| det(M) = | Σ | Mji Cji |
| i=1 |
where:
- Mij = minor of element ij
- Cji = cofactors of element ij = (-1)i+jMij
Properties of Determinants
All rotation matrices have determinants of 1
For example |R| = cos(a)2 + sin(a)2 = 1







