Processing math: 100%

Monday, January 12, 2015

Initial values

The recurrence fn=afn1+bfn2 has generating function f(x)=f0+x(f1af0)1axbx2=0(C1λ1+C2λ2)xn==1λ1λ2(f1f0λ21λ1x+f0λ1f11λ2x)=C1+C2+x(λ1C2+C1λ2)1(λ1+λ2)xλ1λ2 x2

which allows to relate initial values with eigendecomposition C1=f1f0λ2λ1λ2C2=f0λ1f1λ1λ2f0=C1+C2f1=C1λ1+C2λ2. Eigencoordinaces C1 and C2 can be computed either this way or in the course of partial fraction decomposition.

Identifying initial values with inputs

We have just got that our linear system produces non-causal sequence (the output is 0 for n < 0). This sequence is also a solution of the recurrence. It is curious that initial values, a0 and a1 can be identified with inputs. Let's first define left and right shift: R(y)=R(y0+y1z+y2z2+)=0+y0z+y1z2+=ay, L(y)=L(y0+y1z+y2z2+)=y1+y2z+y3z2+=(yy0)/a, R(y)n=yy1 L(y)n=yy+1 Therefore, yn=ayn1+xn can be rewritten as z-transform Y=y(z)=azy(z)+x(z)=X/(1az) where x is input at time t and output, our sequence, is identically zero if no input is applied. Same result can be obtained from eq yn+1=ayn+xn+1: (Yy0)/z=aY+(x(z)x0)/zYy0=azY+(Xx0) Y=X+y0x01az==X+y11az=X1az. The latter is because y1=0 since we have causal sequences. For the second order system, yn=ayn1+byn2 we have y=a(zy+y1)+b(z2y+zy1+y2)=ay1+by2+bzy11azbz2=y0+bzy11azbz2=0 since y1=y1=0 again and we again can add some input X to kick the sequence off zero. With y0=x0 and y1=ay0+x1x1=y1ay0 given, y=x1azbz2=x0+x1z1azbz2=y0+(y1ay0)z1azbz2. y1ay0=by1, which we have before.

In general, equation anyn+an1yn1++a0y0=bmxm+bm1ym1+b0x0 translates into Y=m0xizin10aizi=XH where nominator X can be interpreted as either as input delta-pulses (in case of zero-state interpretation) or initial values (in case of zero-input interpretation).

See also What is the difference between zero-input and natural response.

No comments: