Nepedia
Back to Discover
Independent Reader
🔢

Twelvefold way

math Maturity 11-13 Next article →

Imagine you have a group of balls and a group of boxes. You want to know how many ways you can put the balls into the boxes. This sounds like a simple game, but it can get very tricky! Math helps us count these different ways using a system called the twelvefold way. This idea was named by Joel Spencer. A mathematician named Gian-Carlo Rota helped create the system.

To solve these puzzles, you must follow certain rules. One rule is about how many balls go in each box. You might say every box must have at least one ball. This is called a surjective function. Another rule says no box can have more than one ball. This is called an injective function.

Rules about the balls and boxes also change the count. Some balls might look exactly the same. We call these indistinguishable. If the balls look the same, you cannot tell them apart. The same is true for the boxes. You can also decide if the order of the balls matters. Does it matter which ball goes in first? These rules create twelve different math problems. Each problem has its own way to find the answer.

199 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

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.