Answer: [tex]\dfrac{3}{4389}[/tex]
Step-by-step explanation:
Given : Number of math books = 5
Total number of books = 5+6+8+3=22
Number of books except math = 17
Number of ways to arrange 22 books in bookshelf = [tex]22![/tex]
When all math books are together , then we count whole set as one
Now, the number of objects in bookshelf = 17+1=18
Number of ways to arrange books such that all math books are together = [tex]18!5![/tex]
Now, the probability that all the math books are together :-
[tex]\dfrac{5!18!}{22!}=\dfrac{3}{4389}[/tex]
Hence, the probability that all the math books are together [tex]=\dfrac{3}{4389}[/tex]