|
|
(6 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
− | A '''partition''' of a [[positive integer]] is a way of expressing it as the sum of other positive integers. Typically, one disregards the order of the summands. For example, there are three partitions of 3: <math>3 = 2+1 =1+1+1</math>.
| + | #REDIRECT[[Partition (disambiguation)]] |
− | | |
− | There is no known, simple formula that gives the number of partitions of a number. There is, however, a rather ugly formula discovered by [[G. H. Hardy]], [[J. E. Littlewood]], and [[Srinivasa Ramanujan]]. However, this formula is rather unwieldy: it is not even known for which values of <math>\displaystyle{n}</math> the number of partitions of <math>\displaystyle{n}</math> is [[even integer | even]], despite the presence of a formula!
| |
− | | |
− | A more fruitful way of studying partition numbers is through [[generating function]]s. The generating function for the partitions is given by <math>P(x)=\prod_{n=1}^\infty \frac{1}{1-x^n}</math>. Partitions can also be studied by using the [[Jacobi theta function]], in particular the [[triple product]]. The generating function approach and the theta function approach can be used to study many variants of the partition function, such as the number of ways to write a number ''n'' as the sum of [[odd integer | odd]] parts, or of distinct parts, or of parts congruent to <math> 1\pmod 3</math>, etc.
| |
− | | |
− | == Ferrers Diagrams ==
| |
− | A [[Ferrers Diagram]] is a way to represent a certain partition of a number. The diagram consists of rows of dots. Each row represents a different addend in the partition. The rows are ordered in non-increasing order so that that the row with the most dots is on the top and the row with the least dots is on the bottom.
| |
− | | |
− | For example, 9 can be partitioned into 4 + 3 + 1 + 1 which would be represented by the following Ferrers Diagram:
| |
− | | |
− | {| style="margin: 1em auto 1em auto"
| |
− | |-
| |
− | | 4
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 3
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 1
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 1
| |
− | | <math> \bullet </math>
| |
− | |}
| |
− | | |
− | === The Conjugate ===
| |
− | The '''conjugate''' of a Ferrers Diagram is formed by reflecting the diagram across its diagonal (the one starting in the top left of the diagram). This can also be interpreted as exchanging the rows for the columns. For example, consider our example from before but this time let's count the number of dots in each column:
| |
− | | |
− | {| style="margin: 1em auto 1em auto"
| |
− | |-
| |
− | |
| |
− | |4
| |
− | |2
| |
− | |2
| |
− | |1
| |
− | |-
| |
− | | 4
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 3
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 1
| |
− | | <math> \bullet </math>
| |
− | |-
| |
− | | 1
| |
− | | <math> \bullet </math>
| |
− | |}
| |
− | | |
− | The original partition is 4 + 3 + 1 + 1 and the conjugate is 4 + 2 + 2 + 1.
| |
− | | |
− | == Generating Functions ==
| |
− | | |
− | [[Generating Functions]] can be used to deal with problems involving partitions. First we will find the generating function for the number of ways to partition an integer <math> n </math>.
| |
− | | |
− | Consider partitioning <math> n </math> into addends that are equal to just 1. The generating function for this is <math> 1 + x + x^2 + \cdots </math> since there is only one way to represent <math> n </math> as the sum of 1's.
| |
− | | |
− | Consider partitioning numbers using just 2's as addends. There's 1 way to partition 0 into 2's, 0 ways to partition 1 into 2's, 1 way to partition 2 into 2's and so forth. Therefore, the generating function is <math> 1 + x^2 + x^4 +\cdots </math>.
| |
− | | |
− | We can proceed in this manner to find that the generating function for the number of ways to partition <math> n </math> into addends equal to <math> k </math> is <math> 1 + x^k + x^{2k} + x^{3k} + \cdots </math>.
| |
− | | |
− | Now, multiplying each of these generating functions will give us the generating function for partitioning <math> n </math> in general which is
| |
− | | |
− | <center><math> (1 + x + x^2 + \cdots + )(1 + x^2 + x^4 + \cdots )(1 + x^3 + x^6 + \cdots)\cdots.</math></center>
| |
− | | |
− | Using the formula for the sum of an infinite [[geometric sequence]] we can express this in the more compact form:
| |
− | | |
− | <center><math> \frac 1{1-x}\cdot \frac 1{1-x^2}\cdot \frac 1{1-x^3}\cdots </math></center>
| |
− | | |
− | | |
− | | |
− | == Formulas ==
| |
− | An interesting theorem is that the numbers of partitions ''consisitng of only consecutive positive integers'' of n is the number of odd divisors of n.
| |
− | | |
− | | |
− | Proof:
| |
− | Let <math>a</math> be the smallest integer in such a partition, and <math>k</math> be the number of integer in this partition, then we have:
| |
− | | |
− | | |
− | <math>n = a + (a+1) + (a+2) + \dots + (a+k-1)</math>
| |
− | | |
− | <math>n = ka + (1 + 2 + \dots + k-1)</math>
| |
− | | |
− | <math>n = ka + \frac{k(k-1)}{2}</math>
| |
− | | |
− | <math>2n = 2ka + k(k-1)</math>
| |
− | | |
− | <math>2ka = 2n-k(k-1)</math>
| |
− | | |
− | <math>2ka = 2n - k^2 + k</math>
| |
− | | |
− | <math>a = \frac{2n-k^2 + k}{2k}</math>
| |
− | | |
− | | |
− | and finally:
| |
− | | |
− | | |
− | <math>a = \frac{n}{k} + \frac{1-k}{2}</math>
| |
− | | |
− | | |
− | Let's allow negative integers in our partition for a moment, and let <math>s</math> denote the number of odd divisors of <math>n</math>. Now we consider the two possible cases:
| |
− | | |
− | | |
− | Case 1: <math>\frac{1-k}{2}</math> is an integer.
| |
− | | |
− | | |
− | Since the expression on the right hand side must be an integer, this implies that <math>k | n</math>. Also, for <math>\frac{1-k}{2}</math> to be an integer, <math>1-k</math> must be divisible by 2, which implies that <math>k</math> is odd. Therefore, as long as <math>k</math> is an odd divisor of <math>n</math>, we can find <math>k</math> consecutive integers starting with <math>a</math> that adds up to <math>n</math>. Therefore, in this case the number of solutions is equal to <math>s</math>.
| |
− | | |
− | | |
− | Case 2: <math>\frac{1-k}{2}</math> is not an integer.
| |
− | | |
− | | |
− | For the right hand side to still be an integer, we must have <math>\frac{n}{k} = \frac{t}{2}</math> for some odd integer <math>t</math>. Since <math>\frac{1-k}{2}</math> is not an integer, <math>1-k</math> must be odd, and therefore <math>k</math> must be even. expressing <math>n</math> in the form <math>2^a\cdot b</math> with <math>b</math> being an odd integer, we see that <math>\frac{n}{k} = \frac{t}{2}</math> if and only if <math>k = 2^{a+1} \cdot d</math>, where <math>d</math> is any odd divisor of <math>n</math>. As the result, the number of solutions in this case is also equal to <math>s</math>.
| |
− | | |
− | | |
− | The two cases combined gives us <math>2s</math> solutions. However, this includes parititions with negative integers. However, since <math>n</math> is positive, the partition with negative integers must be of the form:
| |
− | | |
− | | |
− | <math>-a - (a-1) - (a-2) - \dots - 1 + 1 + 2 +\dots + a + a+1 + \dots + b</math>
| |
− | | |
− | | |
− | Where <math>b > a</math>. As the result, we can cancel out the negative integers with the corresponding additive inverses to produce a valid partition. Similarity, we can go from a valid partition to one that contains negative integers by adding all the positive integers before the smallest member, along with the corresponding additive inverses. As the result, we established a [[bijection]] between valid partitions with the partitions containing negative integers.
| |
− | | |
− | | |
− | Since our count includes all the possible partitions, and the number of valid partitions is equal to the number of partitions that contain negative integers, the numer of valid partitions must be exactly half of our original count. Therfore, the total number of such partitions is <math>s</math>, which is the number of odd divisors of <math>n</math>. Q.E.D.
| |
− | | |
− | == Resources ==
| |
− | * [http://www.artofproblemsolving.com/Resources/Papers/LaurendiPartitions.pdf Partitions of Integers by Joseph Laurendi]
| |
− | * [http://www.albanyconsort.com/JacobiTheta/JacobiTheta.pdf The Jacobi Theta Function by Simon Rubinstein-Salzedo]
| |
− | | |
− | == See also ==
| |
− | * [[Combinatorics]]
| |
− | * [[Number Theory]]
| |