4th Question
4th Question
1. Algebra of Matrices
sA = (saij )
3 2 6 4
for all i, j. That is, if A = −1 0 then 2A = −2 0.
−2 4 −4 8
Now suppose that we have two matrices of the same size, say A, B ∈ Rm×n . We write,
again,
A = (aij ) and B = (bij ).
The we define
A + B = (aij + bij ).
2 −1 −3 −2
−1 −3
A+B = 7 9 .
−2 −2
1. A + B = B + A,
2. (A + B) + C = A + (B + C)
3. A + 0 = 0 + A = A
4. A + (−A) = (−A) + A = 0
5. a(A + B) = aA + aB
6. (a + b)A = aA + bA
7. a(bA) = (ab)A
8. 1A = A
SDemir Page 1 of 6
Linear Algebra February 25, 2025
Remark 1.3. ST si defined only when the codomain of S is equal to the domain of S.
Therefore, if A ∈ Rp×m and B ∈ Rk×n then AB is defined only if k = m. In this case we
say that A and B are compatible.
A simple obesrvation shows the following
Fact 1.4. If rowi (X) denotes the ith row of the matrix X, we have
1.3. Properties
Proposition 1.7. Suppose that A ∈ Rm×n and B, C are matrices such that the operations
below are defined. Suppose also r ∈ R. Then
1. A(BC) = (AB)C,
2. A(B + C) = AB + AC,
3. (B + C)A = AB + CA,
AB ̸= BA.
SDemir Page 2 of 6
Linear Algebra February 25, 2025
Ak = AAk−1
Fact 1.9. Suppose that A is a square matrix of size n. Then any two positive powers of
A commute with each other, and we have
An Am = Am An = An+m
Let rowi (A) denote the ith row of a matrix A and let colj (A) denote the jth column of
A.
Proposition 1.12. Suppose that A and B are matrices such that the following operations
in appropriate places are defined, r ∈ R. Then
1. (AT )T = A,
2. (A + B)T = AT + B T ,
3. (rA)T = rAT ,
4. (AB)T = B T AT .
SDemir Page 3 of 6
Linear Algebra February 25, 2025
2. Matrix Inversion
Let A be a square matrix of size n × n. If B is a square matrix of the same size and
AB = BA = In
we say that A is invertible, B is the inverse of A and is denoted by A−1 .
a b
Theorem 2.1. Let A = . Then A is invertible iff ad − bc ̸= 0. In this case
c d
−1 1 d −b
A = .
ad − bc −c a
3 4
Example 2.2. Let A = . Find A−1 .
5 6
Theorem 2.3. If A is invertible, for every b ∈ Rn , the equation Ax = b has a unique
solution. The solution is given by
x = A−1 b.
Theorem 2.4. 1. If A is invertible, then
(A−1 )−1 = A.
SDemir Page 4 of 6
Linear Algebra February 25, 2025
d e f
E2 A = a b c ,
g h i
and
a b c
E3 A = d e f .
2g 5h 5i
Fact 2.6. If an elementary row operation is performed on an m×n matrix A, the resulting
matrix can be written as EA, where the m × m matrix E is created by performing the
same row operation on Im .
Fact 2.7. Each elementary matrix E is invertible. The inverse of E is the elementary
matrix of the same type that transforms E back into I.
Theorem 2.8. An n × n matrix A is invertible if and only if A is row equivalent to In ,
and in this case, any sequence of elementary row operations that reduces A to In also
transforms In into A−1 .
Suppose that A is a square matrix of size n. Suppose we want to know whether A
is invertible , and we want to find its inverse if it is invertible. Let E be the set of all
elementary matrices of size n.
We form the matrix
A In
where In is the identity matrix in Rn×n . When we apply some elementary row operation
corresponding to the elementary matrix X1 , we get
X1 A X1 In = X1 A X1 .
If we apply another elementary row operation corrseponding to X2 ∈ E afterwards, we
get
X2 X 1 A X 2 X 1 .
Conclusion 2.9. If we apply k successive elementary rtow operation to the matrix
A In , we get some matrix of the form U, V such that V is a product of k elementary
matrices from E and U = V A. In other words we alyas get some matrix of the form
UA U
where U is a product of elementary matrices.
We know that A is invertible iff it is row equivalent to In . Therefore there is a sequence
X1 , X2 , ..., Xp of elementary matrices such that
Xp Xp−1 · · · X2 X1 A = In .
If we apply these elementary row operations to the matrix A , In , we get
Xp · · · X2 X1 A Xp · · · X2 X1 = In Xp · · · X2 X1 .
This shows that
Xp · · · X2 X1 = A−1 .
SDemir Page 5 of 6
Linear Algebra February 25, 2025
Fact 2.11. Let A and B be square matrices. If AB = I, then A and B are both invertible,
with B = A−1 and A = B 1 .
SDemir Page 6 of 6