Skip to content
Part IA Michaelmas, Lent, Easter Term

Methods III Tripos Questions

Linear Algebra

Eigenvalues and Eigenvectors

Find eigenvalues and eigenvectors of A=(4213)A = \begin{pmatrix} 4 & 2 \\ 1 & 3 \end{pmatrix}.

Characteristic polynomial:

det(AλI)=(4λ)(3λ)2=λ27λ+10\det(A - \lambda I) = (4-\lambda)(3-\lambda) - 2 = \lambda^2 - 7\lambda + 10

=(λ2)(λ5)=0= (\lambda - 2)(\lambda - 5) = 0

Eigenvalues: λ1=2\lambda_1 = 2, λ2=5\lambda_2 = 5.

For λ1=2\lambda_1 = 2:

(A2I)v=(2211)v=0(A - 2I)\mathbf{v} = \begin{pmatrix} 2 & 2 \\ 1 & 1 \end{pmatrix}\mathbf{v} = \mathbf{0}

v1+v2=0v_1 + v_2 = 0, so v1=(11)\mathbf{v}_1 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}

For λ2=5\lambda_2 = 5:

(A5I)v=(1212)v=0(A - 5I)\mathbf{v} = \begin{pmatrix} -1 & 2 \\ 1 & -2 \end{pmatrix}\mathbf{v} = \mathbf{0}

v1+2v2=0-v_1 + 2v_2 = 0, so v2=(21)\mathbf{v}_2 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}


Diagonalisation

Diagonalise AA from the previous example.

S=(1211)S = \begin{pmatrix} 1 & 2 \\ -1 & 1 \end{pmatrix}

S1=13(1211)S^{-1} = \frac{1}{3}\begin{pmatrix} 1 & -2 \\ 1 & 1 \end{pmatrix}

Λ=(2005)\Lambda = \begin{pmatrix} 2 & 0 \\ 0 & 5 \end{pmatrix}

Verify: SΛS1=(4213)=AS\Lambda S^{-1} = \begin{pmatrix} 4 & 2 \\ 1 & 3 \end{pmatrix} = A


Determinant Properties

Show that if AA and BB are n×nn \times n, then det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B).

For 2×22 \times 2 matrices:

det(AB)=(a11b11+a12b21)(a21b12+a22b22)(a11b12+a12b22)(a21b11+a22b21)\det(AB) = (a_{11}b_{11} + a_{12}b_{21})(a_{21}b_{12} + a_{22}b_{22}) - (a_{11}b_{12} + a_{12}b_{22})(a_{21}b_{11} + a_{22}b_{21})

Expanding and collecting terms gives (a11a22a12a21)(b11b22b12b21)=det(A)det(B)(a_{11}a_{22} - a_{12}a_{21})(b_{11}b_{22} - b_{12}b_{21}) = \det(A)\det(B).

(General proof uses properties of multilinear forms.)


Partial Differential Equations

Laplace Equation

Solve 2ϕ=0\nabla^2 \phi = 0 in 0<x<π0 < x < \pi, 0<y<π0 < y < \pi with:

  • ϕ(0,y)=0\phi(0, y) = 0
  • ϕ(π,y)=0\phi(\pi, y) = 0
  • ϕ(x,0)=0\phi(x, 0) = 0
  • ϕ(x,π)=sinx\phi(x, \pi) = \sin x

By separation: ϕ=X(x)Y(y)\phi = X(x)Y(y)

From xx boundaries: X=sin(nx)X = \sin(nx), n=1,2,3,...n = 1, 2, 3, ...

From y=0y = 0 boundary: Y(0)=0Y(0) = 0, so Y=sinh(ny)Y = \sinh(ny).

Solution:

ϕ=n=1Cnsin(nx)sinh(ny)\phi = \sum_{n=1}^{\infty} C_n \sin(nx)\sinh(ny)

At y=πy = \pi: ϕ(x,π)=sinx\phi(x, \pi) = \sin x

This matches only n=1n = 1: C1sinh(π)=1C_1\sinh(\pi) = 1, so C1=1/sinh(π)C_1 = 1/\sinh(\pi).

ϕ=sin(x)sinh(y)sinh(π)\phi = \frac{\sin(x)\sinh(y)}{\sinh(\pi)}


Heat Equation

Solve ut=uxxu_t = u_{xx} on 0<x<10 < x < 1, t>0t > 0 with u(0,t)=u(1,t)=0u(0, t) = u(1, t) = 0 and u(x,0)=sin(2πx)u(x, 0) = \sin(2\pi x).

By separation: u=X(x)T(t)u = X(x)T(t)

From boundaries: Xn=sin(nπx)X_n = \sin(n\pi x), n=1,2,3,...n = 1, 2, 3, ...

Tn(t)=en2π2tT_n(t) = e^{-n^2\pi^2 t}

All Cn=0C_n = 0 except C2C_2 (matching initial condition).

u(x,t)=sin(2πx)e4π2tu(x, t) = \sin(2\pi x)e^{-4\pi^2 t}


Wave Equation

Solve ytt=yxxy_{tt} = y_{xx} on 0<x<10 < x < 1 with:

  • y(0,t)=y(1,t)=0y(0, t) = y(1, t) = 0 (fixed ends)
  • y(x,0)=sin(πx)y(x, 0) = \sin(\pi x)
  • y˙(x,0)=0\dot{y}(x, 0) = 0

Solution:

y(x,t)=sin(πx)cos(πt)y(x, t) = \sin(\pi x)\cos(\pi t)

(Standing wave with n=1n = 1.)