<< Chapter < Page Chapter >> Page >
How to invert matrices

Say that we have the following matrix and that we want to find its determinant.

A a 1 1 a 1 2 a 1 n a 2 1 a 2 2 a 2 n a n 1 a n 2 a n n

Calculating the determinant of a matrix is a recursive process. Basically, we start by choosing any one row or column. The determinant will then befound with respect to this row or column. What this means is that we will find a sum of the products of this row or column's values andsub-determinants formed by blocking out the row and column of the particular value.

Why is this choice of row or column left to us instead of always being defined as, say, the first row? The reason is that by choosing this row orcolumn wisely, we can sometimes reduce the amount of work we do. For example, if a certain row or column contains a few zeros, choosing it as therow/column that we take the determinant with respect to would be a smart move. As the values of this chosen row or column will be multiplied bysub-determinants of the matrix in question, a value of 0 in one of these products would mean that we have one less matrix whose determinant we needto calculate.

In the case of the matrix above, we'll compute the determinant with respect to the first column. The final equation for the determinant is:

A a 1 1 -1 1 1 A 11 a 2 1 -1 2 1 A 12 a n 1 -1 n 1 A 1n

Here, A ij means the matrix formed by eliminating the i -th column and the j -th row of A .

Let's just look at the first term in final equation for determinant . It is basically the first element of A 's first column times the determinant of the matrix formed by the elimination of the first row and first column of A . There is also a 1 r c term included. This serves to make the signs of all of the terms in the determinant equation fluctuate back and forth. The next term is the same, except that we have moved on to the second element in the first column of A . As this element holds a position in the second row and first column of A , the sub-determinant in this term is obtained by hiding the second row and first column of A .

In a generic 3 x 3 example, we would find the following solution for the determinant:

a 1 1 a 1 2 a 1 3 a 2 1 a 2 2 a 2 3 a 3 1 a 3 2 a 3 3 a 1 1 a 2 2 a 2 3 a 3 2 a 3 3 a 2 1 a 1 2 a 1 3 a 3 2 a 3 3 a 3 1 a 1 2 a 1 3 a 2 2 a 2 3

To find the determinants of the 2 x 2 sub-determinants, we could again apply the rule of the final equation for determinant , keeping in mind that the determinant of a scalar value is simply that scalar value. However, it iseasier to remember the following solution

a b c d a d b c

To clarify, take the following example of finding the determinant of a numeric 3 x 3 matrix.

A 1 -1 2 3 1 1 -2 -2 0

First we need to choose a row or column to take the determinant with respect to. We notice that the element in the third row and third column is a zero.Knowing that choosing a row or column that contains a zero will reduce our workload, we will choose the third column. Then, by applying final equation for determinant , we get

A 2 -1 4 3 1 -2 -2 1 -1 5 1 -1 -2 -2 0
Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, State space systems. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10143/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'State space systems' conversation and receive update notifications?

Ask