Top Banner Ad

AAS103D — Unit 4: Matrices

Table of Contents (25 sections)

AAS103D · Calculus and Linear Algebra · Unit 4

Matrices

Unit Scope & Exam Weightage: Matrices cover complex matrices (Hermitian, skew-Hermitian, unitary), elementary transformations, rank via echelon form, inverse by elementary operations, Gauss elimination and Gauss–Seidel solution of linear systems, eigenvalues/eigenvectors, similarity, diagonalisation and stability. The PYQ bank contains 12 clusters worth about 64 marks (eight 7-mark and four 2-mark questions in 2023-24 to 2025-26). Eigenvalue problems alone account for six clusters.


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

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Eigen Values & Eigen Vectors 6 (2025-26, 2024-25, 2023-24 ×4) 7m × 4 + 2m × 2 Survival Mode
2 Solution of system of linear Equations by direct method (Gauss Elimination Method) 4 (2025-26, 2024-25, 2023-24 ×2) 7m × 3 + 2m Survival Mode
3 Diagonalization (normal form via P and Q) 1 (2024-25) 7m Process Marks
4 Rank of a Matrix by Echelon Form 1 (2025-26) 2m Quick Marks
5 Introduction to Matrices; Complex Matrices: Hermitian, Skew Hermitian and Unitary Matrix; Elementary Transformation; Inverse by Etransformation; Similarity Transformation; Stability Interpretation integrated / predicted — Foundation
6 Applications: error detection/correction codes, computer graphics rendering, loop current analysis, PCA, face recognition integrated discussion — Application

2-Hour Last-Night Survival Checklist:

  1. Eigenvalues: solve det⁡(A−λI)=0\det(A-\lambda I)=0, then use ∑λi=tr⁡A\sum\lambda_i=\operatorname{tr}A and ∏λi=det⁡A\prod\lambda_i=\det A to check your polynomial.
  2. Consistency of systems: for three equations, det⁡A≠0\det A\neq0 ⇒ unique solution; det⁡A=0\det A=0 ⇒ compare rank⁡A\operatorname{rank}A with rank⁡[A∣b]\operatorname{rank}[A|b].
  3. Rank by echelon form: count non-zero rows after Gaussian elimination; proportional rows collapse immediately (the 2025-26 matrix has rank 1).
  4. Normal form: PAQ=[Ir 0;0 0]PAQ=[I_r\ 0;0\ 0], where r=rank⁡Ar=\operatorname{rank}A; record every elementary row operation in PP and every column operation in QQ.
  5. Stability: for a discrete model xk+1=Axkx_{k+1}=Ax_k, all ∣λi∣<1|\lambda_i|<1 is needed for decay; the rotation matrix has ∣λ∣=1|\lambda|=1 and is marginally stable.

1. Introduction to Matrices and Complex Matrices

Matrix (2 Marks): a rectangular array A=[aij]m×nA=[a_{ij}]_{m\times n} of numbers. An n×nn\times n matrix is square; det⁡A\det A is defined only for square matrices, and tr⁡A=∑iaii\operatorname{tr}A=\sum_i a_{ii}.

Type Condition Example
Hermitian Aθ=AˉT=AA^\theta=\bar A^T=A [21+i1−i3]\begin{bmatrix}2&1+i\\1-i&3\end{bmatrix}
Skew-Hermitian Aθ=−AA^\theta=-A [i2+i−2+i0]\begin{bmatrix}i&2+i\\-2+i&0\end{bmatrix}
Unitary AθA=IA^\theta A=I 12[111−1]\frac1{\sqrt2}\begin{bmatrix}1&1\\1&-1\end{bmatrix}
Orthogonal (real unitary) ATA=IA^TA=I [cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{bmatrix}

Properties worth writing in a 7-mark theory answer:

  • Eigenvalues of a Hermitian matrix are always real; eigenvectors for distinct eigenvalues are orthogonal.
  • Eigenvalues of a skew-Hermitian matrix are purely imaginary or zero; those of a unitary matrix satisfy ∣λ∣=1|\lambda|=1.
  • AθA=IA^\theta A=I gives det⁡(AθA)=∣det⁡A∣2=1\det(A^\theta A)=|\det A|^2=1, so ∣det⁡A∣=1|\det A|=1.

Examiner Tip: For a 2-mark definition of Hermitian/unitary, always write the conjugate-transpose condition and one 2×2 example. The bare word "symmetric" is not enough for complex matrices.


2. Elementary Transformations, Inverse and Rank

Elementary row/column operations:

  1. Interchange two rows (columns): Ri↔RjR_i\leftrightarrow R_j.
  2. Multiply a row (column) by a non-zero scalar: Ri→kRi, k≠0R_i\to kR_i,\ k\ne0.
  3. Add a multiple of one row (column) to another: Ri→Ri+kRjR_i\to R_i+kR_j.

Inverse by elementary transformations: form the augmented matrix [A∣I][A\mid I] and reduce to [I∣A−1][I\mid A^{-1}] using row operations only.

Rank by echelon form: the number of non-zero rows in row-echelon form. Equivalently, the largest order of a non-vanishing minor.

PYQ (2025-26, 2 Marks): 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}.

  • Every row is a multiple of (−1,2,−3)(-1,2,-3): R1=−2R2R_1=-2R_2, R3=−3R2R_3=-3R_2.
  • Echelon form has one non-zero row, so rank⁡(A)=1\boxed{\operatorname{rank}(A)=1}.

