Lecture One: Matrices Basic Definitions and Operations
Basic Definitions
Matrix: A matrix is a rectangular array of numbers (entries) arranged in rows and columns.
Order: The order of a matrix is given as
, where is the number of rows and is the number of columns. Element: The element in row
and column of a matrix is denoted as and it's called the entry of the matrix . Main Diagonal: The main diagonal of any matrix is the set of entries
where .
Special Types of Matrices
- Row Matrix: A row matrix has 1 row and
columns. Example:
- Column Matrix: A column matrix has
rows and 1 column. Example:
- Square Matrix: A square matrix has the same number of rows and columns, i.e.,
. Examples:
- Identity Matrix: The identity matrix
is a square matrix where all diagonal elements are 1, and all other elements are 0. Examples:
- Zero Matrix: The zero matrix
has all its entries as 0. Examples:
Matrix Algebra: Addition, Subtraction, and Scalar Multiplication
Matrix Addition: The matrix sum
is obtained by adding corresponding entries of and . NOTE
Matrix addition is only possible if the matrices have the same order.
Example 1: Find
:
Matrix Subtraction: The matrix difference
is obtained by subtracting corresponding entries of from . Example 2: Find
:
Scalar Multiplication: The scalar multiplication of
by is obtained by multiplying each entry of by . Example 3: Find
:
Matrix Multiplication
- Matrix Product: The product
of matrices and is defined if the number of columns of equals the number of rows of . The resulting matrix will have the order .
TIP
If you are on mobile swip to the left to see the full euqation or enable desktop mode
Example 4: Find
Non-commutativity: In general, matrix multiplication is not commutative, i.e.,
. Example 5: Show that
for the matrices:
First
Next
Hence,
Matrix Transpose
Transpose: The transpose
of a matrix is obtained by swapping the rows and columns of . If is of order , then will be of order . Example 6: Find
:
NOTE
A square matrix
Basic Properties of Matrices
- Commutativity of Addition:
- Associativity of Addition:
- Distributivity of Scalar Multiplication:
- Transposition Properties:
- Matrix Multiplication:
- Transposition of a Product:
- Power of a Matrix:
Important Special Properties
, where is the zero matrix. , where is the identity matrix. , where is the zero matrix.
Thus, the identity and zero matrices behave like the numbers 1 and 0 respectively in ordinary arithmetic and algebra.
Example 7
Show that
Given:
First, compute
Then, solve for
Equating the 2 matrices gives,
This immediately gives
Next, compute