Top Banner Ad

AAS103C — Unit 3: Matrix Algebra

Table of Contents (21 sections)

AAS103C · Differential Calculus and Linear Algebra · Unit 3

Matrix Algebra

Unit Scope & Exam Weightage: For ECE, matrices encode loop-current equations, parity-check codes and network modes: KVL gives Ri=VR\mathbf{i}=\mathbf{V}, a linear block code uses a parity-check matrix HH with syndrome s=HrT\mathbf{s}=H\mathbf{r}^T, and filter networks have eigenmodes. The 12 PYQ clusters from 2023-24 to 2025-26 carry about 64 marks — eight 7-mark and four 2-mark questions.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Eigen Values & Eigen Vectors 5 (2025-26, 2024-25, 2023-24 ×3) 7m × 4 + 2m × 2 = 32m Survival Mode
2 Solution of system of linear Equations by direct method (Gauss Elimination Method) 3 (2025-26, 2024-25, 2023-24) 7m × 3 = 21m Consistency
3 Rank of a Matrix by Echelon Form 1 (2025-26) 2m Quick Marks
4 Elementary Transformation 1 (2024-25) 7m Normal Form
5 Inverse by Etransformation 1 (2023-24) 7m Cayley–Hamilton
6 Introduction to Matrices embedded in #2 — Core Concept
7 Diagonalization 0 direct — Predicted
8 and Iterative method (Gauss Seidel Method) 0 direct — Predicted
9 Applications : Error detection and correction codes embedded in #3 — ECE Context
10 Loop Current Analysis embedded in #2 — ECE Context

