(Solved)Find the number of 9 letter words using the letters P, Q, and R containing at least one P an

Berghofaei0e

Berghofaei0e

Answered question

2022-05-14

(Solved)Find the number of 9 letter words using the letters P, Q, and R containing at least one P and at least two Qs.
Please help me with the last question on my discrete maths assignment because I can't get what I am doing wrong.
Find the number of 9 letter words using the letters P, Q, and R containing at least one P and at least two Qs.
number of 9 letter words that use all 3 letters = 3 9 .
A 1 = number of 9 letter words without the use of P = 2 9
A 2 = number of 9 letter words without the use of Q = 2 9
A 3 = number of 9 letter words using at least 1 Q = 3 9 2 9 .
A 1 A 2 = 1 9
A 1 A 3 = 2 9 1
A 2 A 3 = 0
A 1 A 2 A 3 = 0
number of words using at least 1 P and at least 2 Qs
= 3 9 ( 2 9 + 2 9 + ( 3 9 2 9 ) ( 1 + 2 9 1 0 ) + 0 ) = 0
I can't understand where I am making a mistake because everything seems to make sense.

Answer & Explanation

Lea Johnson

Lea Johnson

Beginner2022-05-15Added 13 answers

Step 1
You should define A 3 as words with exactly one Q:
( 9 1 ) 2 8
| A 1 A 3 | = 9
| A 2 A 3 | = 0
| A 1 A 2 A 3 | = 0
| A 1 A 2 A 3 | = 0
| A 1 A 2 A 3 | = | A 1 | + | A 2 | + | A 3 | | A 1 A 2 | | A 1 A 3 |
= 2 9 + 2 9 + 9 2 8 1 9
Step 2
Finally the answer you are looking for is,
= 3 9 | A 1 A 2 A 3 |

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?