Linear - Algebra Lecture 1
Linear - Algebra Lecture 1
Lecture 01
January 2024
N := {1, 2, 3, . . .}
Z := {. . . , −3, −2, −1, 0, 1, 2, 3, . . .}
R := the set of all real numbers
For n ∈ N, let us consider the Euclidean space
(sum) x + y := (x1 + y1 , . . . , xn + yn ) ∈ Rn ,
(scalar multiple) α x := (α x1 , . . . , α xn ) ∈ Rn ,
(scalar product) x · y := x1 y1 + · · · + xn yn ∈ R.
αA := [αajk ]
AT := [akj ]
Notice that the sum a1 + a2 of two row vectors a1 and a2 follows the
parallelogram law, and so does the sum b1 + b2 of two column vectors b1
and b2 . (Note: All vectors ‘originate’ from the zero vector.)
Also, note that the transpose of a row vector is a column vector, and vice
versa.
b1
..
.
n×1
We shall often write a column vector b := bk ∈ R , as
..
.
bn
T
b1 · · · bk · · · bn in order to save space.
α1 a1 + · · · + αm am ∈ R1×n
α1 b1 + · · · + αm bm ∈ Rn×1
bn
the product of a row vector a with a column vector b as follows:
b1
.
ab = a1 · · · an .. := a1 b1 + · · · + an bn ∈ R.
bn
am
Recalling that b ∈ Rn×1 , we define
a1 a1 b
Ab = ... b := ... ∈ Rm×1 .
am am b
Thus
a1 a1 b1 ··· a1 bp
AB = ... [b1 · · · bp ] = ... .. ∈ Rm×p .
.
am am b1 ··· am bp
Note that the (j, k)th entry of AB is a product of the jth row vector of
A with the kth column vector of B as shown below:
b1k
..
.
aj1 · · · ajℓ · · · ajn
bℓk
..
.
bnk
Clearly, the product AB is defined only when the number of columns of
A is equal to the number of rows of B.
Note: AI = A, IA = A, AO = O and OA = O whenever these products
are defined.
This is called the outer product of the column vector c and the row
vector d.
Proof. Let A := [ajk ], B := [bjk ] and C := [cjk ]. Also, let (AB)C := [αjk ]
and A(BC) := [βjk ]. Then
p X
X n n
X p
X
αjk = ajℓ bℓi cik = ajℓ bℓi cik = βjk
i=1 ℓ=1 ℓ=1 i=1
am B
1 6 0 2
2 1 −1 2 11 2 1
2 −1 1 −2 =
, where
0 3 1 8 −3 2 −5
2 0 −1 1
2 11 2 1 = 2 1 6 0 2 + 1 2 −1 1 −2
−1 2 0 −1 1 ,
8 −3 2 −5 = 0 1 6 0 2 + 3 2 −1 1 −2
+1 2 0 −1 1 ,
2 2 1 −1
= 1 +2 +2 ,
8 0 3 1
11 2 1 −1
= 6 −1 +0 , etc.
−3 0 3 1
.