Transforms and its Applications: UNIT 2: Z Transform

Z Transform: Formation of difference equations

Z Transform: Definition of Formation of difference equations. Example Important Solved Problems with formula, steps, derivation and answer based on Z Transform - Formation of difference equations.

Formation of difference equations:

 

Def. Difference equations:

A difference equation is a relation between the differences of an unknown function at one or more general values of the argument.

Thus

 Δy(n + 1) + y(n) = 2              ……..(1)

and Δy(n + 1) + Δ2y(n − 1) = 1       …….(2)

are difference equations.

 

Def: Order of a difference equation

The order of a difference equation is the difference between the largest and the smallest arguments occurring in the difference equation divided by the unit of increment.

 

Def: Solution of a difference equation:

The solution of a difference equation is an expression for y(n) which satisfies the given difference equation.

 

Def: The general solution of a difference equation:

The general solution of a difference equation is that in which the number of arbitrary constants is equal to the order of the difference equation.

 

Def: The particular solution of a difference equation:

A particular solution is that the solution which is obtained from the general solution by giving particular values to the constants.

 

Example Problems - Formation of difference equations :

 

1. Form the difference equation corresponding to the family of curves y = ax + bx2

Solution:

Ух = ax + bx2    …… (1)

yx+1 = a (x + 1) + b (x + 1)2  ………(2)

yx+2 = a(x + 2) + b(x + 2)2 ………(3)

Eliminating a and b from (1), (2) and (3), we get


 yх[(x+1)(x+1)2 ‒ (x+2)( x+1)2] − yx+1[x(x + 2)2 − x2(x + 2)] + yx+2[x (x + 1)2 ‒ x2(x + 1)] = 0

yx(x + 1)(x+2)(x+2‒x‒1] ‒ yx+1 [x (x + 2)] [x + 2‒x] + yx+2x(x + 1) [x+1‒x] = 0

Hint: Expand the determinant through

 yx(x +1)(x + 2) ‒ yx+12x(x+2) + yx+2x(x + 1) = 0

(x2 + 3x + 2)yx − 2 (x2 + 2x) + yx+1 + (x2 + x)yx+2 = 0

 

2. From yn = a2n + b(‒2)n, derive a difference equation by eliminating the arbitrary constants.

Solution:

Given: yn = a2n + b(−2)n

 yn+1 = a2n+1 + b(‒2)n+1 = 2a2n ‒ 2b(‒2)n   ... (2)

yn+2 = a2n+2 + b(‒2)n+2

 = a(2n)4 + b(‒2)n(‒2)2 = 4a2n + 4b(‒2)n   ... (2)

Eliminating a(2)n & b(‒2)n from (1), (2) and (3), we get


yn(8+8) ‒ yn+1(4‒4) + yn+2(‒2‒2) = 0

16yn ‒ (0) yn+1 ‒ 4yn+2 = 0

 yn+2 ‒ 4yn = 0 which is the desired difference equation.

 

3. Derive the difference equation from

 yn = (A + Bn) (‒3)n.

Solution:

Given :

 yn =(A + Bn) (‒3)n = A (‒3)n + Вn (‒3)n         ..... (1)

  yn+1 =[A + B (n + 1)] (−3)n+1

 = A (‒3)n(‒3) + B(n + 1)(‒3)n(‒3)

 = ‒3A (‒3)n ‒ 3B(n + 1)(‒3)n      ……. (2)

 yn + 2 = [A + B(n + 2)] (−3)n+2

= A(−3)n+2 + B(n + 2)(−3)n+2

= 9A (−3)n + 9B(n + 2) (−3)n

Eliminating A(‒3)n and B(‒3)n from (1), (2) & (3), we get


 yn [−27 (n + 2) + 27 (n + 1)] − yn+1 [9 (n + 2) ‒ 9n] + yn+2 [‒3 (n + 1) + 3n] = 0

 ‒27yn ‒ 18yn+1 ‒ 3yn+2 = 0

 yn+2 + 6yn+1 + 9yn = 0

 

