Cramer's Rule uses determinants to solve systems and was named after the wacky guy on Seinfeld.  (OK, I made that last part up.)

Let's just do one and I'll show you how it works:

    3x - y = 7

-5x + 4y = -2

First, we'll get the determinant of the coefficient matrix -- we'll call it D:

D = | top row: 3 , -1  bottom row: -5 , 4 | = ( 3 ) ( 4 ) - ( -5 ) ( -1 ) = 7

Now, we're going to find two more determinants.

The first one we'll call Dx -- here's how it goes:

Take D...

| top row: 3 , -1  bottom row: -5 , 4 |

and delete the column for the x guys...

| top row: _ , -1  bottom row: _ , 4 | ... column 1 are the x guys and column 2 are the y guys

Replace that column with the " = guys " (the 7 and the -2) and you get

Dx = | top row: 7 , -1  bottom row: -2 , 4 | = ( 7 ) ( 4 ) - ( -2 ) ( -1 ) = 26

 

To get the x part of our (x, y) solution, we take

x = ( Dx / D ) = ( 26 / 7 )