maths.free › Combinatorics & Graph Theory › Generating Functions › Exponential generating functions

Exponential generating functions

If we had wanted to be absolutely precise earlier in the chapter, we would have referred to the generating functions we studied as ordinary generating functions or even ordinary power series generating functions.

Exponential generating functions

If we had wanted to be absolutely precise earlier in the chapter, we would have referred to the generating functions we studied as ordinary generating functions or even ordinary power series generating functions. This is because there are other types of generating functions, based on other types of power series. In this section, we briefly introduce another type of generating function, the exponential generating function. While an ordinary generating function has the form \(\sum_{n} a_n x^n\), an exponential generating function is based on the power series for the exponential function \(e^x\). Thus, the exponential generating function for the sequence \(\{a_n\colon n\geq 0\}\) is \(\sum_n a_n x^n/n!\). In this section, we will see some ways we can use exponential generating functions to solve problems that we could not tackle with ordinary generating functions. However, we will only scratch the surface of the potential of this type of generating function. We begin with the most fundamental exponential generating function, in analogy with the ordinary generating function \(1/(1-x)\) of .

Example

Consider the constant sequence \(1, 1, 1, 1, \dots\). Then the exponential generating function for this sequence is \[\begin{aligned}\end{aligned}\] From calculus, you probably recall that this is the power series for the exponential function \(e^x\), which is why we call this type of generating function an exponential generating function. From this example, we can quickly recognize that the exponential generating function for the number of binary strings of length \(n\) is \(e^{2x}\) since \[\begin{aligned}\end{aligned}\]

In our study of ordinary generating functions earlier in this chapter, we considered examples where quantity (number of apples, ) mattered but order did not. One of the areas where exponential generating functions are preferable to ordinary generating functions is in applications where order matters, such as counting strings. For instance, although the bit strings \(10001\) and \(011000\) both contain three zeros and two ones, they are not the same strings. On the other hand, two fruit baskets containing two apples and three oranges would be considered equivalent, regardless of how you arranged the fruit. We now consider a couple of examples to illustrate this technique.

We can also use exponential generating functions when there are bounds on the number of times a symbol appears, such as in the following example.

Condensed: the full section is in Keller & Trotter, Applied Combinatorics.

حالا تو هیچ ماشین حسابی این را حل نمی‌کند ، اما تکه‌های آن قابل محاسبه هستند. یکی از زیر را امتحان کنید ، یا خودتان را تایپ کنید.

تمرین (1)

ابتدا هر کدام را روی کاغذ امتحان کنید. پاسخ را برای بررسی آشکار کنید. پاسخهای تأیید شده را می‌توان در حل‌کننده برای هر گام باز کرد.

  1. Suppose Alice's mobile phone passcode restrictions in were modified so that the number of \(3\)s had to be at least two. Then one of the factors of \(e^x\) in the generating function would have to be replaced by what? You can express your answer as either a series or in terms of \(e^x\) with suitable adjustments.

خودت رو به کار بسپار

یک حساب رایگان یادداشت‌هایی را در هر درس اضافه می‌کند، یک ثبت از آنچه که تمام کرده‌اید، مسائل حل شده شما در یک مکان، و یک معلم که می‌توانید در مورد این صفحه از او بپرسید. خود ریاضیات برای همه باز است، چه وارد شده باشید و چه نباشید.

ثبت نام ورود

نمادهای استفاده‌شده در اینجا

هر نماد را برای تعریف کامل، تصویر و معنی هر حرف در آن بزنید.

سوالاتي که مردم ميپرسن

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

این صفحه از این مقاله اقتباس شده‌است. Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). این گزاره را می‌توان به صورت زیر بیان کرد: اشتباهات ما، اشتباهات ما هستند.

بیشتر در Combinatorics & Graph Theory