3. Eigenvalues and Eigenvectors

A non-zero vector XX is an eigenvector of AA if AX=λXAX=\lambda X; λ\lambda is the corresponding eigenvalue. The characteristic equation is

det⁡(A−λI)=0,∑λi=tr⁡A,∏λi=det⁡A.\det(A-\lambda I)=0,\qquad \sum\lambda_i=\operatorname{tr}A,\qquad \prod\lambda_i=\det A.

For symmetric matrices, eigenvectors belonging to distinct eigenvalues are orthogonal.

3.1 PYQ (2025-26, 7 Marks): symmetric 3×3 matrix

A=[6−22−23−12−13]A=\begin{bmatrix}6&-2&2\\-2&3&-1\\2&-1&3\end{bmatrix}.

  • Characteristic polynomial: det⁡(A−λI)=(λ−2)2(8−λ)\det(A-\lambda I)=(\lambda-2)^2(8-\lambda), so λ=8,2,2\lambda=8,2,2 (trace check 8+2+2=128+2+2=12 ✔).
  • λ=8\lambda=8: A−8IA-8I gives x=−2yx=-2y, z=yz=y; eigenvector (2,−1,1)T\boxed{(2,-1,1)^T}.
  • λ=2\lambda=2: A−2IA-2I reduces to the single equation −2x+y−z=0-2x+y-z=0, i.e. y=2x+zy=2x+z. Two independent eigenvectors: (1,2,0)T\boxed{(1,2,0)^T} and (0,2,1)T\boxed{(0,2,1)^T}.
  • Because the geometric multiplicity of λ=2\lambda=2 is 2, AA is diagonalisable.

3.2 PYQ (2024-25, 7 Marks): another symmetric matrix

A=[2−11−12−11−12]A=\begin{bmatrix}2&-1&1\\-1&2&-1\\1&-1&2\end{bmatrix}.

  • With t=2−λt=2-\lambda, det⁡(A−λI)=t3−3t+2=(t−1)2(t+2)\det(A-\lambda I)=t^3-3t+2=(t-1)^2(t+2) ⇒ λ=1,1,4\lambda=1,1,4 (trace 66 ✔).
  • λ=4\lambda=4: x=−yx=-y, z=xz=x ⇒ eigenvector (1,−1,1)T(1,-1,1)^T.
  • λ=1\lambda=1: equation x−y+z=0x-y+z=0 ⇒ eigenvectors (1,1,0)T(1,1,0)^T and (0,1,1)T(0,1,1)^T.

3.3 PYQ (2023-24, 7 Marks): non-symmetric matrix

