SOLUTION: A class has 7 students. Two of the students, Rachel and Jonathan cannot stop bugging each other. How many line-ups are possible in which Jonathan and Rachel are not beside each oth

Algebra.Com
Question 536053: A class has 7 students. Two of the students, Rachel and Jonathan cannot stop bugging each other. How many line-ups are possible in which Jonathan and Rachel are not beside each other?
Answer by Edwin McCravy(20055)   (Show Source): You can put this solution on YOUR website!
Suppose the set of students is {A,B,C,D,E,R,J}, where R is Rachel and J is Jonathan.

First calculate how many ways there are to arrange the seven "things",
{A,B,C,D,E,R,J}, whether R and J are together or not:

That is 7! or 5040

Now we must subtract from that all the ways R and J are together.
These consist of: 

(A)   the number of ways to arrange the 6 "things of the set {A,B,C,D,E,(RJ)},
with (RJ) considered as a SINGLE "thing", where R is on the left of J:

That is 6! or 720

(B)  the number of ways to arrange the 6 "things of the set {A,B,C,D,E,(JR)},
with (JR) considered as a SINGLE "thing", where J on the left of R:

That is also 6! or 720

So the final answer is 

7! - 6! - 6! = 7! - 2·6! = 5040 - 2(720) = 5040 - 1440 = 3600

Edwin

RELATED QUESTIONS

A class of 10 students (5 boys and 5 girls) is lined up against a wall to have their... (answered by Edwin McCravy)
Jonathan’s class has 30 boys. Of the students in his class, 60% are girls. How many girls (answered by checkley77)
A group consisting of 3 boys and 2 girls is to line-up in a row for a photograph. In how... (answered by sudhanshu_kmr)
Having a terrible problem trying to solve this question: The school board plans to... (answered by stanbon,Earlsdon)
There are two rows of seats in the classroom and each row has six seats. If a class has... (answered by Boreal)
There are two rows of seats in the classroom and each row has six seats. If a class has... (answered by Edwin McCravy)
A class has 21 students. Eight of the students are boys and thirteen are girls. Five... (answered by Edwin McCravy)
In a class, half of the students took Geography while three-fifths took Statistics. If 8... (answered by ikleyn)
A certain class has 6 girls and 5 boys. Four of these students are to line up in the... (answered by jorel1380)