All Exams Test series for 1 year @ ₹349 only
Question

The total number of 5 - digit numbers that can be composed of distinct digits from 0 to 9 is

This question was previously asked in
NDA I 2018 GAT Previous Year Paper (22-Apr-2018)
The correct answer is

27216

Calculating 5-Digit Numbers with Distinct Digits

The problem asks us to find the total number of 5-digit numbers that can be formed using distinct digits selected from the set of digits $\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}$.

A 5-digit number has five places: ten thousands, thousands, hundreds, tens, and units. Since the digits must be distinct, each digit used must be different from the others.

We have 10 distinct digits available: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

A key constraint for a number to be a 5-digit number is that the digit in the ten thousands place (the first digit) cannot be 0.

Method 1: Filling Positions Step-by-Step

Let's consider the number of choices for each position:

  • Ten Thousands Place (First Digit): This digit cannot be 0. Therefore, there are 9 possible choices for this position (digits 1 through 9).
  • Thousands Place (Second Digit): We have already used one digit for the first position. We have 9 remaining digits (the 0 is now available, plus the remaining 8 non-zero digits). So, there are 9 possible choices for this position.
  • Hundreds Place (Third Digit): We have used two distinct digits for the first two positions. From the original 10 digits, 8 digits remain. So, there are 8 possible choices for this position.
  • Tens Place (Fourth Digit): We have used three distinct digits. 7 digits remain. So, there are 7 possible choices for this position.
  • Units Place (Fifth Digit): We have used four distinct digits. 6 digits remain. So, there are 6 possible choices for this position.

Using the multiplication principle, the total number of distinct 5-digit numbers is the product of the number of choices for each position:

Number of 5-digit numbers = (Choices for 1st digit) × (Choices for 2nd digit) × (Choices for 3rd digit) × (Choices for 4th digit) × (Choices for 5th digit)

Number of 5-digit numbers = $9 \times 9 \times 8 \times 7 \times 6$

Let's calculate this value:

Calculation Step Result
$9 \times 9$ $81$
$81 \times 8$ $648$
$648 \times 7$ $4536$
$4536 \times 6$ $27216$

So, the total number of 5-digit numbers with distinct digits is 27,216.

Method 2: Using Permutations with Restrictions

Another way to approach this problem is to first calculate the total number of permutations of 5 distinct digits chosen from 10 digits and then subtract the number of cases that are not valid 5-digit numbers (i.e., those starting with 0).

Step 1: Total Permutations of 5 Distinct Digits from 10

The number of ways to arrange 5 distinct digits chosen from 10 is given by the permutation formula $\text{P}(n, k) = \frac{n!}{(n-k)!}$, where $n$ is the total number of items (10 digits) and $k$ is the number of items to choose and arrange (5 digits).

Total permutations of 5 distinct digits from 10 = $\text{P}(10, 5) = \frac{10!}{(10-5)!} = \frac{10!}{5!}$

$\text{P}(10, 5) = 10 \times 9 \times 8 \times 7 \times 6 = 30240$

This counts all sequences of 5 distinct digits, including those that start with 0.

Step 2: Permutations that Start with 0 (Invalid 5-Digit Numbers)

If a 5-digit number starts with 0, the first digit is fixed as 0. We then need to choose and arrange the remaining 4 distinct digits from the remaining 9 digits (1 through 9).

The number of ways to choose and arrange 4 distinct digits from the remaining 9 is given by $\text{P}(9, 4)$.

Permutations starting with 0 = $\text{P}(9, 4) = \frac{9!}{(9-4)!} = \frac{9!}{5!}$

$\text{P}(9, 4) = 9 \times 8 \times 7 \times 6 = 3024$

These are the numbers that look like 0xxxx, which are not 5-digit numbers.

Step 3: Subtract Invalid Permutations from Total Permutations

The number of valid 5-digit numbers with distinct digits is the total number of permutations of 5 distinct digits from 10 minus the number of permutations that start with 0.