A=[021−122466]A=\begin{bmatrix}0&2&1\\-1&2&2\\4&6&6\end{bmatrix}.

  • Principal-minor formula: det⁡A=14\det A=14, sum of principal 2×22\times2 minors =2+(−4)+0=−2=2+(-4)+0=-2, trace =8=8. Thus det⁡(A−λI)=−λ3+8λ2+2λ+14\det(A-\lambda I)=-\lambda^3+8\lambda^2+2\lambda+14, i.e. λ3−8λ2−2λ−14=0\lambda^3-8\lambda^2-2\lambda-14=0.
  • One real root is λ≈8.4335\lambda\approx8.4335; the other two are −0.2168±1.2701i-0.2168\pm1.2701i (discriminant negative), so this printed matrix does not yield neat integer eigenvectors. For the real root, solving (A−λI)X=0(A-\lambda I)X=0 gives z≈3.5425yz\approx3.5425y, x≈0.6515yx\approx0.6515y, i.e. X≈(0.6515,1,3.5425)TX\approx(0.6515,1,3.5425)^T.
  • Examination method: always state the characteristic polynomial, verify ∑λ=tr⁡A\sum\lambda=\operatorname{tr}A, and then solve for each root. Do not invent integer eigenvalues when the determinant does not factor.

3.4 Short eigenvalue PYQs (2 Marks)

  • [cos⁡θsin⁡θsin⁡θcos⁡θ]\begin{bmatrix}\cos\theta&\sin\theta\sin\theta&\cos\theta\end{bmatrix}: det⁡(A−λI)=(cos⁡θ−λ)2−sin⁡2θ=0\det(A-\lambda I)=(\cos\theta-\lambda)^2-\sin^2\theta=0 ⇒ λ=cos⁡θ±sin⁡θ\boxed{\lambda=\cos\theta\pm\sin\theta}, with eigenvectors (1,1)T(1,1)^T and (1,−1)T(1,-1)^T.
  • For [8−422]\begin{bmatrix}8&-4\\2&2\end{bmatrix}: sum =10=10, product =16+8=24=16+8=24 ⇒ eigenvalues 4,6\boxed{4,6}.

3.5 Cayley–Hamilton caution on the 2023-24 printed matrix

The PYQ text asks for A−1,A2,A3A^{-1},A^2,A^3 "if A=[132−1−4−3]A=\begin{bmatrix}1&3&2\\-1&-4&-3\end{bmatrix} using Cayley-Hamilton theorem". That array is 2×32\times3: a determinant, powers and inverse are undefined, so the theorem cannot apply as printed. If the intended matrix is the 2×22\times2 block [13−1−4]\begin{bmatrix}1&3\\-1&-4\end{bmatrix}, then λ2+3λ−1=0\lambda^2+3\lambda-1=0 and Cayley–Hamilton gives A2=−3A+IA^2=-3A+I, A−1=A+3I=[43−1−1]A^{-1}=A+3I=\begin{bmatrix}4&3\\-1&-1\end{bmatrix}, A3=10A−3I=[730−10−43]A^3=10A-3I=\begin{bmatrix}7&30\\-10&-43\end{bmatrix}. State the correction explicitly in the answer book.

Examiner Tip: When a matrix has a repeated eigenvalue, give as many independent eigenvectors as the nullity of A−λIA-\lambda I allows. Merely repeating one vector costs marks in the 7-mark eigen questions.


4. System of Linear Equations: Gauss Elimination and Consistency

For AX=bAX=b:

  • det⁡A≠0\det A\neq0 ⇒ unique solution X=A−1bX=A^{-1}b.
  • det⁡A=0\det A=0 and rank⁡A=rank⁡[A∣b]<n\operatorname{rank}A=\operatorname{rank}[A|b]<n ⇒ infinitely many solutions.
  • rank⁡A≠rank⁡[A∣b]\operatorname{rank}A\ne\operatorname{rank}[A|b] ⇒ no solution.

Gauss–Seidel iteration (syllabus requirement): reorder equations for diagonal dominance, then

xi(k+1)=1aii(bi−∑j<iaijxj(k+1)−∑j>iaijxj(k)),x_i^{(k+1)}=\frac{1}{a_{ii}}\left(b_i-\sum_{j<i}a_{ij}x_j^{(k+1)}-\sum_{j>i}a_{ij}x_j^{(k)}\right),

iterate until successive values agree to the required decimals.

4.1 PYQ (2025-26, 7 Marks): λ,μ\lambda,\mu classification

