Professional Documents
Culture Documents
L-1
Matrix: A matrix is a rectangular array of elements arranged in horizontal rows and columns,
and usually enclosed in brackets.
Examples:
1 2 0.5 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑡𝑡 + 1
� �;� � ; [− 1.7, 2 + 𝑖𝑖6, −3𝑖𝑖, 0]( commas can be used) or [− 1.7 2 + 𝑖𝑖6 −
3 4 −6 0 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐
3𝑖𝑖 0](Standard matrix notification) are all matrices.
A vector is a matrix having either one row or one column. A matrix consisting of a single row is
called row vector and a matrix having a single column is called a column vector.
Example:
2 3 0 1
A = � 4 2 �, B = �2 3�
0−3 4 5
2+0 3+1 2 4
A+B=� 4+2 2 + 3 � = �6 5�
0+4 −3+5 4 2
2−0 3−1 2 2
A-B = � 4 − 2 2−3 �=� 2 −1 �
0−4 −3−5 −4 − 8
NOTE: Matrix addition is both associative and commutative. That is;
A + (B+C) = (A+B) + C
Scalar Multiplication :
kA = k�𝑎𝑎𝑖𝑖𝑖𝑖 � = �𝒌𝒌𝑎𝑎𝑖𝑖𝑖𝑖 �
Example:
2 3 4
A = �4 5 6�
6 7 9
2 3 4 3×2 3 ×3 3×4 6 9 12
So, 3A = 3 �4 5 6� = � 3 × 4 3 × 5 3×6 �= = � 12 15 18 �
6 7 9 3×6 3× 7 3×9 18 21 27
Matrix Multiplication:
The product of matrices A and B is only possible if the number of columns in A is equal to the
number of rows in B.
Where, 𝑐𝑐𝑖𝑖𝑖𝑖 = 𝑎𝑎𝑖𝑖1 𝑏𝑏1𝑗𝑗 + 𝑎𝑎𝑖𝑖2 𝑏𝑏2𝑗𝑗 + 𝑎𝑎𝑖𝑖3 𝑏𝑏3𝑗𝑗 + … … … … + 𝑎𝑎𝑖𝑖𝑖𝑖 𝑏𝑏𝑛𝑛𝑛𝑛
Example:
0 1 2 𝟏𝟏 − 𝟐𝟐
A = �1 2 3�’ B = � −𝟏𝟏 𝟎𝟎 �
2 3 4 𝟐𝟐 − 𝟏𝟏
0 1 2 𝟏𝟏 − 𝟐𝟐
Then, AB = �1 2 3� � −𝟏𝟏 𝟎𝟎 �
2 3 4 𝟐𝟐 − 𝟏𝟏
0 × 1 + 1 × (−1) + 2 × 2 0 × (−2) + 1 × 0 + 2 × (−1)
= � 1 × 1 + 2 × (−1) + 3 × 2 1 × (−2) + 2 × 0 + 3 × (−1) �
2 × 1 + 3 × (−1) + 4 × 2 2 × (−2) + 3 × 0 + 4 × (−1)
3 −2
= �5 − 5 �
7 −8
Properties of matrix multiplication:
Example:
Two matrices are said to be equivalent if one is obtained from the other by elementary
transformations. The symbol ~ is used for equivalence.