Linear Algebra/Topic: Cramer's Rule

From testwiki
Revision as of 20:32, 31 May 2010 by imported>Thenub314 (adding noincludes for print version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Navigation

We have introduced determinant functions algebraically by looking for a formula to decide whether a matrix is nonsingular. After that introduction we saw a geometric interpretation, that the determinant function gives the size of the box with sides formed by the columns of the matrix. This Topic makes a connection between the two views.

First, a linear system

x1+2x2=63x1+x2=8

is equivalent to a linear relationship among vectors.

x1(13)+x2(21)=(68)

The picture below shows a parallelogram with sides formed from (13) and (21) nested inside a parallelogram with sides formed from x1(13) and x2(21).

So even without determinants we can state the algebraic issue that opened this book, finding the solution of a linear system, in geometric terms: by what factors x1 and x2 must we dilate the vectors to expand the small parallegram to fill the larger one?

However, by employing the geometric significance of determinants we can get something that is not just a restatement, but also gives us a new insight and sometimes allows us to compute answers quickly. Compare the sizes of these shaded boxes.

                                 

The second is formed from x1(13) and (21), and one of the properties of the size function— the determinant— is that its size is therefore x1 times the size of the first box. Since the third box is formed from x1(13)+x2(21)=(68) and (21), and the determinant is unchanged by adding x2 times the second column to the first column, the size of the third box equals that of the second. We have this.

|6281|=|x112x131|=x1|1231|

Solving gives the value of one of the variables.

x1=|6281||1231|=105=2

Template:AnchorThe theorem that generalizes this example, Cramer's Rule, is: if |A|0 then the system Ax=b has the unique solution xi=|Bi|/|A| where the matrix Bi is formed from A by replacing column i with the vector b. Problem 3 asks for a proof.

For instance, to solve this system for x2

(104211101)(x1x2x3)=(211)

we do this computation.

x2=|124211111||104211101|=183

Cramer's Rule allows us to solve many two equations/two unknowns systems by eye. It is also sometimes used for three equations/three unknowns systems. But computing large determinants takes a long time, so solving large systems by Cramer's Rule is not practical.

Exercises

Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox

/Solutions/

Template:Navigation

Template:BookCat