Consider the following difference equation describing a system with feedback
y
(
n
)
-
a
y
(
n
-
1
)
=
x
(
n
)
.
y
(
n
)
-
a
y
(
n
-
1
)
=
x
(
n
)
.
(12)In order to find the homogeneous solution, consider the difference equation
y
(
n
)
-
a
y
(
n
-
1
)
=
0
.
y
(
n
)
-
a
y
(
n
-
1
)
=
0
.
(13)It is easy to see that the characteristic polynomial is λ-a=0λ-a=0, so λ=aλ=a is the only root. Thus the homogeneous solution is of the form
y
h
(
n
)
=
c
1
a
n
.
y
h
(
n
)
=
c
1
a
n
.
(14)In order to find the particular solution, consider the output for the x(n)=δ(n)x(n)=δ(n) unit impulse case
y
(
n
)
-
a
y
(
n
-
1
)
=
δ
(
n
)
.
y
(
n
)
-
a
y
(
n
-
1
)
=
δ
(
n
)
.
(15)By inspection, it is clear that the impulse response is anu(n)anu(n). Hence, the particular solution for a given x(n)x(n) is
y
p
(
n
)
=
x
(
n
)
*
a
n
u
(
n
)
.
y
p
(
n
)
=
x
(
n
)
*
a
n
u
(
n
)
.
(16)Therefore, the general solution is
y
g
(
n
)
=
y
h
(
n
)
+
y
p
(
n
)
=
c
1
a
n
+
x
(
n
)
*
a
n
u
(
n
)
.
y
g
(
n
)
=
y
h
(
n
)
+
y
p
(
n
)
=
c
1
a
n
+
x
(
n
)
*
a
n
u
(
n
)
.
(17)Initial conditions and a specific input can further tailor this solution to a specific situation.
"My introduction to signal processing course at Rice University."