Processing math: 100%

Saturday, July 26, 2014

series for 1/(1-x) and 1/(1-x^2)

Let's compute 11x
 
 1+ox  |1-x
 1- x    1+x+x²+x³+...
    x+ox²
    x-x²
      x²+ox³
      x²-x³
Ok, you see the pattern, 11x=1+x+x2+x3+. Similarly, we prove that 11+x=1x+x2x3+x4x5+. What if we add two series together? Yes, 2(1+x2+x4+x6+)=11x+11+x=21x2. The latter can also be obtained by substitution a for x2 in 2(1+x2+x4+x6+)=1+a+a2+a3+)=21a=21x2.

In the same vain, we can compute (11x)2=11x11x=(1+x+x2+x3+)(1+x+x2+x3+)=(1+x+x2+x3+)+(x+x2+x3+x4+)+(x2+x3+x4+x5+)+=1+2x+3x2=0ddx(xn)=0nxn1 Similarly, we can prove that (1a)n10ai=1+a+a2++an1aa2a3an=1an or 1an1a=n10ai.

Note that 1+x+x2+x3+ maintains a constant value of 1. That is, (1) corresponds to a linear system. What is a corresponding linear system?

has a transfer function which has transfer function y=k(Fbz1y+x)=kx1z1kFb. Here, z1 is a righward shit R[a0,a1,a2,]=z1[a0,a1,a2,]=[0,a0,a1,a2,] and H=k1z1kFb is the transfer function. Well, the specification is redundant. I can set simply k=1. We have already seen this system for the feedback amplifier Fb=3 and constant input x=2. Here is the generalized matrix form for x=1 and arbitrary Fb

[yn1]=[Fnb101]n[y01]=SΛnS1Y0=[1101Fb][Fnb001n][111Fb011Fb][y01] You see how y receives constant input, 2 from another state variable, 1, which maintains itself constant. The eigendecomposition fails when y's feedback is 1 because of 11Fb, which is infinite. Yet, the transfer function-based solution, Y=X1z1=2(1z1)2, is still valid. It simply means that yn=1y0+2. The system implements a perfect integrator in this case. It does not exponentiate the accumulated value but adds inputs received from x together. The diagram is also valid in this case. If we want, we can also draw the system using nodes for the state variables

y 1 2 Fb 1

Again, input to the y is 2 from node "constant 1".

The state varying over time t can be represented as a vector y1,y2,,yt,. The coefficients of polynomial are used to represent such vectors. For instance 1+2y+1y2+5x3 represents vector 1,2,1,5. Now, series (1) represents variable stuck at state 1,1,1,1,1,. This can be represented by a diagram

1 1

You see, it was in state 1 and next state is 1*1=1, so is the next state. It evolves by staying constant. It was sequence 11y=1+y+y2+y3+. Do you remember that 11+y was alternating 1,1,+11,? That is because feedback -1 in the denominator!

1 -1

When we add two together,

1 1 + -1 1 we read output from the summation node (it does not feedback anything and thus, is not a state variable). You see that at first time step, both accumulators are 1, so the output is 2. On the next step, the integrators are in counterphase, -1 and 1, so they cancel out for y^1. In the next step, they are in phase again, and output 2 is repeated. The sequence is [2,0,2,0] The corresponding matrix for sequence [2,0,2,0,] yn=an+bn=[11][anbn]=[11][1001][an1bn1]=[11][1001]n[a0b0] is diagonal right away.

The interesting thing is that transfer function approach implies 0 initial values. Laplace way to solve diff eq do use the initial values.

This post was aided by Finite State Machine Designer

No comments: