SlideShare a Scribd company logo
1 of 1
Download to read offline
There are 40 students in our class. How many ways they can be lined up such that two fixed
students X and Y are next to each other (order of the two fixed students does not matter).
Solution
So now that X and Y are always beside each other, then you can treat them as just ONE
PERSON.
Thus, it's like there are now just 39 people to permute.
As n! = number of ways to permute n objects in a line, then the number of ways is
#ways = 39! = 2.03979*10^46 [ANSWER]

More Related Content

More from info785431

Write a JAVA LinkedListRec class that has the following methods siz.pdf
Write a JAVA LinkedListRec class that has the following methods siz.pdfWrite a JAVA LinkedListRec class that has the following methods siz.pdf
Write a JAVA LinkedListRec class that has the following methods siz.pdf
info785431
ย 
Why has one prominent textbook author described IO management as the.pdf
Why has one prominent textbook author described IO management as the.pdfWhy has one prominent textbook author described IO management as the.pdf
Why has one prominent textbook author described IO management as the.pdf
info785431
ย 
What is the value of studying humanities in a business or technical .pdf
What is the value of studying humanities in a business or technical .pdfWhat is the value of studying humanities in a business or technical .pdf
What is the value of studying humanities in a business or technical .pdf
info785431
ย 
USING JAVAImplement the quicksort optimization median-of-three, i.pdf
USING JAVAImplement the quicksort optimization median-of-three, i.pdfUSING JAVAImplement the quicksort optimization median-of-three, i.pdf
USING JAVAImplement the quicksort optimization median-of-three, i.pdf
info785431
ย 
The Task For this assignment you will write a rudimentary text edi.pdf
The Task For this assignment you will write a rudimentary text edi.pdfThe Task For this assignment you will write a rudimentary text edi.pdf
The Task For this assignment you will write a rudimentary text edi.pdf
info785431
ย 
The following results were obtained in the patient from Case Study 25.pdf
The following results were obtained in the patient from Case Study 25.pdfThe following results were obtained in the patient from Case Study 25.pdf
The following results were obtained in the patient from Case Study 25.pdf
info785431
ย 
Please help with this genetics problems The intermediates that build.pdf
Please help with this genetics problems The intermediates that build.pdfPlease help with this genetics problems The intermediates that build.pdf
Please help with this genetics problems The intermediates that build.pdf
info785431
ย 

More from info785431 (20)

