Two different numbers are selected simultaneously and at random from the set {1, 2, 3, 4, 5, 6, 7}. What is the probability that the positive difference between the two numbers is 2 or greater? Express your answer as a common fraction.
If they are selected simultaneously then they could be the same number.
So there are 7*7 = 49 possible pairs.
Ho many DO NOT have a difference or 2 or more.
1 | 2 | 3 | 4 | 5 | 6 | 7 | |
1 | 0 | 1 | |||||
2 | 1 | 0 | 1 | ||||
3 | 1 | 0 | 1 | ||||
4 | 1 | 0 | 1 | ||||
5 | 1 | 0 | 1 | ||||
6 | 1 | 0 | 1 | ||||
7 | 1 | 0 |
That is 19 with a diff of 2 or less.
49-19 = 30
so the prob of the difference being 2 or greater is \(\frac{30}{49}\)
.I work at p problems per hour.
Say there are x problems altogether. It takes me x/p hours to finish and this equals t
It will take my friend x/(2p-4) hours to finish and this is t-2 hours.
p>10
so
\(\frac{x}{p}=t \qquad and \qquad \frac{x}{2p-4}=t-2\\ so\\ \frac{x}{2p-4}=\frac{x}{p}-2\\ 2=\frac{x}{p}-\frac{x}{2p-4}\\ 2=x(\frac{1}{p}-\frac{1}{2p-4})\\ 2=x(\frac{2p-4}{{p(2p-4)}}-\frac{p}{p(2p-4)})\\ 2=x(\frac{2p-4-p}{{p(2p-4)}})\\ 2=x(\frac{p-4}{{p(2p-4)}})\\ 2*(\frac{{p(2p-4)}}{p-4})=x\\ x=\frac{4p(p-2)}{p-4} \)
I decided to use a graphing program to help me.
so I had to swap the p for an y.
p>10 so y>10
Here is the full graph
https://www.desmos.com/calculator/e7xt74l0mi
Here is the extract
It looks like there is more than one answer.
If p = 12, x=60 and t = 60/12=5 So that is a good possiblilty
If p=20 then x=90 but t = 4.5 which is not an integer so that is not a possiblilty.
So the smallest answer that works appars to be p=12, x=60 and t =5
So there are 60 questions.
I answer 12 an hour so it takes me 5 hours.
My friend answers 20 an hour so it takes hime 3 hours.
So it takes him 2 hours less than me which is how it should be.
So the smallest and most sensible answer is that there are 60 questions.