Nepedia
Back to Discover
Fluent Reader
🔢

Multiset

math Maturity 11-13 Next article →

Imagine you have a bag of fruit. In a normal math set, you only list each item once. But a multiset is different because it allows for repeats. You can have two red apples and three green pears in one bag. The number of times an item appears is called its multiplicity. If you have three pears, the multiplicity of pears is three. To find the total size, or cardinality, you just add the multiplicities together.

Combinations with repetition; 5 multichoose 3
Combinations with repetition; 5 multichoose 3

Multisets follow a few simple rules. The order of the items does not matter at all. A bag with an apple and a pear is the same as a bag with a pear and an apple. You can also combine multisets in different ways. You can find the union by taking the highest multiplicity for each item. You can find the intersection by taking the lowest multiplicity. If you want to find the sum, you simply add the multiplicities together.

Combinations with repetition; 5 multichoose 3
Combinations with repetition; 5 multichoose 3

People have used these ideas since the very beginning of counting. In ancient times, people used tally marks to show numbers. These marks are like multisets because they are all the same. An Indian mathematician named Bhāskarāchārya studied them around the year 1150. He looked at how to arrange these items in different ways. Later, Marius Nizolius wrote about them in the 1500s. Other thinkers like Jean Prestet and John Wallis also studied them.

Combinations with repetition; 5 multichoose 3
Combinations with repetition; 5 multichoose 3

Math has many names for this idea. Some people call it a bag, a heap, or a bunch. In early computer science, people called them bags. The specific word "multiset" was created in the 1970s by Nicolaas Govert de Bruijn. Even though the name is new, the math is very old. Scientists use these structures to solve hard problems. They help us understand how many ways we can pick items from a group.

Combinations with repetition; 5 multichoose 3
Combinations with repetition; 5 multichoose 3

You can see multisets working in many places. One example is looking at the prime factors of a number. The number 120 can be broken down into a multiset of prime factors. Another example is in algebra with the solutions to equations. Sometimes an equation has two solutions that are actually the same number. This means the solution has a multiplicity of two. This helps mathematicians keep track of every single piece of a puzzle.

Combinations with repetition; 5 multichoose 3
Combinations with repetition; 5 multichoose 3
378 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Combinations with repetition; 5 multichoose 3.svg
Combinations with repetition; 5 multichoose 3.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.