LinearAlgebra Lecture Note-2 2114 2
LinearAlgebra Lecture Note-2 2114 2
Lecture Note 2
Addition, Subtraction and transpose of a matrix
By Noorullah ibrahimi
We previously learned about vectors
1 2
1 2 7
𝑋= 𝑜𝑟 𝑌 = 3 2
3 2 0 Matrices can take on
0 3
any dimension
If D is a 6×2 matrix and E is a 2×6 matrix, is the product DE defined? If yes, what is its
dimension?
A matrix that is tall is called Tall matrix(width is less than height). For example
0 3 1 6 10
1 1 1 1
𝑋 = 0 2 ,𝑌 = , 𝑍 = 2 7 11
2 1 3 8 12
0 3
3 1 4 9 13
A matrix whose width is equal to height is called Square matrix. For example
1 3 1 4 8
𝑋= , 𝑌 = 2 5 9
2 4
3 6 10
Just like vectors we can also How to transpose a matrix
transpose matrices
1 4
The transpose operation is when you flop 1 2 3
𝑋 = 2 5 , 𝑡ℎ𝑒𝑛 𝑋𝑇 =
the vector down 4 5 6
1 3 6
𝑥= , 𝑡ℎ𝑒𝑛 𝑥 𝑇 = 1 2
2 1 5
2 6
𝑌 = 1 2 3 4 , 𝑡ℎ𝑒𝑛 𝑌 =
𝑇
1
5 6 7 8 3 7
𝑦 = 2 , 𝑡ℎ𝑒𝑛 𝑦𝑇 = 1 2 3
3 4 8
Transpose of a transpose
1 4
1 1 2 3
z = 1 2 3 , 𝑡ℎ𝑒𝑛 𝑧 𝑇 = 2 X= 2 5 , 𝑡ℎ𝑒𝑛𝑋𝑇 = 4 5 6
3 6
3 1 4
𝑋𝑇 𝑇 = 2 5
3 6
Practice
Find AT
Practice
X = 1 0 , 𝑡ℎ𝑒𝑛 2X = 2 × 1 2×0 = 2 0
2 1 2×2 2×1 4 2
1. If matrix A and multiply it by a constant 3.
Find 3A
2. If matrix B and multiply it by a constant -2
Addition by a constant
3 2
X = 1 0 , 𝑡ℎ𝑒n X + 2 = 1 + 2 0 + 2 =
2 1 2+2 1+2 4 3