Quantcast
Processing math: 100%

Cramer's Rule (two equations)

[x,y]=[|c1b1c2b2||a1b1a2b2|,|a1c1a2c2||a1b1a2b2|]
(F1)a1, b1, c1
(F2)a2, b2, c2
Tags

The Cramer's Rule Calculator for Two Equations solves a two formula system of simultaneous linear equations in two variables using Cramer's Rule.  The two equations solved for here are of the form:

  • Formula 1 (F1):   a1 • x + b1 • y = c1
  • Formula 2 (F2):   a2 • x + b2 • y = c2

INSTRUCTIONS: Enter the following:

  • (F1)  Enter  a1,b1, c1 separated by commas.
  • (F2)  Enter  a2,b2, c2 separated by commas.

The calculator returns the values for x and y (e.g. [1,-1] respectively).

The Math

Given a system of simultaneous equations:

                      a1 • x + b1 • y = c1

                       a2 • x + b2 • y = c2

We can represent these two equation in matrix form using a coefficient matrix, as [a1b1a2b2][xy]=[c1c2], where we refer to [a1b1a2b2] as the coefficient matrix.

Using Cramer's rule we compute the determinants of the coefficient matrix:  D=|a1b1a2b2|=a1b2-b1a2

We also form the Dx and Dy determinants as:

Dx=|c1b1c2b2| and

Dy=|a1c1a2c2|

Continuing with Cramer's Rule, we compute the values of and y as:

     x=DxD

     y=DyD

See also

Cramer's Rule (two equations, solved for x)

Cramer's Rule (two equations, solved for y)

Cramer's Rule Calculator