Rule
A matrix with m rows and n columns → order m × n (read "m by n").
Written as: A = [aij]m×n, where aij = element in ith row, jth column.
Total elements in a matrix = m × n
To find possible orders → find factor pairs of total elements!
e.g. 8 elements → orders: 1×8, 8×1, 2×4, 4×2
🎭 Types of Matrices
🗂️ Quick-look table
Type
Meaning
Example
🔹 Row Matrix
Only 1 row → order 1×n
[ 5 2 3 ]
🔹 Column Matrix
Only 1 column → order m×1
[ 1 ; 4 ; 7 ]
🔹 Square Matrix
rows = columns (m = n)
3×3, 2×2 etc.
🔹 Diagonal Matrix
square matrix, all non-diagonal = 0
diag(4,2,3)
🔹 Scalar Matrix
diagonal matrix with all diagonal entries equal (=k)
diag(3,3,3)
🔹 Identity Matrix (I)
diagonal = 1, rest = 0
I₃
🔹 Zero / Null Matrix (O)
all elements = 0
[0 0;0 0]
📌 Note: Every identity matrix is a scalar matrix (k=1), but not every scalar matrix is an identity matrix!
⚖️ Equality of Matrices
Two matrices A = [aij] and B = [bij] are equal only if:
Same order (same rows & columns)
Every corresponding element is equal → aij = bij
Used to solve for unknowns (x, y, z...) by comparing corresponding entries! 🔍
➕ Operations on Matrices
1️⃣ Addition
Add corresponding elements — only possible if matrices are of the same order.
A + B = [aij + bij]
2️⃣ Scalar Multiplication
Multiply every element by the scalar k.
kA = [k·aij]
➡️ Negative of matrix: −A = (−1)A
3️⃣ Subtraction
A − B = A + (−1)B (same order needed)
4️⃣ Multiplication
Defined only if: columns of A = rows of B.
If A is m×n and B is n×p → AB is m×p
Each element: cik = Σ aij bjk (row of A • column of B)
A (m × n)
✖️
B (n × p)
➡️
AB (m × p)
⚠️ Matrix multiplication is NOT commutative! Generally AB ≠ BA.
Also, AB = O does not mean A = O or B = O! 😲
📜 Properties Corner
Addition
A + B = B + A (commutative)
(A+B)+C = A+(B+C) (associative)
A + O = O + A = A (identity)
A + (−A) = O (inverse)
Multiplication
(AB)C = A(BC) (associative)
A(B+C) = AB + AC (distributive)
(A+B)C = AC + BC (distributive)
IA = AI = A (mult. identity)
🔄 Transpose of a Matrix (A′ or Aᵀ)
Defn
Formed by interchanging rows and columns of A.
If A = [aij]m×n then A′ = [aji]n×m
✨ Properties of Transpose
Property
Rule
Double transpose
(A′)′ = A
Scalar
(kA)′ = kA′
Addition
(A + B)′ = A′ + B′
Multiplication
(AB)′ = B′A′ (order flips! 🔁)
🪞 Symmetric & Skew-Symmetric Matrices
Symmetric
A′ = A → aij = aji (mirror image about diagonal!) 🪟
Skew-Symmetric
A′ = −A → aji = −aij 💡 All diagonal elements = 0
🌟 Big Theorem: Any square matrix A can be written as the sum of a symmetric and a skew-symmetric matrix: