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?
(ii) repetition of the digits is not allowed?
(i)
There will be as many ways as there are ways of filling 3 vacant places
in succession by the given five digits. In this case, repetition of digits is allowed. Therefore, the units place can be filled in by any of the given five digits. Similarly, tens and hundreds digits can be filled in by any of the given five digits.
Thus, by the multiplication principle, the number of ways in which three-digit numbers can be formed from the given digits is 5 × 5 × 5 = 125
(ii)
In this case, repetition of digits is not allowed. Here, if units place is filled in first, then it can be filled by any of the given five digits. Therefore, the number of ways of filling the units place of the three-digit number is 5.
Then, the tens place can be filled with any of the remaining four digits and the hundreds place can be filled with any of the remaining three digits.
Thus, by the multiplication principle, the number of ways in which three-digit numbers can be formed without repeating the given digits is 5 × 4 × 3 = 60