Linear Algebra and Matrix Operations
Key Takeaways
- Matrices are used extensively in statics (solving force equations), dynamics, and circuit analysis.
- The determinant of a 2×2 matrix [a b; c d] is ad - bc.
- A system of linear equations Ax = b has a unique solution when det(A) ≠ 0.
- Eigenvalues λ satisfy det(A - λI) = 0; they determine system stability and natural frequencies.
- Cramer's Rule solves systems using ratios of determinants — useful for small systems on the FE exam.
- Matrix multiplication is NOT commutative: AB ≠ BA in general.
Linear Algebra and Matrix Operations
Linear algebra provides the computational tools for solving simultaneous equations — a skill used in statics, circuit analysis, structural analysis, and virtually every engineering discipline.
Matrix Basics
A matrix is a rectangular array of numbers. An m × n matrix has m rows and n columns.
Matrix Operations
Addition/Subtraction: Add or subtract corresponding elements (matrices must be the same size).
Scalar Multiplication: Multiply every element by the scalar.
Matrix Multiplication: For A (m × n) times B (n × p), the result C is (m × p):
Key Rule: Matrix multiplication is NOT commutative. AB ≠ BA in general. However, it IS associative: (AB)C = A(BC).
Transpose: Aᵀ swaps rows and columns: (Aᵀ)ᵢⱼ = Aⱼᵢ
Special Matrices
| Type | Definition |
|---|---|
| Identity (I) | Square matrix with 1s on diagonal, 0s elsewhere; AI = IA = A |
| Zero Matrix | All elements are 0 |
| Diagonal | Non-zero elements only on the main diagonal |
| Symmetric | A = Aᵀ |
| Upper Triangular | All elements below diagonal are 0 |
| Lower Triangular | All elements above diagonal are 0 |
Determinants
2 × 2 Determinant
3 × 3 Determinant (Cofactor Expansion)
Expand along the first row:
Properties of Determinants
- det(AB) = det(A) · det(B)
- det(Aᵀ) = det(A)
- det(kA) = kⁿ det(A) for n × n matrix
- Swapping two rows changes the sign of the determinant
- If two rows are identical, det = 0
- det(A) = 0 means A is singular (not invertible)
Solving Systems of Linear Equations
Matrix Form: Ax = b
For a system of n equations with n unknowns:
Cramer's Rule
For Ax = b where det(A) ≠ 0: where Aᵢ is A with column i replaced by b.
Example: Solve 2x + 3y = 8, x - y = 1
det(A) = 2(-1) - 3(1) = -5
x = det([8, 3; 1, -1]) / (-5) = (-8 - 3)/(-5) = -11/(-5) = 11/5
y = det([2, 8; 1, 1]) / (-5) = (2 - 8)/(-5) = -6/(-5) = 6/5
Gaussian Elimination
Convert the augmented matrix [A|b] to row echelon form using elementary row operations, then back-substitute.
Inverse of a Matrix
For a 2 × 2 matrix:
The inverse exists only when det(A) ≠ 0.
Properties:
- A · A⁻¹ = A⁻¹ · A = I
- (AB)⁻¹ = B⁻¹A⁻¹ (reverse order!)
- (Aᵀ)⁻¹ = (A⁻¹)ᵀ
Eigenvalues and Eigenvectors
For a square matrix A, eigenvalue λ and eigenvector v satisfy:
Finding eigenvalues: Solve det(A - λI) = 0 (the characteristic equation)
Example: For A = [4, 1; 2, 3]:
det(A - λI) = (4-λ)(3-λ) - (1)(2) = λ² - 7λ + 10 = (λ-5)(λ-2) = 0
Eigenvalues: λ₁ = 5, λ₂ = 2
Engineering Applications of Eigenvalues
- Structural analysis: Natural frequencies of vibration
- Control systems: System stability (all eigenvalues with negative real parts → stable)
- Principal stresses: Eigenvalues of the stress tensor
What is the determinant of the matrix [[3, 2], [1, 4]]?
Using Cramer's Rule, solve for x in the system: x + 2y = 5, 3x - y = 1.
If a 3×3 matrix A has det(A) = 0, which statement is true?