MTH174Semester 1 • 4 CreditsCore Subjects

Engineering Mathematics

This course covers matrix algebra, linear differential equations, Fourier series, multivariate calculus, and integral calculus. It develops students' ability to solve systems of linear equations, differential equations, and problems involving multi-variable derivatives, surface integrals, and volume integrals.

6 Units • Notes • Model Answers • MCQs
Select Course Unit (6 Units)
Active: Unit 1
Unit 1:Unit 1: Matrix Algebra
7 min read•High-Yield Unit Guide

Unit 1: Matrix Algebra

Unit 1 Exam Focus & Core Takeaways

Review the core definitions, standard architectures, and syntax patterns below. Pay special attention to sections highlighted with bullet points for your mid-term and end-term subjective questions.

Unit 1: Matrix Algebra

1. Introduction to Matrices and Systems of Linear Equations

Matrices are fundamental mathematical arrays used across computational engineering, graphics, signal processing, and numerical physics. An m×nm \times n matrix contains mm rows and nn columns of scalar entries.

Elementary Row Operations

Elementary row operations (EROs) transform a matrix into simpler canonical forms without altering the solution space of the corresponding linear system:

  1. Row Swapping (Ri↔RjR_i \leftrightarrow R_j): Interchanging two distinct rows.
  2. Scalar Multiplication (Ri←kRi,k≠0R_i \leftarrow k R_i, k \neq 0): Scaling every entry of a row by a non-zero scalar.
  3. Row Addition / Elimination (Ri←Ri+kRjR_i \leftarrow R_i + k R_j): Adding a scalar multiple of row jj to row ii.

Each elementary row operation corresponds to pre-multiplying the matrix by an elementary matrix EE, formed by applying the identical operation to the identity matrix II. Because every elementary matrix is non-singular, EROs preserve row equivalence and matrix rank.


2. Row Echelon Form (REF) and Reduced Row Echelon Form (RREF)

A matrix is in Row Echelon Form (REF) if:

  • All non-zero rows lie strictly above any rows consisting entirely of zeros.
  • The leading coefficient (pivot) of a non-zero row is positioned strictly to the right of the pivot in the preceding row.
  • All entries directly below a pivot are zero.

A matrix is in Reduced Row Echelon Form (RREF) if, in addition to the REF criteria:

  • Every pivot entry equals 11.
  • Each pivot is the sole non-zero entry in its entire column (entries both above and below the pivot are zero).

While a matrix can have multiple row echelon forms depending on the sequence of operations, its reduced row echelon form is strictly unique.


3. Rank of a Matrix and the Rank-Nullity Theorem

The rank of a matrix AA, denoted rank(A)\text{rank}(A) or ρ(A)\rho(A), is defined as:

  • The maximum number of linearly independent row vectors (row rank).
  • The maximum number of linearly independent column vectors (column rank).
  • The order of the largest non-zero sub-determinant (minor) of AA.
  • The total count of pivot positions (non-zero rows) in its row echelon form.

Fundamental Rank Properties:

  • For an m×nm \times n matrix AA: 0≤rank(A)≤min⁡(m,n)0 \le \text{rank}(A) \le \min(m, n).
  • rank(A)=rank(AT)=rank(ATA)\text{rank}(A) = \text{rank}(A^T) = \text{rank}(A^T A).
  • Rank-Nullity Theorem: For an m×nm \times n matrix representing a linear transformation T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m:
    rank(A)+nullity(A)=n\text{rank}(A) + \text{nullity}(A) = n
    where nullity(A)\text{nullity}(A) represents the dimension of the null space ker⁡(A)={x∈Rn:Ax=0}\ker(A) = \{x \in \mathbb{R}^n : Ax = 0\}.

4. Matrix Inversion and Gauss-Jordan Elimination

A square matrix A∈Rn×nA \in \mathbb{R}^{n \times n} is invertible (non-singular) if there exists a matrix A−1A^{-1} such that:
AA−1=A−1A=InA A^{-1} = A^{-1} A = I_n

Adjoint Method:

A−1=1det⁡(A)adj(A)A^{-1} = \frac{1}{\det(A)} \text{adj}(A)
where adj(A)=CT\text{adj}(A) = C^T, the transpose of the cofactor matrix CC.

Gauss-Jordan Elimination:

Construct the augmented block matrix [A∣In][A \mid I_n] and apply elementary row operations until the left block reduces to InI_n:
[A∣In]→EROs[In∣A−1][A \mid I_n] \xrightarrow{\text{EROs}} [I_n \mid A^{-1}]
If the left block cannot be reduced to InI_n (i.e., a zero row appears), det⁡(A)=0\det(A) = 0 and AA is singular.


5. Consistency and Solutions of Linear Systems (Ax=bAx = b)

Let AA be an m×nm \times n coefficient matrix, xx an n×1n \times 1 vector of unknowns, and bb an m×1m \times 1 vector of constants. The augmented matrix is denoted [A∣b][A \mid b].

