Matrices & Determinants
Engineering Services (ESE) – Mathematics
1. Simple Explanation
A matrix is a rectangular array of numbers arranged in rows and columns.
- Rows are horizontal lines.
- Columns are vertical lines.
A matrix is written as
[ A = \begin{bmatrix} a_{11} & a_{12} & \dots & a_{1n}\ a_{21} & a_{22} & \dots & a_{2n}\ \vdots & \vdots & \ddots & \vdots\ a_{m1} & a_{m2} & \dots & a_{mn} \end{bmatrix} ]
where (m) = number of rows, (n) = number of columns.
The determinant of a square matrix (same number of rows and columns) is a single number that tells us about the matrix’s properties – e.g., whether a linear system has a unique solution, or whether a matrix is invertible.
In engineering, matrices and determinants are used for:
- Solving systems of linear equations (circuits, structural analysis).
- Transformations (rotations, scaling).
- Stability analysis.
2. Key Points
| Concept | What it is | Why it matters |
|---|---|---|
| Matrix notation | ([a_{ij}]) | Keeps data organized |
| Square matrix | (m=n) | Needed for determinant & inverse |
| Transpose | (A^T) (swap rows/columns) | Symmetry, orthogonality |
| Addition / Subtraction | Element‑wise | Combine systems |
| Scalar multiplication | (kA) | Scale effects |
| Matrix multiplication | ((AB){ij}=\sum_k a{ik}b_{kj}) | Combine linear transformations |
| Determinant | (\det A) | Non‑zero → system solvable & unique |
| Cofactor expansion | (\det A = \sum_j a_{ij}C_{ij}) | Compute determinants of larger matrices |
| Adjugate / Cofactor matrix | (\operatorname{adj}(A)) | Used for inverse |
| Inverse matrix | (A^{-1}) s.t. (AA^{-1}=I) | Solve (Ax=b) via (x=A^{-1}b) |
| Rank | Number of independent rows/columns | Determines solvability |
| Cramer's Rule | (x_i = \frac{\det(A_i)}{\det(A)}) | Direct formula for (n) variables |
| Eigenvalues / Eigenvectors | (Av=\lambda v) | Stability, vibration analysis |
Important formulas
-
Determinant of a 2×2 matrix
[ \det \begin{bmatrix} a & b\ c & d \end{bmatrix}=ad-bc ] -
Determinant of a 3×3 matrix (Sarrus rule)
[ \det A = a(ei−fh)-b(di−fg)+c(dh−eg) ] -
Inverse of a 2×2 matrix
[ A^{-1}= \frac{1}{\det A}\begin{bmatrix} d & -b\ -c & a \end{bmatrix} ] -
Cramer's Rule (for (n=3))
[ x = \frac{\det A_x}{\det A},\quad y = \frac{\det A_y}{\det A},\quad z = \frac{\det A_z}{\det A} ]
3. Worked Example
Problem
Solve the system of equations using matrix methods:
[ \begin{cases} 2x + 3y - z = 5\
- x + 4y + 2z = 6\ 3x - y + z = 4 \end{cases} ]
Step 1 – Write in matrix form
[ A = \begin{bmatrix} 2 & 3 & -1\ -1 & 4 & 2\ 3 & -1 & 1 \end{bmatrix},\qquad \mathbf{x} = \begin{bmatrix}x\y\z\end{bmatrix},\qquad \mathbf{b} = \begin{bmatrix}5\6\4\end{bmatrix} ]
We need ( \mathbf{x} = A^{-1}\mathbf{b}).
Step 2 – Compute (\det A)
Using cofactor expansion along the first row:
[ \det A = 2\det\begin{bmatrix}4&2\-1&1\end{bmatrix}
- 3\det\begin{bmatrix}-1&2\3&1\end{bmatrix}
- (-1)\det\begin{bmatrix}-1&4\3&-1\end{bmatrix} ]
Compute each 2×2 determinant:
[ \begin{aligned} \det\begin{bmatrix}4&2\-1&1\end{bmatrix} &= 4\cdot1 - (-1)\cdot2 = 4+2=6\ \det\begin{bmatrix}-1&2\3&1\end{bmatrix} &= (-1)\cdot1 - 3\cdot2 = -1-6=-7\ \det\