Write a JAVA LinkedListRec class that has the following methods siz.pdf
Write a JAVA LinkedListRec class that has the following methods siz.pdfWrite a JAVA LinkedListRec class that has the following methods siz.pdf
Write a JAVA LinkedListRec class that has the following methods siz.pdf
ย 
Write a BFS algorithm using only arrays and no other data structure..pdf
Write a BFS algorithm using only arrays and no other data structure..pdfWrite a BFS algorithm using only arrays and no other data structure..pdf
Write a BFS algorithm using only arrays and no other data structure..pdf
ย 
Why has one prominent textbook author described IO management as the.pdf
Why has one prominent textbook author described IO management as the.pdfWhy has one prominent textbook author described IO management as the.pdf
Why has one prominent textbook author described IO management as the.pdf
ย 
which is true of the data shown in the histogram Which is true of th.pdf
which is true of the data shown in the histogram Which is true of th.pdfwhich is true of the data shown in the histogram Which is true of th.pdf
which is true of the data shown in the histogram Which is true of th.pdf
ย 
What is the value of studying humanities in a business or technical .pdf
What is the value of studying humanities in a business or technical .pdfWhat is the value of studying humanities in a business or technical .pdf
What is the value of studying humanities in a business or technical .pdf
ย 
What are the two components of dynamic pressureVelocity and densi.pdf
What are the two components of dynamic pressureVelocity and densi.pdfWhat are the two components of dynamic pressureVelocity and densi.pdf
What are the two components of dynamic pressureVelocity and densi.pdf
ย 
USING JAVAImplement the quicksort optimization median-of-three, i.pdf
USING JAVAImplement the quicksort optimization median-of-three, i.pdfUSING JAVAImplement the quicksort optimization median-of-three, i.pdf
USING JAVAImplement the quicksort optimization median-of-three, i.pdf
ย 
The Task For this assignment you will write a rudimentary text edi.pdf
The Task For this assignment you will write a rudimentary text edi.pdfThe Task For this assignment you will write a rudimentary text edi.pdf
The Task For this assignment you will write a rudimentary text edi.pdf
ย 
The SIP handles what functionsA.) establishes a call through the .pdf
The SIP handles what functionsA.) establishes a call through the .pdfThe SIP handles what functionsA.) establishes a call through the .pdf
The SIP handles what functionsA.) establishes a call through the .pdf
ย 
The NBA decides to look into the use of meldonium in the league foll.pdf
The NBA decides to look into the use of meldonium in the league foll.pdfThe NBA decides to look into the use of meldonium in the league foll.pdf
The NBA decides to look into the use of meldonium in the league foll.pdf
ย 
The organelle that serves as the digestive system in the cell is the .pdf
The organelle that serves as the digestive system in the cell is the .pdfThe organelle that serves as the digestive system in the cell is the .pdf
The organelle that serves as the digestive system in the cell is the .pdf
ย 
The major type of interactive forces between molecules of NH_3 are .pdf
The major type of interactive forces between molecules of NH_3 are  .pdfThe major type of interactive forces between molecules of NH_3 are  .pdf
The major type of interactive forces between molecules of NH_3 are .pdf
ย 
The group of taxa that have fully developed appendages can be best de.pdf
The group of taxa that have fully developed appendages can be best de.pdfThe group of taxa that have fully developed appendages can be best de.pdf
The group of taxa that have fully developed appendages can be best de.pdf
ย 
The Law of Independent Assortment states thatA. Two different gene.pdf
The Law of Independent Assortment states thatA. Two different gene.pdfThe Law of Independent Assortment states thatA. Two different gene.pdf
The Law of Independent Assortment states thatA. Two different gene.pdf
ย 
The following results were obtained in the patient from Case Study 25.pdf
The following results were obtained in the patient from Case Study 25.pdfThe following results were obtained in the patient from Case Study 25.pdf
The following results were obtained in the patient from Case Study 25.pdf
ย 
Security National Bank is quoting 1-year certificates of deposit wit.pdf
Security National Bank is quoting 1-year certificates of deposit wit.pdfSecurity National Bank is quoting 1-year certificates of deposit wit.pdf
Security National Bank is quoting 1-year certificates of deposit wit.pdf
ย 
Recently, the stock market took big swings up and down. A survey .pdf
Recently, the stock market took big swings up and down. A survey .pdfRecently, the stock market took big swings up and down. A survey .pdf
Recently, the stock market took big swings up and down. A survey .pdf
ย 
Profit is the difference betweena. the assets purchased with cash.pdf
Profit is the difference betweena. the assets purchased with cash.pdfProfit is the difference betweena. the assets purchased with cash.pdf
Profit is the difference betweena. the assets purchased with cash.pdf
ย 
Problem 4.7. Tuberculosis is a rare disease in developing countries. .pdf
Problem 4.7. Tuberculosis is a rare disease in developing countries. .pdfProblem 4.7. Tuberculosis is a rare disease in developing countries. .pdf
Problem 4.7. Tuberculosis is a rare disease in developing countries. .pdf
ย 
Please help with this genetics problems The intermediates that build.pdf
Please help with this genetics problems The intermediates that build.pdfPlease help with this genetics problems The intermediates that build.pdf
Please help with this genetics problems The intermediates that build.pdf
ย 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
ย 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
ย 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
ย 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
ย 

Recently uploaded (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
ย 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
ย 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
ย 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
ย 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
ย 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
ย 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
ย 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
ย 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
ย 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
ย 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
ย 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
ย 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ย 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
ย 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
ย 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
ย 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
ย 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
ย 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
ย 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
ย 

There are 40 students in our class. How many ways they can be lined .pdf

  • 1. There are 40 students in our class. How many ways they can be lined up such that two fixed students X and Y are next to each other (order of the two fixed students does not matter). Solution So now that X and Y are always beside each other, then you can treat them as just ONE PERSON. Thus, it's like there are now just 39 people to permute. As n! = number of ways to permute n objects in a line, then the number of ways is #ways = 39! = 2.03979*10^46 [ANSWER]