PadhaikoAll subjects

Difference Equations & Sum of Series

Engineering Mathematics III (ENSH 201)

Open in the Padhaiko app

5.7 Difference Equations

The -transform provides a systematic algebraic technique for solving linear difference equations with constant coefficients subject to given initial or boundary conditions, exactly analogously to the role of the Laplace transform in solving ordinary differential equations.

In control engineering, digital signal processing, and sampled-data systems, signals are observed as sequences of discrete pulses occurring at sampling instants . The sequential relationship between past and present sample values is governed by a difference equation.

Definition

Linear Difference Equation with Constant Coefficients

An equation relating an unknown discrete sequence at two or more integer arguments is called a difference equation. A linear -th order difference equation with constant coefficients has the general form

with prescribed initial conditions

where are real constants (), is a positive integer (the order of the equation), and is a prescribed discrete driving signal.


Worked Out Examples: Difference Equations

Example 1

1

Solve the difference equation with conditions , , and for using the -transform.

Taking the -transform of both sides: The difference equation is

Applying the -transform to both sides:

Substituting initial conditions and solving for : Substitute and :

Solving for :

Decomposing into partial fractions and inverting: Expanding into partial fractions:

Taking the inverse -transform of each term:

Answer:
Example 2

2

Solve the difference equation with conditions , , where is the unit impulse function ( and for ) and for , using the -transform.

Transforming the difference equation: Taking the -transform of both sides using :

Applying initial conditions: Using and :

Decomposing and taking the inverse -transform: Partial fraction expansion gives

Recall standard pair for :

Answer:
Example 3

3

Solve the difference equation with conditions , , where for , using the -transform.

Taking the -transform:

Substituting initial conditions: With and :

Inverting by standard transform pair or residues: The denominator has a double pole at . Using the standard -transform pair :

Answer:
Example 4

4

Solve the difference equation with , using the -transform.

Transforming and applying initial conditions: Taking the -transform:

With and :

Finding complex conjugate poles: Setting :

The poles are and . In polar form:

Evaluating residues and inverting: The residue at the simple pole is:

Adding the complex conjugate residue at :

Answer:
Example 5

5

Solve the difference equation with , , where for is the unit step function, using the -transform.

Taking the -transform with step input: Taking the -transform using :

Substituting initial conditions and solving for : With and :

Thus

Inverting by the residue method: The poles of are a simple pole at and a double pole at .

Residue at simple pole :

Residue at double pole :

Summing the residues:

Answer:
Example 6

6

Solve the difference equation with using the -transform.

Transforming variables to constant-coefficient form: Define the substitution sequence:

Advancing by one sample: . With , the initial condition is . Substituting into the difference equation:

Taking the -transform and solving for : Using and :

With :

Inverting and solving for : The pole has multiplicity :

Since , dividing by gives:

Answer:
Example 7

7

Solve the difference equation with using the -transform.

Shifting the index and setting up the transform: Shift the index by replacing with :

Taking the -transform of both sides using and :

Solving the differential equation for : Separating variables:

Expanding as power series and determining constant : Expanding :

Applying the initial condition :

Therefore, for .

Answer:
Example 8

8

Solve the difference equation , where is a constant, and obtain the general solution in terms of initial conditions and .

Taking the -transform: Taking the -transform of the equation:

Setting up partial fractions for : Factor the denominator: .

Multiplying through by :

Evaluating coefficients and and inverting: Substitute :

Substitute :

Multiplying by and taking the inverse -transform:

Answer:
Example 9

9

Solve the difference equation in terms of initial conditions and .

Transforming the difference equation: Take the -transform of both sides:

Inverting the initial-condition terms: The first term expands as:

The second term inverts directly:

Inverting the forcing term: Decompose the third term using standard polynomial basis transforms:

Inverting using standard pairs for , , and :

Combining the components:

Answer:
Example 10

10

Solve the difference equation , where for is the unit step function, with initial conditions , using the -transform.

Taking the -transform with delay: For a causal sequence with zero initial conditions prior to , :

Finding poles: Denominator roots are (simple pole) and

Evaluating residues and inverting: Residue at simple pole :

Residue at complex pole :

Summing residues gives the closed-form response:

Answer:

Application of Z-Transform to Find the Sum of Series

The -transform converts the problem of evaluating infinite or finite discrete series into evaluating or inverting a closed-form rational function .

Theorem

Sum of Infinite and Finite Series via Z-Transform

Let with region of convergence .

  1. Infinite Series Summation: For any complex constant lying strictly inside the region of convergence ():

In particular, if lies inside the ROC (), then .

  1. Finite (Partial) Series Summation: The running sum satisfies the difference relation with . By the shifting theorem:
Example 11

Syllabus Example 1: Sum of Infinite Series Using Z-Transform

Using the -transform, find the sum of the infinite series: (i) (ii)

Evaluating series (i): Recall the standard -transform pair for :

Since lies strictly inside the region of convergence , substitute :

Evaluating series (ii): Recall the standard -transform pair for :

Since lies inside the region of convergence, substitute :

Answer:

(i)

(ii)

Example 12

Syllabus Example 2: Sum of Finite Series Using Accumulation Property

Using the -transform, find the closed-form sum of the finite series

Applying the accumulation property: For , its standard transform is . By the accumulation theorem:

Inverting by the residue theorem: Inverting via residues at the fourth-order pole :

Answer:

Exercise - 21

