Lesson: Matrices
Hello everyone! Today, we’re going to get to know matrices, a core topic under the Numbers and Algebra strand in Applied Mathematics 1. At first glance, a matrix might look like just a confusing grid of numbers, but it’s actually a powerful "data organization tool." If you've ever used Excel or looked at a school class schedule, you've already seen the concept of a matrix in real life!
Don’t worry if it looks a bit strange at first. We’ll go through it step-by-step together. I’ve summarized the most important exam-focused points to make them as easy as possible to understand.
1. What is a Matrix? (The Basics)
A matrix is a collection of numbers arranged in a rectangular grid within brackets [ ] or ( ), consisting of:
- Row: Numbers arranged horizontally.
- Column: Numbers arranged vertically.
- Dimension: The size of the matrix, stated as \(m \times n\) (rows \(\times\) columns).
Key Tip: Always remember "Rows before Columns." For example, a \(2 \times 3\) matrix means it has 2 rows and 3 columns.
Did you know? Elements in a matrix are usually denoted by the symbol \(a_{ij}\), where \(i\) is the row number and \(j\) is the column number. For example, \(a_{12}\) is the element in the 1st row and the 2nd column.
2. Matrix Operations
Addition and Subtraction
The only condition for adding or subtracting matrices is that they "must have the exact same dimensions."
- Method: Simply add or subtract the corresponding elements in the same positions.
Scalar Multiplication
Think of this like distributing a number to everyone in a room. If there is a scalar \(k\) in front of a matrix, you multiply every single element in that matrix by \(k\).
Matrix Multiplication
This is where many people get confused. The core principle is "Rows multiplied by Columns."
- Condition: Matrix A can be multiplied by Matrix B only if the number of columns in A = the number of rows in B.
- Result: If you have \(A_{m \times n} \times B_{n \times p}\), the resulting matrix will have dimensions \(m \times p\).
Common Mistake: \(A \times B\) is not necessarily equal to \(B \times A\)! The order of multiplication is crucial—you cannot swap them like you do with regular numbers.
Key Summary: When multiplying matrices, remember to "take the horizontal row from the first matrix, pair it with the vertical column from the second, and sum the products."
3. Transpose and Square Matrices
Transpose (\(A^t\))
Think of this as "flipping" the matrix. Rows become columns, and columns become rows. For example, if row 1 is \([1, 2]\), after transposing, 1 and 2 will be arranged vertically as column 1.
Square Matrix
A matrix where the number of rows equals the number of columns, such as a \(2 \times 2\) or \(3 \times 3\). We use the properties of square matrices heavily in exams.
4. Determinant (det)
A determinant is a "constant value" derived only from square matrices.
- \(2 \times 2\) dimension: If \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), then \(\text{det}(A) = ad - bc\).
- Memory Trick: "Multiply down, subtract multiply up."
- \(3 \times 3\) dimension: Use the method of repeating the first two columns outside the bracket and multiply diagonally (downward 3 diagonals are positive, upward 3 diagonals are negative).
Important Properties of det (to memorize):
- \(\text{det}(AB) = \text{det}(A) \cdot \text{det}(B)\)
- \(\text{det}(A^n) = (\text{det}(A))^n\)
- \(\text{det}(A^t) = \text{det}(A)\)
- \(\text{det}(kA) = k^n \text{det}(A)\) where \(n\) is the dimension of the matrix (This shows up on exams often—don't forget to raise \(k\) to the power of \(n\)!)
5. Inverse Matrix (\(A^{-1}\))
An inverse is a matrix that, when multiplied by the original matrix, results in the Identity Matrix (I) (a matrix with 1s on the main diagonal and 0s elsewhere).
Formula for \(2 \times 2\): If \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), then \(A^{-1} = \frac{1}{\text{det}(A)} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\).
Easy way to remember: Swap positions of \(a\) and \(d\), add a negative sign in front of \(b\) and \(c\), then divide by \(\text{det}(A)\).
Warning: If \(\text{det}(A) = 0\), the matrix has no inverse. We call this a "Singular Matrix."
6. Solving Systems of Linear Equations Using Matrices
We can write systems of equations in the form \(AX = B\).
- \(A\) is the coefficient matrix (the numbers in front of x, y, z).
- \(X\) is the variable matrix.
- \(B\) is the answer matrix (the numbers after the = sign).
Method: We can find \(X\) using \(X = A^{-1}B\) or by using Cramer's Rule, which involves finding the \(\text{det}\) of matrices where columns are replaced by constants.
Did you know? Current A-Level exams often focus on Elementary Row Operations (ERO) to find solutions or inverses. You should practice adding and subtracting rows until you're fast!
Key Takeaways for Exam Prep
1. Dimensions are crucial: Before calculating, always check if the matrix dimensions allow the operation.
2. Properties of det: Appears in almost every exam year. Memorize them, especially how to pull the constant \(k\) out.
3. \(2 \times 2\) Inverse: Practice mental calculation so you can do it quickly to save time.
4. Watch out for negative signs: Most calculation errors in matrices come from subtracting negative numbers. Take your time, no need to rush.
If the content feels overwhelming, don't worry. Matrices are a topic that requires practice. The more you solve, the more you'll start to see the patterns and get faster. You've got this!