Formulas for combinations, permutations, and permutations

What is the formula for calculating combinations and permutations? This article will guide you on how to calculate combinations and other related formulas.

Permutations and Combinations are the most basic concepts in mathematics that involve selecting items from a group or set.

  • Permutation is the arrangement of items in order of selection from a given group.
  • Combination is the selection of items without regard to order.

Table of Contents

Combinatorial formula

Given a set A with n elements and an integer k, (1 ≤ k ≤ n). Each subset of A with k elements is called a k-fold combination of n elements of A.

K-combination formula of n

Formula for the properties of a combination:

Examples of combinatorics

Example 1: 

A group of 12 students. How many ways are there:

a) Choose 2 representatives for the group

b) Choose 2 people and assign the positions of team leader and deputy team leader.

c) Divide the group into 2 groups, in which the group leader and deputy group leader are in different groups.

Solution

a) Choose 2 friends from 12 friends who are combinations of 2 of 12: C122 = 66 ways.

b) Choose 2 people and assign them the position of combining 2 of 12: A122 = 132 ways.

c) Divide the group into 2 groups, each group has 6 members.

In which the team leader and deputy team leader are in different groups.

Choose 5 friends to be in the same group as the team leader from the remaining 10 friends: C105 = 252 ways.

Choose 5 people to be in the same group as the deputy leader from the remaining 5 people: C55 = 1 way.

So there are 252.1 = 252 ways.

Permutation formula

Given a set A with n elements and an integer k, (1 ≤ k ≤ n). When we take k elements of A and arrange them in an order, we get a k-fold permutation of n elements of A (called an n-fold permutation of k of A).

The number of k-permutations of a set with n elements is:

Permutation formula:

  • Some conventions: 0! = 1, An0 = 1, Ann = n!
  • Characteristics: This is an ordered sort and the number of elements to be sorted is k: 0 ≤ k ≤ n.

For example: 

From the digits 0 to 9. How many ways are there to form a natural number such that:

a) Number with 6 different digits

b) A number with 6 different digits and divisible by 10

c) Odd numbers have 6 different digits.

Solution

a) Make a number with 6 different digits

Choose the first digit from numbers 1 to 9: there are 9 ways to choose

The remaining digits are the 5th permutation of the remaining 9 numbers (other than the first digit) with A95

So there are 9A95 = 136080 numbers.

b) A number with 6 different digits and divisible by 10

Choose the unit digit: there is 1 way to choose the digit 0

Choose the remaining digits as the 5th permutation of the remaining 9 numbers (other than the digit 0) with A95

So there are A95 = 15120 numbers.

c) Let the number Formulas for combinations, permutations, and permutationsbe an odd number with 6 different digits made from digits 0 to 9.

Because Formulas for combinations, permutations, and permutationsit is an odd number, f ∈{1; 3; 5; 7; 9}

Choose f: there are 5 ways to choose

Choose a from the digits {1; 2; 3; 4; 5; 6; 7; 8; 9}\{f}: there are 8 ways to choose

Choose b, c, d, e as the 4-complex of the remaining 8 digits (other than f and a): we have A84

So there are 5.8A84 = 67200 numbers.

Permutation

a) Definition:

- Given a set A of n elements (n ≥ 1).

Each result of an ordering of n elements of a set A is called a permutation of n elements.

- Note: The two permutations of n elements differ only in their arrangement order.

b) Number of permutations:

- The symbol Pn is the number of permutations of n elements.

Permutation formula:

Pn = n(n – 1)…2.1 = n!

Convention: 0! = 1; 1! = 1.

For example:  Arrange 10 people, including 5 boys and 5 girls, on a bench. How many ways are there to arrange so that:

a) Sort any

b) The boys sit next to each other

c) Boys and girls sit alternately.

Solution

a) The number of ways to arrange 10 people on a bench is a permutation of 10: 10!

b) Arrange the boys to sit next to each other. We put 5 boys into a "bundle": there are 5! ways to arrange inside the "bundle"

Then arrange 5 girls together in a "bunch" on a bench. There are: 6! ways to arrange.

So there are 5! . 6! = 86400 ways to arrange the boys to sit next to each other.

c) Suppose 10 people are arranged on benches numbered from 1 to 10.

To alternate between boys and girls

+ Case 1: Boys sit in odd positions, girls sit in even positions

Number of ways to arrange the boys: 5!

Number of ways to arrange girls: 5!

Therefore there are 5! . 5! ways to arrange.

+ Case 2: Boys sit in even positions, girls sit in odd positions

Similar to the above case, we have 5! . 5! ways to arrange.

So there are 2 . 5! . 5! = 28800 ways to arrange.

Difference between permutation and combination

The difference between permutation and combination can be understood through the following table:

Permutation

Combination

In permutations, the order of arrangement is very important.

For example, AB and BA are different combinations.

In combination, the order of arrangement does not matter.

For example, AB and BA are similar combinations.

A permutation is used when it is necessary to sort or classify different types of matter.

Combinations are used when you need to arrange the same type of things.

Permutation of two things out of three given things

a, b, c are ab, ba, bc, cb, ac, ca.

A combination is a combination of two things from three given things.

a, b, c are ab, bc, ca.

You can visit the Education and Learning section of Quantrimang.com to learn more about other mathematical formulas.

Sign up and earn $1000 a day ⋙

Leave a Comment

What is Firmware? How is Firmware different from Software?

What is Firmware? How is Firmware different from Software?

What is Firmware? How is Firmware different from Software? Let's find out with WebTech360 in this article!

5 File Explorer Search Tricks You Need to Know

5 File Explorer Search Tricks You Need to Know

Imagine being able to instantly find any file on your computer with just a few keystrokes! File Explorer offers powerful search tricks that make locating files a breeze.

Do Alexa, Siri, and Google Assistant use AI?

Do Alexa, Siri, and Google Assistant use AI?

If you have a smart home, chances are you already use an assistant like Alexa, Google Assistant, or Siri. But do these popular home assistants use AI to work, and if so, how?

How to Fix “There Was a Problem Resetting Your PC” Error

How to Fix “There Was a Problem Resetting Your PC” Error

If you see the message “There was a problem resetting your PC. No changes were made”, “Can't reset your PC”, or “There was a problem refreshing your PC”, you won't be able to restore your PC to its factory defaults.

How to listen to Apple Podcasts in your browser

How to listen to Apple Podcasts in your browser

Apple Podcasts is now available on desktop browsers, including Firefox, Chrome, Edge, and Safari. Just sign in to your Apple account to listen to podcasts and follow your favorite podcast channels.

How to use Microsoft 365 AI features wisely

How to use Microsoft 365 AI features wisely

Microsoft now offers AI-powered Copilot features as part of existing Microsoft 365 Personal and Family subscriptions—no add-on required. But the capabilities aren't limitless—they work on a new system called AI credits.

Latest Alita Tien Len Code

Latest Alita Tien Len Code

You will get recruitment tickets, breakthrough stones, gold and even 5-star SSR characters in Code Tien Len Alita.

Latest Peroxide Code and How to Enter Code

Latest Peroxide Code and How to Enter Code

The Peroxide Codes given to players are mostly amounts of Product Essence that are used frequently in the game.

Should I hack Coin Master spins, will hacking Coin Master spins lose my account?

Should I hack Coin Master spins, will hacking Coin Master spins lose my account?

Hack Spin Coin Master, Hack Coin Master Spins is the method that many Coin Master players use if they want to get a large number of spins.

Get rid of microwave and oven cleaning odors with ingredients that cost less than 5,000 VND

Get rid of microwave and oven cleaning odors with ingredients that cost less than 5,000 VND

If you have cleaned your oven or microwave with detergent, you can deodorize it with super cheap and super easy-to-find ingredients in our article!

Causes and solutions for washing machines that continuously drain water

Causes and solutions for washing machines that continuously drain water

After a period of use, the washing machine will continuously drain water. Please refer to this article of ours to find out the cause and how to fix it!

How to fix You dont have permission to save in this location error on Wiindows

How to fix You dont have permission to save in this location error on Wiindows

When Windows displays the error “You don't have permission to save in this location”, this will prevent you from saving files to the desired folders.

Microsoft Store will allow users to download specific parts of apps and games

Microsoft Store will allow users to download specific parts of apps and games

Recently, in addition to releasing Windows 11 Canary build 27788, Microsoft also released a new update for the Microsoft Store app on the test channels of the Windows Insiders program.

3 Unexpected Benefits of Stopping Cable TV

3 Unexpected Benefits of Stopping Cable TV

When it comes to cable TV, people often spend more time flipping through channels than actually watching it. Many people have been off cable for years and have never looked back.

SteelFox Trojan: Malware Turns PCs Into Cryptocurrency Mining Zombies

SteelFox Trojan: Malware Turns PCs Into Cryptocurrency Mining Zombies

This malware infects people looking to avoid paying for the product, steals their personal information, and turns their computers into cryptocurrency mining zombies.