Main Page | See live article | Alphabetical index

Cramer's rule

Cramer's rule is a theorem in linear algebra, which gives the solution of a system of linear equations in terms of determinants.

Computationally, it is generally inefficient and thus not used in practical applications which may involve many equations. However, it is of theoretical importance in that it gives an explicit expression for the solution of the system.

It is named after Gabriel Cramer (1704 - 1752).

The system of equations is represented in matrix multiplication form as:

where the square matrix is invertible and the vector is the column vector of the variables: .

The theorem then states that:

where is the matrix formed by replacing the ith column of by the column vector .


A good way to use Cramer's Rule on a 2x2 matrix is to use this formula: