Enter the total number of items and the number of items in a subset into the calculator to determine the number of possible partitions. This calculator helps in combinatorial problems where partitioning of sets is required.

Partition Formula

The partition formula is used to calculate the number of ways a set can be divided into non-overlapping subsets. The formula is given by:

P = n! / (k! * (n - k)!)

Variables:

  • P is the number of partitions
  • n is the total number of items in the set
  • k is the number of items in a subset

To calculate the number of partitions, use the partition formula by dividing the factorial of the total number of items by the product of the factorial of the number of items in a subset and the factorial of the difference between the total number of items and the number of items in the subset.

What is a Partition in Combinatorics?

In combinatorics, a partition of a set is a way of dividing the set into non-overlapping subsets such that every element of the set is included in exactly one subset. The number of partitions of a set is an important quantity in many areas of mathematics and can be calculated using the partition formula.

How to Calculate Partitions?

The following steps outline how to calculate the number of partitions:


  1. First, determine the total number of items in the set (n).
  2. Next, determine the number of items in a subset (k).
  3. Next, gather the formula from above = P = n! / (k! * (n - k)!).
  4. Finally, calculate the number of partitions (P).
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem : 

Use the following variables as an example problem to test your knowledge.

Total number of items in the set (n) = 5

Number of items in a subset (k) = 2