Professional Documents
Culture Documents
Es 111: Mathematics: Instructor: F. M. TIRAGA
Es 111: Mathematics: Instructor: F. M. TIRAGA
Instructor: F. M. TIRAGA
University of Dodoma
Lecture 1
1 Definition
Matrix
Zero/Null matrix
It is denoted by O
Example
0 0 ... 0
0 0 . . . 0
O=
. . . . . .
0 0 ... 0
Square matrices
Is a square matrix whose diagonal entries are 1s and zeros else where
It is always named by a capital letter I when the size is known and In
when the size is not known
Example
1 0 ... 0
0 1 . . . 0
In =
. . . . . .
0 0 ... 1
Diagonal matrices
Example
2 9 5
Upper triangular matrix; B = 0 8 3
0 0 2
2 0 0
Lower triangular matrix; B = 7 8 0
1 8 2
Example
1 2 3
Symmetric matrix; A = 2 4 5
3 5 0
" #
0 2
Skew-symmetric matrix; A =
−2 0
Matrix Addition
Two matrices can be added whenever they have the same order.
When adding matrices we add corresponding entries while
maintaining their corresponding position.
Let A = [aij ] and B = [bij ] be any two matrices with the same order,
then A + B = [aij ] + [bij ] = [aij + bij ]
Matrix Subtraction
Matrix Addition
Two matrices can be added whenever they have the same order.
When adding matrices we add corresponding entries while
maintaining their corresponding position.
Let A = [aij ] and B = [bij ] be any two matrices with the same order,
then A + B = [aij ] + [bij ] = [aij + bij ]
Matrix Subtraction
Matrix transpose
Example
1 2 3 1 7 1
If A = 7 4 5 then AT = 2 4 5
1 5 9 3 5 9
Example
4 6 5
If A = 9 5 2 then Tr (A) = 4 + 5 + 7 = 16
1 3 7
Theorem
If the matrices A, B and C have the same order then
Commutative law of matrix addition holds; A + B = B + A
Associative law of matrix addition holds; A + (B + C ) = (A + B) + C
Proof
Let A = [aij ] and B = [bij ] be any two m × n matrices, then
A + B = [aij ] + [bij ] = [aij + bij ]; Definition of matrix addition
= [bij + aij ]; Commutative property of regular addition
= [bij ] + [aij ]; Definition of matrix addition
=B+A ■
Multiplication of matrices
Example
" # " #
a b λa λb
Given that λ is a scalar and B = then λB =
f g λf λg
Theorem
If A and B are matrices of the same order and if λ1 and λ2 denote scalars
then the following distributive laws holds
λ1 (A + B) = λ1 A + λ1 B
(λ1 + λ2 )A = λ1 A + λ2 A
(λ1 λ2 )A = λ1 (λ2 A)
Proof
Let A = [aij ], B = [bij ] then
λ1 (A + B) = λ1 ([aij ] + [bij ])
= λ1 A + λ1 B ■
Theorem
If A, B and C have appropriate orders so that the following addition and
multiplications are defined then
A(BC ) = (AB)C ; (Associative law holds)
A(B + C ) = AB + AC ; (Left distributive law holds)
(B + C )A = BA + CA; (Right distributive law holds)
Proof
Let A = [aij ], B = [bij ] and C = [cij ] be matrices, then
A(B + C ) = [aij ]([bij ] + [cij ])
= [aij ][bij + cij ]; Definition of matrix addition
Theorem
The following properties are true for any scalar λ and any matrix for which
the indicated additions and multiplications are defined
(AT )T = A
(λA)T = λAT
(A + B)T = AT + B T
(AB)T = B T AT
Proof
Let A = [aij ], B = [bij ] be two matrices with AB defined, then
(AB)T = ([aij ][bij ])T
Pn T
=[ k=1 aik bkj ] ; Definition of matrix multiplication
[ nk=1 ajk bki ]; Definition of matrix transpose
P
=
[ nk=1 akj T b T ]; Definition of transpose
P
= ik
Pn T a T ]; Commutative law of scalars
= [ k=1 bik kj
= T T
[bij ][aij ]; Definition of matrix multiplication
= B T AT ■