@DLS
suppose \(G(x) = \sum\limits_{x=0}^{\infty} a_nx^n\)
can you express below in terms of \(G(x)\) ? \[\sum\limits_{x=0}^{\infty} \color{red}{a_{n+1}}x^n = ?\]
multiply divide by x ?
Exactly, could you do it all the way..
\[\sum\limits_{x=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{x=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} \]
next what
next what? :o
i want to express above series in terms of G(x)
so it becomes G(x)/x
wait wait
That is very wrong
G(x) + a0 / x ?
G(x) has the term \(a_0\) but below has no \(a_0\) \[\sum\limits_{x=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{x=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} \]
Could you show me how
isn't the summation variable n ? :O
my mistake, fixed below \[\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} \]
\[\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} = \frac{1}{x}(G(x)+a_0)\]
that is wrong
my mistake, fixed below \[\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} =\dfrac{1}{x}(a_1x^1+a_2x^2+\cdots ) \]
the stuff inside that parenthesis should be \(G(x) \color{red}{-}a_0\) right
yes
so we need to add 2*a0 ?
No
\[\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^n =\dfrac{1}{x}\sum\limits_{n=0}^{\infty} \color{red}{a_{n+1}}x^{n+1} =\dfrac{1}{x}(a_1x^1+a_2x^2+\cdots ) = \dfrac{1}{x}(G(x)-a_0)\]
oh yes, sorry my bad
that is easy ok
using that, try solving below system : \(a_n = 3a_{n-1} + 2b_{n-1}\) \(b_n = a_{n-1} + 2b_{n-1}\)
notice, that system is same as \(a_{n+1} = 3a_{n} + 2b_{n}\) \(b_{n+1} = a_{n} + 2b_{n}\)
yes it is the same :)
You may start by letting the generating functions for \(a_n\) and \(b_n\) be \(G(x)\) and \(H(x)\) respectively
multiply \(x^n\) both sides of the recurrence relations, and sum them from 0 to infinity
\[\sum_{n=0}^\infty a_{n+1}x^n = \sum_{n=0}^\infty3a_{n}x^n +\sum_{n=0}^\infty 2b_{n}x^n\]
we get : \(\color{red}{\sum \limits_{0}^{\infty}}a_{n+1} ~x^n= \color{red}{\sum \limits_{0}^{\infty}}3a_{n} ~x^n+ \color{red}{\sum \limits_{0}^{\infty}}2b_{n}~x^n\) \(\color{red}{\sum \limits_{0}^{\infty}}b_{n+1} ~x^n= \color{red}{\sum \limits_{0}^{\infty}}a_{n}~x^n + \color{red} {\sum \limits_{0}^{\infty}}2b_{n}~x^n\)
\[\Large \frac{G(x) - a_0}{x} = 3 G(x) + 2 H(x)\]
substitute the previous formula formula
Yes!
\[\color{red}{\sum \limits_{0}^{\infty}}b_{n+1} ~x^n= \color{red}{\sum \limits_{0}^{\infty}}a_{n}~x^n + \color{red} {\sum \limits_{0}^{\infty}}2b_{n}~x^n \] \[\Large \frac{H(x) - a_0}{x} = G(x) + 2H(x)\]
we get : \(\dfrac{G(x)-a_0}{x}= 3G(x) + 2H(x)\) \(\dfrac{H(x)-b_0}{x}= G(x) + 2H(x)\)
Collect the terms G and H in each equation
Remember, our goal is to solve \(G(x)\) and \(H(x)\)
and we have a linear system of two equations in terms of G(x) and H(x) we can solve it easily
yes..suppose we get both G(x) and H(x)
we're done
once you have the generating functions G(x) and H(x) independently, you know what to do next to solve the recurrence relation
oh yes :) this was also easy :D
look at 2nd reply http://math.stackexchange.com/questions/369377/solving-two-simultaneous-recurrence-relations
btw there was a typo in 5th line in that reply, he wrote 2A(z) instead of 3A(z)
yeah I just noticed :P nonetheless the procedure is exactly the same
Yes
and in that question yesterday, where we were supposed to count the solutions using G((x) , things can get pretty nasty when there are constraints on all 5 variables, G(x) may nor may not be easy to solve..is there something that can be done in the exam using calculator or something ? :| or should I leave it as "The answer is the coefficient of x^blah blah in this equation) ?
they cookup problems such that finding the coefficient would be easy
they test whether you know the method or not
testing ur algebra skills is pointless in an exam
yeah I guessed so :D it should be easy then. BTW I have been trying this for a while : Prove using binomial theorem > \[\Large \sum_0^n C(n,r) 2^r = 3^n\] I am unsure how to proceed with BT in this proof actually, any hints ?
that is very easy
expand below using binomial theorem : \[(1+2)^n\]
\[3^n = (1+2)^n = \sum\limits_{r=0}^n C(n,r)1^{n-r}2^r = \sum\limits_{r=0}^n C(n,r)2^r \]
that is an one line proof
lol didn't think of that :O amazing :P why is this of 6 marks nevermind :p
using same reasong, try proving below : \[\sum\limits_{r=0}^n C(n,r)=2^n\]
yeah that's the expansion of (1+x)^n with x = 1
I guess I should avoid thinking too complex :|
Yep!
trust that your professor loves you and gives only problems that you're familiar with :)
hahah..its not true in case of my college, if they aren't in a good mood they would either make the paper difficult or there would be mistakes in the question. :| there was a mistake in a 2 questions in my maths exam, and I spent a lot of time wasting on them :/ hopefully tomorrow will be good :)
Join our real-time social learning platform and learn together with your friends!