<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Conservation_form</id>
	<title>Conservation form - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Conservation_form"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Conservation_form&amp;action=history"/>
	<updated>2026-05-24T19:06:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Conservation_form&amp;diff=15957&amp;oldid=prev</id>
		<title>en&gt;Eastlaw: added Category:Conservation equations using HotCat</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Conservation_form&amp;diff=15957&amp;oldid=prev"/>
		<updated>2012-06-27T02:53:48Z</updated>

		<summary type="html">&lt;p&gt;added &lt;a href=&quot;/index.php?title=Category:Conservation_equations&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Conservation equations (page does not exist)&quot;&gt;Category:Conservation equations&lt;/a&gt; using &lt;a href=&quot;/index.php?title=WP:HC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:HC (page does not exist)&quot;&gt;HotCat&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The use of &amp;#039;&amp;#039;&amp;#039;[[exponential generating function]]s (EGFs)&amp;#039;&amp;#039;&amp;#039; to study the properties of &amp;#039;&amp;#039;&amp;#039;[[Stirling numbers]]&amp;#039;&amp;#039;&amp;#039; is a classical exercise in [[combinatorics|combinatorial mathematics]] and possibly the canonical example of how [[symbolic combinatorics]] is used. It also illustrates the parallels in the construction of these two types of numbers, lending support to the binomial-style notation that is used for them.&lt;br /&gt;
