Difference Equation and Z Transform

Let’s recall a bit some basic foundations of differential equations and Laplace transform, the simplest linear ODE:

Laplace transform is invented to solve such a DE, take the Laplace transform, we have

Rearrange we have

we can see that the Laplace transform helps us to ease the computation of convolution into product and then do inverse Laplace transform.

Now let’s move on to difference equations

Take the z transform,

Rearrange we have,

let and , the difference equation becomes

Integral by parts

Integral by parts not only works for continuous functions, there’s a analog for discrete functions. Let’s recall integral by parts for indefinite integral first,

for definite integral,,

The analog for discrete function would be

Life is short, let’s skip the proof.