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

How to identify battery draining apps in Task Manager

How to identify battery draining apps in Task Manager

Windows laptops sometimes suffer from battery life issues due to resource-hungry apps running in the background. Fortunately, Windows Task Manager includes useful power monitoring tools to help identify these battery-draining apps.

Switch Statement in Go

Switch Statement in Go

Golang like most other programming languages ​​has switch statement. Here is how to use switch statement in Golang.

Cases to know when using selection statements in Golang

Cases to know when using selection statements in Golang

In this article, we will learn how to use default case to avoid deadlock. But first, we will learn what is deadlock case when using select command in Golang?

How to create bookmarks for videos in PowerPoint

How to create bookmarks for videos in PowerPoint

You can bookmark videos in PowerPoint to trigger animations while the video is playing. In addition to making your slideshow look more professional, this can also help draw your audience's attention to certain details in the video.

4 Reasons to Use Plex Instead of Jellyfin or Emby

4 Reasons to Use Plex Instead of Jellyfin or Emby

Many people have been considering the idea of ​​using Emby and Jellyfin for their home media streaming setup for a while now—but in the end, Plex won out.

Full giftcode Big Bang Time Space latest and how to redeem code for rewards

Full giftcode Big Bang Time Space latest and how to redeem code for rewards

Big Bang Time Code gives players Jade, Tiger Talisman, Household Registration Book, Speed ​​Up Card... and many other rewards for you to use initially.

Latest Three Kingdoms 3D Code and how to redeem code

Latest Three Kingdoms 3D Code and how to redeem code

Three Kingdoms 3D offers a series of rewards such as Hexagrams, coins, Conquest Orders, Dragon Stones... via Giftcode.

How to change note background color on iPhone

How to change note background color on iPhone

To change the note interface on iPhone, users can change the background color with available options.

7 Ways to Fix a TV That Wont Turn On

7 Ways to Fix a TV That Wont Turn On

You try to turn on your TV to stream your favorite show but are greeted by a blank, non-functional screen. Before you panic and panic, try these fixes!

How to Disable the “These Files Might Be Harmful to Your Computer” Warning

How to Disable the “These Files Might Be Harmful to Your Computer” Warning

Windows Security monitors files added to your PC, especially those from the Internet. If a file looks harmful, you'll see the warning These files might be harmful to your computer .

How to know if a link is safe or not?

How to know if a link is safe or not?

Nowadays, malicious links appear more and more and are shared through social networks at a dizzying speed. Just clicking on a malicious link can bring potential dangers to you.

How to Download and Use Microsoft Copilot on Mac

How to Download and Use Microsoft Copilot on Mac

In addition to the Windows environment, Microsoft Copilot has a mobile application version on Android and iOS so that users can use and experience this advanced AI technology anytime, anywhere.

Google Chat Updates Markdown and Gemini Summary

Google Chat Updates Markdown and Gemini Summary

Google Chat is updating Markdown formatting in real time and Gemini summary options for content.

How to Create Chatbot in SpicyChat AI

How to Create Chatbot in SpicyChat AI

To create an AI Chatbot with a unique personality, follow the instructions below to create your own friend on SpicyChat AI.

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

With Generative Fill, powered by Adobe's Generative AI called Firefly, anyone can add realistic water reflection effects to their photos simply by drawing a selection, typing a few words, and clicking a button.