Pages

Monday, June 13, 2011

Solving a 2x2 system of equations using determinants

Solving a system of equations using determinants 2x2 system

a1 x + b1 y = c1
a2 x + b2 y = c2
variables are x & y.

If you solve this system of equations using substitution (or elimination) you will find:
x = (c1 b- b1 c2) / (a1 b2 - b1 a2) ; y = (a1 c2 - c1 a2) / (a1 b2 - b1 a2)

If we define 
∆ =

a1
 b1
a2
 b2
= a1 b2 - b1 a2


x =

c1
b1
c2
b2
= c1 b2 - b1 c2




y =

a1
c1
a2
c2
= a1 c2 - c1 a2

It follows that:
Cramer's Rule 2x2

x = ∆x / ∆ =

c1
b1
c2
b2

/

a1
b1
a2
b2





y = ∆y / ∆ =

a1
c1
a2
c2

/

a1
b1
a2
b2



Thus, the solution of the system can be expressed using determinant ratios. This result is known as Cramer's Rule.

Note:
a1 x + b1 y = c1
a2 x + b2 y = c2

Can find x in system above by eliminating y...
b2 . (a1 x + b1 y = c1)
b1 . (a2 x + b2 y = c2)

(1) ==> a1 b2 x + b1 b2 y = c1 b2
(2) ==> a2 b1 x + b2 b1 y = c2 b1

(1) - (2) : a1 b2 x - b1 a2 x = c1 b2 - b1 c2
\ (a1 b2 - b1 a2) x = c1 b2 - b1 c2
\ x = (c1 b2 - b1 c2) / (a1 b2 - b1 a2)

x = ∆x / ∆ =

c1
b1
c2
b2

/

a1
b1
a2
b2


Similarly you could find y by eliminating x in system of equations.
If this is done, you will find...
y = (a1 c2 - c1 a2) / (a1 b2 - b1 a2)
y = ∆y / ∆ =

a1
c1
a2
c2

/

a1
b1
a2
b2





Example 1 - Use Cramer's Rule to express the solution of a system in Determinant Form
Example 2 - Use Cramer's Rule to express the solution of a system in Determinant Form

No comments:

Post a Comment