Cramer’s Rule
Cramer’s Rule is a mathematical theorem used to solve linear systems of equations with as many equations as unknowns, provided that the system has a unique solution. It expresses the solution in terms of the determinants of matrices.
Statement
Consider a system of linear equations with unknowns, which can be represented using the matrix equation.
where:
- is an coefficient matrix.
- is the column vector of unknowns.
- is the column vector of constants.
If the determinant of the coefficient matrix is non-zero (), then the system has a unique solution given by:
where is the matrix formed by replacing the -th column of with the vector .
Example
Consider the following system of linear equations:
We can represent this system in matrix form:
Calculating the determinant of :
Now, we compute the matrices and :
Calculating their determinants:
Finally, we can find the solutions for and using Cramer’s Rule: