ArticleslgStudy

science

Integer partition

Integer partition is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Integer partition rather than just read about it. In short: In number theory and combinatorics, a partition of a non-negative integer n, also called an integer partition, is a way of writing n as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition.

Integer partition — main illustration
Integer partition — illustration

Key takeaways

  • Integer partition belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Integer partition to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Integer partition from memory before moving on to harder problems.

Reference excerpt

In number theory and combinatorics, a partition of a non-negative integer n, also called an integer partition, is a way of writing n as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition. (If order matters, the sum becomes a composition.) For example, 4 can be partitioned in five distinct ways:

4 3 + 1 2 + 2 2 + 1 + 1 1 + 1 + 1 + 1 The only partition of zero is the empty sum, having no parts. The order-dependent composition 1 + 3 is the same partition as 3 + 1, and the two distinct compositions 1 + 2 + 1 and 1 + 1 + 2 represent the same partition as 2 + 1 + 1. An individual summand in a partition is called a part. The number of partitions of n is given by the partition function p(n). So p(4) = 5. The notation λ ⊢ n means that λ is a partition of n. Partitions can be graphically visualized with Young diagrams or Ferrers diagrams. They occur in a number of branches of mathematics and physics, including the study of symmetric polynomials and of the symmetric group and in group representation theory in general.

Examples The seven partitions of 5 are

5 4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 Some authors treat a partition as a non-increasing sequence of summands, rather than an expression with plus signs. For example, the partition 2 + 2 + 1 might instead be written as the tuple (2, 2, 1) or in the even more compact form (22, 1) where the superscript indicates the number of repetitions of a part. This multiplicity notation for a partition can be written alternatively as 1 m 1 2 m 2 3 m 3 ⋯ {\displaystyle 1^{m_{1}}2^{m_{2}}3^{m_{3}}\cdots } , where m1 is the number of 1's, m2 is the number of 2's, etc. (Components with mi = 0 may be omitted.) For example, in this notation, the partitions of 5 are written 5 1 , 1 1 4 1 , 2 1 3 1 , 1 2 3 1 , 1 1 2 2 , 1 3 2 1 {\displaystyle 5^{1},1^{1}4^{1},2^{1}3^{1},1^{2}3^{1},1^{1}2^{2},1^{3}2^{1}} , and 1 5 {\displaystyle 1^{5}} .

Diagrammatic representations of partitions There are two common diagrammatic methods to represent partitions: as Ferrers diagrams, named after Norman Macleod Ferrers, and as Young diagrams, named after Alfred Young. Both have several possible conventions; here, we use English notation, with diagrams aligned in the upper-left corner.

Ferrers diagram The partition 6 + 4 + 3 + 1 of the number 14 can be represented by the following diagram:

The 14 circles are lined up in 4 rows, each having the size of a part of the partition. The diagrams for the 5 partitions of the number 4 are shown below:

Young diagram

An alternative visual representation of an integer partition is its Young diagram (often also called a Ferrers diagram). Rather than representing a partition with dots, as in the Ferrers diagram, the Young diagram uses boxes or squares. Thus, the Young diagram for the partition 5 + 4 + 1 is

while the Ferrers diagram for the same partition is

While this seemingly trivial variation does not appear worthy of separate mention, Young diagrams turn out to be extremely useful in the study of symmetric functions and group representation theory: filling the boxes of Young diagrams with numbers (or sometimes more complicated objects) obeying various rules leads to a family of objects called Young tableaux, and these tableaux have combinatorial and representation-theoretic significance. As a type of shape made by adjacent squares joined together, Young diagrams are a special kind of polyomino.

Partition function

The partition function p ( n ) {\displaystyle p(n)} counts the partitions of a non-negative integer n {\displaystyle n} . For instance, p ( 4 ) = 5 {\displaystyle p(4)=5} because the integer 4 {\displaystyle 4} has the five partitions 1 + 1 + 1 + 1 {\displaystyle 1+1+1+1} , 1 + 1 + 2 {\displaystyle 1+1+2} , 1 + 3 {\displaystyle 1+3} , 2 + 2 {\displaystyle 2+2} , and 4 {\displaystyle 4} . The values of this function for n = 0 , 1 , 2 , … {\displaystyle n=0,1,2,\dots } are:

1, 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, 627, 792, 1002, 1255, 1575, 1958, 2436, 3010, 3718, 4565, 5604, ... (sequence A000041 in the OEIS). The generating function of p {\displaystyle p} is

… excerpt ends here. Continue reading the full article.

Illustrations

Integer partition: Young diagrams associated to the partitions of the positive integers 1 through 8.  They are arranged so that images under the reflection about the main diagonal of the square are conjugate partitions.
Young diagrams associated to the partitions of the positive integers 1 through 8. They are arranged so that images under the reflection about the main diagonal of the square are conjugate partitions.
Integer partition: Partitions of n with largest part k
Partitions of n with largest part k
Integer partition illustration
Integer partition: Using Euler's method to find p(40): A ruler with plus and minus signs (grey box) is slid downwards, the relevant parts added or subtracted. The positions of the signs are given by differences of alternating natural (blue) and odd (orange) numbers. In the SVG file, hover over the image to move the ruler.
Using Euler's method to find p(40): A ruler with plus and minus signs (grey box) is slid downwards, the relevant parts added or subtracted. The positions of the signs are given by differences of alternating natural (blue) and odd (orange) numbers. In the SVG file, hover over the image to move the ruler.

Worked examples

Example 1 — a first encounter with Integer partition

Start with the simplest possible case. Write down what Integer partition claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Integer partition before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Integer partition ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Integer partition

In research
Integer partition appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Integer partition in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Integer partition is common in secondary-school and first-year university syllabi. It links to neighbouring topics Integer partitions, so understanding it makes those chapters shorter.
In everyday life
Look for Integer partition outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Integer partition in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Integer partition means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Integer partition out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Integer partition in simple terms?

In number theory and combinatorics, a partition of a non-negative integer n, also called an integer partition, is a way of writing n as a sum of positive integers. Two sums that differ only in the order of their summands are considered the same partition.

Why does Integer partition matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Integer partition?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Integer partition.

Tags

  • Integer partitions

Keep exploring