The best laptops for students in 2025
Students need a specific type of laptop for their studies. It should not only be powerful enough to perform well in their chosen major, but also compact and light enough to carry around all day.
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.
Table of Contents
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.
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:
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 be an odd number with 6 different digits made from digits 0 to 9.
Because it 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.
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.
Students need a specific type of laptop for their studies. It should not only be powerful enough to perform well in their chosen major, but also compact and light enough to carry around all day.
Birth defects are something no one wants. Although they cannot be completely prevented, you can take the following steps to reduce the risk of birth defects in your baby.
As you know, RAM is a very important hardware part in a computer, acting as memory to process data and is the factor that determines the speed of a laptop or PC. In the article below, WebTech360 will introduce you to some ways to check for RAM errors using software on Windows.
The automatic home coffee maker is a modern and professional product, bringing you and your family delicious cups of coffee with just a few quick steps.
Smart TVs have really taken the world by storm. With so many great features and the ability to connect to the Internet, technology has changed the way we watch TV.
Refrigerators are familiar appliances in families. Refrigerators usually have 2 compartments, the cool compartment is spacious and has a light that automatically turns on every time the user opens it, while the freezer compartment is narrow and has no light.
Wi-Fi networks are affected by many factors beyond routers, bandwidth, and interference, but there are some smart ways to boost your network.
If you want to go back to stable iOS 16 on your phone, here is the basic guide to uninstall iOS 17 and downgrade from iOS 17 to 16.
Yogurt is a great food. Is it good to eat yogurt every day? What will happen to your body when you eat yogurt every day? Let's find out together!
This article discusses the most nutritious types of rice and how to maximize the health benefits of whichever rice you choose.
Establishing a sleep schedule and bedtime routine, changing your alarm clock, and adjusting your diet are some of the measures that can help you sleep better and wake up on time in the morning.
Rent Please! Landlord Sim is a simulation mobile game on iOS and Android. You will play as a landlord of an apartment complex and start renting out an apartment with the goal of upgrading the interior of your apartments and getting them ready for rent.
Get Bathroom Tower Defense Roblox game codes and redeem them for exciting rewards. They will help you upgrade or unlock towers with higher damage.
Let's learn about the structure, symbols and operating principles of transformers in the most accurate way.
From better picture and sound quality to voice control and more, these AI-powered features are making smart TVs so much better!