A password consists of 4 letters, where each letter can be either a vowel (a, e, i, o, u) or a consonant. The password must also contain at least one vowel and one consonant. How many different passwords are possible?
32,624 ways
28,000 ways
50,185 ways
11,024 ways
To solve this, we will consider the different cases based on the composition of the password:
Case 1: One vowel and three consonants:
Choose 1 vowel from the 5 available vowels (5 choices).
Choose 3 consonants from the 21 available consonants (21 choices for the first consonant, 20 choices for the second consonant, and 19 choices for the third consonant).
The total number of ways for this case is: 5 choices × 21 choices × 20 choices × 19 choices = 39,900 ways.
Case 2: Two vowels and two consonants:
Choose 2 vowels from the 5 available vowels (5 choices for the first vowel, 4 choices for the second vowel).
Choose 2 consonants from the 21 available consonants (21 choices for the first consonant, 20 choices for the second consonant).
The total number of ways for this case is: 5 choices × 4 choices × 21 choices × 20 choices = 8,400 ways.
Case 3: Three vowels and one consonant:
Choose 3 vowels from the 5 available vowels (5 choices for the first vowel, 4 choices for the second vowel, 3 choices for the third vowel).
Choose 1 consonant from the 21 available consonants (21 choices).
The total number of ways for this case is: 5 choices × 4 choices × 3 choices × 21 choices = 1,260 ways.
Case 4: Four vowels and no consonants:
Choose 4 vowels from the 5 available vowels (5 choices for each vowel).
The total number of ways for this case is: 5 choices × 5 choices × 5 choices × 5 choices = 625 ways.
To find the total number of possible passwords, we sum the possibilities for each case:
Total number of ways = 39,900 ways + 8,400 ways + 1,260 ways + 625 ways = 50,185 ways.
Study 40% syllabus and score up to 100% marks in JEE