15 Exercises
- Given that \(\displaystyle \frac{1}{1 - ax} = \sum_{n = 0}^\infty a^n x^n\), convert the following into summation notation (in terms of \(x^n\) rather than \(x^{n + k}\))
- \(\dfrac{1}{1 - x} + \dfrac{1}{1 + x}\)
- \(\dfrac{x^3}{1 + 2x}\)
- \(\displaystyle \int_{0}^x \frac{1}{1 - t} \; dt = \log\left( \frac{1}{1 - x} \right)\) (hint: take the antiderivative/integral term by term)
- \(\dfrac{3}{2 - x}\) (hint: convert to \(\dfrac{a}{1 - bx}\))
- \(\dfrac{1 + x}{1 - x^3}\) (hint: split the fraction into two fractions)
Start with \[ \frac{1}{1 - y} = \sum_{n = 0}^\infty y^n \] where maybe \(y = x^3\) and we get \(x^{3n}\) or \(y = -x\) and we get \((-x)^n\).
If we multiply by \(x^3\) and get \(\sum a^n x^{n + 3}\) then subtract \(3\) from \(n\) everywhere to get \(\sum a^{n - 3} x^n\). For the bottom of the summation, we would change from \(n = 0\) to \(n - 3 = 0\) or \(n = 3\).
If we integrate \(\sum x^n\) term by term, we get \(\sum x^{n + 1}{n + 1}\).
Convert to \(\dfrac{3/2}{1 - x/2}\).
You can write your answer as \(\sum a_n x^n\) where \(a_n = \dots\) (formula will depend on if \(n = 3k, 3k + 1, 3k + 2\)).
- Convert each sequence to a closed form generating function. Use the most obvious choice of form for the general term of the sequence. Sequences start at \(n = 0\).
- \(2, 2, 2, 2, 2, 2, \dots\)
- \(0, 1, 0, 1, 0, 1, \dots\)
- \(1, 0, 1, 0, 1, 0, \dots\)
- \(0, 1, 2, 3, 4, 5, \dots\) (hint: factor out an \(x\) from \(\sum nx^n\) so that the terms are \(\frac{d}{dx} x^n\), then move the derivative operator outside the summation [but after the \(x\) that was factored out])
- \(1, 3, 5, 7, 9, 11, \dots\) (hint: use part d)
- Write it first as \(\sum 2x^n\) and factor out the \(2\).
- Write it first as \(x + x^3 + x^5 + \dots\)
- Write it first as \(1 + x^2 + x^4 + \dots\)
- \(\displaystyle \frac{d}{dx} \frac{1}{1 - x} = \frac{1}{(1 - x)^2} = \sum nx^{n - 1}\)
- Using the formulas from section Section 13.4, find
- \(\displaystyle \sum_{n = 0}^\infty \binom{n + 2}{2} x^n\)
- \(\displaystyle \sum_{n = 5}^\infty \binom{n - 1}{4} x^n\)
- Can be plugged into the formula directly
- Look for the formula with \(n - 1\) and then figure out how to choose the right \(k\).
- Find the indicated coefficients.
- \([x^{10}] \dfrac{1}{1 + 2x}\)
- \([x^{20}] \dfrac{1}{(1 - x)^7}\)
- \([x^{20}] \dfrac{x^3}{(1 - x)^{10}}\)
- \([x^{85}] \dfrac{2x^5}{1 - 3x^5}\) (hint: if the sum is \(\sum (*) x^{5n + 5}\) then the coefficient of \(x^{85}\) occurs where \(5n + 5 = 85\))
- Use the formula \(\sum (-2)^n x^n\) and take the coefficient of \(x^{10}\)
- Use the formula from Section 13.4.
- First use the shift formula from Theorem 14.1 to write it as \([x^{17}] \dfrac{1}{(1 - x)^{10}}\).
- The sum is \(\sum 2 \cdot 3^n x^{5n + 5}\)
- Write down a generating function for the number of ways to make change for \(n\) dollars using \(1, 5\) and \(10\) dollar bills. (Hint: if we are receiving multiples of \(\$5\) bills, then the generating function should be \(x^0 + x^5 + x^{10} + \cdots\) where the weight function of a bill is its dollar value.)
If the options for $5 bills are \(0, 1, 2, \dots\) then we have \(1 + x^5 + x^{10} + x^{15} + \dots\) where the coefficient gives the number of choices (only 1 way to have \(k\) bills of the same type) and the exponent gives the weight or how much it contributes. You should get geometric series for each bill value.
- Repeat the previous problem but now suppose we are only allowed to give out a maximum of one \(\$5\) bill.
Similar to problem 5. but now there are only \(0\) or \(1\) choices for the $5 bill. So \(1 + x^5\) is the generating function for that denomination.
Additional practice
\[ \frac{2}{1 - 3x} \]
is equal to \(\displaystyle \sum_{n = 0}^\infty (\cdots) x^n\).
\[ 2, -2, 2, -2, 2, -2, 2, -2, 2, -2, \dots ? \]
Hint: the leading term and common ratio might depend on \(x\) after you turn the sequence into \(a_0 + a_1x + a_2x^2 + a_3x^3 + \cdots\).
Solutions
- \(\displaystyle \sum_{n = 0}^\infty ((-1)^n + 1) x^n\)
- \(\displaystyle \sum_{n = 3}^\infty (-2)^{n - 3}x^n\)
- \(\displaystyle \sum_{n = 1}^\infty \frac{x^n}{n}\)
- \(\displaystyle \sum_{n = 0}^\infty \frac{3}{2^{n + 1}} x^n\)
- \(\displaystyle \sum_{n = 0}^\infty a_n x^n\) where \(a_n = 0\) if \(n = 3k + 2\) and \(a_n = 1\) otherwise (so the sequence \(1, 1, 0, 1, 1, 0, 1, 1, 0, \dots\)).
- \(\dfrac2{1 - x}\)
- \(\dfrac{x}{1 - x^2}\)
- \(\dfrac{1}{1 - x^2}\)
- \(\dfrac{x}{(1 - x)^2}\)
- \(\displaystyle \sum (2n + 1) x^n = 2\sum n x^n + \sum x^n = \frac{2}{(1 - x)^2} + \frac{1}{1 - x}\).
- \(\dfrac{1}{(1 - x)^3}\)
- \(\dfrac{x^5}{(1 - x)^5}\)
- \((-2)^{10}\)
- \(\dbinom{26}{6}\)
- \(\dbinom{26}{9}\)
- \(2 \cdot 3^{16}\)
- \(\dfrac1{(1 - x)(1 - x^5)(1 - x^{10})}\)
- \(\dfrac{1 + x^5}{(1 - x)(1 - x^{10})}\)