Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Discrete Mathematics, Set Theory and Logic
Reply
 
Thread Tools Display Modes
  #1  
Old November 4th, 2009, 01:26 PM
Newbie
 
Join Date: Feb 2009
Posts: 24
Country:
Thanks: 6
Thanked 0 Times in 0 Posts
htata123 is on a distinguished road
Default Combinatorics question - generating functions

Hi, I have a question that requires the use of generating functions in combinatorics;

Let t(n) be the number of ways to arrange n books on two bookshelves so that each shelf receives at least one book. Find a closed formula for tn.

Thanks
Reply With Quote
Advertisement
 
  #2  
Old November 4th, 2009, 06:22 PM
Senior Member
 
Join Date: Mar 2008
Posts: 448
Country:
Thanks: 20
Thanked 202 Times in 169 Posts
awkward is just really niceawkward is just really niceawkward is just really niceawkward is just really nice
Default

Quote:
Originally Posted by htata123 View Post
Hi, I have a question that requires the use of generating functions in combinatorics;

Let t(n) be the number of ways to arrange n books on two bookshelves so that each shelf receives at least one book. Find a closed formula for tn.

Thanks
I'm assuming the order of the books on each shelf is important.

If we have n books on a single shelf, there are n! ways to arrange the books. If we require n > 0, the Exponential Generating Function (EGF) of n! is
f(x) = 1 \cdot x + 2! \cdot x^2/2! + 3! \cdot x^3/3! + \dots
= x + x^2 + x^3 + \dots = x \; (1 + x + x^2 + \dots)
= x \; (1-x)^{-1}

For books on two shelves with at least one book on each shelf, the EGF is then
f(x) \cdot f(x) = x^2 \; (1-x)^{-2} = x^2 \; \sum_{i=0}^\infty \binom{i+1}{i} x^i

The coefficient of x^n / n! in the above series is
t(n) = n! \binom{n-1}{n-2} = \frac{n (n-1) (n-1)! }{2}.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.