4. Derive the difference equation from

un = A2n + Bn

Solution:

un = A2n + Bn     …..(1)

un+1 = A2n+1 + B(n+1)

= A2n + (n+1)B     ……..(2)

un+2 = A2n+2 + B(n+2)

= A2n + (n+2)B     ……..(2)

Eliminating A2n and B from (1), (2) and (3), we get


 un [2(n + 2) ‒ 4(n+1)] ‒ un+1[n+2‒4n] + un+2[n+1‒2n] = 0

un[‒2n] ‒ un+1[‒3n+2] + un+2[‒n+1] = 0

 (1‒n)un+2 + (3n‒2)un+1 ‒ 2nun = 0

 

5. Derive the difference equation from

 yn = (A + Bn) 2n

Solution:

Given:

 yn = (A + Bn)2n

 yn = A2n + Вn2n   …… (1)

 yn +1 = A2n+1 + В(n+1)2n+1

= 2A2n + 2В(n+1)2n   …… (2)

yn +2 = A2n+2 + В(n+1)2n+2

= 4A2n + 4В(n+2)2n   …… (3)

Eliminating A2n and B2n from (1), (2) and (3), we get


 yn [8 (n+2)‒8 (n + 1)] ‒ yn+1[4 (n + 2) ‒ 4n] + yn+2[2(n + 1) − 2n] = 0

yn [8] ‒ yn+1[8] + yn+2[2] = 0

yn+2  ‒ 4yn+1 + 4yn = 0

Note: Formulae

Δyr = yr +1 ‒ yr

Δ2yr = Δyr +1 ‒ Δyr

Δ3yr = Δ2yr +1 ‒ Δ2yr

In general, Δpyr = Δp-1yr +1 ‒ Δp-1yr

 

6. Write the difference equation Δ3yx + Δ2yx + Δyx + yx = 0 in the subscript notation:

Solution:

Δ3yx = Δ2yx+1 ‒ Δ2yx

Δ2yx = Δyx+1 ‒ Δyx

Δyx = yx+1 ‒ yx

Δyx+1 = yx+2 ‒ yx+1

Δ2yx+1 = Δyx+2 ‒ Δyx+1

Δyx+2 = yx+3 ‒ yx+2

Given:

 Δ3yx + Δ2yx + Δyx + yx = 0

 (Δ2yx+1 ‒ Δ2yx) + Δ2yx + Δуx + yx = 0

 Δ2yx +1 + Δyx + yx = 0

Δyx+2 ‒ Δyx+1 + yx+1 ‒ yx + yx = 0

 yx+3 ‒ yx+2 ‒ yx+2 + yx+1 + yx+1 = 0

 yx+3 ‒ 2yx+2 ‒ 2yx+1 = 0

 

7. Find the difference equation satisfied by y = ax2 ‒ bx.

Solution:

Given:

 y = ax2 ‒ bx

i.e., yx = ax2 ‒ bx     .. (1)

yx+1 = a(x + 1)2 − b (x + 1)       .. (2)

yx+2 = a(x + 2)2 − b(x + 2)       .. (3)

Eliminating a and b from (1), (2) and (3), we get


 yx [ − (x + 1)2 (x + 2) + (x + 2)2 (x + 1)] − yx+1[−x2(x + 2) + x(x + 2)2] + yx+2[ ‒x2(x + 1) + x (x + 1)2] = 0

 yx(x + 1)(x+2) [−x ‒1+x+2] ‒ yx+1x(x + 2) [−x + x + 2] + yx+2x(x + 1) [‒x+x+1] = 0

⇒ yx(x + 1)(x + 2) ‒ yx+1x(x+2)2 + yx+2(x+1) = 0

⇒ (x + 1)(x+2)yx ‒ 2x (x+2)yx+1 + x(x+1)yx+2 = 0

 

8.  Form the difference equation generated by yx = ax + b2x

Solution: Given: yx = ax + b2x  …….. (1)

 yx+1 = a (x+1) + b2x+1

