The Generating Function for the Sequence of Cubes
Problem: Find the generating function for the sequence of cubes:
0, 1, 8, ..., n3, ....
Solution:
Using the formula
(1+x)/(1 -x)3 = 1 + 22x + 32x2 + ...+ n2xn-1 +...
we multiply by x:
x(1+x)/(1 -x)3 = x + 22x2 + 32x3 + ...+ n2xn +...
(x2 + x)(1 -x)-3 = x + 22x2 + 32x3 + ...+ n2xn +...
Now we differentiate, noting that the right-hand side of the equality will be
1 + 23x + 33x2 + ...+ n3xn-1 +...
and the left-hand side will be
(2x + 1)(1 -x)-3 + 3(x2 + x)(1 -x)-4
= (2x + 1)(1-x)(1 -x)-4 + 3(x2 + x)(1 -x)-4
= (2x + 1 - 2x2 - x + 3x2 + 3x)(1 -x)-4 = (x2 + 4x + 1)(1 -x)-4 = 1 + 23x + 33x2 + ...+ n3xn-1 +...
Now we multiply both sides by x and get x(x2 + 4x + 1)(1 -x)-4 = x + 23x2 + 33x3 + ...+ n3xn +...
Thus, the generating function for the sequence of cubes is x(x2 + 4x + 1)(1 -x)-4
Visit The Rational Argumentator to see more mathematics problems and solutions, as well as a wide variety of political, philosophical, economic, and cultural commentary.
0, 1, 8, ..., n3, ....
Solution:
Using the formula
(1+x)/(1 -x)3 = 1 + 22x + 32x2 + ...+ n2xn-1 +...
we multiply by x:
x(1+x)/(1 -x)3 = x + 22x2 + 32x3 + ...+ n2xn +...
(x2 + x)(1 -x)-3 = x + 22x2 + 32x3 + ...+ n2xn +...
Now we differentiate, noting that the right-hand side of the equality will be
1 + 23x + 33x2 + ...+ n3xn-1 +...
and the left-hand side will be
(2x + 1)(1 -x)-3 + 3(x2 + x)(1 -x)-4
= (2x + 1)(1-x)(1 -x)-4 + 3(x2 + x)(1 -x)-4
= (2x + 1 - 2x2 - x + 3x2 + 3x)(1 -x)-4 = (x2 + 4x + 1)(1 -x)-4 = 1 + 23x + 33x2 + ...+ n3xn-1 +...
Now we multiply both sides by x and get x(x2 + 4x + 1)(1 -x)-4 = x + 23x2 + 33x3 + ...+ n3xn +...
Thus, the generating function for the sequence of cubes is x(x2 + 4x + 1)(1 -x)-4
Visit The Rational Argumentator to see more mathematics problems and solutions, as well as a wide variety of political, philosophical, economic, and cultural commentary.
Related information
Most Comments Today
- Oh No! Michael Jackson's Body and Brain Missing Is Michael Jackson's body and brain missing? According to many websites they... 31 Comments
- Michael Jackson is Missing The casket is missing, where is it? How did it disappear? 31 Comments
- Sarah Palin 2012? Sarah Palin 2012? 29 Comments
- Hot News Quickies - Thursday, July 9, 2009 News happens while you sleep - get your Hot News Quickies here! 28 Comments
- Real Estate: Renting Your Home and Bad Tenants If you decide to rent out your home, do a thorough reference check with previ... 26 Comments
- Every Day Heroes At every disaster, in every community, when people are hurting who are the fi... 24 Comments







