All outcomes are equally likely.
My first thought: $P$=$6\choose 3 $$3!8!$/$10!$. But I am obviously over counting as $Probablity$ $P> 1$.
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityAll outcomes are equally likely.
My first thought: $P$=$6\choose 3 $$3!8!$/$10!$. But I am obviously over counting as $Probablity$ $P> 1$.
The question is a bit vague, I take it that at least $3$ Math books must be together. We shall solve it using the complement.
Imagine the $4$ Physics to be dividers with $5$ spaces where Math books can be placed:
$- P - P - P - P -$
Using stars and bars with inclusion-exclusion to ensure that $<3$ books are in any space,
number of patterns = $\binom{10}{4} - \binom51\binom74 +\binom52\binom44 = 45$
Thus total "bad" permutations = $45\cdot6!4!$
and $Pr = 1 - \dfrac{45\cdot6!4!}{10!} = \dfrac{11}{14}$
Altenative count of number of patterns
If you don't want to get into stars and bars and PIE, here is a basic way:
$2 | 2 | 2 | 0 | 0 : \frac{5!}{3!2!} = 10$
$2 | 2 | 1 | 1 | 0 : \frac{5!}{2!2!} = 30$
$2 | 1 | 1 | 1 | 1 : \frac {5!}{4!} = 5, \;so\; 45$ total patterns
(I'm assuming that you care about the order the books are placed it, Ie switching two books around gives a different configuration). As always, these things are about making sure we count in the right way. The number of possible configuration is determined by where we place the 6 math books. Each book gets a position from 1 to 10. So a configuration is the same as a 6-tuple of numbers between 1 and 10 with different entries, yielding $\frac{10!}{4!}$ configurations. If we wish for 3 math books to be in consecutive spots, we can assume we actually went ahead picked three books and put those in spots of the form $i,i+1,i+2$ for some $i$ ranging from 1 to 7, meaning that the remaining 3 books can be assigned a spot from one of 7 vacancies, yielding $\frac{7!}{4!}$ (Im assuming having more than three books side by side is ok. For each choice of 3 out of 6 books (there's $\binom{3}{6}$ of those) and each choice of $i$ (there's 7 choices of $i$) we thus have $\frac{7!}{4!}$ configurations. so that the number of valid configurations becomes $7\cdot \binom{3}{6}\cdot \frac{7!}{4!}$. The answer is now $\frac{7\binom{3}{6}\frac{7!}{4!}}{\frac{10!}{4!}}$
[M M M][M][P][M][P][P][P][M]
Possible arrangements of 3-M = 3!
Possible arrangements of all books with the 3-M counted as 1 = 8!
Possible arrangements of all books = 10!
P = 3!8!/10! = 1/15