Professional Documents
Culture Documents
Lecture Notes Algebra-Chapter 2
Lecture Notes Algebra-Chapter 2
Lecture Notes Algebra-Chapter 2
1 MATRICES
Lesson 1: MATRICES
Lesson 1: Matrices
I. Basic concepts
1. Definition: A matrix A = [aij ]m×n is an m × n array of real (or
complex) numbers as follows:
a11 a12 . . . a1n a11 a12 . . . a1n
a21 a22 . . . a2n a21 a22 . . . a2n
A= . . . or A = . .. .. ,
.. .. . .. ..
.. ..
. . .
am1 am2 . . . amn am1 am2 . . . amn
where
• aij = entries (or elements) of A with i = 1, m and j = 1, n.
• m = number of rows, n = number of columns.
• m × n = size of A.
1 −2 1 2 3
Examples: A = and B =
3 4 −4 5 1
2. Remark: The set of m × n matrices with the entries in the field K
(K = R, C) is denoted by Matm×n (K ) or Mm×n (K ) for simplicity.
Tuan Anh Dao, SAMI-HUST ALGEBRA I ♡ HUST
,
Lesson 1: Matrices
3. Classification of matrices:
• Zero matrix: (or Null matrix) is a matrix of size m × n in which all its
entries are zero, denoted by 0m×n .
0 0 0 0 0
For examples: 01×1 = 0 , 02×2 = , 02×3 =
0 0 0 0 0
• Square matrix: (or n-square matrix) is a matrix with the same
number of rows and columns (m = n). Then,
i) a11 , a22 , · · · , ann are called diagonal entries of A.
ii) The line linking from a11 to ann is called the main diagonal of A.
• Diagonal matrix: is a n-square matrix with aij = 0, ∀i ̸= j, namely
a11 0 . . . 0
0 a22 . . . 0
A= . .. ..
.. ..
. . .
0 0 ... ann
• Identity matrix: is a diagonal matrix in which all elements on the
main diagonal are equal to 1 (aii = 1). We denote In
Tuan Anh Dao, SAMI-HUST ALGEBRA I ♡ HUST
,
Lesson 1: Matrices
• Triangular matrix: is a n-square matrix in which all elements of A
below (above) the main diagonal are zero, in particular,
a11 a12 . . . a1n a11 0 ... 0
0 a22 . . . a2n a21 a22 . . . 0
A= . . . or A = . .. .. .
.. .. . .. ..
.. ..
. . .
0 0 . . . ann am1 am2 . . . ann
Then, A is called an upper (lower) triangular matrix, respectively.
• Row (Column) matrix: is a matrix with a single row, i.e. n = 1 (or
a single column, i.e. m = 1).
a11
a21
A = a11 a12 . . . a1n or A = . .
..
am1
4. Equality of Matrices: We say that [aij ]m×n = [bij ]m×n if they have
the same size and aij = bij , ∀i, j.
Tuan Anh Dao, SAMI-HUST ALGEBRA I ♡ HUST
,
Lesson 1: Matrices
II. Matrix operations
1. Addition/Subtraction: Let A = [aij ]m×n , B = [bij ]m×n be two
matrices having the same size. Then,
Lesson 1: Matrices
3. Matrix multiplication: Let A = [aij ]m×p and B = [bij ]p×n be two
matrices. Then, the product of A and B, denoted by AB, is defined by
C = [cjk ]m×n , where cjk = aj1 b1k + aj2 b2k + . . . + ajp bpk
= Multiplying j th row of A with k th column of B.
Namely,
Lesson 1: Matrices
Remarks:
• The condition to ensure that A.B is well-defined is the column
number of A = the row number of B.
• A.B is well-defined, however, B.A may be not well-defined.
Moreover, if A.B and B.A are both well-defined, then A.B ̸= B.A in
general.
• A(BC ) = (AB)C , A(B + C ) = AB + AC , (B + C )A = BA + CA,
k(AB) = (kA)B = A(kB) for any k ∈ R, Im A = A = AIn ,
in which all calculations are well-defined.
• If A ∈ Matn×n , then Ak = A . . . A for any k ≥ 1 and A0 = In .
4. Transposition of matrices: Transposition of A = [aij ]m×n , denoted by
AT , is defined by
AT = [aji ]n×m , i.e. k th row of AT = k th column of A.
Remarks: If the followings are well-defined, then they hold
Lesson 3:
DETERMINANTS OF SQUARE MATRICES
Lesson 3:
RANK OF MATRICES AND INVERSE MATRIX
0 0 0 0 0
Pay attention: An echelon matrix has size of m × n, in general, but a
triangular matrix has size n × n.
4. Key property: If A is an echelon matrix, then rank(A) = number of
rows not equal to zero of A.
5. How to apply elementary operations to find rank:
Elementary operations
▶ Step 1: A −−−−−−−−−−−−→ Echelon matrix A.
▶ Step 2: rankA = Number of rows not equal to zero of A ⇒ rankA =?
Examples: Find rank of
1 1 2 0
2 1 −1 3 1 2 −2
(m ∈ R)
A= −4 5 2 −1 and B = 2 m 1
−1 4 5
−1 7 3 2
2. Remarks:
• If b1 = b2 = · · · = bn = 0, then (1) is called a homogeneous sytem.
• If there exists bi ̸= 0, then (1) is called a non-homogeneous sytem.
II. Cramer’s rule
(
m=n
1. Definition: System (1) is called Cramer’s system if
detA ̸= 0
2. Theorem: Cramer’s system has a unique solution (x1 , x2 , · · · , xn )
given by
detAi
xi = for any i = 1, n,
detA
where Ai is formulated from A by replacing the i th column of A by
the right-hand side matrix B.
Tuan Anh Dao, SAMI-HUST ALGEBRA I ♡ HUST
,
The end