become expert | help | login
refer a friend - earn nickels!!
 advanced
originally posted here on IIT-JEE / AIEEE community   
like the article? email it to a friend.  email this article!  
   Determinants
posted on 26 Sep 2007 15:11:41 IST    558 views    5 comments
« Back to Articles
Tagged with:   Awaiting Review for Nickels
Introduction to Determinants
 
For any square matrix of order 2, we have found a necessary and sufficient condition for invertibility. Indeed, consider the matrix
 
egin{displaymath}A = left(egin{array}{cc}a&b\c&d\end{array}ight).end{displaymath}

 
 
The matrix A is invertible if and only if $ad - bceq 0$. We called this number the determinant of A. It is clear from this, that we would like to have a similar result for bigger matrices (meaning higher orders). So is there a similar notion of determinant for any square matrix, which determines whether a square matrix is invertible or not?
In order to generalize such notion to higher orders, we will need to study the determinant and see what kind of properties it satisfies. First let us use the following notation for the determinant
 
egin{displaymath}mbox{determinant of $left(egin{array}{cc}a&b\c&d\......begin{array}{cc}a&b\c&d\end{array}ightvert = ad -bc.end{displaymath}

 
 
Properties of the Determinant
1.
Any matrix A and its transpose have the same determinant, meaning
 
egin{displaymath}det A = det A^Tend{displaymath}

 
This is interesting since it implies that whenever we use rows, a similar behavior will result if we use columns. In particular we will see how row elementary operations are helpful in finding the determinant. Therefore, we have similar conclusions for elementary column operations.
2.
The determinant of a triangular matrix is the product of the entries on the diagonal, that is
 
egin{displaymath}leftvertegin{array}{cc}a&b\0&d\end{array}ightv......rtegin{array}{cc}a&0\b&d\end{array}ightvert = ad .end{displaymath}

 
3.
If we interchange two rows, the determinant of the new matrix is the opposite of the old one, that is
 
egin{displaymath}leftvertegin{array}{cc}a&b\c&d\end{array}ightv......leftvertegin{array}{cc}c&d\a&b\end{array}ightvertend{displaymath}

 
4.
If we multiply one row with a constant, the determinant of the new matrix is the determinant of the old one multiplied by the constant, that is
 
egin{displaymath}leftvertegin{array}{cc}lambda a&lambda b\c&d\en......rray}{cc}a&b\lambda c&lambda d\end{array}ightvert.end{displaymath}

 
In particular, if all the entries in one row are zero, then the determinant is zero.
5.
If we add one row to another one multiplied by a constant, the determinant of the new matrix is the same as the old one, that is
 
egin{displaymath}leftvertegin{array}{cc}a + lambda c&b + lambda d\c&......}a&b\c + lambda a&d + lambda b\end{array}ightvert.end{displaymath}

 
Note that whenever you want to replace a row by something (through elementary operations), do not multiply the row itself by a constant. Otherwise, you will easily make errors (due to Property 4).
6.
We have
 
egin{displaymath}det(AB) = det(A) det(B).end{displaymath}

 
In particular, if A is invertible (which happens if and only if $det(A)eq 0$), then
 
egin{displaymath}det(A^{-1}) = rac{1}{det(A)}.end{displaymath}

 
If A and B are similar, then $det(A) = det(B)$.
Let us look at an example, to see how these properties work.
Example. Evaluate
 
egin{displaymath}leftvertegin{array}{cc}2&1\-1&3\end{array}ightvert.end{displaymath}

 
 
Let us transform this matrix into a triangular one through elementary operations. We will keep the first row and add to the second one the first multiplied by $displaystyle rac{1}{2}$. We get
 
egin{displaymath}leftvertegin{array}{cc}2&1\-1&3\end{array}ight......}2&1\0&displaystyle rac{7}{2}\end{array}ightvert.end{displaymath}

 
 
Using the Property 2, we get
 
egin{displaymath}leftvertegin{array}{cc}2&1\0&displaystyle rac{7}{2}\end{array}ightvert = 2 cdot rac{7}{2} = 7.end{displaymath}

 
 
