CH 1 LA
CH 1 LA
Youming Chen([email protected])
Chongqing University of Technology
October 9, 2020
Therefore if we denote
Solution
3 2 12 2 3 12
D= = 7 6= 0, D1 = = 14, D2 = = 21.
2 1 1 1 2 1
We call
Example
1 1 1
Solve the equation 2 3 x =0
4 9 x2
Definition
Two systems of equations are said to be equivalent("d) if one could
obtained by applying finite elementary row operations on another.
Definition
A m ⇥ n array of numbers with m rows and n columns
0 1
a11 a12 · · · a1n
B C
B a21 a22 · · · a2n C
B
A=B . .. C
. .. C = (aij )
@ . . . A
am1 am2 · · · amn
Property
The equivalent relation of matrices has the following properties:
(1) Reflexive property(á#5) A ⇠ A;
(2) Symmetric property(Ȱ5) If A ⇠ B, then B ⇠ A;
(3) Transitive property(D45) If A ⇠ B, B ⇠ C , then A ⇠ C .
Theorem
An m ⇥ n homogeneous system of linear equations has a nontrivial
solution if n > m.
Fix a natural number n. Denote Rn by the set of all n column vector, i.e.
0 1
x1
B . C
R := {x = B
n
@ .
. C |x1 , · · · , xn 2 R}.
A
xn
Definition
Two m ⇥ n matrix A = (aij )mn and B = (bij ) are called to be equal if
aij = bij for each i and j.
Property
(1) Distribution Law(©""): ( 1 + 2 )A = 1A + 2 A;
(4) Identity(¸†!): 1A = A.
Youming Chen([email protected]) Chongqing University
Linearof algebra
Technology () October 9, 2020 27 / 64
Definition (Matrix Addition)
Suppose
0 1 0 1
a11 a12 ··· a1n b11 b12 ··· b1n
B C B C
B a21 a22 ··· a2n C B b21 b22 ··· b2n C
A=B
B .. .. .. C,B = B
C B .. .. .. C
C
@ . . . A @ . . . A
am1 am2 · · · amn bm1 bm2 · · · bmn
A B = A + ( B).
A B = A + ( B).
Property
(1) Associative Law ((‹"): A + (B + C ) = (A + B) + C ;
(2) Commutative law(%Ü"): A + B = B + A;
(3) Identity(¸†!): A + O = A;
(4) A A = O.
x1 1 + · · · + xn n = b.
Pm Pm
where cij = ai1 b1j + · · · + aim bmj = k=1 k=1 aik bkj .
Example
! ! !
1 1 1 1 0 0
(1) = ;
1 1 1 1 0 0
! ! !
1 1 1 1 2 2
(2) = .
1 1 1 1 2 2
A1 = A, · · · , Ak+1 = Ak A.
Property
(1) (AB)C = A(BC );
(2) (AB) = ( A)B = A( B);
(3) A(B + C ) = AB + AC , (B + C )A = BA + CA;
(4) OA = O, AO = O;
(5) EA = A, AE = A;
AX = b.
AB = BA = E .
Property
(1) (AT )T = A;
(2) (A + B)T = (AT + B T );
(3) (AB)T = B T AT ;
(4) (cA)T = cAT .
Solution
10 0 1 0 1
1 4 2 2 1 0 17
B CB C B C
(AB)T = B T AT = @ 7 2 0 A @ 0 3 A = @ 14 13 A .
1 3 1 1 2 3 10
Example
Suppose X = (x1 , · · · , xn )T satisfies X T X = 1 and let H = E 2XX T .
Then prove H is symmetric and HH T = E .
Proof.
H T = (E 2XX T )T = E T 2(XX T )T = E 2XX T = H, hence H is
symmetric. Moreover,
HH T = H 2 = (E 2XX T )2
= E 4XX T + 4XX T XX T
= E.
Youming Chen([email protected]) Chongqing University
Linearof algebra
Technology () October 9, 2020 41 / 64
Example
Prove that any square matrix A could be represented by the sum of some
symmetric matrix and skew-symmetric matrix.
Proof.
Given any square matrix A, let
A + AT A AT
B= ,C = ,
2 2
A+AT A AT
then A = 2 + 2 = B + C,
(A + AT )T (A AT ) T AT A
BT = = B, C T = = = C
2 2 2
which means that B is symmetric and C is skew-symmetric.
Corollary
The square matrix A is invertible if and only if there exist finite elementary
matrices P1 , · · · , Pr such that A = P1 · · · Pr .
Corollary
The square matrix A is invertible if and only if A ⇠ E .
Corollary
Let A be a square matrix. Then AX = b has a unique solution if and only
if A is invertible.
Example
0 1
0 2 1
B C 1.
Suppose A = @ 3 0 2 A . Then compute A
2 3 0
(A, E )
0 1 r1 $ r2 0 1
0 2 1 1 0 0 3 0
r3 ⇥ 3 2 0 1 0
B C B r3 + 2r1 C
=@ 3 0 2 0 1 0 A ⇠ @ 0 2 1 1 0 0 A
2 3 0 0 0 1 0 9 4 0 2 3
0 1 0 1
r3 ⇥ 2 3 0 2 0 1 0 r1 + 2r3 3 0 0 18 9 12
r3 + 9r2 B C r2 r3 B C
⇠ @ 0 2 1 1 0 0 A ⇠ @ 0 2 0 8 4 6 A
0 0 1 9 4 6 0 0 1 9 4 6
0 1
r1 ⇥ 13 1 0 0 6 3 4
r2 ⇥ 12 B C
⇠ @ 0 1 0 4 2 3 A
0 0 1 9 4 6
Example
8
>
> x x2 x3 = 2,
>
< 1
Solve linear system 2x1 x2 3x3 = 1,
>
>
>
:3x1 + 2x2 5x3 = 0.
Solution
(A, B)
0 1 r1 $ r2 0 1
2 1 3 1 1 r2 2r1 1 2 2 2 0
B C r3 + r1 B C
= @ 1 2 2 2 0 A ⇠ @ 0 3 1 3 1 A
1 3 2 2 5 0 5 0 0 5
r3 ⇥ 15 0 1 0 1
r2 $ r3 1 2 2 2 0 1 0 0 4 2
r3 + 3r2 B C r1 2r2 + 2r3 B C
⇠ @ 0 1 0 0 1 A ⇠ @ 0 1 0 0 1 A
0 0 1 3 2 0 0 1 3 2
Youming Chen([email protected]) Chongqing University
Linearof algebra
Technology () October 9, 2020 54 / 64
1 0
4 2
B C
Therefore X = A 1 B = @ 0 1 A .
3 2
Solution
Without loss out generality we assume that a 6= 0.
(A, E )
! r1 ⇥ 1a !
b 1
a b 1 0 r2 c · r1 1 a a 0
= ⇠ ad bc c
c d 0 1 0 a a 1
where the column number of Aik equates the row number of Bkj , then
Youming Chen([email protected]) Chongqing University
Linearof algebra
Technology () October 9, 2020 60 / 64
0 1
C11 · · · C1t
B . .. C
AB = B
@ .
. . C
A,
Cs1 · · · Cst
Pt
where Cij = Aik Bkj ;
k=1
0 1 0 1
A11 · · · A1t AT
11 · · · ATs1
B . .. C B . .. C
(4) If A = B
@ .
. . C , then AT = B ..
A @ . CA;
As1 · · · Ast AT
1t · · ·
T
Ast
where all Ai are square matrix, then A is invertible if and only if all Ai
are square matrices, and
0 1
A1 1 O
B C
B A2 1 C
A =B
1
B ..
C.
C
@ . A
O As 1
Solution
!
A1 O
Partition A = , then
O A2
! !
3 1 1 1
A1 = (5), A1 1 = ( 15 ), A2 = , A2 1 = . Hence
2 1 2 3
0 1
1
5 0 0
1 B C
A =@ 0 1 1 A.
0 2 3