How to Use Cramer's Rule

Question1
What is Cramer’s rule used for?

  1. 1
    It’s used for solving one of the variables in multiple equations.If you have a set of multiple linear equations (usually it’s a set of 3), you can use Cramer’s rule to solve for a variable without solving every single equation. Think of it as a shortcut to get the one system you need instead of spending time solving each equation.[1]

Question2
How is Cramer’s rule calculated?

  1. 1
    Cramer’s rule is defined as .This means that you can find the variables x, y, and z using Cramer’s rule. In every case,  stands for “determinant,” and you can find it by using the x, y, and z values in your equation.[2]

Question3
How do you find the determinants using Cramer’s rule?

  1. 1
    Find the determinants by categorizing the x, y, and z values.The determinants are the coefficients in your equations, or the numbers multiplied by the variable. For example, let’s use the equations: . To use Cramer’s rule, set up your determinants, or numbers, in a 3 x 3 matrix, or a small box. In the equations above, the box would look like this: . The numbers are all of the values from each of the 3 equations.[3]
  2. 2
    Replace the x-column values with the answer column values.Now it’s time to determine what  is. To do that, take your  box and replace the x column (the one furthest on the left) with the answers from your original 3 equations. So, . This is your coefficient determinant, or the numbers you’ll use to solve for the x variable.[4]
    • Repeat this for y and z to find Dy and Dz. For instance, in the equations above,  and .

Question4
How do you solve 3 equations using Cramer’s rule?

  1. 1
    Expand the determinants by rewriting the first 2 columns.In order to use Cramer’s rule, you need to turn your 3 x 3 determinants into a 5 x 3 grid. For example, if you’re working with , add  and  on the end to create .[5]
  2. 2
    Multiply along the downward and upward diagonals.In order to use Cramer’s rule, you have to simplify your 5 x 3 grid using multiplication. Take a look at your expanded box of determinants. Go through and multiply along the downward diagonals, and write the numbers below the box to keep track of them. Then, go through and multiply along the upward diagonals, writing your answers above the box.[6]
    • For instance, in the box above, the downward diagonals are: .
    • The upward diagonals are: .
  3. 3
    Add the downward diagonals and subtract the upward diagonals.Cramer’s rule states that we can use our multiplied numbers to find the variable that we need. In our example above, the equation would look like: . Therefore, .[7]
  4. 4
    Plug the numbers into the Cramer’s rule equation.Go through and do the steps above for  and . Then, plug your answers into the equation  to solve all three.[8]
    • Working with our example above, we can expand the Dx, Dy, and Dz variables in the same way. Once you multiply across the upward and downward diagonals, you’ll get: .
    • Plugging the answers into Cramer’s rule, our equation looks like this: .
    • Solve the equation to get: .

Question5
What should you do if D = 0?

  1. 1
    If D = 0, you can’t use Cramer’s rule.Unfortunately, D = 0 means that the equations don’t have a unique solution (the solution is infinite). Try using matrix row operations instead to solve your equations.[9]
    • If you’re just starting to learn Cramer’s rule, you won’t have to deal with D = 0 anytime soon.