Number of valid 5-digit numbers = Total Permutations - Permutations starting with 0

Number of valid 5-digit numbers = $\text{P}(10, 5) - \text{P}(9, 4) = 30240 - 3024$

$30240 - 3024 = 27216$

Conclusion on Distinct 5-Digit Numbers

Both methods yield the same result. The total number of 5-digit numbers that can be composed of distinct digits from 0 to 9 is 27,216.

Revision Table: Key Concepts in Counting Distinct Numbers

Concept Description Application Here
Permutation An arrangement of items in a specific order. Formula: $\text{P}(n, k) = \frac{n!}{(n-k)!}$ Used to count total arrangements of 5 distinct digits and arrangements of 4 distinct digits.
Multiplication Principle If an event can occur in $m$ ways and another independent event can occur in $n$ ways, then both events can occur in $m \times n$ ways. Used to combine the number of choices for each digit position.
Restriction A condition that limits the choices for certain positions or items. The first digit cannot be 0 in a 5-digit number.
Distinct Digits Each digit used in the number must be unique; no repetition is allowed. This requires using permutations or reducing the available digits for each subsequent position.

Additional Information: Counting Problems and Constraints

Counting problems, especially those involving permutations and combinations, often involve constraints. It is crucial to identify these constraints before applying formulas.

  • Constraints on Position: Like in this problem, where the first digit cannot be 0. Address the constrained positions first.
  • Constraints on Digits/Items: Are digits distinct? Are specific digits required or excluded? Are there limits on the value of the number (e.g., even, odd, greater than X)?
  • Understanding the Difference: Know when to use permutations (order matters) versus combinations (order does not matter). In number formation, the order of digits matters, so permutations are relevant.
  • Break Down the Problem: Complex counting problems can often be solved by breaking them into smaller, manageable steps, as shown in Method 1.

Practicing various types of counting problems with different constraints helps build proficiency in combinatorics.

Was this answer helpful?

Similar Questions

  1. What is the number of 6-digit numbers that can be formed only by using 0, 1, 2, 3, 4 and 5 (each once); and divisible by 6 ? 

  2. Consider the following statements for a fixed natural number n:

    1. C(n, r) is greatest if n = 2r

    2. C(n, r) is greatest if n = 2r - 1 and n = 2r + 1 

    Which of the statements given above is/are correct ?

  3. How many permutations are there of the letters of the word 'TIGER' in which the vowels should not occupy the even positions ?

  4. What is the maximum value of n such that 5 ndivides (30! + 35!), where n is a natural number?

  5. In how many ways can a team of 5 players be selected out of 9 players so as to exclude two particular players ?

  6. Let x be the number of integers lying between 2999 and 8001 which have at least two digits equal. Then x is equal to

  7. There are 17 cricket players, out of which 5 players can bowl. In how many ways can a team of 11 players be selected so to include 3 bowlers?

  8. What is the sum of all three-digit numbers that can be formed using all the digits 3,4 and 5 where repetition of digits is not allowed?

  9. Three-digit numbers are formed from the digits 1, 2 and 3 in such a way that the digits are not repeated. What is the sum of such three-digit numbers?

  10. How many different permutations can be made out of the letters of the word ‘PERMUTATION’?


Important Questions from Permutations and Combinations

  1. What is the number of ways that $5$ boys and $5$ girls can be seated in a row so that boys and girls sit alternately?

  2. The number of ways of choosing 21 objects out of 42 objects of which 21 are identical and the remaining 21 are distinct, is:

  3. If nPr = 720 and nCr = 120, then the value of r is:

  4. For a social work, 7 men and 6 women gave their nominations. The committee is formed to select 5 people from the nominated persons in such a way that atleast 3 men are there in the final team. Find the number of ways in which the people can be selected.

  5. The largest coefficient of ( x + 1)20 is:

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
661 Attempts
4.6(121)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App