System: 2x−5y+2z=82x-5y+2z=8, 2x+4y+6z=52x+4y+6z=5, x+2y+λz=μx+2y+\lambda z=\mu.

  • det⁡A=2(4λ−12)+5(2λ−6)=18(λ−3)\det A=2(4\lambda-12)+5(2\lambda-6)=18(\lambda-3).
  • (ii) Unique solution: λ≠3\lambda\ne3, any μ\mu.
  • When λ=3\lambda=3, row 2 is twice row 3 in coefficients, i.e. 2x+4y+6z=2μ2x+4y+6z=2\mu; comparing with equation 2 requires μ=5/2\mu=5/2.
  • (iii) Infinitely many: λ=3, μ=5/2\lambda=3,\ \mu=5/2 (rank 2 < 3).
  • (i) No solution: λ=3, μ≠5/2\lambda=3,\ \mu\ne5/2.

4.2 PYQ (2024-25, 7 Marks): classification in KK

System: x+y+4z=6x+y+4z=6, x+2y−2z=6x+2y-2z=6, Kx+y+z=6Kx+y+z=6.

  • det⁡A=7−10K\det A=7-10K, so unique solution for K≠7/10\boxed{K\ne7/10}.
  • At K=7/10K=7/10, the third coefficient row equals 0.4R1+0.3R20.4R_1+0.3R_2, but the right side would be 0.4(6)+0.3(6)=4.2≠60.4(6)+0.3(6)=4.2\ne6; hence no solution at K=7/10K=7/10. There is no value giving infinitely many solutions.

4.3 PYQ (2023-24, 7 Marks): homogeneous system

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.

  • Subtracting equation 1 from 2: 2x2+x3+3x4=02x_2+x_3+3x_4=0.
  • Substituting x1=−x2−x3−x4x_1=-x_2-x_3-x_4 into equation 3 gives x2=−3x3−2x4x_2=-3x_3-2x_4; combining with the previous relation gives x4=−5x3x_4=-5x_3, x2=7x3x_2=7x_3, x1=−3x3x_1=-3x_3.
  • Solution: (x1,x2,x3,x4)=t(−3,7,1,−5)(x_1,x_2,x_3,x_4)=t(-3,7,1,-5), t∈Rt\in\mathbb R (one free variable, rank 3).

4.4 PYQ (2025-26, 2 Marks): 2×2 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} ⇒ 3x−y=43x-y=4, 2x+5y=−32x+5y=-3. From x=(4+y)/3x=(4+y)/3, 8+17y=−98+17y=-9, so x=1, y=−1\boxed{x=1,\ y=-1}.


5. Diagonalisation, Similarity, Normal Form and Stability

Similarity transformation: B=P−1APB=P^{-1}AP. Similar matrices have identical eigenvalues, determinant, trace and rank.

Diagonalisation: if AA has nn linearly independent eigenvectors, put them as columns of PP; then P−1AP=diag⁡(λ1,…,λn)P^{-1}AP=\operatorname{diag}(\lambda_1,\dots,\lambda_n), and Ak=Pdiag⁡(λik)P−1A^k=P\operatorname{diag}(\lambda_i^k)P^{-1}.

Normal form: by suitable non-singular P,QP,Q, PAQ=[Ir000]PAQ=\begin{bmatrix}I_r&0\\0&0\end{bmatrix} where r=rank⁡Ar=\operatorname{rank}A.

Stability interpretation: for xk+1=Axkx_{k+1}=Ax_k, the origin is asymptotically stable iff every ∣λi∣<1|\lambda_i|<1; ∣λi∣>1|\lambda_i|>1 for any eigenvalue gives instability; ∣λ∣=1|\lambda|=1 (as for the rotation matrix of §1) is marginal. For a continuous model x˙=Ax\dot x=Ax, stability requires Re⁡(λi)<0\operatorname{Re}(\lambda_i)<0.

5.1 PYQ (2024-25, 7 Marks): normal form of a 3×4 matrix

A=[136−114511543]A=\begin{bmatrix}1&3&6&-1\\1&4&5&1\\1&5&4&3\end{bmatrix}.

  • Row operations R2→R2−R1R_2\to R_2-R_1, R3→R3−2R2+R1R_3\to R_3-2R_2+R_1 give PA=[136−101−120000]PA=\begin{bmatrix}1&3&6&-1\\0&1&-1&2\\0&0&0&0\end{bmatrix} with P=[100−1101−21]P=\begin{bmatrix}1&0&0\\-1&1&0\\1&-2&1\end{bmatrix}, so r=2r=2.
  • Column operations C2→C2−3C1C_2\to C_2-3C_1, C3→C3−6C1C_3\to C_3-6C_1, C4→C4+C1C_4\to C_4+C_1, C3→C3+C2C_3\to C_3+C_2, C4→C4−2C2C_4\to C_4-2C_2 give the normal form. Their product is Q=[1−3−97011−200100001]Q=\begin{bmatrix}1&-3&-9&7\\0&1&1&-2\\0&0&1&0\\0&0&0&1\end{bmatrix}.
  • Verification: PAQ=[100001000000]PAQ=\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&0&0\end{bmatrix}. ✔

