If you have patience please read through the whole post. I have made clear what was my line of thought for each step that I did.
Problem Statement:-
How many words of seven letters formed by the letters of the word $\text{SUCCESS}$ so that
$\text{(i)}$ the two $\text{C's}$ are together but not the two $\text{S's}$.
$\text{(ii)}$ neither the two $\text{C's}$ nor the two $\text{S's}$ are together.
My Attempt at a solution:-
$\text{(i) Part - 1}$
- $\text{1}^\text{st}$ Approach:-
Since we have to arrange the letters in such a way that the $\text{C's}$ occur together but the $\text{S's}$ don't, so we first combine the two $\text{C's}$ together into one entity, reducing the total letters(or entities) to $6$. Since the $\text{S's}$ shouldn't occur consecutively(that's what I infer from the "the two \text{S's} should not be together" part in the question") we first arrange the remaining letters(or entities) which are $\{\text{U,CC,E}\}$.
$$\_\;\text{U}\;\_\;\text{CC}\;\_\;\text{E}\;\_$$
After arranging these letters we see that there are $4$ gaps in which the $3 \text{ S's}$ can be arranged so that none of the $\text{S's}$ are together, also the letters that were arranged before the $\text{S's}$ can be arranged among themselves in $3!$ ways.
So, the total number of ways in which we can arrange the given letters so that the two $\text{C's}$ occur together but no two $\text{S's}$ occur together$=\displaystyle\binom{4}{3}\cdot3!=24$
But the textbook gives the answer as $12$.
Now, just to check whether my first attempt for the $\text{1}^\text{st}$ part of the question was correct or not I decided to approach it differently.
- $\text{2}^\text{nd}$ Approach:-
Number of ways in which the two $\text{C's}$ occur together$=\dfrac{6!}{3!}$
Since no two $\text{S's}$ must occur together, hence
The number of ways in which no two $\text{C's}$ and no two $\text{S's}$ occur together$=\text{Total number of permutations $-$ Number of ways in which two $\text{C's}$ and two $\text{S's}$ occur together}$
Now, lets find the number of ways in which two $\text{S's}$ and two $\text{C's}$ occur together. The number of ways will be that in which we group two $\text{C's}$ and two $\text{S's}$ into, say, one super $\Bbb{C}$ and one super $\Bbb{S}$. So, we have to arrange $\{\text{S,U,$\Bbb{C}$,E,$\Bbb{S}$}\}$, which can be done in $5!$ ways.
After starting out on working on this approach I found that there is a little confusion that I have that whether three $\text{S's}$ could occur together or not.
If they can, then we have to exclude the permutation in which three $\text{S's}$ and two $\text{C's}$ occur together simultaneously from the permutation of two $\text{C's}$ and two $\text{S's}$ (so that they maybe counted in the total count) which is given by $4!$.
So, the number of ways in which no two $\text{C's}$ and no two $\text{S's}$ occur together becomes $$\dfrac{6!}{3!}-(5!-4!)=24$$.
But, if the three $\text{S's}$ cannot occur together then, we have the permutation of the letters under the assumed condition as $$\dfrac{6!}{3!}-5!=0$$
This approach turned out to be more confusing considering how I got $0$ ways when the three $\text{S's}$ cannot occur together which I think is not correct, because a simple counter example is $\text{SUSCCES}$.
$\text{(ii) Part - 2}$
- $\text{1}^\text{st}$ Approach:-
In this Approach I used the number of ways in which the two $\text{C's}$ occur together but not the two $\text{S's}$, so this can also act as the verification for the answer of the $1^\text{st}$ part.
First, we will find the number of ways in which the two $\text{S's}$ don't occur together, which can be found by the gap method as follows $$\_\;\text{U}\;\_\;\text{C}\;\_\;\text{C}\;\_\;\text{E}\;\_$$
Since we have $5$ gaps, so the $3\text{ S's}$ can be placed in $\binom{5}{3}$ ways followed by the arrangement of the prearranged letters in $\dfrac{4!}{2!}$. So, we get the number of ways in which the two $\text{S's}$ don't occur together as $$\binom{5}{3}\cdot\dfrac{4!}{2!}=120$$
Now, from this we exclude the number of ways in which the two $\text{C's}$ occur together with the two $\text{S's}$ not occurring together simultaneously, which is given by:-
- if we consider the first approach of the first part of the question, and the first assumption of the second approach, as correct then$=\displaystyle\binom{4}{3}\cdot3!=24$
- If we consider the second assumption of the second approach of the first part as correct, then $0$ (well lets leave this one, we already know there is some blunder in there that I have done)
So, the total number of ways in which neither the two $\text{C's}$ nor the two $\text{S's}$ are together=$$\binom{5}{3}\cdot\dfrac{4!}{2!} - \displaystyle\binom{4}{3}\cdot3!=120-24=\boxed{96}$$
Viola, the answer of the second part is correct, so the book gives the wrong answer for the first part.
Now, considering the book gave the wrong answer and the first assumption of the second approach in the first part was correct(yeah, this looks like a maze to me now to indicate all this XD), I thought of applying some PIE for my second method.
- $\text{2}^\text{nd}$ Approach:-
Since this approach is inspired by the first assumption in 2nd approach for the first part, so I assumed that what the problem implies by the statement "the two $\text{S's}$ are together" is that only two of the $\text{S's}$ should occur together at a time.
So, consider the following sets $$A\rightarrow \text{All the permutations that include two C's together}\\ B\rightarrow \text{All the permutations that include only two S's together}$$
So, $$|A|=\dfrac{6!}{3!}=120\\ |B|=\dfrac{6!}{2!}(\rightarrow\text{two S's occur together})-\dfrac{5!}{2!}(\rightarrow\text{three S's occur together})=300\\ |A\cap B|=5!(\rightarrow\text{two C's and two S's occur together simultaneously})-4!(\rightarrow\text{two C's and three S's ocurr together simultaneously})=96$$
Now, as per PIE, we have $$|A\cup B|=|A|+|B|-|A\cap B|=120+300-96=420-96$$
Now, $\left(A\cup B\right)^c=\left(A^c\cap B^c\right)$, and $\left(A^c\cap B^c\right)\implies \text{two C's don't occur together and two S's don't occur together}$ $$\|(A\cup B)^c|=|(A^c\cap B^c)|=\dfrac{7!}{3!\times2!}-|A\cup B|=420-(420-96)=\boxed{96}$$
Conclusion: What bugs me.
What's wrong with the second assumption of the second approach in the answer to the first part of the question that I am getting $0$ as the answer given that I have already shown a counter example that tells that there are infact more than $0$ ways.
I find the language of the question quite confusing. The "the two $\text{S's}$" part confuses me the most. How does it mean that only two of the $\text{S's}$ should occur together and not three of them. In my opinion, the mention of the THE in "THE two $\text{S's}$" tells that only those two $\text{S's}$ should come together that were initially together in the word $\text{SUCCESS}$ were the $\text{S's}$ considered to be different, but as the S's are indistinguishable so that makes the statement "only two of the three $\text{S's}$ should occur together".
Lastly, I found the same question as the second part of the question and one of the solutions though looked very lucrative, I can't seem to understand how it was formulated, if you think that it can be understood by a student having knowledge of highschool mathematics and what I consider to be a little knowledge of engineering mathematics then, can you enlighten me as to how it was formulated.