Therefore, we have
 
egin{displaymath}leftvertegin{array}{cc}2&1\-1&3\end{array}ightvert= 7end{displaymath}

 
 
which one may check easily.
Determinants of Matrices of Higher Order
 
As we said before, the idea is to assume that previous properties satisfied by the determinant of matrices of order 2, are still valid in general. In other words, we assume:
1.
Any matrix A and its transpose have the same determinant, meaning
 
egin{displaymath}det A = det A^T.end{displaymath}

 
2.
The determinant of a triangular matrix is the product of the entries on the diagonal.
3.
If we interchange two rows, the determinant of the new matrix is the opposite of the old one.
4.
If we multiply one row with a constant, the determinant of the new matrix is the determinant of the old one multiplied by the constant.
5.
If we add one row to another one multiplied by a constant, the determinant of the new matrix is the same as the old one.
6.
We have
 
egin{displaymath}det(AB) = det(A) det(B).end{displaymath}

 
In particular, if A is invertible (which happens if and only if $det(A)eq 0$), then
 
egin{displaymath}det(A^{-1}) = rac{1}{det(A)}.end{displaymath}

 
So let us see how this works in case of a matrix of order 4.
Example. Evaluate
 
egin{displaymath}leftvertegin{array}{cccc}1&2&3&4\5&6&7&8\2&6&4&8\3&1&1&2\end{array}ightvert.end{displaymath}

 
 
We have
 
egin{displaymath}leftvertegin{array}{cccc}1&2&3&4\5&6&7&8\2&6&4&8\......3&4\5&6&7&8\1&3&2&4\3&1&1&2\end{array}ightvert.end{displaymath}

 
 
If we subtract every row multiplied by the appropriate number from the first row, we get
 
egin{displaymath}leftvertegin{array}{cccc}1&2&3&4\5&6&7&8\1&3&2&4\......-4&-8&-12\0&1&-1&0\0&-5&-8&-10\end{array}ightvert.end{displaymath}

 
 
We do not touch the first row and work with the other rows. We interchange the second with the third to get
 
egin{displaymath}leftvertegin{array}{rrrr}1&2&3&4\0&-4&-8&-12\0&1&-......1&-1&0\0&-4&-8&-12\0&-5&-8&-10\end{array}ightvert.end{displaymath}

 
 
If we subtract every row multiplied by the appropriate number from the second row, we get
 
egin{displaymath}leftvertegin{array}{rrrr}1&2&3&4\0&1&-1&0\0&-4&-8&......1&-1&0\0&0&-12&-12\0&0&-13&-10\end{array}ightvert.end{displaymath}

 
 
Using previous properties, we have
 
egin{displaymath}leftvertegin{array}{rrrr}1&2&3&4\0&1&-1&0\0&0&-12&......0&1&-1&0\0&0&1&1\0&0&-13&-10\end{array}ightvert.end{displaymath}

 
 
If we multiply the third row by 13 and add it to the fourth, we get
 
egin{displaymath}leftvertegin{array}{rrrr}1&2&3&4\0&1&-1&0\0&0&1&1......3&4\0&1&-1&0\0&0&1&1\0&0&0&3\end{array}ightvertend{displaymath}

 
 
which is equal to 3. Putting all the numbers together, we get
 
egin{displaymath}leftvertegin{array}{cccc}1&2&3&4\5&6&7&8\2&6&4&8\......end{array}ightvert = 2 cdot (-1) cdot (-12) cdot 3 = 72.end{displaymath}

 
 
These calculations seem to be rather lengthy. We will see later on that a general formula for the determinant does exist.
Example. Evaluate
 
egin{displaymath}leftvertegin{array}{rrr}1&2&0\-1&1&1\1&2&3\end{array}ightvert.end{displaymath}

 
 
In this example, we will not give the details of the elementary operations. We have
 
egin{displaymath}leftvertegin{array}{rrr}1&2&0\-1&1&1\1&2&3\end......ay}{rrr}1&2&0\0&3&1\0&0&3\end{array}ightvert = 9.end{displaymath}

 
 
Example. Evaluate
 