= (x+1)a + 2b2x  …….. (1)

yx+2 = a(x+2) + b2x+2

= (x + 2)a + 4b2x …….. (1)

Eliminating a and b2k from (1), (2) and (3), we get


 yx[4(x+1)‒2(x+2)] ‒ yx+1[4x‒(x+2)] + yx+2[2x − (x + 1)] = 0

 yx[2x] ‒ yx+1[3x‒2] + yx+2[x‒1] = 0

 (x‒1)yx+2 + (‒3x + 2)yx+1 + 2xyx = 0

 

9. Form the difference equation generated by yx = a2x + b3x + c.

Solution: Given:

yx = a2x + b3x + c    …..(1)

yx+1 = a2x+1 + b3x+1 + c = 2a2x + 3b3x + c   …..(2)

yx+2 = a2x+2 + b3x+2 + c = 4a2x + 9b3x + c   …..(3)

yx+3 = 8a2x +27b3x + c   …..(4)

Eliminating a 2x, b3x, c from (1), (2), (3) and (4), we get


 (yx+1 ‒ yx) [78‒56] ‒ 1 [26 (yx+2 ‒ yx) ‒ 8(yx+3 ‒ yx)] + 2[7(yx+2 ‒ yx) ‒ 3(yx+3 ‒ yx)] = 0

 22yx+1 ‒ 22yx ‒ 26yx+2 + 26yx + 8yx+3 ‒ 8yx + 14yx+2 ‒ 14yx ‒ 6yx+3 + 6yx = 0

2yx+3 ‒ 12yx+2 + 22yx+1 ‒ 12yx = 0

i.e., yx+3 ‒ 6yx+2 + 11yx+1 ‒ 6yx = 0

 

10. Form the difference equation from yn = a + b3n.

Solution:

 Given

 yn = a + b3n    …(1)

 yn+1 = a + b3n+1 = a + (b)(3)3n   …(2)

 yn+2 = a + b3n+2 = a + (b)(9)3n   …(3)

 Eliminating a and b3n from (1), (2) and (3) we get


 yn[9 − 3] − yn+1 [9 ‒ 1] + yn+2 [3−1]  = 0

 6yn ‒ 8yn+1 + 2yn+2 = 0

 yn+2 ‒ 4yn+1 + 3yn = 0

 

11. Form the difference equation from un = a2n+1.

Solution:

Given: un = a2n+1           ... (1)

 un+1 = a 2(n+1)+1 = a 2n+12         ... (2)

Eliminating a2n+1 from (1) & (2) we get


i.e., 2un ‒ un+1 = 0

i.e., un+1 ‒ 2un = 0

 

Transforms and its Applications: UNIT 2: Z Transform : Tag: Engineering mathematics, Maths : - Z Transform: Formation of difference equations


Transforms and its Applications: UNIT 2: Z Transform



Under Subject


Transforms and its Applications

MA25C03 2nd Semester EEE Dept | 2025 Regulation | 2nd Semester 2025 Regulation



Related Subjects


English Essentials II

EN25C02 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation



Transforms and its Applications

MA25C03 2nd Semester EEE Dept | 2025 Regulation | 2nd Semester 2025 Regulation


Applied Physics (EE) II

PH25C04 2nd Semester EEE Dept | 2025 Regulation | 2nd Semester 2025 Regulation


Basic Civil and Mechanical Engineering

GE25C01 2nd Semester EEE Dept | 2025 Regulation | 2nd Semester 2025 Regulation


Engineering Drawing

ME25C01 EEE, Mech, Agri, EEE Depts | 2025 Regulation | 2nd Semester 2025 Regulation


Data Structures and Algorithms

CS25C04 2nd Semester EEE Dept | 2025 Regulation


Re-Engineering for Innovation

ME25C05 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation


Engineering Drawing - Laboratory

ME25C01 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation


Data Structures and Algorithms - Laboratory

CS25C04 2nd Semester EEE Dept | 2025 Regulation | 2nd Semester 2025 Regulation