27. Applications to Difference Equations
Dated: 11-06-2025
Discrete time Signals
Let \(S\) be a space
of discrete time signals
and \(s \in S\) be a function
1 defined over integers
and is visualized by a sequence
2 \(\{y_k\}\).
Example
The crystal clear sounds from a compact disc player are produced from music that has been sampled at the rate of \(41,000\) times per second. At each measurement, the amplitude of the music signal is recorded as a number, say, \(y_k\). The original music is composed of many different sounds of varying frequencies, yet the sequence
2 \(\{y_k\}\) contains enough information to reproduce all the frequencies in the sound up to about \(20,000\) cycles per second, higher than the human ear can sense.
Linear Independence in the space
\(S\) of Signals
Consider 3 signals \(\{\vec u_k\}, \{\vec v_k\}\) and \(\{\vec w_k\}\) and they are linearly independent
when
For the next 2 consecutive samples,
The coefficient matrix
3 in this system is called thee Casorati matrix
of the signals and its determinant is called the Casoratian
.
Linear Difference Equations
Given scalars \(a_0, \ldots, a_n \neq 0\) and a signal \(\{z_k\}\), the following equation is called linear difference equation
or linear recurrence relation
of order \(n\).
In simple words, an equation which expresses a value of a sequence
2 as a function of the other terms in the sequence
2 is called a difference equation
.
Example
In digital signal processing
, an equation like above describes a linear filter
and the coefficients \(a_0, \ldots, a_n\) are called the filter coefficients
.
If \(\{y_k\}\) is treated as the input and \(\{z_k\}\) the output, then the solutions of the associated homogeneous equation
are the signals that are filtered out and transformed into the zero signal.
Assume a filter
Signal 1
If we sample this for integer
values of \(t\), we get
\(k\) | \(\vec y_k\) | \(\vec y_{k + 1}\) | \(\vec y_{k + 2}\) | \(0.35 \vec y_{k + 2} + 0.5 \vec y_{k+1} + 0.35 \vec y_k = \vec z_k\) |
---|---|---|---|---|
\(0\) | \(1\) | \(0.7\) | \(0\) | \(0.7\) |
\(1\) | \(0.7\) | \(0\) | \(-0.7\) | \(0\) |
\(2\) | \(0\) | \(-0.7\) | \(-1\) | \(-0.7\) |
\(\vdots\) | \(\vdots\) | \(\vdots\) | \(\vdots\) | \(\vdots\) |
Signal 2
After this signal is passed through the filter, the output it zero sequence
.
This filter is called the low pass filter
as it allows a signal of lower frequency \(\{\vec y_k\}\) but blocks \(\{\vec w_k\}\).
Example
Substitute \(r^k = y_k\)
Using synthetic division
\(\(r^k ((x-1)(x^2 - 3x + 2x - 6)) = 0\)\)
\(\(r^k ((x-1) (x(x-3)+2(x-3))) = 0\)\)
\(\(r^k (r-1)(r+2)(r-3) = 0\)\)
If \(r\) is a root of auxiliary equation
then a non zero signal \(r^k\) satisfies the homogeneous difference equation
Solution Sets of Linear Difference Equations
Given \(a_1, \ldots, a_n\), consider mapping \(T: \mathbb S \to \mathbb S\) that transforms a signal \(\{y_k\}\) to \(\{w_k\}\) given by
Since \(T\) is a linear transformation
,4 this implies that the solution to homogeneous equation
is the kernel
5 of \(T\) (since it is set
6 of signals which map to zero signal) and hence, is a solution of subspace
7 of \(S\).
Theorem
If \(a_n \neq 0\) and if \(\{z_k\}\) is given by
has a unique solution whenever \(y_0, \ldots, y_{n - 1}\) are specified.
Theorem
The set
6 \(\mathbb H\) of all solutions of the \(n^{th}\) order homogeneous linear difference equation
is an \(n\) dimensional vector space
.7
Non-homogeneous Equations
The solution for the following
has the form
where \(s\) is the solution, \(p\) is the particular solution
and \(h\) is the linear combination
4 of a fundamental set
6 of solutions for the corresponding homogeneous equation
.
Reduction to Systems of First-order Equations
A modern way to study a homogeneous
\(n^{th}\) order linear difference equation is to replace it by an equivalent system of first order difference equations, written in the form \(\vec x_{k+1} = A_{n \times n} \vec x_k\) where \(\vec x \in \mathbb R^n\).
Example
Write the following difference equation as a first order system
Solution
For each \(k\),
Where
In general
References
Read more about notations and symbols.