Number of rearrangements of letters

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the number of rearrangements of the letters in 'WINPRESENT' and 'WINPRESENTS' that include the subwords 'WIN' or 'PRESENT'. The calculations involve factorials, specifically $8!$ and $9!$, adjusted for repeated letters. The correct formula for 'WINPRESENT' is $\frac{8!}{2} + 4! - 2$, while for 'WINPRESENTS', it is $\frac{9!}{4} + 4! - 2$. The participants clarify the importance of accounting for repeated letters only when necessary.

PREREQUISITES
  • Understanding of factorial notation and calculations (e.g., $n!$)
  • Knowledge of combinatorial principles, specifically permutations with restrictions
  • Familiarity with handling repeated elements in permutations
  • Basic algebraic manipulation skills for combining terms
NEXT STEPS
  • Study permutations with restrictions in combinatorics
  • Learn about the inclusion-exclusion principle in counting problems
  • Explore advanced factorial calculations and their applications in combinatorics
  • Investigate the impact of repeated elements on permutation counts
USEFUL FOR

Mathematicians, students studying combinatorics, educators teaching permutation concepts, and anyone interested in advanced counting techniques.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

We have the letters 'WINPRESENT'. I want to calculate the rearrangements of these letters that contain either the word 'WIN' or the word 'PRESENT' or both of them.

I have done the following:

The subword 'WIN' is contained in $8!$ rearrangements. Since at 'PRESENT' we have twice the letter E we get $\frac{8!}{2}$ rearrangements. The subword 'PRESENT' is contained in $4!$ rearrangements. We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'WIN' or the word 'PRESENT' or both of them is equal to $\frac{8!}{2}+4!-2$, or not?

Or do we have to take into account that we have twice the letter N ?

(Wondering)
 
Physics news on Phys.org
mathmari said:
Hey! :o

We have the letters 'WINPRESENT'. I want to calculate the rearrangements of these letters that contain either the word 'WIN' or the word 'PRESENT' or both of them.

I have done the following:

The subword 'WIN' is contained in $8!$ rearrangements. Since at 'PRESENT' we have twice the letter E we get $\frac{8!}{2}$ rearrangements. The subword 'PRESENT' is contained in $4!$ rearrangements. We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'WIN' or the word 'PRESENT' or both of them is equal to $\frac{8!}{2}+4!-2$, or not?

Or do we have to take into account that we have twice the letter N ?

Hi mathmari!

I believe you are quite correct.
And indeed, for this problem we shouldn't take into account that N occurs twice.
That only becomes relevant if we want to know for instance all possible configurations. Then we'd have to compensate for double-counting N. (Nerd)
 
I like Serena said:
I believe you are quite correct.
And indeed, for this problem we shouldn't take into account that N occurs twice.
That only becomes relevant if we want to know for instance all possible configurations. Then we'd have to compensate for double-counting N. (Nerd)

Ah ok!

If we consider the letters 'WINPRESENTS' (now with an extra S at the end) then we have the following:
The subword 'WIN' is contained in $9!$ rearrangements. Since at 'PRESENT' we have twice the letter E and the letter S do we get $\frac{9!}{4}$ rearrangements?
The subword 'PRESENTS' is contained in $4!$ rearrangements. We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'WIN' or the word 'PRESENT' or both of them is equal to $\frac{9!}{4}+4!-2$, or not?

(Wondering)
 
mathmari said:
Ah ok!

If we consider the letters 'WINPRESENTS' (now with an extra S at the end) then we have the following:
The subword 'WIN' is contained in $9!$ rearrangements. Since at 'PRESENT' we have twice the letter E and the letter S do we get $\frac{9!}{4}$ rearrangements?

The subword 'PRESENTS' is contained in $4!$ rearrangements. We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'WIN' or the word 'PRESENT' or both of them is equal to $\frac{9!}{4}+4!-2$, or not?

(Wondering)

Shouldn't that be $\frac{9!}{4}+4!-2\cdot 2$ (assuming that you meant PRESENTS instead of PRESENT in all cases)? (Wondering)
 
I like Serena said:
Shouldn't that be $\frac{9!}{4}+4!-2\cdot 2$ (assuming that you meant PRESENTS instead of PRESENT in all cases)? (Wondering)

Do we get $2\cdot 2$ because we have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'? (Wondering)

If we consider the letters 'KERDISESDWRO' then we have the following:
The subword 'KERDISES' is contained in 5! rearrangements.
The subword 'DWRO' is contained in 9! rearrangements. Since at 'KERDISES' we have twice the letter E and the letter S do we get $\frac{9!}{4}$ rearrangements? We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'KERDISES' or the word 'DWRO' or both of them is equal to $\frac{9!}{4}+5!-2\cdot 2$.

Is everything correct? (Wondering)
 
mathmari said:
Do we get $2\cdot 2$ because we have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'? (Wondering)

Sorry. (Blush)

It's $-2$ after all.
We have calculated twice 'WINPRESENTS' and twice 'PRESENTSWIN', while we should only count them once.
So we have to subtract 1 for each of them.

mathmari said:
If we consider the letters 'KERDISESDWRO' then we have the following:
The subword 'KERDISES' is contained in 5! rearrangements.
The subword 'DWRO' is contained in 9! rearrangements. Since at 'KERDISES' we have twice the letter E and the letter S do we get $\frac{9!}{4}$ rearrangements? We have calculated twice 'WINPRESENT' and twice 'PRESENTWIN'.

So the total amount of rearrangements that contain either the word 'KERDISES' or the word 'DWRO' or both of them is equal to $\frac{9!}{4}+5!-2\cdot 2$.

Is everything correct?

You're referring to WINPRESENT and PRESENTWIN when that should be KERDISESDWRO and DWROKERDISES. (Nerd)
And we should have $-2$ as before.
So $\frac{9!}{4}+5!-2$.
 
Ahh yes (Emo)

Thank you! (Sun)
 

Similar threads

Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
10
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K