Skip to content
Worked Examples · Example 10

Q.How many 4-digit numbers can be formed by using the digits 1 to 9 if repetition of digits is not allowed?

Uttar Pradesh UpmspTextbookSubjective· 2mImportance★★★★★est
16% · 21/130 Questions
✓ Free question

We're arranging 4 distinct digits chosen from 9 available digits where order matters — a permutation problem. The answer is 3024\boxed{3024}.

Why permutations?

When we form a 4-digit number using digits 1 through 9 without repetition, we're making a sequence of choices where order matters (the number 1234 is different from 4321) and each digit can be used only once. This is the textbook setup for permutations without repetition.

The core idea: we have 9 positions to fill initially, and with each digit we pick, one fewer remains for the next position.

Building the number step by step

Let's construct our 4-digit number from left to right, tracking how many choices we have at each position:

  1. First digit (thousands place):

    We can choose any of the 9 digits (1, 2, 3, 4, 5, 6, 7, 8, or 9).

    Number of choices = 99

  2. Second digit (hundreds place):

    One digit is already used in the first position, so we have 8 remaining digits to choose from.

    Number of choices = 88

  3. Third digit (tens place):

    Two digits are now used, leaving us with 7 digits.

    Number of choices = 77

  4. Fourth digit (units place):

    Three digits are used, so 6 digits remain.

    Number of choices = 66

By the multiplication principle (also called the fundamental counting principle), the total number of ways to form such a 4-digit number is the product of choices at each step:

Total=9×8×7×6\text{Total} = 9 \times 8 \times 7 \times 6

Let's compute:

9×8=729 \times 8 = 72

72×7=50472 \times 7 = 504

504×6=3024504 \times 6 = 3024

Tip

This is exactly the permutation formula P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!} where n=9n = 9 and r=4r = 4:

P(9,4)=9!5!=9×8×7×6=3024P(9, 4) = \frac{9!}{5!} = 9 \times 8 \times 7 \times 6 = 3024

Watch out

Don't confuse this with combinations. If the problem asked "how many ways to select 4 digits" (where order doesn't matter), we'd use (94)\binom{9}{4}. But forming a number means order matters: 1234 ≠ 4321.

✓Final answer

The number of 4-digit numbers that can be formed is 3024\boxed{3024}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.