Rouché-Capelli (Consistency) Theorem:

  1. Inconsistent System (No Solution):
    rank(A)<rank([A∣b])\text{rank}(A) < \text{rank}([A \mid b])
    This occurs when row reduction yields a contradictory row [0  0  …  0∣c][0 \; 0 \; \dots \; 0 \mid c] where c≠0c \neq 0.
  2. Consistent with Unique Solution:
    rank(A)=rank([A∣b])=n(number of variables)\text{rank}(A) = \text{rank}([A \mid b]) = n \quad (\text{number of variables})
    Every column contains a pivot; no free variables exist.
  3. Consistent with Infinitely Many Solutions:
    rank(A)=rank([A∣b])=r<n\text{rank}(A) = \text{rank}([A \mid b]) = r < n
    The solution space has n−rn - r free variables (degrees of freedom).

Homogeneous Linear Systems (Ax=0Ax = 0):

  • Always consistent because the trivial solution x=0x = 0 always satisfies A(0)=0A(0) = 0.
  • Possesses non-trivial (non-zero) solutions if and only if rank(A)<n\text{rank}(A) < n. For a square matrix n×nn \times n, this is equivalent to det⁡(A)=0\det(A) = 0.

6. Eigenvalues and Eigenvectors

Let AA be an n×nn \times n square matrix. A scalar λ∈C\lambda \in \mathbb{C} is an eigenvalue of AA if there exists a non-zero vector v≠0v \neq 0 such that:
Av=λv  ⟺  (A−λI)v=0A v = \lambda v \iff (A - \lambda I) v = 0

Characteristic Equation:

Non-trivial solutions vv exist if and only if:
det⁡(A−λI)=0\det(A - \lambda I) = 0
This determinant expands into the characteristic polynomial P(λ)=(−1)nλn+cn−1λn−1+⋯+det⁡(A)P(\lambda) = (-1)^n \lambda^n + c_{n-1} \lambda^{n-1} + \dots + \det(A).

Crucial Eigenvalue Theorems:

  • Trace Property: The sum of all eigenvalues (counted with multiplicity) equals the trace of AA:
    ∑i=1nλi=Tr(A)=∑i=1naii\sum_{i=1}^n \lambda_i = \text{Tr}(A) = \sum_{i=1}^n a_{ii}
  • Determinant Property: The product of all eigenvalues equals the determinant:
    ∏i=1nλi=det⁡(A)\prod_{i=1}^n \lambda_i = \det(A)
  • Triangular Matrices: The eigenvalues of upper triangular, lower triangular, and diagonal matrices are precisely the primary diagonal elements.
  • Spectral Mapping: If λ\lambda is an eigenvalue of AA with eigenvector vv:
    • AkA^k has eigenvalue λk\lambda^k.
    • A−1A^{-1} (if invertible) has eigenvalue λ−1=1/λ\lambda^{-1} = 1/\lambda.
    • A+cIA + cI has eigenvalue λ+c\lambda + c.
  • Algebraic vs. Geometric Multiplicity:
    • Algebraic Multiplicity (AMAM): The multiplicity of λ\lambda as a root of det⁡(A−λI)=0\det(A - \lambda I) = 0.
    • Geometric Multiplicity (GMGM): The dimension of the eigenspace Eλ=nullity(A−λI)E_\lambda = \text{nullity}(A - \lambda I).
    • Always 1≤GM(λ)≤AM(λ)1 \le GM(\lambda) \le AM(\lambda). A matrix is diagonalizable if and only if GM(λ)=AM(λ)GM(\lambda) = AM(\lambda) for every eigenvalue.

7. The Cayley-Hamilton Theorem

Theorem Statement:

Every square matrix satisfies its own characteristic equation. That is, if:
P(λ)=det⁡(A−λI)=(−1)nλn+cn−1λn−1+⋯+c1λ+c0=0P(\lambda) = \det(A - \lambda I) = (-1)^n \lambda^n + c_{n-1} \lambda^{n-1} + \dots + c_1 \lambda + c_0 = 0
then substituting the matrix AA yields the zero matrix:
P(A)=(−1)nAn+cn−1An−1+⋯+c1A+c0I=OP(A) = (-1)^n A^n + c_{n-1} A^{n-1} + \dots + c_1 A + c_0 I = O

Primary Applications:

  1. Evaluating Inverse Matrices:
    If det⁡(A)=c0≠0\det(A) = c_0 \neq 0, multiplying P(A)=0P(A) = 0 by A−1A^{-1} allows direct computation of A−1A^{-1}:
    A−1=−1c0[(−1)nAn−1+cn−1An−2+⋯+c1I]A^{-1} = -\frac{1}{c_0} \left[ (-1)^n A^{n-1} + c_{n-1} A^{n-2} + \dots + c_1 I \right]
  2. Computing Higher Matrix Powers:
    Express AmA^m (where m≥nm \ge n) as a polynomial in AA of degree at most n−1n-1, vastly accelerating numerical computations and matrix exponentiation.