5.2 Application thread (CSE)

  • Error detection/correction codes: parity-check matrices over GF(2); the rank of the generator matrix determines the number of independent code bits.
  • Computer graphics rendering: a 3×3 matrix applies rotation/scaling, and eigenvectors give the principal axes of a transform.
  • Loop current analysis: Kirchhoff's laws produce RI=VRI=V; Gauss elimination solves the circuit currents.
  • PCA and face recognition: the eigenvectors of the covariance matrix with the largest eigenvalues are the principal components; keeping the top few reduces image dimension while retaining variance.


Solved Exam-Ready Questions (Verbatim PYQ Wording)

Solved Q1 (2025-26 Sec C — 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: (λ−2)2(8−λ)=0(\lambda-2)^2(8-\lambda)=0; λ=8\lambda=8 with X=(2,−1,1)TX=(2,-1,1)^T; λ=2\lambda=2 with independent X=(1,2,0)T,(0,2,1)TX=(1,2,0)^T,(0,2,1)^T. Trace and determinant checks pass. ✔

Solved Q2 (2025-26 Sec C — 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: det⁡A=18(λ−3)\det A=18(\lambda-3). Unique if λ≠3\lambda\ne3; at λ=3\lambda=3 consistency needs μ=5/2\mu=5/2 (infinitely many) and μ≠5/2\mu\ne5/2 gives none. ✔

Solved Q3 (2024-25 Sec C — 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: Rank is 2; PP and QQ as in §5.1 give PAQ=diag⁡(1,1,0,0)PAQ=\operatorname{diag}(1,1,0,0) in a 3×4 layout. ✔

Solved Q4 (2023-24 Sec C — 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: Row reduction gives (x1,x2,x3,x4)=t(−3,7,1,−5)(x_1,x_2,x_3,x_4)=t(-3,7,1,-5). ✔

Solved Q5 (2024-25 Sec A — 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\theta-\lambda)^2-\sin^2\theta=0 ⇒ λ=cos⁡θ+sin⁡θ\lambda=\cos\theta+\sin\theta and cos⁡θ−sin⁡θ\cos\theta-\sin\theta; both have modulus at most 2\sqrt2. ✔

Solved Q6 (2025-26 Sec A — 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 one non-zero row remains in echelon form: rank 1. ✔


Practice Questions (Self-Test)

  1. (2 Marks) Show that [21+i1−i3]\begin{bmatrix}2&1+i\\1-i&3\end{bmatrix} is Hermitian and find its trace and determinant. (Ans: trace 5, det 6−2=46-2=4.)
  2. (7 Marks) Diagonalise [1111]\begin{bmatrix}1&1\\1&1\end{bmatrix} by finding PP with P−1AP=diag⁡(0,2)P^{-1}AP=\operatorname{diag}(0,2).
  3. (7 Marks) Solve by Gauss–Seidel (two iterations, start (0,0,0)(0,0,0)): 10x+y+z=1210x+y+z=12, x+10y+z=12x+10y+z=12, x+y+10z=12x+y+10z=12.
  4. (7 Marks) For which kk does x+y+z=1x+y+z=1, 2x+3y+kz=32x+3y+kz=3, x+2y+2z=2x+2y+2z=2 have infinitely many solutions? (Hint: check augmented ranks.)
  5. (7 Marks) Verify Cayley–Hamilton for A=[2113]A=\begin{bmatrix}2&1\\1&3\end{bmatrix} and hence find A−1A^{-1}. (Ans: λ2−5λ+5=0\lambda^2-5\lambda+5=0, A−1=15(5I−A)A^{-1}=\frac15(5I-A).)
  6. (2 Marks) What can be said about the eigenvalues of a unitary matrix? (Ans: ∣λ∣=1|\lambda|=1.)