example of Cramer’s rule
Say we want to solve the system
The associated matrix is
whose determinant is . Since the determinant is non-zero, we can use Cramer’s rule. To obtain the value of the -th variable, we replace the -th column of the matrix above by the column vector
the determinant of the obtained matrix is divided by and the resulting value is the wanted solution.
So