retagged by
26,578 views
76 76 votes
If the ordinary generating function of a sequence $\left \{a_n\right \}_{n=0}^\infty$  is $\large \frac{1+z}{(1-z)^3}$, then $a_3-a_0$ is equal to ___________ .

10 Answers

Best answer
123 123 votes
$\frac{1+z}{(1-z)^3} = (1+z)(1-z)^{-3}$

$(1-z)^{-3} = 1 + \binom{3}{1}z + \binom{4}{2}z^2 + \binom{5}{3}z^3 + \dots \infty$

${(1+z)(1-z)^{-3} = (1+z)*(1 + \binom{3}{1}z + \binom{4}{2}z^2 + \binom{5}{3}z^3 + \dots \infty)}$

$a_0$ is the first term in the expansion of above series and $a_3$ is the fourth term (or) coefficient of $z^3$

$a_0$ = coefficient of $z^0 = 1$
$a_3$ = coefficient of $z^3 = \binom{5}{3} + \binom{4}{2} = 10 + 6$

${\Rightarrow a_3 - a_0 = 16 - 1 = 15}$
edited by
13 13 votes
$ \frac {(1+z)}{(1-z)^3}$=$(1+z) \ \sum_{r=o}^{\infty} \binom{3-1+r}{r} z^r$   ( $\because$as we know $ \frac{1}{(1-z)^n}= \sum_{r=o}^{\infty} \binom{n-1+r}{r} z^r $)

           =$(1+z)\binom{2+r}{r} z^r $

           =$\binom{2+r}{r} z^r +\binom{2+r}{r} z^{r+1}  $

   $a_3\ means \ coefficient \ of \ z^3, a_0\ means \ coefficient \ of \ z^0$

for $a_3$ in first term r =3,in second term r=2

$a_3$=$\binom{5}{3}+\binom{4}{2}$=16

for $a_0$ only first term can give $x^0$ coeff. $a_0=\binom{2+0}{0}$=1

$a_3-a_0$=16-1=15.
10 10 votes

Given any sequence say (a0,a1,a2,a3,....) we represent in generating functions as

                        a0 + a1.z + a2.z2 + a3.z3 + a4.z4 + ....

                                        where z is called as indicator variable.

Now given in question that

                        a0 + a1.z + a2.z2 + a3.z3 + a4.z4 + .... 

                                     = (1 + z) / (1 - z)3

                                                 = (1 + z).( 1 / (1-z)3 )

                                     = (1 + z).(1 / 1-z)

                                     = (1 + z).(1 + z + z2 + z3 +z4 + ....)3

                                     = 1.(1 + z + z2 + z3 +z4 + ....)3 + z.(1 + z + z2 + z3 +z4 + ....)3 ==> eqn 1

From eqn 1, I can say that a0 = coefficent of z0 and a3 = coefficient of z3

        1.(1 + z + z2 + z3 +z4 + ....)3

                 = 1.(1 + z + z2 + z3 +z4 + ....).(1 + z + z2 + z3 +z4 + ....).(1 + z + z2 + z3 +z4 + ....)                

               coefficient of z0 = 1 (Because z0 is possible only if 1 is taken in all 3 bracket terms)

               coefficient of z3 = number of ways of choosing (1,z,z2) + (1,1,z3) + (z,z,z) 

                                     = (3 * 2) + (3C2 ) + 1

                                     = 6 + 3 + 1

                                     = 10      

