Given a system

, a unique solution

exists

is invertible. This solution can be found using the following rule:
where

is the matrix

with the

th column replaced by the constant vector

.
Excercise 5-2. Solve the following system using Cramer's rule:
The system can be written in the following matrix form:
Thus, the required determinants are given by the following:
The solutions are given by the following: