Lecture1 D3
Lecture1 D3
Lecture 01
Saurav Bhaumik
Department of Mathematics
IIT Bombay
Spring 2025
Grading Policy
There will be two common quizzes (scheduled on 22 January
and 12 February 2025) and one final exam.
The allotted 50 marks will be split as follows:
Attendance Policy
Attendance in lectures and tutorials is COMPULSORY.
Students who do not meet 80% attendance will be
awarded the DX grade.
(sum) x + y := (x1 + y1 , . . . , xn + yn ) ∈ Rn ,
(scalar multiple) α x := (α x1 , . . . , α xn ) ∈ Rn ,
(scalar product) x · y := x1 y1 + · · · + xn yn ∈ R.
α1 a1 + · · · + αm am ∈ R1×n
α1 b1 + · · · + αm bm ∈ Rn×1
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 · · · a jℓ · · · a jn
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.
Saurav Bhaumik, IIT Bombay Linear Algebra: Lecture 01
Note that AI = A, IA = A, AO = O and OA = O whenever
these products are defined.
Examples
1 6 0 2
2 1 −1
(i) Let A := and B := 2 −1 1 −2 .
0 3 1 2×3
2 0 −1 1 3×4
2 11 2 1
Then AB = .
8 −3 2 −5 2×4
1 0
(ii) In general, AB ̸= BA. For example, if A := and
0 0
0 1 0 1 0 0
B := , then AB := , while BA := .
0 0 0 0 0 0
Note that BA = O, while AB = B ̸= O. Since A ̸= I,
we see that the so-called cancellation law does not hold.
am
terms of its columns. Note: AB has m rows and p columns.
Rows of AB
Fix j ∈ {1, . . . , m}, and consider the jth row of AB, namely,
aj B = [aj b1 · · · aj bp ]. For k = 1, . . . , p, the kth entry of the
jth row of AB is aj bk = aj1 b1k + · · · + ajn bnk , where
b1k , . . . , bnk are the kth entries of the n row vectors of B.
Saurav Bhaumik, IIT Bombay Linear Algebra: Lecture 01
Thus we see that for j = 1, . . . , m, the jth row of AB is a
linear combination of the n row vectors of B with coefficients
aj1 , . . . , ajn provided by the jth row of A.
Columns of AB
Fix k ∈ {1, . . . ,
p}, and consider the kth column of AB,
a1 bk
..
namely, Abk = . . For j = 1, . . . , m, the jth entry of
am bk
the kth column of AB is aj bk = aj1 b1k + · · · + ajn bnk , that is,
b1k aj1 + · · · + bnk ajn , where aj1 , . . . , ajn are the jth entries of
the n columns of A.
Thus we see that for k = 1, . . . , n, the kth column of AB is a
linear combination of the n column vectors of A with
coefficients b1k , . . . , bnk provided by the kth column of B.
These descriptions of the rows and columns of AB are useful.
Saurav Bhaumik, IIT Bombay Linear Algebra: Lecture 01
Example
As we have seen,
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
.
Saurav Bhaumik, IIT Bombay Linear Algebra: Lecture 01
Linear System
Let m, n ∈ N. A linear system of m equations in the n
unknowns x1 , ..., xn is given by