Solveeit Logo

Question

Question: There are \(10\) different books on the shelf. Find the number of ways in which \(3\) books can be s...

There are 1010 different books on the shelf. Find the number of ways in which 33 books can be selected so that exactly two of them are consecutive.

Explanation

Solution

If we take two consecutive books, at the end the third book can be chosen from 77 different books. Now if we are taking two books from the middle and it must not be consecutive then the third book can be chosen from 66 different books.

Complete step-by-step answer:
Here we are given that there are 1010 different books on the shelf. So let them be
A1,A2,A3,A4,A5,A6,A7,A8,A9,A10{A_1},{A_2},{A_3},{A_4},{A_5},{A_6},{A_7},{A_8},{A_9},{A_{10}} books on the shelf. Now we are said to select 33 books from these ten books such that two of them are consecutive.
Case (1): If two consecutive books are chosen from the end.
A1A2,A2A3,...........,A9A10{A_1}{A_2},{A_2}{A_3},...........,{A_9}{A_{10}}
So here two are the possibility that either we chose A1A2{A_1}{A_2} or A9A10{A_9}{A_{10}}
If we choseA1A2{A_1}{A_2}, then A3{A_3} cannot be the third book because the question is saying that only two are consecutive. So we can choose the third book only in 77 ways.
So the number of ways of choosing two consecutive books=2 = 2
Number of ways of choosing third book=7 = 7
So for the case (1)
Total number of ways=2×7=14 = 2 \times 7 = 14
Case (2):
If consecutive books are not at both the ends.
\\_\\_\\_\\_\\_{A_4}{\text{ }}{A_5}\\_\\_\\_\\_\\_
Here we cannot take either A1A2{A_1}{A_2} nor A9A10{A_9}{A_{10}}
So we can take A2A3,A3A4,A4A5,A5A6,A6A7,A7A8,A8A9{A_2}{A_3},{A_3}{A_4},{A_4}{A_5},{A_5}{A_6},{A_6}{A_7},{A_7}{A_8},{A_8}{A_9}
So the total number of pair=7 = 7
Number of ways to choose two consecutive books in middle=7 = 7
Number of ways to choose third book, here we cannot take A3 or A6{A_3}{\text{ or }}{A_6}
So the number of books that can be selected=6 = 6
So total number of ways=6(7)=42 = 6(7) = 42
Now from case (1) and case (2), we got the total number of ways of choosing the third book in which exactly two of them are consecutive=14+42=56 = 14 + 42 = 56

Note: We have different cases, now we are confused where we have to multiply and where to add. So if we have aa ways of doing something and bb ways of doing other things, then there are a+ba + b ways to choose one of them and we have a×ba \times b number of ways to do both of them.