&lt;br /&gt;
This article uses the coefficient extraction operator &amp;lt;math&amp;gt;[z^n]&amp;lt;/math&amp;gt; for [[formal power series]], as well as the (labelled) operators &amp;lt;math&amp;gt;\mathfrak{C}&amp;lt;/math&amp;gt; (for cycles) and &amp;lt;math&amp;gt;\mathfrak{P}&amp;lt;/math&amp;gt; (for sets) on combinatorial classes, which are explained on the page for [[symbolic combinatorics]]. Given a combinatorial class, the cycle operator creates the class obtained by placing objects from the source class along a cycle of some length, where cyclical symmetries are taken into account, and the set operator creates the class obtained by placing objects from the source class in a set (symmetries from the symmetric group, i.e. an &amp;quot;unstructured bag&amp;quot;.) The two combinatorial classes (shown without additional markers) are&lt;br /&gt;
* [[permutation]]s (for unsigned Stirling numbers of the first kind):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; \mathcal{P} = \mathfrak{P}(\mathfrak{C}(\mathcal{Z})),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
* [[set partition]]s into non-empty subsets (for Stirling numbers of the second kind):&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;math&amp;gt; \mathcal{B} = \mathfrak{P}(\mathfrak{P}_{\ge 1}(\mathcal{Z})),&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathcal{Z}&amp;lt;/math&amp;gt; is the singleton class.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warning&amp;#039;&amp;#039;&amp;#039;: The notation used here for the Stirling numbers is not that of the Wikipedia articles on Stirling numbers; square brackets denote the signed Stirling numbers here.&lt;br /&gt;
&lt;br /&gt;
==Stirling numbers of the first kind==&lt;br /&gt;
&lt;br /&gt;
The unsigned Stirling numbers of the first kind count the number of permutations of [&amp;#039;&amp;#039;n&amp;#039;&amp;#039;] with &amp;#039;&amp;#039;k&amp;#039;&amp;#039; cycles. A permutation is a set of cycles, and hence the set &amp;lt;math&amp;gt;\mathcal{P}\,&amp;lt;/math&amp;gt; of permutations is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \mathcal{P} = \mathfrak{P}(\mathcal{U} \mathfrak{C}(\mathcal{Z})), \, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the singletion &amp;lt;math&amp;gt;\mathcal{U}&amp;lt;/math&amp;gt; marks cycles. This decomposition is examined in some detail on the page on the [[Random permutation statistics|statistics of random permutations]].&lt;br /&gt;
&lt;br /&gt;
Translating to generating functions we obtain the mixed generating function of the unsigned Stirling numbers of the first kind:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;G(z, u) = \exp \left( u \log \frac{1}{1-z} \right) =&lt;br /&gt;
\left(\frac{1}{1-z} \right)^u =&lt;br /&gt;
\sum_{n=0}^\infty \sum_{k=0}^n &lt;br /&gt;
\left|\left[\begin{matrix} n \\ k \end{matrix}\right]\right| u^k \, \frac{z^n}{n!}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the signed Stirling numbers of the first kind are obtained from the unsigned ones through the relation&lt;br /&gt;
:&amp;lt;math&amp;gt;\left[\begin{matrix} n \\ k \end{matrix}\right] =&lt;br /&gt;
(-1)^{n-k} \left|\left[\begin{matrix} n \\ k \end{matrix}\right]\right|.&amp;lt;/math&amp;gt;&lt;br /&gt;
Hence the generating function &amp;lt;math&amp;gt;H(z, u)&amp;lt;/math&amp;gt; of these numbers is&lt;br /&gt;
:&amp;lt;math&amp;gt; H(z, u) = G(-z, -u) =&lt;br /&gt;
\left(\frac{1}{1+z} \right)^{-u} = (1+z)^u =&lt;br /&gt;
\sum_{n=0}^\infty \sum_{k=0}^n &lt;br /&gt;
\left[\begin{matrix} n \\ k \end{matrix}\right] u^k \, \frac{z^n}{n!}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A variety of identities may be derived by manipulating this [[generating function]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(1+z)^u = \sum_{n=0}^\infty {u \choose n} z^n = &lt;br /&gt;
\sum_{n=0}^\infty \frac {z^n}{n!} \sum_{k=0}^n &lt;br /&gt;
\left[\begin{matrix} n \\ k \end{matrix}\right] u^k = &lt;br /&gt;
\sum_{k=0}^\infty u^k&lt;br /&gt;
\sum_{n=k}^\infty \frac {z^n}{n!}&lt;br /&gt;
\left[\begin{matrix} n \\ k \end{matrix}\right] = &lt;br /&gt;
e^{u\log(1+z)}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular, the order of summation may be exchanged, and derivatives taken, and then &amp;#039;&amp;#039;z&amp;#039;&amp;#039; or &amp;#039;&amp;#039;u&amp;#039;&amp;#039; may be fixed.&lt;br /&gt;
&lt;br /&gt;
===Finite sums===&lt;br /&gt;
A simple sum is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{k=0}^n (-1)^k &lt;br /&gt;
\left[\begin{matrix} n \\ k \end{matrix}\right] = &lt;br /&gt;
(-1)^n n!.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula holds because the exponential generating function of the sum is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;H(z, -1) = \frac{1}{1+z}&lt;br /&gt;
&lt;br /&gt;
\quad \mbox{and hence} \quad&lt;br /&gt;
&lt;br /&gt;
n! [z^n] H(z, -1) = (-1)^n n!.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Infinite sums===&lt;br /&gt;
Some infinite sums include&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{n=k}^\infty &lt;br /&gt;
\left[\begin{matrix} n \\ k \end{matrix}\right] &lt;br /&gt;
\frac{z^n}{n!} = \frac {\left(\log (1+z)\right)^k}{k!}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;|z|&amp;lt;1&amp;lt;/math&amp;gt; (the singularity nearest to &amp;lt;math&amp;gt;z=0&amp;lt;/math&amp;gt;&lt;br /&gt;
of &amp;lt;math&amp;gt;\log (1+z)&amp;lt;/math&amp;gt; is at &amp;lt;math&amp;gt;z=-1.&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
This relation holds because&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[u^k] H(z, u) = [u^k] \exp \left( u \log (1+z) \right) =&lt;br /&gt;
\frac {\left(\log (1+z)\right)^k}{k!}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stirling numbers of the second kind==&lt;br /&gt;
&lt;br /&gt;
These numbers count the number of partitions of [&amp;#039;&amp;#039;n&amp;#039;&amp;#039;] into &amp;#039;&amp;#039;k&amp;#039;&amp;#039; nonempty subsets. First consider the total number of partitions, i.e. &amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt; where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B_n = \sum_{k=1}^n \left\{\begin{matrix} n \\ k \end{matrix}\right\}&lt;br /&gt;
\mbox{ and } B_0 = 1,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e. the [[Bell numbers]]. The [[Symbolic combinatorics#The Flajolet–Sedgewick fundamental theorem]] applies (labelled case).&lt;br /&gt;
The set &amp;lt;math&amp;gt;\mathcal{B}\,&amp;lt;/math&amp;gt; of partitions into non-empty subsets is given by (&amp;quot;set of non-empty sets of singletons&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \mathcal{B} = \mathfrak{P}(\mathfrak{P}_{\ge 1}(\mathcal{Z})).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This decomposition is entirely analogous to the construction of the set &amp;lt;math&amp;gt;\mathcal{P}\,&amp;lt;/math&amp;gt; of permutations from cycles, which is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \mathcal{P} = \mathfrak{P}(\mathfrak{C}(\mathcal{Z})).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and yields the Stirling numbers of the first kind. Hence the name &amp;quot;Stirling numbers of the second kind.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The decomposition is equivalent to the EGF&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; B(z) = \exp \left(\exp z - 1\right).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Differentiate to obtain&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d}{dz} B(z) = &lt;br /&gt;
\exp \left(\exp z - 1\right) \exp z = B(z) \exp z,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which implies that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; B_{n+1} = \sum_{k=0}^n {n \choose k} B_k,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
by convolution of [[exponential generating function]]s and because differentiating an EGF drops the first coefficient and shifts &amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;+1&amp;lt;/sub&amp;gt; to &amp;#039;&amp;#039;z&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;amp;nbsp;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;/&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;!&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The EGF of the Stirling numbers of the second kind is obtained by marking every subset that goes into the partition with the term &amp;lt;math&amp;gt;\mathcal{U}\,&amp;lt;/math&amp;gt;, giving&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \mathcal{B} = \mathfrak{P}(\mathcal{U} \; \mathfrak{P}_{\ge 1}(\mathcal{Z})).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Translating to generating functions, we obtain&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; B(z, u) = \exp \left(u \left(\exp z - 1\right)\right).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This EGF yields the formula for the Stirling numbers of the second kind:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \left\{\begin{matrix} n \\ k \end{matrix}\right\} =&lt;br /&gt;
n! [u^k] [z^n] B(z, u) =&lt;br /&gt;
n! [z^n] \frac{(\exp z - 1)^k}{k!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
n! [z^n] \frac{1}{k!} \sum_{j=0}^k {k \choose j} \exp(jz) (-1)^{k-j}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which simplifies to&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{n!}{k!} \sum_{j=0}^k {k \choose j} (-1)^{k-j} \frac{j^n}{n!} =&lt;br /&gt;
\frac{1}{k!} \sum_{j=0}^k {k \choose j} (-1)^{k-j} j^n.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* Philippe Flajolet and Robert Sedgewick, &amp;#039;&amp;#039;[http://algo.inria.fr/flajolet/Publications/FlSe02.ps.gz Analytic combinatorics – Symbolic combinatorics.]&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [[Ronald Graham]], [[Donald Knuth]], Oren Patashnik (1989): &amp;#039;&amp;#039;Concrete Mathematics&amp;#039;&amp;#039;, Addison–Wesley, ISBN 0-201-14236-8&lt;br /&gt;
* D. S. Mitrinovic, &amp;#039;&amp;#039;Sur une classe de nombre relies aux nombres de Stirling&amp;#039;&amp;#039;, C. R. Acad. Sci. Paris 252 (1961), 2354–2356.&lt;br /&gt;
* A. C. R. Belton, &amp;#039;&amp;#039;The monotone Poisson process&amp;#039;&amp;#039;, in: &amp;#039;&amp;#039;Quantum Probability&amp;#039;&amp;#039; (M. Bozejko, W. Mlotkowski and J. Wysoczanski, eds.), Banach Center Publications 73, Polish Academy of Sciences, Warsaw, 2006&lt;br /&gt;
*Milton Abramowitz and Irene A. Stegun, &amp;#039;&amp;#039;Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables&amp;#039;&amp;#039;, USGPO, 1964, Washington DC, ISBN 0-486-61272-4&lt;br /&gt;
&lt;br /&gt;
[[Category:Enumerative combinatorics]]&lt;/div&gt;</summary>
		<author><name>en&gt;Eastlaw</name></author>
	</entry>
</feed>