egin{displaymath}leftvertegin{array}{rrr}1&1&2\0&1&0\2&1&-1\end{array}ightvert.end{displaymath}

 
 
We have
 
egin{displaymath}leftvertegin{array}{rrr}1&1&2\0&1&0\2&1&-1\end......}{rrr}1&1&2\0&1&0\0&0&-5\end{array}ightvert = -5.end{displaymath}

 
 



General Formula for the Determinant Let A be a square matrix of order n. Write A = (aij), where aij is the entry on the row number i and the column number j, for $i=1,cdots,n$ and $j=1,cdots,n$. For any i and j, set Aij (called the cofactors) to be the determinant of the square matrix of order (n-1) obtained from A by removing the row number i and the column number j multiplied by (-1)i+j. We have
 
egin{displaymath}det(A) = sum_{j=1}^{j=n} a_{ij} A_{ij}end{displaymath}

 
 
for any fixed i, and
 
egin{displaymath}det(A) = sum_{i=1}^{i=n} a_{ij} A_{ij}end{displaymath}

 
 
for any fixed j. In other words, we have two type of formulas: along a row (number i) or along a column (number j). Any row or any column will do. The trick is to use a row or a column which has a lot of zeros.
In particular, we have along the rows
 
egin{displaymath}leftvertegin{array}{rrr}a&b&c\d&e&f\g&h&k\end{......eftvertegin{array}{rrr}d&e\g&h\end{array}ightvertend{displaymath}

 
 
or
 
egin{displaymath}leftvertegin{array}{rrr}a&b&c\d&e&f\g&h&k\end{......eftvertegin{array}{rrr}a&b\g&h\end{array}ightvertend{displaymath}

 
 
or
 
egin{displaymath}leftvertegin{array}{rrr}a&b&c\d&e&f\g&h&k\end{......ftvertegin{array}{rrr}a&b\d&e\end{array}ightvert.end{displaymath}

 
 
As an exercise write the formulas along the columns
. Determinant and Inverse of Matrices
Finding the inverse of a matrix is very important in many areas of science. For example, decrypting a coded message uses the inverse of a matrix. Determinant may be used to answer this problem. Indeed, let A be a square matrix. We know that A is invertible if and only if $det(A)eq 0$. Also if A has order n, then the cofactor Ai,j is defined as the determinant of the square matrix of order (n-1) obtained from A by removing the row number i and the column number j multiplied by (-1)i+j. Recall
 
egin{displaymath}det(A) = sum_{j=1}^{j=n} a_{ij} A_{ij}end{displaymath}

 
 
for any fixed i, and
 
egin{displaymath}det(A) = sum_{i=1}^{i=n} a_{ij} A_{ij}end{displaymath}

 
 
for any fixed j. Define the adjoint of A, denoted adj(A), to be the transpose of the matrix whose ijth entry is Aij.
Example. Let
 
egin{displaymath}A = left(egin{array}{rrr}1&3&2\-1&0&2\3&1&-1\end{array}ight).end{displaymath}

 
 
We have
 
egin{displaymath}adj(A) = left(egin{array}{rrr}-2&5&-1\5&-7&8\6&-4&3......{array}{rrr}-2&5&6\5&-7&-4\-1&8&3\end{array}ight).end{displaymath}

 
 
Let us evaluate $A cdot adj(A)$. We have
 
egin{displaymath}A cdot adj(A) = left(egin{array}{rrr}1&3&2\-1&0&2\......n{array}{rrr}11&0&0\0&11&0\0&0&11\end{array}ight).end{displaymath}

 
 
Note that $det(A) = 11$. Therefore, we have
 
egin{displaymath}A cdot adj(A) = det(A) I_3.end{displaymath}

 
 
Is this formula only true for this matrix, or does a similar formula exist for any square matrix? In fact, we do have a similar formula.
Theorem. For any square matrix A of order n, we have
 
egin{displaymath}A cdot adj(A) = det(A) I_n.end{displaymath}

 
 
In particular, if $det(A)eq 0$, then
 
egin{displaymath}A^{-1} = rac{1}{det(A)} adj(A).end{displaymath}

 
 
For a square matrix of order 2, we have
 
egin{displaymath}adj left(egin{array}{rr}a&b\c&d\end{array}ight) ......^T = left(egin{array}{rr}d&-b\-c&a\end{array}ight)end{displaymath}

 
 
which gives
 
egin{displaymath}left(egin{array}{rr}a&b\c&d\end{array}ight)^{-1}......bc} left(egin{array}{rr}d&-b\-c&a\end{array}ight).end{displaymath}


Application of Determinant to Systems: Cramer's Rule
We have seen that determinant may be useful in finding the inverse of a nonsingular matrix. We can use these findings in solving linear systems for which the matrix coefficient is nonsingular (or invertible).
Consider the linear system (in matrix form)
 
A X = B

 
where A is the matrix coefficient, B the nonhomogeneous term, and X the unknown column-matrix. We have:
Theorem. The linear system AX = B has a unique solution if and only if A is invertible. In this case, the solution is given by the so-called Cramer's formulas:
 
egin{displaymath}x_i = rac{det(A_i)}{detA};,;; mbox{for $i=1,cdots,n$}end{displaymath}

 
where xi are the unknowns of the system or the entries of X, and the matrix Ai is obtained from A by replacing the ith column by the column B. In other words, we have
 
egin{displaymath}x_i = rac{b_1 A_{1i} + b_2 A_{2i} + cdots + b_n A_{ni}}{det(A)}end{displaymath}

 
where the bi are the entries of B.
In particular, if the linear system AX = B is homogeneous, meaning $B = {cal O}$, then if A is invertible, the only solution is the trivial one, that is $X = {cal O}$. So if we are looking for a nonzero solution to the system, the matrix coefficient A must be singular or noninvertible. We also know that this will happen if and only if $det (A) = 0$. This is an important result.
Example. Solve the linear system
 
egin{displaymath}left(egin{array}{rrr}1&2&0\-1&1&1\1&2&3\end{arr......ht) = left(egin{array}{r}0\1\0\end{array}ight).end{displaymath}

 
Answer. First note that
 
egin{displaymath}leftvertegin{array}{rrr}1&2&0\-1&1&1\1&2&3\end......ertegin{array}{rrr}-1&1\1&3\end{array}ightvert = 9end{displaymath}

 
which implies that the matrix coefficient is invertible. So we may use the Cramer's formulas. We have
 
egin{displaymath}x = rac{1}{9} leftvertegin{array}{rrr}0&2&0\1&1&1\......array}{rrr}1&2&0\-1&1&1\1&2&0\end{array}ightvert.end{displaymath}

 
We leave the details to the reader to find
 
egin{displaymath}x = rac{-4}{9},; y = rac{3}{9} = rac{1}{3},;mbox{and}; z = 0.end{displaymath}

 
Note that it is easy to see that z=0. Indeed, the determinant which gives z has two identical rows (the first and the last). We do encourage you to check that the values found for x, y, and z are indeed the solution to the given system.
Remark. Remember that Cramer's formulas are only valid for linear systems with an invertible matrix coefficient
 
About the Author:
A K (934)

Olaaa!! Perrrfect answer.  168  [215 rates]

A K's Avatar

total posts: 700    
online Offline
  this article:   30 points  (with Olaaa!! Perrrfect answer.   in 6   votes   )     [?]
 
You have to be logged on to rate
  
sneha kulkarni is offline comment by sneha kulkarni      (posted on 26 Sep 2007 15:34:07 IST)
    gud....
negative marking is offline comment by negative marking      (posted on 26 Sep 2007 15:36:29 IST)
    nice
SINDHURA KADIYALA is offline comment by SINDHURA KADIYALA      (posted on 26 Sep 2007 16:37:15 IST)
    good job
Apoorva . is offline comment by Apoorva .      (posted on 26 Sep 2007 17:41:23 IST)
    gud...really useful
Rakesh OFFLINE is offline comment by Rakesh OFFLINE      (posted on 11 Oct 2007 17:20:14 IST)
    good information keep it up
Sponsored Links