Like continuous signal, there is a difference equation for discrete signal.
It's often in form of,
P(B)y[n]=x[n]
However, in the signal analysis of continuous signals, we learnt that P(D)−1 can be expanded into a infinite polynomial of D, can when applied to certain functions, D would result in zero, and thus we can truncate the polynomial. However, B doesn't have such property.
However, Δ has. Δ1=0. And better off, Δ=1−B, so we can always convert that equation into,
P(Δ)y[n]=x[n]
Eigen Decomposition
Similarly, we can decompose the solution into eigen solution and special solution, that is,
y[n]=y[n]+y∗[n]
Eigen Solution
Where,
P(Δ)y[n]=0
And,
P(Δ)y∗[n]=x[n]
We knew that, zn is the eigen function of Δ.
Thus, if we want P(Δ)x[n]=0, we can decompose P(Δ),
P(Δ)=i=1∏m(Δ−ai)pi
Let's test,
(Δ−a)zn=(1−z1−a)zn=0
Which is to say,
(Δ−a)
Corresponds to the solution,
yi[n]=(1−a1)n
For,
(Δ−a)p
We have,
(Δ−a)p(np−1(1−a1)n)=(Δ−a)p−1(Δ−a)(np−1(1−a1)n)=(Δ−a)p−1((1−a)(p−1)np−2(1−a1)n)
That is to say,
np−1(1−a1)n
Yields λ(1−a1)n after (Δ−a)p. If we take into account that,
(Δ−a)pnq(1−a1)n=0q<p−1
So,
(Δ−a)p
Corresponds to the solution,
yi[n]=q=0∑q−1Aiqnq(1−a1)n
We can remove the decrease factorial since every decrease factorial can be expressed into normal polynomials.
Special Solution
Just like what we did in the differential equation, a special solution is,
y∗[n]=P(Δ)−1x[n]
And P(Δ)−1 can be expanded into a infinite polynomial of Δ. It's usually hard to solve, but if x[n] is also a polynomial with highest degree n, then we can truncate P(Δ)−1 and solve it.
Likewise, if x[n] had exponential terms, we can't do the truncate. But we had shifting theorem back then- and so it is now for the difference operator.
Because,
Δ(znx[n])=x[n]Δzn+zn−1Δx[n]=x[n](1−z1)zn+z1znΔx[n]=zn(1−z1+z1Δ)x[n]
So we have,
P(Δ)znx[n]=znP(1−z1+z1Δ)x[n]
Example
8y[n]−6y[n−1]+y[n−2]=n(21)n
Can be converted using B=1−Δ
Δ2y+4Δy+3y=n(21)n
(Δ+3)(Δ+1)y=n(21)n
The eigen solution is,
y[n]=A(41)n+B(21)n
Then the special solution,
y∗[n]=(Δ+3)(Δ+1)1(n(21)n)=(21)n(2Δ+2)(2Δ)1n=41(21)n(Δ+1)Δ1n=41(21)n(Δ1−Δ+11)n=41(21)n(21(n+1)2−(1−Δ)n)=41(21)n(21(n+1)2−n+1)=81(21)n(n2+n−2n+2)=81(21)n(n2−n+2)
Thus we have the solution with two undecided constants based on initial conditions,
y[n]=81(21)n(n2−n+2)+A(41)n+B(21)n
Another Example
2y[n]−y[n−1]=u[n](91)n+δ[n]
And be converted into,
(Δ+1)y[n]=u[n](91)n+δ[n]
Obviously,
y[n]=A(21)n
y∗[n]=(Δ+1)1(u[n](91)n+δ[n])
For the second term,
Δ+11δ[n]=211−2B1δ[n]=21k=0∑+∞(21)kBkδ[n]=21k=0∑+∞(21)kδ[n−k]=21(21)nu[n]
For the first term,
(Δ+1)1(u[n](91)n)=(91)n9Δ+81u[n]=(91)n81u[n]
Thus,
y∗[n]=(81(91)n+21(21)n)u[n]