The Wayback Machine - https://web.archive.org/web/20241002022636/https://www.geeksforgeeks.org/permutations-and-combinations/
Open In App

Permutations and Combinations

Last Updated : 12 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Permutation and Combination are the most fundamental concepts in mathematics and with these concepts, a new branch of mathematics is introduced to students i.e., combinatorics. Permutation and Combination are the ways to arrange a group of objects by selecting them in a specific order and forming their subsets.

To arrange groups of data in a specific order permutation and combination formulas are used. Selecting the data or objects from a certain group is said to be permutation, whereas the order in which they are arranged is called a combination.

Permutation-an-Combination

Permutations and Combinations

In this article we will study the concept of Permutation and Combination and their formulas, using these to solve many sample problems as well.

Permutation Meaning

Permutation is the distinct interpretations of a provided number of components carried one by one, or some, or all at a time. For example, if we have two components A and B, then there are two likely performances, AB and BA.

A numeral of permutations when ‘r’ components are positioned out of a total of ‘n’ components is n Pr. For example, let n = 3 (A, B, and C) and r = 2 (All permutations of size 2). Then there are 3P2 such permutations, which is equal to 6. These six permutations are AB, AC, BA, BC, CA, and CB. The six permutations of A, B, and C taken three at a time are shown in the image added below:

Permutation of Two elements out of A, B, and C

Permutation Meaning

Permutation Formula

Permutation formula is used to find the number of ways to pick r things out of n different things in a specific order and replacement is not allowed and is given as follows:

Permutation Formula

Permutation Formula

Explanation of Permutation Formula

As we know, permutation is a arrengement of r things out of n where order of arrengement is important( AB and BA are two different permutation). If there are three different numerals 1, 2 and 3 and if someone is curious to permute the numerals taking 2 at a moment, it shows (1, 2), (1, 3), (2, 1), (2, 3), (3, 1), and (3, 2). That is it can be accomplished in 6 methods. 

Here, (1, 2) and (2, 1) are distinct. Again, if these 3 numerals shall be put handling all at a time, then the interpretations will be (1, 2, 3), (1, 3, 2), (2, 1, 3), (2, 3, 1), (3, 1, 2) and (3, 2, 1) i.e. in 6 ways. 

In general, n distinct things can be set taking r (r < n) at a time in n(n – 1)(n – 2)…(n – r + 1) ways. In fact, the first thing can be any of the n things. Now, after choosing the first thing, the second thing will be any of the remaining n – 1 things. Likewise, the third thing can be any of the remaining n – 2 things. Alike, the rth thing can be any of the remaining n – (r – 1) things. 

Hence, the entire number of permutations of n distinct things carrying r at a time is n(n – 1)(n – 2)…[n – (r – 1)] which is written as n Pr. Or, in other words, 

\bold{{}^nP_r = \frac{n!}{(n-r)!} }

Combination Meaning

It is the distinct sections of a shared number of components carried one by one, or some, or all at a time. For example, if there are two components A and B, then there is only one way to select two things, select both of them.

For example, let n = 3 (A, B, and C) and r = 2 (All combinations of size 2). Then there are 3C2 such combinations, which is equal to 3. These three combinations are AB, AC, and BC.

Here, the combination of any two letters out of three letters A, B, and C is shown below, we notice that in combination the order in which A and B are taken is not important as AB and BA represent the same combination.

what is combination

Combination Meaning

Note: In the same example, we have distinct points for permutation and combination. For, AB and BA are two distinct items i.e., two distinct permutation, but for selecting, AB and BA are the same i.e., same combination.

Combination Formula

Combination Formula is used to choose ‘r’ components out of a total number of ‘n’ components, and is given by:

Combination Formula

Combination Formula

Using the above formula for r and (n-r), we get the same result. Thus,

\bold{{}^nC_r = {}^nC_{(n-r)}}

Explanation of Combination Formula

Combination, on the further hand, is a type of pack. Again, out of those three numbers 1, 2, and 3 if sets are created with two numbers, then the combinations are (1, 2), (1, 3), and (2, 3). 

Here, (1, 2) and (2, 1) are identical, unlike permutations where they are distinct. This is written as 3C2. In general, the number of combinations of n distinct things taken r at a time is, 

\bold{{}^nC_r = \frac{n!}{r!\times(n-r)!} = \frac{{}^nP_r}{r!}}

Derivation of Permutation and Combination Formulas

We can derive these Permutation and Combination formulas using the basic counting methods as these formulas represent the same thing. Derivation of these formulas is as follows:

Derivation of Permutations Formula

Permutation is selecting r distinct objects from n objects without replacement and where the order of selection is important, by the fundamental theorem of counting and the definition of permutation, we get

P (n, r) = n . (n-1) . (n-2) . (n-3).  . . .  .(n-(r+1))

By Multiplying and Dividing above with (n-r)! = (n-r).(n-r-1).(n-r-2).  . . .  .3. 2. 1, we get

P (n, r) = [n.(n−1).(n−2)â€Ķ.(nr+1)[(n−r)(n−r−1)(n-r)!] / (n-r)!

⇒ P (n, r) = n!/(n−r)!

Thus, the formula for P (n, r) is derived.

Derivation of Combinations Formula

Combination is choosing r items out of n items when the order of selection is of no importance. Its formula is calculated as,

C(n, r) = Total Number of Permutations /Number of ways to arrange r different objects. 
[Since by the fundamental theorem of counting, we know that number of ways to arrange r different objects in r ways = r!]

C(n,r) = P (n, r)/ r!

⇒ C(n,r) = n!/(n−r)!r!

Thus, the formula for Combination i.e., C(n, r) is derived.

Difference Between Permutation and Combination

Differences between permutation and combination can be understood by the following table:

Permutation

Combination

In Permutation order of arrangement is important.
For example, AB and BA are different combinations.
In Combination order of arrangement is not important.
For example, AB and BA are the same combinations.
A permutation is used when different kinds of things 
are to be sorted or arranged.
Combinations are used when the same kind of things are to
be sorted.
Permutation of two things out of three given things 
a, b, c is ab, ba, bc, cb, ac, ca.
the combination of two things from three given things
a, b, c is ab, bc, ca.
Formula for permuation is: n Pr = n!/(n – r)!The formula for Combination is:  n Cr = n! /{r! × (n – r)!}

Also Check,

Solved Examples on Permutation and Combination

Example 1: Find the number of permutations and combinations of n = 9 and r = 3.

Solution: 

Given, n = 9, r = 3

Using the formula given above:

For Permutation:

nPr = (n!) / (n – r)! 

⇒ nPr = (9!) / (9 – 3)! 

⇒ nPr = 9! / 6! = (9 × 8 × 7 × 6! )/ 6! 

⇒ nPr = 504

For Combination:

nCr = n!/r!(n − r)!

⇒ nCr = 9!/3!(9 − 3)!

⇒ nCr = 9!/3!(6)!

⇒ nCr = 9 × 8 × 7 × 6!/3!(6)!

⇒ nCr = 84

Example 2: In how many ways a committee consisting of 4 men and 2 women, can be chosen from 6 men and 5 women?

Solution:

Choose 4 men out of 6 men = 6C4 ways = 15 ways

Choose 2 women out of 5 women = 5C2 ways = 10 ways

The committee can be chosen in 6C4 × 5C2  = 150 ways.

Example 3: In how many ways can 5 different books be arranged on a shelf?

Solution: 

This is a permutation problem because the order of the books matters. 

Using the permutation formula, we get:

5P5 = 5! / (5 – 5)! = 5! / 0! = 5 x 4 x 3 x 2 x 1 = 120

Therefore, there are 120 ways to arrange 5 different books on a shelf.

Example 4: How many 3-letter words can be formed using the letters from the word “FABLE”?

Solution: 

This is a permutation problem because the order of the letters matters. 

Using the permutation formula, we get:

5P3 = 5! / (5 – 3)! = 5! / 2! = 5 x 4 x 3 = 60

Therefore, there are 60 3-letter words that can be formed using the letters from the word “FABLE”.

Example 5: A committee of 5 members is to be formed from a group of 10 people. In how many ways can this be done?

Solution: 

This is a combination problem because the order of the members doesn’t matter. 

Using the combination formula, we get:

10C5 = 10! / (5! x (10 – 5)!) = 10! / (5! x 5!) 

⇒10C5= (10 x 9 x 8 x 7 x 6) / (5 x 4 x 3 x 2 x 1) = 252

Therefore, there are 252 ways to form a committee of 5 members from a group of 10 people.

Example 6: A pizza restaurant offers 4 different toppings for their pizzas. If a customer wants to order a pizza with exactly 2 toppings, in how many ways can this be done?

Solution: 

This is a combination problem because the order of the toppings doesn’t matter. 

Using the combination formula, we get:

4C2 = 4! / (2! x (4 – 2)!) = 4! / (2! x 2!) = (4 x 3) / (2 x 1) = 6

Therefore, there are 6 ways to order a pizza with exactly 2 toppings from 4 different toppings.

Example 7: How considerable words can be created by using 2 letters from the term“LOVE”?

Solution: 

The term “LOVE” has 4 distinct letters.

Therefore, required number of words = 4P2 = 4! / (4 – 2)!

Required number of words = 4! / 2! = 24 / 2

⇒ Required number of words = 12

Example 8: Out of 5 consonants and 3 vowels, how many words of 3 consonants and 2 vowels can be formed?

Solution:

Number of ways of choosing 3 consonants from 5 = 5C3

Number of ways of choosing 2 vowels from 3 = 3C2

Number of ways of choosing 3 consonants from 2 and 2 vowels from 3 = 5C3 × 3C2

⇒ Required number = 10 × 3

= 30

It means we can have 30 groups where each group contains a total of 5 letters (3 consonants and 2 vowels).

Number of ways of arranging 5 letters among themselves

= 5! = 5 × 4 × 3 × 2 × 1 = 120

Hence, the required number of ways = 30 × 120

⇒ Required number of ways = 3600

Example 9: How many different combinations do you get if you have 5 items and choose 4?

Solution:

Insert the given numbers into the combinations equation and solve. “n” is the number of items that are in the set (5 in this example); “r” is the number of items you’re choosing (4 in this example):

C(n, r) = n! / r! (n – r)! 

⇒ nCr = 5! / 4! (5 – 4)!

⇒ nCr = (5 × 4 × 3 × 2 × 1) / (4 × 3 × 2 × 1 × 1)

⇒ nCr = 120/24 

⇒ nCr = 5

The solution is 5.

Example 10: Out of 6 consonants and 3 vowels, how many expressions of 2 consonants and 1 vowel can be created?

Solution:

Number of ways of selecting 2 consonants from 6 = 6C2

Number of ways of selecting 1 vowels from 3 = 3C1

Number of ways of selecting 3 consonants from 7 and 2 vowels from 4.

⇒ Required ways = 6C2 × 3C1

⇒ Required ways = 15 × 3

⇒ Required ways= 45

It means we can have 45 groups where each group contains a total of 3 letters (2 consonants and 1 vowels).

Number of ways of arranging 3 letters among themselves = 3! = 3 × 2 × 1

⇒ Required ways to arrenge three letters = 6

Hence, the required number of ways = 45 × 6

⇒ Required ways = 270

Example 11: In how many distinct forms can the letters of the term ‘PHONE’ be organized so that the vowels consistently come jointly?

Solution:

The word ‘PHONE’ has 5 letters. It has the vowels ‘O’,’ E’, in it and these 2 vowels should consistently come jointly. Thus these two vowels can be grouped and viewed as a single letter. That is, PHN(OE).

Therefore we can take total letters like 4 and all these letters are distinct.

Number of methods to organize these letters = 4! = 4 × 3 × 2 × 1

⇒ Required ways arrenge letters = 24

All the 2 vowels (OE) are distinct.

Number of ways to arrange these vowels among themselves = 2! = 2 × 1

⇒ Required ways to arrange vowels = 2

Hence, the required number of ways = 24 × 2

⇒ Required ways = 48.

Practice Questions – Permutations and Combinations

1).How many ways can 5 books be arranged on a shelf?

2).In how many ways can a committee of 3 be chosen from a group of 10 people?

3).How many 4-digit PIN codes can be created using the digits 0-9 if repetition is allowed?

4).A pizza shop offers 8 toppings. How many different 3-topping pizzas can be made?

5).In how many ways can 6 people be seated at a round table?

6).How many ways are there to select 2 boys and 3 girls from a class of 5 boys and 6 girls?

7).How many different 5-card hands can be dealt from a standard 52-card deck?

8).In how many ways can the letters of the word “MATHEMATICS” be arranged?

9).A bag contains 5 red marbles, 3 blue marbles, and 2 green marbles. How many ways are there to select 4 marbles?

10).How many ways are there to arrange the letters in the word “MISSISSIPPI”?

Summary

Permutations and combinations are fundamental concepts in probability and statistics used to calculate the number of possible outcomes in various scenarios. Permutations deal with arrangements where order matters, calculated using the formula P(n,r) = n! / (n-r)!, where n is the total number of items and r is the number being arranged. Combinations, on the other hand, focus on selections where order is irrelevant, using the formula C(n,r) = n! / (r! * (n-r)!). The key difference lies in whether the order of selection is important. Factorials, denoted as n!, play a crucial role in both calculations, representing the product of all positive integers up to and including n. These concepts find applications in diverse fields, from creating PIN codes and arranging seating plans (permutations) to selecting team members and calculating lottery odds (combinations). Understanding when to apply each concept is essential for solving problems involving counting and probability in both academic and real-world contexts.

FAQs on Permutations and Combinations

What is the factorial formula?

Factorial formula is used for the calculation of permutations and combinations. The factorial formula for n! is given as

n! = n × (n-1) × . . . × 4 × 3 × 2 × 1

For example, 3! = 3 × 2 × 1 = 6 and 5! = 5 × 4 × 3 × 2 × 1 = 120.

What does nCr represent?

nCr represents the number of combinations that can be made from “n” objects taking “r” at a time.

What do you mean by permutations and combinations?

A permutation is an act of arranging things in a specific order. Combinations are the ways of selecting r objects from a group of n objects, where the order of the object chosen does not affect the total combination.

Write examples of permutations and combinations.

Number of 3-letter words that can be formed by using the letters of the word says, HELLO; 5P3 = 5!/(5-3)! this is an example of a permutation.
Number of combinations we can write the words using the vowels of the word HELLO; 5C2 =5!/[2! (5-2)!], this is an example of a combination.

Write the formula for finding permutations and combinations.

  • Formula for calculating permutations: nPr = n!/(n-r)!
  • Formula for calculating combinations: nCr = n!/[r! (n-r)!]

Write some real-life examples of permutations and combinations.

Sorting of people, numbers, letters, and colors are some examples of permutations.
Selecting the menu, clothes, and subjects, are examples of combinations.

What is the value of 0!?

The value of 0! = 1, is very useful in solving the permutation and combination problems.



Previous Article
Next Article

Similar Reads

Difference between Permutations and Combinations | Permutations vs Combinations
Difference between Permutations and Combinations: Probability is concerned with the chance or possibility that an event may occur or not occur if there are 'n' possibilities. Put simply, probability tells us the percentage of happening of an event. Probability can be expressed as a number from 0 to 1 or as a percentage.  In this article, we will di
7 min read
Find the number of permutations and combinations if n = 12 and r = 2
Permutation is known as the process of organizing the group, body, or numbers in order, selecting the body or numbers from the set, is known as combinations in such a way that the order of the number does not matter. In mathematics, permutation is also known as the process of organizing a group in which all the members of a group are arranged into
3 min read
Problem on permutations and combinations | Set 2
Prerequisite : Permutation and Combination Given a polygon of m sides, count number of triangles that can be formed using vertices of polygon. Answer : [m (m - 1)(m - 2) / 6] Explanation : There are m vertices in a polygon with m sides. We need to count different combinations of three points chosen from m. So answer is mC3 = m * (m - 1) * (m - 2) /
4 min read
Class 11 NCERT Solutions- Chapter 7 Permutations And Combinations - Exercise 7.3
Theorem 1: The number of permutations of n different objects taken r at a time, where 0 < r â‰Ī n and the objects do not repeat is n(n-1)(n – 2). . .(n – r + 1), which is denoted by nPr = [Tex]\frac{n!}{(n-r)!}[/Tex] Theorem 2: The number of permutations of n different objects taken r at a time, where repetition is allowed, is nr. Theorem 3: The n
15 min read
NCERT Solutions Class 11 - Chapter 6 Permutations And Combinations - Miscellaneous Exercise
Question 1. How many words, with or without meaning, each of 2 vowels and 3 consonants can be formed from the letters of the word DAUGHTER?Solution: In the word "DAUGHTER", there are 3 vowels, namely, A, U, E, and 5 consonants, namely, D, G, H, T, R. Number of ways of selecting 2 vowels out of 3 = 3C2 = [Tex]\frac{3!}{2!1!}[/Tex] = 3. Number of way
9 min read
NCERT Solutions Class 11 - Chapter 6 Permutations And Combinations - Exercise 6.2
Question 1. Evaluate.i) 8! Solution: 8! = 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 56 × 30 × 12 × 2 = 1680 × 24 = 40320 ii) 4! – 3!Solution: 4! -3! = 4 × 3! - 3! = 3! × (4 - 1) = 3! × 3 = 6 × 3 = 18 Question 2. Is 3! + 4! = 7! ?Solution: L.H.S = 3! + 4! = 3! + 4 * 3! = 3! * (1 + 4) = 3! * 5 = 60 R.H.S = 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 42 × 20 × 6 = 42 × 12
2 min read
NCERT Solutions Class 11 - Chapter 6 Permutations And Combinations - Exercise 6.3
Theorem 1: The number of permutations of n different objects taken r at a time, where 0 < r â‰Ī n and the objects do not repeat is  n(n-1)(n – 2). . .(n – r + 1), which is denoted by nPr = [Tex]\frac{n!}{(n-r)!}[/Tex] Theorem 2: The number of permutations of n different objects taken r at a time, where repetition is allowed, is nr. Theorem 3: The
15 min read
NCERT Solutions Class 11 - Chapter 6 Permutations And Combinations - Exercise 6.1
Problem 1: How many 3-digit numbers can be formed from the digits 1, 2, 3, 4 and 5 assuming that - (i) repetition of the digits is allowed?Solution: Answer: 125. Method: Here, Total number of digits = 5 Let 3-digit number be XYZ. Now the number of digits available for X = 5, As repetition is allowed, So the number of digits available for Y and Z wi
4 min read
Real-Life Applications of Permutations and Combinations
When we learn permutations and combinations as abstract mathematical concepts, we hardly think of their role in many real-life situations. From selecting an appropriate size while shopping to dealing with complex problems in different fields such as science, technology, business, and many more, various math tools offer practical solutions to situat
7 min read
NCERT Solutions Class 11 - Chapter 6 Permutations And Combinations - Exercise 6.4
Question 1. If nC8=nC2, find nC2.Solution: We know that, nCr=nC(n-r) For the given question, r=8 and n-r=2 Hence, n=r+(n-r)=8+2=10 OR Using formula (1), nC8=nC(n-r) [Tex]\frac{n!}{8!(n-8)!}=\frac{n!}{2!(n-2)!} \\i.e. \frac{n}{8(n-8)}=\frac{n}{2(n-2)}[/Tex] 8(n-8)=2(n-2) 4(n-8)=n-2 4n-32=n-2 3n=30 n=10 As n=10, 10C2 = [Tex]\frac{10!}{2!8!}=\frac{10*
4 min read
Calculate Combinations and Permutations in R
Combinatorics is an important aspect of data analysis and statistics. It is used to solve many aptitude-based and real-life problems. While permutations do take into account the order, the combinations are independent of it. Therefore, permutation is considered to be an ordered combination. R language allows us the ability to invoke many packages t
6 min read
Class 11 NCERT Solutions - Chapter 7 Permutations And Combinations - Exercise 7.1
Chapter 7 of the Class 11 NCERT Mathematics textbook, titled "Permutations and Combinations," introduces students to fundamental concepts in counting and arranging objects. This chapter focuses on the principles of permutations and combinations, which are essential for solving various problems in probability and combinatorial mathematics. Exercise
6 min read
Class 11 NCERT Solutions - Chapter 7 Permutations And Combinations - Exercise 7.2
Chapter 7 of the Class 11 NCERT Mathematics textbook, titled "Permutations and Combinations," delves into the principles of counting and arranging objects. This chapter covers the concepts of permutations and combinations, which are crucial for solving problems involving the arrangement and selection of objects. Exercise 7.2 presents problems that
4 min read
Class 11 NCERT Mathematics Solutions- Chapter 7 Permutations And Combinations - Exercise 7.4
Chapter 7 of the Class 11 NCERT Mathematics textbook, "Permutations and Combinations," explores fundamental concepts of counting and arrangement. Exercise 7.4 focuses on applying these concepts to solve problems related to permutations and combinations, enhancing students' ability to handle various counting scenarios. NCERT Solutions for Class 11 -
6 min read
Class 11 NCERT Solutions- Chapter 7 Permutations And Combinations - Miscellaneous Exercise on Chapter 7
Chapter 7 of the Class 11 NCERT Mathematics textbook delves into the Permutations and Combinations essential topics in the probability and combinatorics. This chapter explores the fundamental principles of the counting and arrangement which are crucial for the solving various problems in the mathematics and real-world scenarios. Understanding these
11 min read
Class 11 RD Sharma Solutions - Chapter 1 Permutations And Combinations- Exercise 1.5
In this section, we explore Chapter 1 of the Class 11 RD Sharma textbook, which focuses on Sets. Exercise 1.5 is aimed at strengthening students' understanding of set theory, including various operations and properties associated with sets. Class 11 RD Sharma Solutions - Chapter 1 Sets - Exercise 1.5This section provides detailed solutions for Exer
10 min read
How many different combinations of nickels, dimes and quarters can a piggy bank contain if it has 20 coins in it?
Given a definite number of elements, their different arrangements, either by choosing one after the other, or some of them, or all of them at a time are called permutations. They are regarded as the process of assigning a linear sequence to the members of a given sequence. It is also referred to as the process of re-ordering the elements of a given
5 min read
Resistors in Series and Parallel Combinations
Resistors are devices that obstruct the flow of electric current in the circuit. They provide the hindrance to the path of the current which flows in the circuit. Resistors consume the current in any circuit and convert them to other forms of energy as required. Various resistors can be added to the circuits as per our requirements. Two or more res
9 min read
Print all combinations generated by characters of a numeric string which does not exceed N
Given a numeric string S of length M and an integer N, the task is to find all distinct combinations of S (repetitions allowed) that are at most N. Examples: Input: S = "124", N = 100Output: 1, 11, 12, 14, 2, 21, 22, 24, 4, 41, 42, 44Explanation: Combinations "111", "112", "122", "124", "412" are greater than 100. Therefore, these combinations are
7 min read
Class 11 RD Sharma Solutions - Chapter 17 Combinations- Exercise 17.1 | Set 2
Question 11. If 28C2r : 24C2r-4=225:11, find r. Solution: (28!/(28-2r)!2r!)/(24!/(24-2r+4)!(2r-4)!)=225/11 28x27x26x25/2r(2r-1)(2r-2)(2r-3)=225/11 28x27x26x25x11=225x(2r)(2r-1)(2r-2)(2r-3) 28x3x26x11=2r(2r-1)(2r-2)(2r-3) 14x2x3x13x2x11=2r(2r-1)(2r-2)(2r-3) 14x13x12x11=2r(2r-1)(2r-2)(2r-3) 2r=14 r=7 Question 12. If nC4,nC5 and nC6 are in AP, then fi
2 min read
Class 11 RD Sharma Solutions - Chapter 17 Combinations- Exercise 17.3
Question 1: How many different words, each containing 2 vowels and 3 consonants can be formed with 5 vowels and 17 consonants. Solution: Given, word contains 2 vowels and 3 consonants. So, we need to choose 2 vowels out of 5 vowels and 3 consonants out of 17 consonants. This can be done in [Tex]^5C_3.^{17}C_3 [/Tex] ways. Also, we need number of di
11 min read
Class 11 RD Sharma Solutions - Chapter 17 Combinations- Exercise 17.2 | Set 1
Question 1. From a group of 15 cricket players, a team of 11 players is to be chosen. In how many ways can this be done? Solution: We are given, Total number of players = 15 Number of players to be chosen = 11 So, number of ways = 15C11 =[Tex]\frac{15!}{11!4!}[/Tex] =[Tex]\frac{15×14×13×12}{4×3×2×1}[/Tex] = 15 × 7 × 13 = 1365 Therefore, the total n
9 min read
Class 11 RD Sharma Solutions - Chapter 17 Combinations- Exercise 17.2 | Set 2
Question 12. In an examination, a student to answer 4 questions out of 5 questions; questions 1 and 2 are however compulsory. Determine the number of ways in which the student can make a choice. Solution: Total number of questions = 5 Total number of questions to be answered = 4 As 2 questions are compulsory to answer, student can choose only 2 que
8 min read
Class 11 RD Sharma Solutions - Chapter 17 Combinations- Exercise 17.2 | Set 3
Question 23. We wish to select 6 persons from 8, but if the person A is chosen, then B must be chosen. In how many ways can the selection be made? Solution: Total number of persons = 8 Number of persons to be selected = 6 It is given that if the person A is chosen, then B must be chosen. Therefore, A and B are chosen together. So, number of selecti
7 min read
Generate all possible combinations of K numbers that sums to N
Given two integers N and K, the task is to find all valid combinations of K numbers that adds up to N based on the following conditions: Only numbers from the range [1, 9] used.Each number can only be used at most once.Examples: Input: N = 7, K = 3Output: 1 2 4Explanation: The only possible combination is of the numbers {1, 2, 4}. Input: N = 9, K =
9 min read
Combinations Formula with Examples
Combinations are way of selecting items from a collection of items in combinations we do not look at the order of selecting items, but our main attention is on the total number of selected items from a given set of items. Combinations formula is main concept for figuring out how many ways you can choose items from a larger group, where the order do
8 min read
Linear Combinations: Definition & Equation
Linear combination involves combining a set of vectors by multiplying each vector by a scalar (a real number) and then adding the results together. For example, if you have vectors v1 and v2​, and scalars a and b, the expression a × v1 + b × v2 is a linear combination of those vectors. This concept isn't limited to just vectors. Linear combinations
7 min read
nCr| Combinations Formula
nCr represents the number of ways to choose r items from a set of n distinct items without regard to the order of selection. Combinations Formula is one of the countless formulas in the world of mathematics, which plays a pivotal role in solving problems. nCr is expressed as n!/r!(n-r)! They are widely used in probability and statistics to calculat
8 min read
How many different 3 letter combinations can be made from Alphabet?
Answer: 15600 combinations can be made when repetition is not allowed and 17576 combinations can be made when repetition of alphabets is allowed.In this article, we have learned more about the combination definition, its formula, and its uses in detail. CombinationsIt is defined as the process of choosing one, two, or a few elements from a given se
6 min read
Class 11 RD Sharma Solutions- Chapter 17 Combinations- Exercise 17.1 | Set 1
Chapter 17 of RD Sharma’s Class 11 Mathematics textbook focuses on Combinations a crucial topic in combinatorics. Combinations involve selecting items from the larger set where the order of the selection does not matter. This chapter aims to develop an understanding of how to calculate and analyze different ways of choosing items that have practica
3 min read