Lecture 0
Lecture 0
* ZC416, Lecture 0
Agenda
e 4
−x
2x
2
1
6x , a1 a2 a3 ,
e 4x
2
• The numbers (or functions) are called entries or, less
commonly, elements of the matrix.
• The first matrix in (1) has two rows, which are the
horizontal lines of entries.
BITS Pilani, Pilani Campus
Matrix – Notations
(2)
A column vector
• Here 0 denotes the zero matrix (of size m × n), that is, the m × n matrix with all
entries zero.
(3)
EXAMPLE 1
3 5 −1 2 −2 3 1 22 −2 43 42
AB = 4 0 2 5 0 7 8 = 26 −16 14 6
−6 −3 2 9 −4 1 1 −9 4 −37 −28
(a) ( A T )T = A
(b) (A + B)T = A T + BT (5)
(c) ( cA ) T = cA T
(d) ( AB)T = BT A T .
CAUTION! Note that in (5d) the transposed matrices are in reversed order.
é 0 1 -2 ù
ê ú
• Skew Symmetric : aij = - aji Eg: ê -1 0 3 ú
ê 2 -3 0 ú
ë û
Replace R3
by R3+1.R1
Replace R3 by
R3+(-10).R2
3 0 2 2
A = −6 42 24 54 (given)
21 −21 0 −15
3 0 2 2
= 0 42 28 58 Row 2 + 2 Row 1
0 −21 −14 −29 Row 3 − 7 Row 1
3 0 2 2
= 0 42 28 58
1
Row 3 + Row 2.
2
0 0 0 0
• The last matrix is in row-echelon form and has two nonzero rows.
Hence rank A = 2.
BITS Pilani, Pilani Campus
Minor
a11 a12 a13
A = a21 a22
a23
a31 a32 a33
Each element in A has a minor.
Delete first row and column from A. The determinant of the remaining
2x2 submatrix is the minor of a11 which is a22a33 – a23a32
a22 a23
m11 =
a32 a33
BITS Pilani, Pilani Campus
Minor
a21 a23
m12 =
a31 a33
And the minor for a13 is:
a21 a22
m13 =
a31 a32
When the sum of a row number i and column j is even, cij = mij and
when i+j is odd, cij =-mij
c11 (i = 1, j = 1) = (−1)1+1 m11 = + m11
1+ 2
c12 (i = 1, j = 2) = (−1) m12 = −m12
1+ 3
c13 (i = 1, j = 3) = (−1) m13 = + m13
BITS Pilani, Pilani Campus
Determinant
1 2 4 − 2 10 0
A(adjA) = = = 10 I
− 3 4 3 1 0 10
4 − 2 1 2 10 0
(adjA) A = = = 10 I
3 1 − 3 4 0 10
5. det(A) = det(AT)
é 3 1 ù
A=ê ú
ë 2 1 û
-1
é 1 -1 ù
A =ê ú
ë -2 3 û
−1 1 4 − 2 0.4 − 0.2
A = =
10 3 1 0.3 0.1
To check AA-1 = A-1 A = I
1 2 0.4 − 0.2 1
−1 0
AA = = =I
− 3 4 0.3 0.1 0 1
−1 0.4 − 0.2 1 2 1 0
A A= = =I
0.3 0.1 − 3 4 0 1
BITS Pilani, Pilani Campus
Inverse – 3x3 Example
Example 2
3 − 1 1
A = 2 1 0
1 2 − 1
The determinant of A is
|A| = (3)(-1-0)-(-1)(-2-0)+(1)(4-1) = -2
so
− 1 1 − 1
adjA = C T = 2 − 4 2
3 − 7 5
and
− 1 1 − 1 0.5 − 0.5 0.5
−1 adjA 1 = − 1.0 2.0 − 1.0
A = = 2 − 4 2
A −2
3 − 7 5 − 1.5 3.5 − 2.5
BITS Pilani, Pilani Campus
Inverse
The result can be checked using
AA-1 = A-1 A = I
Check inverse
A-1 A=I
1 1 − 3 2 3 1 0
− = =I
10 − 4 2 4 1 0 1
(1)
(1)