Quantcast
Processing math: 100%

Cramer's Rule (three equations, solved for z)

y=|a1b1d1a2b2d2a3b3d3||a1b1c1a2b2c2a3b3c3|
Coefficient a1
Coefficient a2
Coefficient a3
Coefficient b1
Coefficient b2
Coefficient b3
Coefficient c1
Coefficient c2
Coefficient c3
Solution d1
Solution d2
Solution d3
Tags

This equation solves a system of simultaneous linear equations in three variables for z using Cramer's Rule.

The three equations solved for here are of the form:

     a1x+b1y+c1z=d1

     a2x+b2y+c2z=d2

     a3x+b3y+c3z=d3

Inputs

  • a1 - the coefficient of the x term in the first equation
  • b1 - the coefficient of the y term in the first equation
  • c1 - the coefficient of the z term in the first equation
  • d1 - the solution term in the first equation
  • a2 - the coefficient of the x term in the second equation
  • b2 - the coefficient of the y term in the second equation
  • c2 - the coefficient of the z term in the second equation
  • d2 - the solution term in the second equation
  • a3 - the coefficient of the x term in the third equation
  • b3 - the coefficient of the y term in the third equation
  • c3 - the coefficient of the z term in the third equation
  • d3 - the solution term in the third equation

Derivation

Given a system of simultaneous equations:

    a1x+b1y+c1=d1

    a2x+b2y+c2=d2

    a3x+b3y+c3=d3

We can represent these three equations in matrix form using a coefficient matrix, as [a1b1c1a2b2c2a3b3c3][xyz]=[d1d2d3], where we refer to [a1b1c1a2b2c2a3b3c3] as the coefficient matrix.

Using Cramer's rule we compute the determinant of the coefficient matrix:  D=|a1b1c1a2b2c2a3b3c3|=a1(b2c3-b3c2)+b1(c2a3-a2c3)+c1(a2b3-b2a3)

We then form the Dzdeterminant as:

     Dz=|a1b1d1a2b2d2a3b3d3|

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

     z=DzD

See also

Cramer's Rule (three equations)

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

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

Cramer's Rule Calculator

Determinant of 3-by-3 Matrix