z.(1 + z + z2 + z3 +z4 + ....)3

                                    = z.(1 + z + z2 + z3 +z4 + ....).(1 + z + z2 + z3 +z4 + ....).(1 + z + z2 + z3 +z4 + ....)

                  coefficient of z0 = 0 (as we have a z outside and z0 is not possible.

                  coefficient of z3 = coefficient of z2 from bracket terms

                                            = number of ways choosing (1,1,z2) + (1,z,z)

                                            = 3C2 + 3C2

                                            = 6

a0 = Total coefficient of z0 =  1 + 0 = 1 

a3 = Total coefficent of z3 = 10 + 6

                                  = 16

          a3 - a0 = 16 - 1 = 15.

edited by
8 8 votes

Given generating function $G(z) = \dfrac{1 + z}{(1-z)^{3}}$

We know that if given sequence is

$(1,1,1,1,1,1,\dots) \Leftrightarrow \dfrac{1}{1-z}$

$\left[\text{Infinite series summation}\: S = \dfrac{a}{1-r}; r< 1\: \text{(or)}\: S = \dfrac{a}{r-1};r > 1\: \text{Where a = first term and r = common ratio} \right]$

$(1 + z + z^{2} + z^{3} + z^{4} + \dots) \Leftrightarrow \dfrac{1}{1-z}$

Differentiate both side with respect to $z$

$\dfrac{\mathrm{d} }{\mathrm{d} z} (1 + z + z^{2} + z^{3} + z^{4} + \dots) \Leftrightarrow \dfrac{\mathrm{d} }{\mathrm{d}z } \left(\dfrac{1}{1-z}\right)$

$(0+1+2z+3z^{2}+4z^{3}+\dots) \Leftrightarrow \dfrac{1}{(1-z)^{2}}$

$(1+2z+3z^{2}+4z^{3}+\dots) \Leftrightarrow \dfrac{1}{(1-z)^{2}}$

Multiply both side by $z$

$(z+2z^{2}+3z^{3}+4z^{4}+\dots) \Leftrightarrow \dfrac{z}{(1-z)^{2}}$

Again differentiate both side with respect to $z$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow \dfrac{(1-z)^{2}(1) - z(2(1-z))(-1)}{((1-z)^{2})^{2}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow \dfrac{1+z^{2}-2z +2z(1-z)}{(1-z)^{4}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow\dfrac{1+z^{2}-2z +2z-2z^{2}}{(1-z)^{4}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow \dfrac{1+z^{2}-2z^{2}}{(1-z)^{4}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow \dfrac{1^{2}-z^{2}}{(1-z)^{4}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow\dfrac{(1-z)(1+z)}{(1-z)^{4}}$

$(1+4z+9z^{2}+16z^{3}+\dots) \Leftrightarrow \dfrac{(1+z)}{(1-z)^{3}} = G(z)$

$G(z) = 1+4z+9z^{2}+16z^{3}+\dots\:\:\:\rightarrow(1)$ 

Ordinary Generating Function

$G(z) = a_{0} + a_{1}z +a_{2}z^{2} +a_{3}z^{3}+a_{4}z^{4}+\dots\:\:\:\rightarrow(2)$

Compare equation $(1)$ and equation $(2)$ and we get

$a_{0} =1 $

$a_{3}=16$

Now we can easily find $a_{3} -a_{0}=16-1=15$

So, the correct answer is $15.$

See this pdf for generating function it might be helpful.

see here

______________________________________________________________________

$\textbf{Second Method:}$

  • $1+x+x^{2}+x^{3}+\dots + x^{n} = \dfrac{1-x^{n+1}}{1-x}$
  • $\dfrac{1}{(1-x)^{n}} = \displaystyle{}\sum^{\infty}_{0} \binom{n+k-1}{k}\:x^{k}$

Given generating function $G(z) = \dfrac{1 + z}{(1-z)^{3}}$

$\implies G(z) = (1+z)\:\displaystyle{}\sum^{\infty}_{0} \binom{3+k-1}{k}\:z^{k}$

$\implies G(z) = (1+z)\:\displaystyle{}\sum^{\infty}_{0} \binom{2+k}{k}\:z^{k}$

$\implies G(z) = (1+z)\left[1+3z+6z^{2} + 10z^{3} + \dots \right]$

$\implies G(z) = 1+3z+6z^{2} + 10z^{3} + \dots + z+3z^{2}+6z^{3} + 10z^{4} + \dots$

$\implies G(z) = 1+4z+9z^{2} + 16z^{3} + \dots$

Ordinary Generating Function

$G(z) = a_{0} + a_{1}z +a_{2}z^{2} +a_{3}z^{3}+a_{4}z^{4}+\dots\:\:\:\rightarrow(1)$

$a_{0} =1 ,a_{3}=16$

$ \therefore a_{3} -a_{0}=16-1=15$

So, the correct answer is $15.$

edited by
Answer:
Position:
Show:

Related questions

51 51 votes
6 answers 6 answers
13.4k
13.4k views
Misbah Ghaya asked Nov 29, 2016
13,424 views
How many substrings (of all lengths inclusive) can be formed from a character string of length $n$? Assume all characters to be distinct, prove your answer.
43 43 votes
6 answers 6 answers
16.7k
16.7k views
Kathleen asked Sep 23, 2014
16,690 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
51 51 votes
8 answers 8 answers
17.2k
17.2k views
Kathleen asked Sep 14, 2014
17,163 views
A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetiti...
68 68 votes
17 answers 17 answers
41.0k
41.0k views
Sandeep Singh asked Feb 12, 2016
40,962 views
The coefficient of $x^{12}$ in $\left(x^{3}+x^{4}+x^{5}+x^{6}+\dots \right)^{3}$ is ___________.