The unit-response sequence , is six-periodic. In the displayed convolution, all older terms cancel under by this recurrence; the two new boundary terms reduce to . Thus it gives a particular solution of the inhomogeneous linear recurrence with forcing . Add the two-dimensional homogeneous span of and for the general solution. This is a discrete Green function construction.
Inhomogeneous linear recurrence 2026-10-14
An inhomogeneous linear recurrence has a prescribed forcing sequence rather than zero on the right. The difference of two solutions satisfies the associated homogeneous linear recurrence relation, so every solution is a particular solution plus a homogeneous solution.
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 2 1A iii Solution Created 2026-09-24 Updated 2026-10-14
The forcing base is a root of the characteristic equation of a linear recurrence, so a constant multiple of cannot be a particular solution. For , direct substitution givesFor the resonant case of exponential forcing in a linear recurrence, at , and . Hence is a particular solution of the inhomogeneous linear recurrence. The general solution is
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 2 1A ii Solution Created 2026-09-24 Updated 2026-10-14
Let . For the exponential trial sequence ,Thus gives a particular solution. The difference of any two solutions of the inhomogeneous linear recurrence satisfies the homogeneous linear recurrence relation in part (i). Therefore
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 2 1A b Solution Created 2026-09-24 Updated 2026-10-14
Eliminate the free constant by comparing consecutive values:Therefore an appropriate inhomogeneous linear recurrence isIts homogeneous part has solution , and is a particular solution. A first-order linear recurrence relation has one arbitrary initial value, so this gives exactly the desired general solution.