(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=== Determinants  ===
+
[[Category:MA265Fall2011Walther]]
 +
[[Category:bonus point project]]
 +
[[Category:MA265]]
 +
[[Category:linear algebra]]
 +
[[Category:math]]
  
----
+
<center><font size= 4>
 +
'''Determinants'''
 +
</font size>
  
 +
Student project for [[MA265]]
 +
</center>
 
----
 
----
 
+
----
''<u>'''Introduction:'''</u>''  
+
== ''<u>'''1. Introduction:'''</u>'' ==
  
 
----
 
----
Line 11: Line 19:
 
----
 
----
  
''<br>''  
+
<u></u>
 +
 
 +
The determinants are directly associated with a square matrix A when the determinant is A. Determinants arose in the solution of linear systems and are really usefull for the study of linear transformations. Lets ''S = {1,2,...,n}'' be the set of integers from ''1'' to ''n'', arranged in ascending order. A rearrangement j<sub>1</sub>,j<sub>2</sub>,...,j<sub>n</sub> of the elements of''S'' is called a '''permutation''' of ''S''. We can consider a permutation of ''S'' to be a one-to-one mapping of ''S'' onto itself.
 +
 
 +
<br>
  
 
If A is a square matrix then the '''determinant function''' is denoted by '''det '''and '''det(A)'''  
 
If A is a square matrix then the '''determinant function''' is denoted by '''det '''and '''det(A)'''  
Line 31: Line 43:
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<math>det(A)=\left(\begin{array}{cccc}a11&a12\\a21&a22\end{array}\right)</math>&nbsp;  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<math>det(A)=\left(\begin{array}{cccc}a11&a12\\a21&a22\end{array}\right)</math>&nbsp;  
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= ('''a<sub>11</sub> * a<sub>22)</sub> - (a<sub>12</sub> * a'''<sub>'''21'''</sub><sub>'''&nbsp;'''</sub>) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = ('''a<sub>11</sub> * a<sub>22)</sub> - (a<sub>12</sub> * a'''<sub>'''21'''</sub><sub>'''&nbsp;'''</sub>) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
Line 42: Line 54:
  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= '''(a<sub>11</sub> * a<sub>22</sub> * a<sub>33</sub>) + (a<sub>12</sub> * a<sub>23</sub> * a<sub>31</sub>) + (a<sub>13</sub> * a<sub>21</sub> * a<sub>32</sub>) - (a<sub>12</sub> * a<sub>21</sub> * a<sub>33</sub>) - (a<sub>11</sub> * a<sub>23</sub> * a<sub>32</sub>) - (a<sub>13</sub> * a<sub>22</sub> * a<sub>31</sub>)&nbsp;'''  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= '''(a<sub>11</sub> * a<sub>22</sub> * a<sub>33</sub>) + (a<sub>12</sub> * a<sub>23</sub> * a<sub>31</sub>) + (a<sub>13</sub> * a<sub>21</sub> * a<sub>32</sub>) - (a<sub>12</sub> * a<sub>21</sub> * a<sub>33</sub>) - (a<sub>11</sub> * a<sub>23</sub> * a<sub>32</sub>) - (a<sub>13</sub> * a<sub>22</sub> * a<sub>31</sub>)&nbsp;'''  
 +
 +
<br> Example: Solving for a determinant
 +
 +
<br>
 +
 +
<math>det(A)=\left(\begin{array}{cccc}1&2&3\\2&1&3\\3&1&2\end{array}\right)= (1)(1)(2) + (2)(3)(3) + (3)(2)(1) - (1)(3)(1) - (2)(2)(2) - (3)(1)(3) = 6 = det(A)</math>&nbsp;
 +
 +
<br>
  
 
----
 
----
Line 47: Line 67:
 
----
 
----
  
<u>'''''Properties of Determinants:'''''</u>  
+
== <u>'''''2. Properties of Determinants:'''''</u> ==
  
 
----
 
----
Line 55: Line 75:
 
<br>  
 
<br>  
  
<u>Theorem 1</u>: Let A be an n x n matrix then; '''det(A) = det(A<sup>t</sup>)'''  
+
'''''<u>Theorem 1</u>:''''' Let A be an n x n matrix then; '''det(A) = det(A<sup>t</sup>)'''  
 +
 
 +
<br>
 +
 
 +
Example:<br>
 +
 
 +
<br>
 +
 
 +
<math>A^t =\left(\begin{array}{cccc}1&2&3\\2&1&1\\3&3&2\end{array}\right) |A| = (1)(1)(2) + (2)(1)(3) + (3)(2)(3) - (1)(1)(3) - (2)(2)(2) - (3)(1)(3) = 6 =  |A|</math>
  
 
<br> <u></u>  
 
<br> <u></u>  
  
<u>Theorem 2:</u> If a matrix B results from matrix A by interchanging two different rows (columns) of A, then; '''det(B) = - det(A)&nbsp;'''
+
'''''<u>Theorem 2:</u>'' If a matrix B results from matrix A by interchanging two different rows (columns) of A, then; '''det(B) = - det(A)&nbsp;  
  
<br> <u>Theorem 3:</u> If two rows (columns) of A are equal, then; '''det(A) = 0'''
+
<br> Example:  
  
<br> <u>Theorem 4: </u>If a row (column) of A consists entirely of zeros, then; '''det(A) = 0'''
+
<br>  
  
<br> <u>Theorem 5:</u> If B obtained from A by multiplying a row (column) of A by a real number k, then;'''det(B) = ''k''det(A) &nbsp; &nbsp;'''  
+
<math>|A|=\left(\begin{array}{cccc}2&-1\\3&2\end{array}\right)=-\left(\begin{array}{cccc}3&2\\2&-1\end{array}\right)=\left(\begin{array}{cccc}2&3\\-1&2\end{array}\right)=|A^t|=7</math>
 +
 
 +
<br> '''''<u>Theorem 3:</u>&nbsp;'''''If two rows (columns) of A are equal, then; '''det(A) = 0'''
 +
 
 +
<br> Example:
 +
 
 +
<br>
 +
 
 +
<math>\left(\begin{array}{cccc}1&2&3\\-1&0&7\\1&2&3\end{array}\right)=0</math>
 +
 
 +
<br> '''''<u>Theorem 4:</u>&nbsp;''If a row (column) of A consists entirely of zeros, then; '''det(A) = 0
 +
 
 +
<br> Example:
 +
 
 +
<br>
 +
 
 +
<math>\left(\begin{array}{cccc}1&2&3\\4&5&6\\0&0&0\end{array}\right)=0</math>
 +
 
 +
<br> '''''<u>Theorem 5:</u>&nbsp;'''''If B obtained from A by multiplying a row (column) of A by a real number k, then;'''det(B) = ''k''det(A) &nbsp; &nbsp;'''  
 +
 
 +
<br>
 +
 
 +
Example:
 +
 
 +
<br>
 +
 
 +
<math>\left(\begin{array}{cccc}2&6\\1&12\end{array}\right)=2\left(\begin{array}{cccc}1&3\\1&12\end{array}\right)=(2)(3)\left(\begin{array}{cccc}1&1\\1&4\end{array}\right)=6(4-1)=18</math>
  
 
'''&nbsp;'''  
 
'''&nbsp;'''  
  
<u></u> <u>Theorem 6:</u> If B = [b<sub>ij</sub>] is obained from A = [a<sub>ij</sub>] by adding to each element of the ''r''th row (column) of A, ''k'' times the corresponding element of the ''s''th row (column), ''r'' not equal ''s'', of A, then; '''det(B) = det(A)'''  
+
<u></u> '''''<u>Theorem 6:</u>'' '''If B = [b<sub>ij</sub>] is obained from A = [a<sub>ij</sub>] by adding to each element of the ''r''th row (column) of A, ''k'' times the corresponding element of the ''s''th row (column), ''r'' not equal ''s'', of A, then; '''det(B) = det(A)'''  
  
 
<br> <u></u>  
 
<br> <u></u>  
  
<u>Theorem 7:</u> If a matrix A = [a<sub>ij</sub>] is upper (lower) triangular, then; det(A) = a<sub>11</sub>*a<sub>12</sub>...a<sub>nn </sub>; tha is, the determinant of a triangular matrix is the product of the element on themain diagonal. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>  
+
Example:
 +
 
 +
<br>
 +
 
 +
<math>\left(\begin{array}{cccc}1&2&3\\2&-1&3\\1&0&1\end{array}\right)=\left(\begin{array}{cccc}5&0&9\\2&-1&3\\1&0&1\end{array}\right)</math>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
'''''<u>Theorem 7:</u>'''''&nbsp;'''''<u></u>'''<u></u><u></u>'''''<u></u>'''If a matrix A = [a<sub>ij</sub>] is upper (lower) triangular, then; det(A) = a<sub>11</sub>*a<sub>12</sub>...a<sub>nn </sub>; tha is, the determinant of a triangular matrix is the product of the element on themain diagonal. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>
 +
 
 +
<br>
 +
 
 +
Example:
 +
 
 +
Compute det(A)
 +
 
 +
&nbsp;<math>A=\left(\begin{array}{cccc}4&3&2\\3&-2&5\\2&4&6\end{array}\right) = det(A) = 2det(A)</math>''<br>''
 +
 
 +
<math>=2det\left(\begin{array}{cccc}4&3&2\\3&-2&5\\1&2&3\end{array}\right)</math><br>
 +
 
 +
<math>=(-1)2det\left(\begin{array}{cccc}4&3&2\\3&-2&5\\1&2&3\end{array}\right)</math>
 +
 
 +
<math>=-2det\left(\begin{array}{cccc}1&2&3\\3&-2&5\\4&3&2\end{array}\right)</math>
 +
 
 +
<math>=-2det\left(\begin{array}{cccc}1&2&3\\0&-8&-4\\0&-5&-10\end{array}\right)</math>
 +
 
 +
'''<math>=-2det\left(\begin{array}{cccc}1&2&3\\0&-8&-4\\0&0&-30/4\end{array}\right) = det(A)= -2(1)(-8)(-30/4)=-120</math><br>'''
 +
 
 +
''<br>''
 +
 
 +
'''''<u>Theorem 8:</u>'' '''If A is an n x n matrix, then A is nonsingular if and only if'''det(A) not equal 0'''
 +
 
 +
<br> <u>'''''Theorem 9:'''''</u>'''''&nbsp;'''''If A and B are n x n matrices, then; '''det(AB) = det(A)det(B)'''<u></u>
 +
 
 +
<u><br> </u>Example:<u></u>
 +
 
 +
<br>
 +
 
 +
Let<u></u>
 +
 
 +
<u><math>A=\left(\begin{array}{cccc}1&2\\3&4\end{array}\right)</math>&nbsp;and&nbsp;<math>A=\left(\begin{array}{cccc}2&-1\\1&2\end{array}\right)</math><br></u>
 +
 
 +
then,
 +
 
 +
|A| = -2 &nbsp; and &nbsp;&nbsp;|B| = 5
 +
 
 +
while,<u></u>
 +
 
 +
<u><math>AB=\left(\begin{array}{cccc}4&3\\10&5\end{array}\right)</math>,</u>
 +
 
 +
<u><br></u>
 +
 
 +
and&nbsp;|AB| = -10 =&nbsp;|A||B|<u><br>'''''<br>'''''</u><br>  
  
 
<br>  
 
<br>  
  
<u>Theorem 8:</u> If A is an n x n matrix, then A is nonsingular if and only if '''det(A) not equal 0'''
+
<u>NOTE; At this point of learning we have shown the following:</u><br>
  
<br> <u>Theorem 9:</u> If A and B are n x n matrices, then; '''det(AB) = det(A)det(B)'''
+
1. A is invertible.<br>2. The only solution to the system Ax = 0 is the trivial solution.<br>3. A is row equivalent to In .<br>4. A is expressible as a product of elementary matrices.<br>5. Ax = b has exactly one solution for every n ¥1 matrix b.<br>6. Ax = b is consistent for every n ¥1 matrix b.<br>7. det(A)10
  
 
<br>  
 
<br>  
Line 87: Line 195:
 
----
 
----
  
'''''<u>Cofactor Expansion:&nbsp;</u>'''''  
+
== '''''<u>3. Cofactor Expansion:&nbsp;</u>''''' ==
  
 
----
 
----
Line 114: Line 222:
  
 
<br>  
 
<br>  
 +
 +
Example:
 +
 +
<br>
 +
 +
<math>\left(\begin{array}{cccc}1&2&-3&4\\-4&2&1&3\\3&0&0&-3\\2&0&-2&3\end{array}\right)</math>
 +
 +
'''<math>=(-1)^{3+1}(3)\left(\begin{array}{cccc}2&-3&4\\2&1&3\\0&-2&3\end{array}\right)+(-1)^{3+2}(0)\left(\begin{array}{cccc}1&-3&4\\-4&1&3\\2&-2&3\end{array}\right)</math><br>''' <math>+(-1)^{3+3}(0)\left(\begin{array}{cccc}1&2&4\\-4&2&3\\2&0&3\end{array}\right)+(-1)^{3+4}(-3)\left(\begin{array}{cccc}1&2&-3\\-4&2&1\\2&0&-2\end{array}\right)</math>
 +
 +
<span class="texhtml"> = ( + 1)(3)(20) + 0 + 0 + ( − 1)( − 3)( − 4) = 48</span>
  
 
----
 
----
Line 119: Line 237:
 
----
 
----
  
<u>'''''Inverse of a Matrix:'''''</u>  
+
== <u>'''''4. Inverse of a Matrix:'''''</u> ==
  
 
----
 
----
Line 129: Line 247:
 
<u>Theorem 11:</u> If A = [aij] is an n x nmatrix, then;&nbsp;  
 
<u>Theorem 11:</u> If A = [aij] is an n x nmatrix, then;&nbsp;  
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a<sub>i1</sub>A<sub>kl</sub>+a<sub>i2</sub>A<sub>k2</sub>+...+a<sub>in</sub>A<sub>kn</sub> = 0 &nbsp; &nbsp;for ''i'' not equal ''k'' &nbsp; &nbsp;; &nbsp; &nbsp;a<sub>1j</sub>A<sub>1k</sub>+a<sub>2j</sub>A<sub>2k</sub>+...+a<sub>nj</sub>A<sub>nk</sub> &nbsp; &nbsp;for ''j'' not equal ''k''  
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a<sub>i1</sub>A<sub>kl</sub>+a<sub>i2</sub>A<sub>k2</sub>+...+a<sub>in</sub>A<sub>kn</sub> = 0 &nbsp; &nbsp;for ''i'' not equal ''k'' &nbsp; &nbsp;; &nbsp; &nbsp;a<sub>1j</sub>A<sub>1k</sub>+a<sub>2j</sub>A<sub>2k</sub>+...+a<sub>nj</sub>A<sub>nk</sub> &nbsp; &nbsp;for ''j'' not equal ''k'' Example:
 +
 
 +
<br>
 +
 
 +
Let,&nbsp;<math>A=\left(\begin{array}{cccc}1&2&3\\-2&3&1\\4&5&-2\end{array}\right)</math>, then
 +
 
 +
<math>A21=(-1)^{2+1}\left(\begin{array}{cccc}2&3\\5&-2\end{array}\right)=19</math>
 +
 
 +
<math>A22=(-1)^{2+2}\left(\begin{array}{cccc}1&3\\4&-2\end{array}\right)=-14</math>
 +
 
 +
<math>A23=(-1)^{2+3}\left(\begin{array}{cccc}1&2\\4&5\end{array}\right)=3</math>
 +
 
 +
Now
 +
 
 +
a<sub>31</sub>A<sub>21</sub>+a<sub>32</sub>A<sub>22</sub>+a<sub>33</sub>+A<sub>23</sub> = (4)(19) + (5)(-14) + (-2)(3) = 0,&nbsp;
 +
 
 +
and
 +
 
 +
a<sub>11</sub>A<sub>21</sub>+a<sub>12</sub>A<sub>22</sub>+a<sub>13</sub>A<sub>23</sub> = (1)(19)+(2)(-14)+(3)(3) = 0.
 +
 
 +
<br>
  
<br> Let A = [aij] be an n x n matrix. Then n xn adj A, called the adjoint of A, is the matrix whose (i,j)th entry is the cofactor Aji of aji. Thus;  
+
Let A = [aij] be an n x n matrix. Then n xn adj A, called the adjoint of A, is the matrix whose (i,j)th entry is the cofactor Aji of aji. Thus;  
  
 
<br>  
 
<br>  
Line 140: Line 278:
  
 
<strike></strike><sub></sub><u>Theorem 12:</u> If A = [a<sub>ij</sub>] is an n x n matrix, then; '''A(adj A) = (adj A)A = det(A)I<sub>n</sub>.'''  
 
<strike></strike><sub></sub><u>Theorem 12:</u> If A = [a<sub>ij</sub>] is an n x n matrix, then; '''A(adj A) = (adj A)A = det(A)I<sub>n</sub>.'''  
 +
 +
<br> Example:
 +
 +
Let&nbsp;<math>A=\left(\begin{array}{cccc}1&2&3\\-2&3&1\\4&5&-2\end{array}\right)</math>
 +
 +
<math>\left(\begin{array}{cccc}3&-2&1\\5&6&2\\1&0&-3\end{array}\right) \left(\begin{array}{cccc}-18&-6&-10\\17&-10&-1\\-6&-2&28\end{array}\right)=\left(\begin{array}{cccc}-94&0&0\\0&-94&0\\0&0&-94\end{array}\right)=-94\left(\begin{array}{cccc}1&0&0\\0&1&0\\0&0&1\end{array}\right)</math>
 +
 +
and
 +
 +
<math>\left(\begin{array}{cccc}-18&-6&-10\\17&-10&-1\\-6&-2&28\end{array}\right) \left(\begin{array}{cccc}3&-2&1\\5&6&2\\1&0&-3\end{array}\right)=-94\left(\begin{array}{cccc}1&0&0\\0&1&0\\0&0&1\end{array}\right)</math>
 +
 +
<br>
  
 
----
 
----
Line 145: Line 295:
 
----
 
----
  
<u>'''''Other applications of Determinants:'''''</u>  
+
== <u>'''''5. Other applications of Determinants:'''''</u> ==
  
 
----
 
----
Line 193: Line 343:
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where A''i'' is the matrix obtained from A by replacing the ''i''th column of A by '''b'''. &nbsp;  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where A''i'' is the matrix obtained from A by replacing the ''i''th column of A by '''b'''. &nbsp;  
  
<br>
+
Example:&nbsp;
  
 
<br>  
 
<br>  
  
<u>INFO:</u> We note that Cramer's rule is only applicable when we have n equations in n unknowns and the coefficient matrix A is nonsingular. If we are facing a linear system of n equations in n unknowns whose coefficient matrix is singular, we must use the Gaussian elimination or Gauss-Jordan reduction methods.  
+
Consider the following linear system:
 +
 
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-2x1 + 3x2 - x3 = 1
 +
 
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x1 + 2x2 - x3 = 4
 +
 
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-2x1 &nbsp;- &nbsp;x2 &nbsp;- x3 = -3
 +
 
 +
We have &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Then,
 +
 
 +
&nbsp;<math>|A|=\left(\begin{array}{cccc}-2&3&-1\\1&2&-1\\-2&-1&1\end{array}\right)=-2</math>.&nbsp;
 +
 
 +
<math>x1={\left(\begin{array}{cccc}1&3&-1\\4&2&-1\\-3&-1&1\end{array}\right)}/{|A|}=-4/-2=2</math>,
 +
 
 +
<math>x2={\left(\begin{array}{cccc}-2&1&-1\\1&4&-1\\-2&-3&1\end{array}\right)}/{|A|}=-6/-2=3</math>,
 +
 
 +
and
 +
 
 +
<math>x3={\left(\begin{array}{cccc}-2&3&1\\1&2&4\\-2&-1&-3\end{array}\right)}/{|A|}=-8/-2=4</math>.
 +
 
 +
&nbsp;<br>  
 +
 
 +
We note that Cramer's rule is only applicable when we have n equations in n unknowns and the coefficient matrix A is nonsingular. If we are facing a linear system of n equations in n unknowns whose coefficient matrix is singular, we must use the Gaussian elimination or Gauss-Jordan reduction methods.  
  
 
<br>  
 
<br>  
Line 213: Line 385:
 
5. A is a product of elementray matrices  
 
5. A is a product of elementray matrices  
  
6. det(A) not equal 0
+
6. det(A) not equal 0  
 +
 
 +
----
 +
 
 +
----
 +
[[2011_Fall_MA_265_Walther|Back to MA265 Fall 2011 Prof. Walther]]
 +
 
 +
 
 +
[[Category:MA265Fall2011Walther]]
 +
[[Category:MA265]]
 +
[[Category:linear algebra]]

Latest revision as of 08:07, 11 April 2013


Determinants

Student project for MA265



1. Introduction:



The determinants are directly associated with a square matrix A when the determinant is A. Determinants arose in the solution of linear systems and are really usefull for the study of linear transformations. Lets S = {1,2,...,n} be the set of integers from 1 to n, arranged in ascending order. A rearrangement j1,j2,...,jn of the elements ofS is called a permutation of S. We can consider a permutation of S to be a one-to-one mapping of S onto itself.


If A is a square matrix then the determinant function is denoted by det and det(A)

For an instance we have a 2 x 2 matrix denominated A, therefore:


                                                                                      $ det(A)=\left(\begin{array}{cccc}a11&a12\\a21&a22\end{array}\right) $

As we already defined the determinant function we can write some formulas. The formulas for any 2 x 2 and 3 x 3 matrix will be:

                     

                      The determinant function for a 2 x 2 matrix is:


                                                                                      $ det(A)=\left(\begin{array}{cccc}a11&a12\\a21&a22\end{array}\right) $ 

                                                                                                = (a11 * a22) - (a12 * a21 )                        

                   

                      The determinant function for a 3 x 3 matrix is: 


                                                                               $ det(A)=\left(\begin{array}{cccc}a11&a12&a13\\a21&a22&a23\\a31&a32&a33\end{array}\right) $

                                         = (a11 * a22 * a33) + (a12 * a23 * a31) + (a13 * a21 * a32) - (a12 * a21 * a33) - (a11 * a23 * a32) - (a13 * a22 * a31


Example: Solving for a determinant


$ det(A)=\left(\begin{array}{cccc}1&2&3\\2&1&3\\3&1&2\end{array}\right)= (1)(1)(2) + (2)(3)(3) + (3)(2)(1) - (1)(3)(1) - (2)(2)(2) - (3)(1)(3) = 6 = det(A) $ 




2. Properties of Determinants:




Theorem 1: Let A be an n x n matrix then; det(A) = det(At)


Example:


$ A^t =\left(\begin{array}{cccc}1&2&3\\2&1&1\\3&3&2\end{array}\right) |A| = (1)(1)(2) + (2)(1)(3) + (3)(2)(3) - (1)(1)(3) - (2)(2)(2) - (3)(1)(3) = 6 = |A| $


Theorem 2: If a matrix B results from matrix A by interchanging two different rows (columns) of A, then; det(B) = - det(A) 


Example:


$ |A|=\left(\begin{array}{cccc}2&-1\\3&2\end{array}\right)=-\left(\begin{array}{cccc}3&2\\2&-1\end{array}\right)=\left(\begin{array}{cccc}2&3\\-1&2\end{array}\right)=|A^t|=7 $


Theorem 3: If two rows (columns) of A are equal, then; det(A) = 0


Example:


$ \left(\begin{array}{cccc}1&2&3\\-1&0&7\\1&2&3\end{array}\right)=0 $


Theorem 4: If a row (column) of A consists entirely of zeros, then; det(A) = 0


Example:


$ \left(\begin{array}{cccc}1&2&3\\4&5&6\\0&0&0\end{array}\right)=0 $


Theorem 5: If B obtained from A by multiplying a row (column) of A by a real number k, then;det(B) = kdet(A)    


Example:


$ \left(\begin{array}{cccc}2&6\\1&12\end{array}\right)=2\left(\begin{array}{cccc}1&3\\1&12\end{array}\right)=(2)(3)\left(\begin{array}{cccc}1&1\\1&4\end{array}\right)=6(4-1)=18 $

 

Theorem 6: If B = [bij] is obained from A = [aij] by adding to each element of the rth row (column) of A, k times the corresponding element of the sth row (column), r not equal s, of A, then; det(B) = det(A)


Example:


$ \left(\begin{array}{cccc}1&2&3\\2&-1&3\\1&0&1\end{array}\right)=\left(\begin{array}{cccc}5&0&9\\2&-1&3\\1&0&1\end{array}\right) $



Theorem 7: If a matrix A = [aij] is upper (lower) triangular, then; det(A) = a11*a12...ann ; tha is, the determinant of a triangular matrix is the product of the element on themain diagonal.                                                       


Example:

Compute det(A)

 $ A=\left(\begin{array}{cccc}4&3&2\\3&-2&5\\2&4&6\end{array}\right) = det(A) = 2det(A) $

$ =2det\left(\begin{array}{cccc}4&3&2\\3&-2&5\\1&2&3\end{array}\right) $

$ =(-1)2det\left(\begin{array}{cccc}4&3&2\\3&-2&5\\1&2&3\end{array}\right) $

$ =-2det\left(\begin{array}{cccc}1&2&3\\3&-2&5\\4&3&2\end{array}\right) $

$ =-2det\left(\begin{array}{cccc}1&2&3\\0&-8&-4\\0&-5&-10\end{array}\right) $

$ =-2det\left(\begin{array}{cccc}1&2&3\\0&-8&-4\\0&0&-30/4\end{array}\right) = det(A)= -2(1)(-8)(-30/4)=-120 $


Theorem 8: If A is an n x n matrix, then A is nonsingular if and only ifdet(A) not equal 0


Theorem 9: If A and B are n x n matrices, then; det(AB) = det(A)det(B)


Example:


Let

$ A=\left(\begin{array}{cccc}1&2\\3&4\end{array}\right) $ and $ A=\left(\begin{array}{cccc}2&-1\\1&2\end{array}\right) $

then,

|A| = -2   and   |B| = 5

while,

$ AB=\left(\begin{array}{cccc}4&3\\10&5\end{array}\right) $,


and |AB| = -10 = |A||B|



NOTE; At this point of learning we have shown the following:

1. A is invertible.
2. The only solution to the system Ax = 0 is the trivial solution.
3. A is row equivalent to In .
4. A is expressible as a product of elementary matrices.
5. Ax = b has exactly one solution for every n ¥1 matrix b.
6. Ax = b is consistent for every n ¥1 matrix b.
7. det(A)10




3. Cofactor Expansion: 




The cofactor expansion is a method for evaluating the determinant of an n xn matrix that reduces the problem to the evaluation of determinants of matrices of order n - 1. We should repeat the proces of (n-1) x (n-1) until we have a 2 x 2 matrices. 


Let A = [aij] be an n x n matrix. Let Mij be the (n-1) x (n-1) submatrix of A obtained by deleting the ith row and jth row column of A. The determinant det(Mij) is called the minor aij. Also, Let A = [aij] be an n x n matrix. The cofactor Aij of aij is defined as Aij = (-1)i+j det(Mij)


Theorem 10: Let A = [aij] be an n x n matrix. then;

                                det(A) = ai1Ai1+ai2Ai2+...+ainAin                             and                        det(A)=a1jA1j+a2jA2j+...+anjAnj

                            [expansion of det(A) along the ith row]                                                [expansion of det(A) along the jth column]


Example:


$ \left(\begin{array}{cccc}1&2&-3&4\\-4&2&1&3\\3&0&0&-3\\2&0&-2&3\end{array}\right) $

$ =(-1)^{3+1}(3)\left(\begin{array}{cccc}2&-3&4\\2&1&3\\0&-2&3\end{array}\right)+(-1)^{3+2}(0)\left(\begin{array}{cccc}1&-3&4\\-4&1&3\\2&-2&3\end{array}\right) $
$ +(-1)^{3+3}(0)\left(\begin{array}{cccc}1&2&4\\-4&2&3\\2&0&3\end{array}\right)+(-1)^{3+4}(-3)\left(\begin{array}{cccc}1&2&-3\\-4&2&1\\2&0&-2\end{array}\right) $

= ( + 1)(3)(20) + 0 + 0 + ( − 1)( − 3)( − 4) = 48



4. Inverse of a Matrix:




Theorem 11: If A = [aij] is an n x nmatrix, then; 

                                      ai1Akl+ai2Ak2+...+ainAkn = 0    for i not equal k    ;    a1jA1k+a2jA2k+...+anjAnk    for j not equal k Example:


Let, $ A=\left(\begin{array}{cccc}1&2&3\\-2&3&1\\4&5&-2\end{array}\right) $, then

$ A21=(-1)^{2+1}\left(\begin{array}{cccc}2&3\\5&-2\end{array}\right)=19 $

$ A22=(-1)^{2+2}\left(\begin{array}{cccc}1&3\\4&-2\end{array}\right)=-14 $

$ A23=(-1)^{2+3}\left(\begin{array}{cccc}1&2\\4&5\end{array}\right)=3 $

Now

a31A21+a32A22+a33+A23 = (4)(19) + (5)(-14) + (-2)(3) = 0, 

and

a11A21+a12A22+a13A23 = (1)(19)+(2)(-14)+(3)(3) = 0.


Let A = [aij] be an n x n matrix. Then n xn adj A, called the adjoint of A, is the matrix whose (i,j)th entry is the cofactor Aji of aji. Thus;


                                                                     $ adj A=\left(\begin{array}{cccc}A11&A21&...&An1\\A12&A22&...&An2\\...&...&...&...\\A1n&A2n&...&Ann\end{array}\right) $


Theorem 12: If A = [aij] is an n x n matrix, then; A(adj A) = (adj A)A = det(A)In.


Example:

Let $ A=\left(\begin{array}{cccc}1&2&3\\-2&3&1\\4&5&-2\end{array}\right) $

$ \left(\begin{array}{cccc}3&-2&1\\5&6&2\\1&0&-3\end{array}\right) \left(\begin{array}{cccc}-18&-6&-10\\17&-10&-1\\-6&-2&28\end{array}\right)=\left(\begin{array}{cccc}-94&0&0\\0&-94&0\\0&0&-94\end{array}\right)=-94\left(\begin{array}{cccc}1&0&0\\0&1&0\\0&0&1\end{array}\right) $

and

$ \left(\begin{array}{cccc}-18&-6&-10\\17&-10&-1\\-6&-2&28\end{array}\right) \left(\begin{array}{cccc}3&-2&1\\5&6&2\\1&0&-3\end{array}\right)=-94\left(\begin{array}{cccc}1&0&0\\0&1&0\\0&0&1\end{array}\right) $




5. Other applications of Determinants:




To obtain another method for solving a linear system of n equations in n unknowns is known as the Cramer's Rule.


Theorem 13: Cramer's Rule

                                                                        Let;

                                                                                           a11x1 + a12x2 + ... + a1nxn = b1

                                                                                           a21x1 + a22x2 + ... + a2nxn = b2

                                                                                                                   ... 

                                                                                           an1x1 + an2x2 + ... + annxn = bn

       be a linear system of n equations in n unknowns, and let A = [aij] be the coefficient matrix so that we can write the given system as Ax = b, where


                                                                                                    $ b=\left(\begin{array}{cccc}b1\\b2\\...\\bn\end{array}\right) $


                                                                     If det(A) not equal 0, then the system has the unique solutions


                                                               x1 = det(A1)/det(A),      x2 = det(A2)/det(A),      ...,      xn = det(An)/det(A),


                                                            where Ai is the matrix obtained from A by replacing the ith column of A by b.  

Example: 


Consider the following linear system:

                                                           -2x1 + 3x2 - x3 = 1

                                                              x1 + 2x2 - x3 = 4

                                                           -2x1  -  x2  - x3 = -3

We have                                                        Then,

 $ |A|=\left(\begin{array}{cccc}-2&3&-1\\1&2&-1\\-2&-1&1\end{array}\right)=-2 $

$ x1={\left(\begin{array}{cccc}1&3&-1\\4&2&-1\\-3&-1&1\end{array}\right)}/{|A|}=-4/-2=2 $,

$ x2={\left(\begin{array}{cccc}-2&1&-1\\1&4&-1\\-2&-3&1\end{array}\right)}/{|A|}=-6/-2=3 $,

and

$ x3={\left(\begin{array}{cccc}-2&3&1\\1&2&4\\-2&-1&-3\end{array}\right)}/{|A|}=-8/-2=4 $.

 

We note that Cramer's rule is only applicable when we have n equations in n unknowns and the coefficient matrix A is nonsingular. If we are facing a linear system of n equations in n unknowns whose coefficient matrix is singular, we must use the Gaussian elimination or Gauss-Jordan reduction methods.


NOTE; At this point of learning we have shown the following:

1. A is nonsingular

2. Ax = 0 has only the trival solution

3. A is row (column) equivalent to In

4. The linear system Ax = b has a unique solution for every n x 1 matrix b.

5. A is a product of elementray matrices

6. det(A) not equal 0



Back to MA265 Fall 2011 Prof. Walther

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood