In How many ways number of 2 digits can be formed out of the four digits 1, 2, 3, and 4

This section covers permutations and combinations.

Arranging Objects

The number of ways of arranging n unlike objects in a line is n! (pronounced ‘n factorial’). n! = n × (n – 1) × (n – 2) ×…× 3 × 2 × 1

Example

How many different ways can the letters P, Q, R, S be arranged?

The answer is 4! = 24.

This is because there are four spaces to be filled: _, _, _, _

The first space can be filled by any one of the four letters. The second space can be filled by any of the remaining 3 letters. The third space can be filled by any of the 2 remaining letters and the final space must be filled by the one remaining letter. The total number of possible arrangements is therefore 4 × 3 × 2 × 1 = 4!

  • The number of ways of arranging n objects, of which p of one type are alike, q of a second type are alike, r of a third type are alike, etc is:

n!        .
p! q! r! …

Example

In how many ways can the letters in the word: STATISTICS be arranged?

There are 3 S’s, 2 I’s and 3 T’s in this word, therefore, the number of ways of arranging the letters are:

10!=50 400
3! 2! 3!

Rings and Roundabouts

  • The number of ways of arranging n unlike objects in a ring when clockwise and anticlockwise arrangements are different is (n – 1)!

When clockwise and anti-clockwise arrangements are the same, the number of ways is ½ (n – 1)!

Example

Ten people go to a party. How many different ways can they be seated?

Anti-clockwise and clockwise arrangements are the same. Therefore, the total number of ways is ½ (10-1)! = 181 440

Combinations

The number of ways of selecting r objects from n unlike objects is:

In How many ways number of 2 digits can be formed out of the four digits 1, 2, 3, and 4

Example

There are 10 balls in a bag numbered from 1 to 10. Three balls are selected at random. How many different ways are there of selecting the three balls?

10C3 =10!=10 × 9 × 8= 120
             3! (10 – 3)!3 × 2 × 1

Permutations

A permutation is an ordered arrangement.

  • The number of ordered arrangements of r objects taken from n unlike objects is:

nPr =       n!       .
          (n – r)!

Example

In the Match of the Day’s goal of the month competition, you had to pick the top 3 goals out of 10. Since the order is important, it is the permutation formula which we use.

10P3 =10!
            7!

= 720

There are therefore 720 different ways of picking the top three goals.

Probability

The above facts can be used to help solve problems in probability.

Example

In the National Lottery, 6 numbers are chosen from 49. You win if the 6 balls you pick match the six balls selected by the machine. What is the probability of winning the National Lottery?

The number of ways of choosing 6 numbers from 49 is 49C6 = 13 983 816 .

Therefore the probability of winning the lottery is 1/13983816 = 0.000 000 071 5 (3sf), which is about a 1 in 14 million chance.

If we let numbers repeat #= 256#. If we don't let numbers repeat #=24#. If we're talking strictly about combinations (vs permutations) #= 1#.

If we are looking at the number of numbers we can create using the numbers 1, 2, 3, and 4, we can calculate that the following way:

  • for each digit (thousands, hundreds, tens, ones), we have 4 choices of numbers. And so we can create #4xx4xx4xx4=4^4=256# numbers

If we are looking at the number of numbers we can create using the numbers 1, 2, 3, and 4 but without repeating numbers, we can calculate that the following way:

  • in the thousands place, we have 4 choices (1, 2, 3, 4). In the hundreds place, we'll then have 3 choices (1, 2, 3, 4, less the one taken for the thousands). And then for the hundreds we have 2 choices, and the ones have the remaining choice. That gives us #4xx3xx2xx1=4! =24# numbers

If we're talking strictly about combinations (vs permutations), where the order of picking the elements doesn't matter (much like in a poker hand where the 1, 2, 3, 4 of spades is the same as the 4, 3, 2, 1 of spades), we can calculate that the following way:

  • we see that we have 4 possible numbers and we're picking all 4, so no matter what we do we'll always pick the same 4 numbers (1, 2, 3, 4) which means there is one 1 combination.

How many 2 digits numbers can you make using the digits 1,2 3 4 without repeating the digits?

So a total of 12 two digit number can be generated by any of the 4 digits. Hope it helps!

How many 2

∴ The number of 2-digit numbers formed from the given set with repetition =5P2+5=20+5=25.

How many numbers of 4 digits can be formed using the digits 1,2 3 4 5 such that repetition of digits are allowed?

Required number of ways =16+18+8+2=44 ways. Q. How many four-digit numbers, each divisible by 4 can be formed using the digits 1, 2,3,4 and 5, repetitions of digits being allowed in any number? Q.

How many times can 4 digits be 2 digits?

Hence, assuming we are counting only whole numbers, we can conclude that the digit 4 is used 40 times between 1 and 200.