Professional Documents
Culture Documents
- MATHEMATICS –
Prepared by: tcsantos
Linear Algebra
Topics:
A. Matrix
B. Matrix Operations
C. Determinants
MATRIX
MATRIX OPERATIONS
Two matrices can be added or subtracted if they have the same dimension.
Add or subtract the matrices by adding or subtracting corresponding entries.
Example:
4 8 1 0 5 8
[ ]+[ ]=[ ]
3 7 5 2 8 9
Scalar Multiplication
Example:
10 6 2 ∙ 10 2 ∙ 6 20 12
2[ ]=[ ]=[ ]
4 3 2∙4 2∙3 8 6
Multiplication
A matrix can be multiplied by any other matrix if the number of columns of the first matrix
must equal to the number of rows of the second one. The resulting matrix has the same
number of rows as the first one has and the same number of columns as the second one.
𝑎11 𝑎12
𝑎22 ] 𝐵 = [𝑏11 𝑏12 𝑏13
𝐴 = [𝑎21 ]
𝑎31 𝑎32 𝑏21 𝑏22 𝑏23
𝑎11 𝑎12 𝑎11 𝑏11 + 𝑎12 𝑏21 𝑎11 𝑏12 + 𝑎12 𝑏22 𝑎11 𝑏13 + 𝑎12 𝑏23
𝑎22 ] ∙ [𝑏11 𝑏12 𝑏13
𝐴𝐵 = [𝑎21 ]=[𝑎21 𝑏11 + 𝑎22 𝑏21 𝑎21 𝑏12 + 𝑎22 𝑏22 𝑎21 𝑏13 + 𝑎22 𝑏23]
𝑎31 𝑎32 𝑏21 𝑏22 𝑏23
𝑎31 𝑏11 + 𝑎32 𝑏21 𝑎31 𝑏12 + 𝑎32 𝑏22 𝑎31 𝑏13 + 𝑎32 𝑏23
Example:
1 2 4 8 −5
2 0 1
[−3 1 ]∙[ ] = [−5 4 −6]
1 4 −3
0 −2 −2 −8 6
Transpose of a matrix
The transpose of a matrix formed by interchanging its rows into columns and columns
into rows. If A is a matrix, then its transpose is denoted by 𝐴𝑇 .
Example:
1 4
1 2 3
𝐴=[ ] , 𝐴𝑇 = [2 5]
4 5 6
3 6
Trace of a matrix
The trace of a square matrix is the sum of all the entries on its diagonal.
Example:
1 2 3
A=[4 5 6]
7 8 9
tr(A) = 1+ 5 + 9 =15
Determinant
• 2 x 2 Matrix
det (A)= ad – bc
Example:
• 3 x 3 Matrix
𝑎 𝑏 𝑐
𝐴 = [𝑑 𝑒 𝑓 ]
𝑔 ℎ 𝑖
Example:
−7 −10 4
𝐴=[ 3 −9 2]
7 1 2
−7 −10 4 −7 10
det (A)= 3 −9 2 3 −9
7 1 2 7 1
Inverse of 2 x 2 Matrix
Example: