06.09.2021 Views

College Algebra, 2013a

College Algebra, 2013a

College Algebra, 2013a

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.5 Determinants and Cramer’s Rule 619<br />

Theorem 8.8. Cramer’s Rule: Suppose AX = B is the matrix form of a system of n linear<br />

equations in n unknowns where A is the coefficient matrix, X is the unknowns matrix, and B is<br />

the constant matrix. If det(A) ≠ 0, then the corresponding system is consistent and independent<br />

and the solution for unknowns x 1 , x 2 , ...x n is given by:<br />

x j = det (A j)<br />

det(A) ,<br />

where A j is the matrix A whose jth column has been replaced by the constants in B.<br />

In words, Cramer’s Rule tells us we can solve for each unknown, one at a time, by finding the ratio<br />

of the determinant of A j to that of the determinant of the coefficient matrix. The matrix A j is<br />

found by replacing the column in the coefficient matrix which holds the coefficients of x j with the<br />

constants of the system. The following example fleshes out this method.<br />

Example 8.5.1. Use Cramer’s Rule to solve for the indicated unknowns.<br />

{ 2x1 − 3x<br />

1. Solve<br />

2 = 4<br />

5x 1 + x 2 = −2 for x 1 and x 2<br />

⎧<br />

⎨ 2x − 3y + z = −1<br />

2. Solve x − y + z = 1 for z.<br />

⎩<br />

3x − 4z = 0<br />

Solution.<br />

1. Writing this system in matrix form, we find<br />

A =<br />

[ 2 −3<br />

5 1<br />

]<br />

X =<br />

[<br />

x1<br />

x 2<br />

]<br />

[<br />

B =<br />

4<br />

−2<br />

]<br />

To find the matrix A 1 , we remove the column of the coefficient matrix A which holds the<br />

coefficients of x 1 and replace it with the corresponding entries in B. Likewise, we replace the<br />

column of A which corresponds to the coefficients of x 2 with the constants to form the matrix<br />

A 2 . This yields<br />

[<br />

A 1 =<br />

4 −3<br />

−2 1<br />

]<br />

A 2 =<br />

[ 2 4<br />

5 −2<br />

]<br />

Computing determinants, we get det(A) = 17, det (A 1 )=−2 and det (A 2 )=−24, so that<br />

x 1 = det (A 1)<br />

det(A) = − 2<br />

17<br />

x 2 = det (A 2)<br />

det(A) = −24 17<br />

The reader can check that the solution to the system is ( − 2<br />

17 , − 24<br />

17)<br />

.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!