SOLUTION: A group consists of 6 students (3 boys and 3 girls) and one teacher. In how many ways can the 7 people sit in a row if boys cannot sit together and girls cannot sit together?

Algebra.Com
Question 841138: A group consists of 6 students (3 boys and 3 girls) and one teacher. In how many ways can the 7 people sit in a row if boys cannot sit together and girls cannot sit together?
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
A group consists of 6 students (3 boys and 3 girls) and one teacher. In how many ways can the 7 people sit in a row if boys cannot sit together and girls cannot sit together?
If the teacher sits 1st or 7th, then the possible seating arrangements
of students by sex are TBGBGBG or TGBGBGB or their reversals.  
That's 4 arrangements by sex

If the teacher sits 2nd or 6th, then the possible seating arrangements
of students by sex are BTGBGBG, GTBGBGB, and their reversals. 
That's 4 arrangements by sex

If the teacher sits 3rd or 5th, then the possible seating arrangements
of students by sex are BGTBGBG, GBTBGBG, BGTGBGB or GBTGBGB and their reversals. That's 8 arrangements by sex

If the teacher sits 4th, then the possible seating arrangements of students
by sex are BGBTGBG and its reversal. That's 2 arrangements by sex,

That's 4+4+8+2=18 arrangements by sex.

For each of those 18 arrangements by sex, there are 3! ways to arrange
the girls and 3! ways to arrange the boys,

Answer 18·3!·3! = 18·6·6 = 648 ways.

Edwin

RELATED QUESTIONS

A class consists of 8 students (4 boys 4 girls) and one teacher. In how many ways can the (answered by ewatrrr)
in how many ways can 3 boys and 2 girls sit in a row? (answered by ewatrrr)
In how many ways can 3 boys and 2 girls sit in a row? In how many ways can they sit in a (answered by ewatrrr)
In how many ways can a group of 3 boys and 3 girls be seated in a row of 6 seats if boys... (answered by josmiceli)
A group consists of 4 girls and 7 boys. In how many ways can a team of 5 members  be... (answered by stanbon)
How many ways 5 boys and 10 girls can sit in a row, if two particular boys and also two... (answered by sudhanshu_kmr)
Can you please help me to understand if I am doing this correctly? 1.In how many ways... (answered by solver91311,stanbon)
how many ways can 4 boys and 3 girls be sitted in a roll of 7 seats if they can sit... (answered by josmiceli)
in how many ways can 4 boys and 3 girls be seated in a row of 7 seats if end seats are... (answered by stanbon)