Generating Function- change for a dollar

In summary, a generating function is a compact and convenient mathematical tool used to represent a sequence of numbers or values. It can be used to analyze "change for a dollar" by representing the different combinations of coins and calculating the total number of combinations. However, it has limitations such as assuming an unlimited supply of coins and not accounting for restrictions on the number of coins used.
  • #1
dancergirlie
200
0

Homework Statement



If our currency consists of a two-cent coin and three kinds of pennies, how
many ways can we make change for a dollar?

Homework Equations





The Attempt at a Solution



the previous part to this problem led to this generating function:

G(x)=(1+x)^3∑_(k≥0)▒〖((k+3)¦3)(〖x^2)〗^k 〗

Am I supposed to put something in for x or for k? I don't know what to do. Any help would be great!
 
Physics news on Phys.org
  • #2
that is supposed to be the sum for all k greater than or equal to zero of [((k+3) choose 3)(x^2)^k]
 

1. What is a generating function?

A generating function is a mathematical tool used to represent a sequence of numbers or values in a compact and convenient way. It is typically used in combinatorics and number theory, but can also be applied in other areas of mathematics and science.

2. How does a generating function relate to "change for a dollar"?

In the context of "change for a dollar", a generating function can be used to represent the different ways in which a dollar can be made using a combination of coins. Each term in the generating function represents a different combination, making it easier to analyze and calculate the total number of combinations.

3. How do you create a generating function for "change for a dollar"?

The generating function for "change for a dollar" can be created by assigning a variable to each type of coin (e.g. x for pennies, y for nickels, etc.) and then writing out the possible combinations using these variables. For example, the generating function for pennies, nickels, and dimes would be (1+x+x^2+x^3+...)(1+y+y^2)(1+z+z^2+z^3+...).

4. What can a generating function tell us about "change for a dollar"?

A generating function can tell us the total number of combinations for "change for a dollar", as well as the specific combinations that result in a specific amount of change. It can also be used to determine the probability of getting a certain combination when randomly picking coins.

5. Are there any limitations to using a generating function for "change for a dollar"?

While a generating function can be a useful tool for analyzing "change for a dollar", it does have some limitations. It assumes that there is an unlimited supply of each type of coin, and it does not take into account any restrictions on the number of coins that can be used (e.g. only using a maximum of 5 quarters). Additionally, it may become more complex when dealing with larger amounts of money or more types of coins.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
265
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
848
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Replies
4
Views
405
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top