Exercise 21: Difference Equations

Question 1

Solve the difference equation using the -transform method:

Taking the -transform of both sides: Given the difference equation:

with initial conditions and . Applying the time-shifting property of the unilateral -transform:

Substituting initial conditions and solving for : Substituting and :

Rearranging:

Solving for :

Expanding in partial fractions and inverting: Dividing by :

Using the cover-up method:

Multiplying by :

Taking the inverse -transform:

As noted in the erratum, the printed textbook answer omitted the factor of on .

Answer:

Printed:

Question 2

Solve the difference equation using the -transform method:

Taking the -transform: Given with and . Taking the -transform:

Substituting and :

Solving for :

Thus:

Expanding in partial fractions: Dividing by :

Evaluating coefficients:

Inverting the transform: Multiplying through by :

Taking the inverse -transform:

Rewriting in terms of powers of :

Thus:

Answer:
Question 3

Solve the difference equation using the -transform method:

Taking the -transform: Given with . Taking the unilateral -transform:

Substituting :

Expanding in partial fractions: Dividing by :

Evaluating the coefficients:

Inverting the transform:

Taking the inverse -transform:

Answer:
Question 4

Solve the difference equation using the -transform method:

Taking the -transform: Given with and . Using :

Substituting initial conditions:

Solving for :

Thus:

Expanding in partial fractions: Dividing by :

Evaluating coefficients:

Inverting: Multiplying through by :

Taking the inverse -transform:

Answer:
Question 5

Solve the difference equation using the -transform method:

Taking the -transform: Given with and .

Thus:

Partial fraction expansion: Dividing by :

Multiplying through by :

Inverting the transform: Recalling standard inverse transforms:

Combining the two terms:

Answer:
Question 6

Solve the difference equation using the -transform method:

Taking the -transform: Given with and .

Solving for :

Expanding in partial fractions and inverting: Dividing by :

Multiplying through by :

Taking the inverse -transform:

Answer:
Question 7

Solve the difference equation using the -transform method:

Taking the -transform: Given with and . Using :

Thus:

Evaluating partial fractions: Dividing by :

Evaluating coefficients:

Inverting the transform: Multiplying through by :

Taking the inverse -transform:

Answer:
Question 8

Solve the difference equation using the -transform method:

Taking the -transform: Given with and .

Expanding in partial fractions: Dividing by :

Evaluating coefficients:

Inverting the transform: Multiplying through by :

Taking the inverse -transform:

As noted in the erratum, the printed formula in the textbook had an incorrect sign and factor in the constant term.

Answer:

Printed:

Question 9

Solve the difference equation using the -transform method:

Advancing the difference equation: Given with (assuming causality for ). For : . Advancing the equation by one step ():

Taking the -transform: Taking the unilateral -transform with and :

Thus:

Expanding in partial fractions and inverting: Dividing by :

Evaluating coefficients:

Multiplying through by :

Taking the inverse -transform:

Answer:
Question 10

Solve the difference equation using the -transform method:

Taking the -transform of the difference equation: Applying the shifting property with initial conditions and :

Using the standard transform , the equation becomes:

Solving for :

Partial fraction decomposition of : Dividing by :

Finding the coefficients:

  • For :
  • For :

Multiplying through by :

Inverting to obtain : Taking the inverse -transform term by term:

Combining the terms:

The printed answer () is a misprint; see the erratum.

Answer:

Printed:

Question 11

Solve the difference equation using the -transform method:

Taking the -transform of the difference equation: Given with and . Applying the time-shifting property:

Using :

Rearranging:

Thus:

Partial fraction decomposition of : Dividing both sides by :

Using the cover-up method:

Multiplying through by :

Taking the inverse -transform: Inverting term by term:

The printed answer () is a misprint; see the erratum.

Answer:

Printed:

Question 12

Solve the difference equation using the -transform method:

Taking the -transform: Assuming initial rest (), apply the shifting property:

For the unit impulses, and . Taking the -transform of both sides:

Factoring out :

Expressing in terms of standard transform pairs: Divide the numerator by the denominator:

In terms of :

Taking the inverse -transform: Inverting using the standard pairs and for :

Evaluating the first few terms gives , , . The printed answer () incorrectly included a constant step term instead of an impulse; see the erratum.

Answer:

Printed:

Question 13

Solve the difference equation using the -transform method:

Taking the -transform of the third-order equation: Given with , , and . Applying the time-shifting property:

Substituting , , :

Expanding:

Factoring the characteristic polynomial: Since is a root ():

The numerator factors as . Canceling the common factor :

Expanding in partial fractions and inverting: Dividing by :

Evaluating coefficients:

Multiplying through by :

Taking the inverse -transform:

Answer:
Question 14

Solve the difference equation using the -transform method:

Taking the -transform: Given with , , . Taking the -transform:

Factoring the cubic polynomial:

Expanding in partial fractions: Dividing by :

Evaluating coefficients:

Inverting the transform: Multiplying through by :

Taking the inverse -transform:

Answer:
Question 15

Solve the difference equation in terms of and :

Taking the -transform in terms of initial values: Given . Applying the time-shifting property:

Expanding and grouping terms:

Solving for :

Inverting the standard transform pairs: Recall the standard ramp-decay transform pairs:

For the advanced term :

Substituting these inverse transforms yields

Answer:

Past exam questions for Engineering Mathematics III

← Inverse Z-Transform & Convolution