Maths4U
Menu

Maths4U Original · Learn, check, explain

Differential equations — connected skills — 9231 FP2

Recover polynomial coefficients from derivatives at zero. Verify eigenvectors and use a diagonal form to compute a matrix power. Add a particular integral to the complementary function. Use a finite geometric formula and then take real or imaginary parts.

Notes and key methods

A Maclaurin expansion starts \(\displaystyle f(x)= f(0)+ f'(0)x+ \frac{f''(0)x^{2}}{2!}+ \frac{f^{(3)}(0)x^{3}}{3!}+ \cdots\). Each coefficient includes its factorial denominator.

For a product, multiply truncated series while collecting every contribution to a given power. A truncated expression is an approximation away from zero; state the retained order rather than treating it as an exact identity.

An eigenvector \(\displaystyle v\ne 0\) satisfies Av=λv. If a square matrix has a basis of eigenvectors, form Q from those vectors as columns and D from the corresponding eigenvalues in the same order: A=QDQ⁻¹.

Then \(\displaystyle A^{n}=QD^{n}Q^{−1}\), and the trace and determinant are respectively the sum and product of eigenvalues. Distinct real eigenvalues in these examples guarantee a real eigenvector basis.

For a linear constant-coefficient equation, the general solution is the complementary function plus one particular integral. An exponential forcing Keᶜˣ normally suggests \(\displaystyle Ae^{cx}\).

If c is an auxiliary root, multiply the trial by x for a simple root, or by \(\displaystyle x^{2}\) for a repeated root. Resonance concerns overlap with the complementary solution, not merely a large response. Determine remaining constants after adding the particular integral.

For \(\displaystyle z\ne 1\), \(\displaystyle \sum_{k= 0}^{n- 1} z^{k}= \frac{z^{n}- 1}{z- 1}\). Write z in polar form, then take real or imaginary parts to obtain corresponding weighted cosine or sine sums.

The initial power matters: a sum starting at \(\displaystyle k=1\) is z times the sum starting at \(\displaystyle k=0\). For \(\displaystyle z=1\) use n directly, rather than dividing by zero in the geometric formula.

Check the conditions

Three worked examples

Example 1 · Maclaurin expansions

Let \(f(x)=e^{x} \cos{\left(2 x \right)}\). Write \(f(x)=1+Ax+Bx^2+Cx^3+O(x^4)\).

  1. Find A.
  2. Find B.
  3. Find C.
  4. Use the cubic polynomial to approximate \(\displaystyle f(\frac{1}{25})\).
Show the reasoning

(a)

\(A=f'(0)=1\)

Answer: \(1\).

(b)

\(\displaystyle B= \frac{f''(0)}{2!}= - \frac{3}{2}\)

Answer: \(\displaystyle - \frac{3}{2}\).

(c)

\(\displaystyle C= \frac{f^{(3)}(0)}{3!}= - \frac{11}{6}\)

Answer: \(\displaystyle - \frac{11}{6}\).

(d)

\(\displaystyle - \frac{11 x^{3}}{6} - \frac{3 x^{2}}{2} + x + 1\quad\text{at }x=\frac{1}{25}\quad=\frac{48632}{46875}\)

Answer: \(\displaystyle \frac{48632}{46875}\).

Example 2 · Eigenvalues and diagonalisation

\(\displaystyle A=\left[\begin{matrix}7 & 1 & -1\\- \frac{3}{2} & \frac{19}{2} & \frac{3}{2}\\- \frac{5}{2} & \frac{5}{2} & \frac{17}{2}\end{matrix}\right]\). A diagonalising matrix is \(Q=\left[\begin{matrix}1 & 1 & 0\\0 & 1 & 1\\1 & 0 & 1\end{matrix}\right]\), whose columns correspond to eigenvalues in increasing order.

  1. Find the smallest eigenvalue.
  2. Find det A.
  3. Find the (1,1) entry of A cubed.
  4. Find trace(A).
Show the reasoning

(a)

\(Q^{-1}AQ=\left[\begin{matrix}6 & 0 & 0\\0 & 8 & 0\\0 & 0 & 11\end{matrix}\right]\)

Answer: \(6\).

(b)

\(\prod\lambda_i=528\)

Answer: \(528\).

(c)

\(\displaystyle A^3=Q D^3Q^{-1}=\left[\begin{matrix}364 & 148 & -148\\- \frac{819}{2} & \frac{1843}{2} & \frac{819}{2}\\- \frac{1115}{2} & \frac{1115}{2} & \frac{1547}{2}\end{matrix}\right]\)

Answer: \(364\).

(d)

\(\sum\lambda_i=25\)

Answer: \(25\).

Example 3 · Inhomogeneous equations and resonance

\(y''+4y'+3y=9e^{-1x},\ y(0)=7,\ y'(0)=8\). Write \(y=(A+Px)e^{-1x}+Be^{-3x}\).

  1. Find P.
  2. Find A.
  3. Find B.
  4. Find y(1).
Show the reasoning

(a)

\(\displaystyle (3-1)P=9\implies P=\frac{9}{2}\)

Answer: \(\displaystyle \frac{9}{2}\).

(b)

\(\displaystyle A+B=7,\ -1A+P-3B=8\implies A=\frac{49}{4}\)

Answer: \(\displaystyle \frac{49}{4}\).

(c)

\(\displaystyle B=y(0)-A=- \frac{21}{4}\)

Answer: \(\displaystyle - \frac{21}{4}\).

(d)

\(\displaystyle y=\left(\frac{9 x}{2} + \frac{49}{4}\right) e^{- x} - \frac{21 e^{- 3 x}}{4}\); put \(\displaystyle x=1\).

Answer: \(5.90059853069037\).

Common mistakes

Practise with answer checking

Original exam-style problems

Write complete solutions before opening the worked solution. The marking guidance rewards reasoning as well as answers.

Examination practice · 2020–2026

Apply the method to recent source-labelled questions from this chapter.

Browse recent examination questions · All topic resources and the full bank

Return to this course →