2-Hour Last-Night Survival Checklist:

  1. Eigen (#1): det⁡(A−λI)=0\det(A-\lambda I)=0, ∑λ=tr⁡A\sum\lambda=\operatorname{tr}A, ∏λ=det⁡A\prod\lambda=\det A. For A=[6−22−23−12−13]A=\begin{bmatrix}6&-2&2\\-2&3&-1\\2&-1&3\end{bmatrix}: λ=8,2,2\lambda=8,2,2 with (2,−1,1)(2,-1,1), (1,2,0)(1,2,0), (0,1,1)(0,1,1).
  2. Consistency (#2): compare ranks of AA and (A∣b)(A|b). For the λ,μ\lambda,\mu system: unique for λ≠3\lambda\ne3, none for λ=3,μ≠5/2\lambda=3,\mu\ne5/2, infinite for λ=3,μ=5/2\lambda=3,\mu=5/2.
  3. Rank (#3): count non-zero echelon rows; the three proportional rows of [2−46−12−33−69]\begin{bmatrix}2&-4&6\\-1&2&-3\\3&-6&9\end{bmatrix} give rank 1. In coding theory a rank-deficient parity-check matrix fails to detect some errors.
  4. Normal form (#4): track row operations in PP and column operations in QQ; target PAQ=[Ir000]PAQ=\begin{bmatrix}I_r&0\\0&0\end{bmatrix}.
  5. Cayley–Hamilton (#5): the 2023-24 matrix is 2×32\times3, so state the objection; for B=[13−1−4]B=\begin{bmatrix}1&3\\-1&-4\end{bmatrix}, t=−3t=-3, d=−1d=-1, B−1=3I+BB^{-1}=3I+B, B3=10B−3IB^3=10B-3I.

1. Introduction to Matrices and Elementary Transformations

Matrix: an m×nm\times n array A=[aij]A=[a_{ij}]. In loop-current analysis, KVL around nn meshes gives Ri=VR\mathbf{i}=\mathbf{V} where RiiR_{ii} is the self-resistance of mesh ii and RijR_{ij} the shared resistance. In linear block codes the generator GG and parity-check HH satisfy GHT=0GH^T=0.

Types: symmetric (AT=AA^T=A), orthogonal (ATA=IA^TA=I — used in orthogonal transforms and rotations), singular (det⁡A=0\det A=0), triangular (arises after elimination).

Elementary operations: interchange rows, multiply a row by a nonzero scalar, add a multiple of a row to another (and the column analogues). They preserve rank and are implemented by elementary matrices P,QP,Q so that PAQ=diag⁡(Ir,0)PAQ=\operatorname{diag}(I_r,0).

Examiner Tip: For the normal-form question, initialise P=I3P=I_3, Q=I4Q=I_4 and apply each operation to them immediately. This is the only reliable way to earn both matrices.


2. Inverse by E-Transformation and Cayley–Hamilton

Row-reduce [A∣I][A\mid I] to [I∣A−1][I\mid A^{-1}]. Cayley–Hamilton: p(A)=0p(A)=0; for 2×22\times2, A2−tA+dI=0A^2-tA+dI=0, so

A−1=1d(tI−A),A2=tA−dI,A3=(t2−d)A−tdI.A^{-1}=\frac{1}{d}(tI-A),\qquad A^2=tA-dI,\qquad A^3=(t^2-d)A-tdI.

This lets one compute powers of a state-transition or filter matrix without repeated multiplication.

The 2023-24 PYQ prints a 2×32\times3 array, so the theorem cannot apply as printed; demonstrate on the square leading block and say so explicitly.


3. Rank and Systems of Linear Equations

Rank: number of linearly independent rows/columns; in echelon form, the number of non-zero rows. In coding theory, rank⁡H\operatorname{rank}H determines the number of independent parity checks; in circuits, rank deficiency of RR signals a redundant or floating loop.

Consistency of Ax=bA\mathbf{x}=\mathbf b:

Condition Solution Circuit/coding interpretation
$\operatorname{rank}A=\operatorname{rank}(A b)=n$ Unique
equal ranks <n<n Infinite Floating node / underdetermined currents
$\operatorname{rank}A<\operatorname{rank}(A b)$ None

Gauss elimination: forward elimination to upper triangular, then back-substitution. Gauss–Seidel: xi(k+1)=1aii(bi−∑j<iaijxj(k+1)−∑j>iaijxj(k))x_i^{(k+1)}=\frac1{a_{ii}}(b_i-\sum_{j<i}a_{ij}x_j^{(k+1)}-\sum_{j>i}a_{ij}x_j^{(k)}), convergent for diagonally dominant AA — a common property of resistive network matrices.

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
    A["KVL equations / syndrome equations"] --> B["Form augmented matrix"]
    B --> C["Row reduce to echelon"]
    C --> D{"Compare ranks"}
    D -->|Equal = n| E["Unique currents / unique solution"]
    D -->|Equal < n| F["Infinite solutions"]
    D -->|Unequal| G["No solution"]

Examiner Tip: For the λ,μ\lambda,\mu question, only the last echelon row matters. Do not solve for x,y,zx,y,z; state the three cases from 6−2λ6-2\lambda and 5−2μ5-2\mu.


4. Eigenvalues, Eigenvectors, Diagonalization

Ax=λxA\mathbf{x}=\lambda\mathbf{x}, x≠0\mathbf{x}\ne0; characteristic equation det⁡(A−λI)=0\det(A-\lambda I)=0. For 3×33\times3:

λ3−(tr⁡A)λ2+(M11+M22+M33)λ−det⁡A=0.\lambda^3-(\operatorname{tr}A)\lambda^2+(M_{11}+M_{22}+M_{33})\lambda-\det A=0.

Properties: ∑λ=tr⁡A\sum\lambda=\operatorname{tr}A, ∏λ=det⁡A\prod\lambda=\det A; symmetric matrices have real eigenvalues and orthogonal eigenvectors; Akx=λkxA^k\mathbf{x}=\lambda^k\mathbf{x}.

Diagonalization: A=PDP−1A=PDP^{-1} with eigenvectors as columns of PP; for symmetric AA, P−1=PTP^{-1}=P^T. In network analysis this decouples modal responses; a zero eigenvalue corresponds to an unobservable/uncontrollable mode.

A repeated eigenvalue must be checked: for A=[6−22−23−12−13]A=\begin{bmatrix}6&-2&2\\-2&3&-1\\2&-1&3\end{bmatrix}, λ=2\lambda=2 is double yet gives two independent eigenvectors, so AA is diagonalizable.

Examiner Tip: Report geometric multiplicity explicitly. A repeated root with only one eigenvector is defective and cannot be diagonalized — a frequent conceptual trap.


5. ECE Applications

Tool ECE application
Eigenvalues/eigenvectors Natural modes of LC networks; stability of digital filters
Rank of HH Number of independent parity checks in an error-correcting code
Syndrome HrTH\mathbf r^T Zero syndrome ⇒ no detectable error; nonzero locates the error pattern
Gauss elimination Solving mesh/loop current equations Ri=VR\mathbf i=\mathbf V
Gauss–Seidel Iterative solution of large sparse nodal-admittance systems
Diagonalization Modal decoupling of multi-input multi-output systems

6. Solved Exam-Ready Questions

Solved Q1 (2024-25, 2 Marks)

Q: Find the eigen values of the matrix [cos⁡θsin⁡θsin⁡θcos⁡θ]\begin{bmatrix}\cos\theta&\sin\theta\sin\theta&\cos\theta\end{bmatrix}.

Solution: (cos⁡θ−λ)2−sin⁡2θ=0⇒λ=cos⁡θ±sin⁡θ(\cos\theta-\lambda)^2-\sin^2\theta=0\Rightarrow\lambda=\cos\theta\pm\sin\theta.


Solved Q2 (2023-24, 2 Marks)

Q: Find the product and sum of the eigen values for A=[8−422]A = \begin{bmatrix}8&-4\\2&2\end{bmatrix}.

Solution: Sum =10=10, product =24=24; roots 4,64,6.


Solved Q3 (2025-26, 2 Marks)

Q: In the matrix equation [3−125][xy]=[4−3]\begin{bmatrix}3&-1\\2&5\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}4\\-3\end{bmatrix}, what are the values of x and y?

Solution: det⁡=17\det=17; x=(20−3)/17=1x=(20-3)/17=1, y=(−9−8)/17=−1y=(-9-8)/17=-1.


Solved Q4 (2025-26, 2 Marks)

Q: Find the Rank of the following Matrix A: A=[2−46−12−33−69]A = \begin{bmatrix}2&-4&6\\-1&2&-3\\3&-6&9\end{bmatrix}.

Solution: All rows are multiples of (1,−2,3)(1,-2,3), so rank =1=1.


Solved Q5 (2025-26, 7 Marks)

Q: Find the eigen values and eigen vectors of the following Matrix A: A=[6−22−23−12−13]A = \begin{bmatrix}6&-2&2\\-2&3&-1\\2&-1&3\end{bmatrix}.

Solution: λ3−12λ2+36λ−32=(λ−8)(λ−2)2\lambda^3-12\lambda^2+36\lambda-32=(\lambda-8)(\lambda-2)^2. For λ=8\lambda=8: (2,−1,1)T(2,-1,1)^T; for λ=2\lambda=2: 2x−y+z=02x-y+z=0 ⇒ (1,2,0)T(1,2,0)^T and (0,1,1)T(0,1,1)^T.


Solved Q6 (2024-25, 7 Marks)

Q: Find the eigen values and eigen vectors of the following matrix: A=[2−11−12−11−12]A = \begin{bmatrix}2&-1&1\\-1&2&-1\\1&-1&2\end{bmatrix}.

Solution: (λ−4)(λ−1)2=0(\lambda-4)(\lambda-1)^2=0; λ=4\lambda=4 gives (1,−1,1)T(1,-1,1)^T; λ=1\lambda=1 gives (1,1,0)T(1,1,0)^T, (0,1,1)T(0,1,1)^T; P=[110−111101]P=\begin{bmatrix}1&1&0\\-1&1&1\\1&0&1\end{bmatrix}, D=diag⁡(4,1,1)D=\operatorname{diag}(4,1,1).


Solved Q7 (2023-24, 7 Marks)

Q: Determine eigen vectors for the matrix A=[021−122466]A = \begin{bmatrix}0&2&1\\-1&2&2\\4&6&6\end{bmatrix}.

Solution: Characteristic polynomial λ3−8λ2−2λ−14\lambda^3-8\lambda^2-2\lambda-14; real root λ≈8.43\lambda\approx8.43. From −λx+2y+z=0-\lambda x+2y+z=0 and −x+(2−λ)y+2z=0-x+(2-\lambda)y+2z=0, eliminate z=λx−2yz=\lambda x-2y:

(2λ−1)x−(λ+2)y=0  ⇒  x∝(λ+2,  2λ−1,  λ2−2λ+2)T.(2\lambda-1)x-(\lambda+2)y=0\;\Rightarrow\;\mathbf{x}\propto(\lambda+2,\;2\lambda-1,\;\lambda^2-2\lambda+2)^T.

Solved Q8 (2023-24, 7 Marks)

Q: Determine A−1,A2A^{-1}, A^2 and A3A^3 if A=[132−1−4−3]A = \begin{bmatrix}1&3&2\\-1&-4&-3\end{bmatrix} using Cayley-Hamilton theorem.

Solution: The given 2×32\times3 array is not square; Cayley–Hamilton does not apply as printed. For B=[13−1−4]B=\begin{bmatrix}1&3\\-1&-4\end{bmatrix}: t=−3t=-3, d=−1d=-1, B2+3B−I=0B^2+3B-I=0, so

B2=I−3B,B−1=3I+B,B3=10B−3I.B^2=I-3B,\qquad B^{-1}=3I+B,\qquad B^3=10B-3I.

Solved Q9 (2025-26, 7 Marks)

Q: Determine the values of λ\lambda and μ\mu such that the following system: 2x−5y+2z=82x - 5y + 2z = 8, 2x+4y+6z=52x + 4y + 6z = 5, x+2y+λz=μx + 2y + \lambda z = \mu has (i) no solution (ii) a unique solution (iii) infinitely many solutions.

Solution: Echelon form has last row [0  0  6−2λ∣5−2μ][0\;0\;6-2\lambda\mid 5-2\mu]. Unique if λ≠3\lambda\ne3; no solution if λ=3,μ≠5/2\lambda=3,\mu\ne5/2; infinite if λ=3,μ=5/2\lambda=3,\mu=5/2.


Solved Q10 (2024-25, 7 Marks)

Q: Discuss for all values of K for the system of equations x+y+4z=6x + y + 4z = 6, x+2y−2z=6x + 2y - 2z = 6, Kx+y+z=6Kx + y + z = 6 as regards existence and nature of solution.

Solution: Final row [0  0  7−10K∣6−6K][0\;0\;7-10K\mid6-6K]. Unique if K≠7/10K\ne7/10; no solution if K=7/10K=7/10; never infinite.


Solved Q11 (2023-24, 7 Marks)

Q: Solve the system of homogenous equations: x1+x2+x3+x4=0x_1 + x_2 + x_3 + x_4 = 0, x1+3x2+2x3+4x4=0x_1 + 3x_2 + 2x_3 + 4x_4 = 0, 2x1+x2−x3=02x_1 + x_2 - x_3 = 0.

Solution: Reduction gives x2=−7x4/5x_2=-7x_4/5, x3=−x4/5x_3=-x_4/5, x1=3x4/5x_1=3x_4/5; with x4=5tx_4=5t, solution =t(3,−7,−1,5)=t(3,-7,-1,5).


Solved Q12 (2024-25, 7 Marks)

Q: Find two non-singular matrices P and Q such that PAQ is in normal form, where A=[136−114511543]A = \begin{bmatrix}1&3&6&-1\\1&4&5&1\\1&5&4&3\end{bmatrix}.

Solution: Row reduction gives [109−701−120000]\begin{bmatrix}1&0&9&-7\\0&1&-1&2\\0&0&0&0\end{bmatrix} with

P=[4−30−1101−21],Q=[10−97011−200100001],P=\begin{bmatrix}4&-3&0\\-1&1&0\\1&-2&1\end{bmatrix},\qquad Q=\begin{bmatrix}1&0&-9&7\\0&1&1&-2\\0&0&1&0\\0&0&0&1\end{bmatrix},

and PAQ=[I2000]PAQ=\begin{bmatrix}I_2&0\\0&0\end{bmatrix}; rank =2=2.


Solved Q13 (ECE application, 7 Marks)

Q: A single parity-check code has parity-check matrix H=[1111]H=\begin{bmatrix}1&1&1&1\end{bmatrix}. For received word r=(1,0,1,0)\mathbf r=(1,0,1,0), compute the syndrome and state whether an odd number of errors is detected.

Solution: s=HrT=1+0+1+0=0\mathbf s=H\mathbf r^T=1+0+1+0=0 in mod-2 arithmetic (since 1+1=01+1=0 mod 2). The zero syndrome means the number of errors is even; a single-bit error would give syndrome 1 and would be detected. This is the rank/syndrome application of matrix algebra in error detection.


7. Practice Questions (Self-Test)

  1. (2 Marks) State two properties of eigenvalues used to check a calculation. (Ans: sum = trace, product = determinant.)
  2. (2 Marks) When is a matrix singular, and what does that mean for a linear code's parity-check matrix? (Ans: det⁡=0\det=0; dependent parity checks.)
  3. (7 Marks) Apply two Gauss–Seidel iterations to 10i1−i2=910i_1-i_2=9, −i1+10i2−i3=7-i_1+10i_2-i_3=7, −i2+10i3=6-i_2+10i_3=6.
  4. (7 Marks) Diagonalise [3113]\begin{bmatrix}3&1\\1&3\end{bmatrix} and compute A5A^5. (Ans: eigenvalues 4,2; A5=[528496496528]A^5=\begin{bmatrix}528&496\\496&528\end{bmatrix}.)
  5. (7 Marks) Find rank of [123246011]\begin{bmatrix}1&2&3\\2&4&6\\0&1&1\end{bmatrix}. (Ans: 2.)
  6. (7 Marks) For a 3×33\times3 matrix with eigenvalues 1,2,31,2,3, find tr⁡(A2)\operatorname{tr}(A^2) and det⁡(2A)\det(2A). (Ans: 14, 48.)
  7. (7 Marks — ECE) Write the mesh equations for two loops sharing a resistor R2R_2 with self resistances R1,R3R_1,R_3 and source VV; express them as Ri=VR\mathbf i=\mathbf V.