Holooly Plus Logo

Question 22.36: Solve the second-order difference equation y[k+2]-5 y[k+1]+......

Solve the second-order difference equation

y[k+2]-5 y[k+1]+6 y[k]=0     y[0]=0  y[1]=2

Step-by-Step
The 'Blue Check Mark' means that this solution was answered by an expert.
Learn more on how do we answer questions.

Taking the z transform of both sides of the equation and using the properties of linearity we have

\mathcal{Z}\{y[k+2]\}-5 \mathcal{Z}\{y[k+1]\}+6 \mathcal{Z}\{y[k]\}=0

From the first shift theorem we have

z^2 Y(z)-z^2 y[0]-z y[1]-5(z Y(z)-z y[0])+6 Y(z)=0

where

Y(z)=\mathcal{Z}\{y[k]\}

Substituting values for the conditions gives

\begin{aligned} z^2 Y(z)-0 z^2-2 z-5(z Y(z)-0 z)+6 Y(z) & =0 \\ z^2 Y(z)-5 z Y(z)+6 Y(z) & =2 z \end{aligned}

Hence

\left(z^2-5 z+6\right) Y(z)=2 z

so that

Y(z)=\mathcal{Z}\{y[k]\}=\frac{2 z}{(z-2)(z-3)}

Dividing both sides by z gives

\frac{Y(z)}{z}=\frac{2}{(z-2)(z-3)}

Expressing the r.h.s. in partial fractions yields

\begin{aligned} & \frac{Y(z)}{z}=\frac{2}{z-3}-\frac{2}{z-2} \\ & Y(z)=\frac{2 z}{z-3}-\frac{2 z}{z-2} \end{aligned}

Inverting gives the solution to the difference equation:

y[k]=2\left(3^k\right)-2\left(2^k\right)

Related Answered Questions

Question: 22.32

Verified Answer:

The first stage is to divide the expression for F(...
Question: 22.35

Verified Answer:

Taking the z transform of both sides of the equati...
Question: 22.33

Verified Answer:

Using the definition of the z transform we see tha...
Question: 22.31

Verified Answer:

Note that we can write F(z) as \frac{z+3}{z...
Question: 22.30

Verified Answer:

Since b = 2, the complex translation theorem state...
Question: 22.29

Verified Answer:

The expression \frac{1}{z^2(z-1)^2}...
Question: 22.28

Verified Answer:

\frac{1}{z-1}=\frac{1}{z} \frac{z}{z-1}=z^{...
Question: 22.27

Verified Answer:

If the function u(t) is sampled at intervals T the...