Matrices and matrix Operations
A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. Matrices provide a powerful mathematical framework for organizing data and solving complex problems, particularly in Systems of Linear Equations.
Matrix Structure and Notation
A matrix is typically denoted by a capital letter and is written within square brackets or parentheses. The size or dimension of a matrix is described by the number of rows and columns it contains, written as m × n (read as "m by n"), where m is the number of rows and n is the number of columns.
For example, a 2 × 3 matrix A has 2 rows and 3 columns:
[a21 a22 a23]
Each element in the matrix is identified by its position. The element aij is located in the ith row and jth column.
Types of Matrices
- Square Matrix: A matrix with an equal number of rows and columns (n × n).
- Row Matrix: A matrix with only one row (1 × n).
- Column Matrix: A matrix with only one column (m × 1).
- Identity Matrix (I): A square matrix with 1s on the main diagonal and 0s elsewhere.
- Zero Matrix: A matrix where all elements are zero.
Basic Matrix Operations
1. Matrix Addition and Subtraction
Two matrices can be added or subtracted only if they have the same dimensions. The operation is performed element by element.
If A and B are both m × n matrices, then:
(A - B)ij = Aij - Bij
2. Scalar Multiplication
A matrix can be multiplied by a scalar (a single number) by multiplying each element of the matrix by that scalar.