Generating Functions!

  • Thread starter mansi
  • Start date
  • #1
61
0
We are about to begin this topic soon in class...
I'd like to know all about generating functions and their application. I tried reading it up...One thing I'd like to know is, once you have a generating function...then what? You get some information...but what is it?
I tried to find no. of ways of colouring a 1 by n chessboard in 3 colours say red, blue & green if an even no. of squares must be red,even no. of squares must be blue & odd no. of squares must be green...

I think the generating function turns out to be (f(x))^-1 where f(x)= ((1-x^2)^2)*(1-x^3)). So now, what do I do to get the Required answer and why??
Thanks for the help.
 

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,847
966
Do you mean that the generating function is
[tex]\frac{1}{f(x)}= \frac{1}{(1-x)^2(1-x^3)}[/tex]?

The whole point of a "generating function" is that the coeffient of xn in its power series expansion is nth value you are looking for. Do you know how to find the power series for this function?
 
  • #3
61
0
I meant f(x) is that expression and not (f(x))^-1.
But well...I just got to know that the problem can be solved not using ordinary generating functions but will require "something" called exponential generating functions.
Can Someone here please give me a motivation for the concept of generating functions?
 
  • #4
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
14,950
19
A generating function is just another way to represent the solutions to a problem.

This representation has proven that it can often be useful, therefore it becomes something every budding combinatorist should learn!
 
  • #5
61
0
That's precisely what my professor said in class!Can you give me examples where they're used?
 
  • #7
61
0
Thanks,Sir...that was a big help :-)
 
  • #8
selfAdjoint
Staff Emeritus
Gold Member
Dearly Missed
6,852
10
Generatingfunctionology

If your professor isn't already using it, I recommend Wilf's wonderful little book http://www.math.upenn.edu/~wilf/DownldGF.html" [Broken].
 
Last edited by a moderator:

Related Threads on Generating Functions!

Replies
4
Views
673
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
8
Views
3K
  • Last Post
Replies
6
Views
4K
Replies
2
Views
2K
  • Last Post
Replies
12
Views
4K
  • Last Post
Replies
6
Views
5K
  • Last Post
Replies
1
Views
3K
Replies
5
Views
874
Replies
5
Views
1K
Top