If
and if
is a non-singular matrix so that
exists, we can solve (17) or (18) by writing
![]()
and the system has a unique solution.
Alternatively we can express the unknowns
as
![]()
where
, called the determinant of the system, is given by (9) and
is the determinant obtained from
by removing the kth column and replacing it by the column vector
. The rule expressed in (20) is called Cramer’s rule.
The following four cases can arise.
Case 1,
. In this case there will be a unique solution where not all
will be zero.
Case 2,
. In this case the only solution will be
, i.e.
. This is often called the trivial solution.
Case 3,
. In this case there will be infinitely many solutions other than the trivial solution. This means that at least one of the equations can be obtained from the others, i.e. the equations are linearly dependent.
Case 4,
. In this case infinitely many solutions will exist if and only if all of the determinants
in (20) are zero. Otherwise there will be no solution.
Systems of n equations in n unknowns. Cramer’s rule
