a coin is biased so that the probability of obtaining a head is 3/7. if the coin is tossed 3 times the probability of obtaining exactly 2 heads is ????
binomial distribution for this one 2 heads, one tails probability of head is \(\frac{3}{7}\) so probability of tails is what?
4/7
ok good so heads twice \(\frac{3}{7}\times \frac{3}{7}\)
then tails once \(\frac{3}{7}\times \frac{3}{7}\times \frac{4}{7}\)
and there are three different ways to get this h, h , t h, t, h t, h, h so multiply the above number by 3
i.e. final answer is \[P(x=2)=3\times \left(\frac{3}{7}\right)^2\times \frac{4}{7}\]
general formula is \[P(x=k)=\binom{n}{k}p^k(1-p)^{n-k}\]
in your example \(n=3,k=2, \binom{3}{2}=3, p=\frac{3}{7}, 1-p=\frac{4}{7}\)
I'm writing these down. They are very helpful
ok let me know if you have any questions about the numbers or the notation
If the question asked 4 tosses then that will mean two heads and two tails
yes so it would be \(P(x=2)=\binom{4}{2}\left(\frac{3}{7}\right)^2\left(\frac{4}{7}\right)^2\)
do you know the notation \(\binom{4}{2}\) ? you might have seen it written as \(_4C_2\)
\(\binom{n}{k}\) reads "n choose k"
4 is the number of tosses
The 2 is for the number of heads
Am I right?
right
suppose instead you tossed this unfair coin 10 times and you wanted the probability you got exactly 3 heads could you find it?
Ill try give me some time and ill be right back with you :)
kk
can we please go through it together?
sure
i guess n=10 and k=3
?
yes
n= number of times the coin is tossed
right
k= number of heads which is 3
yes
but you don't have to think of it as a "coin" it can be any experiment where there are only two possible outcomes a coin is just a good model, because it can only be "heads" or "tails" but it could be "rain" or "shine" or " yes" or "no" usually it is denoted by "success" or "failure"
but i interrupt you are doing fine, keep going
P(x=3) = (10 3) (3/7)^3 (1-3/7)^10-3
yes, exactly
however... do not get married to the formula you don't want to be looking at \(1-\frac{3}{7}\) but rather \(\frac{4}{7}\)
also of course \(10-3=7\)
what do u mean?
i mean you want to know \(1-p\) and \(n-k\) before you put it in to the formula
okay now i get it
so while you are completely correct, you really want to write \[P(x=3)=\binom{10}{3}\left(\frac{3}{7}\right)^3\ \left(\frac{4}{7}\right)^7\]
now it makes complete sense 3 head 7 tails \(\binom{10}{3}\) ways to get it
question is, do you know how to compute \(\binom{10}{3}\) ?
mmmm im not sure
for large numbers you would use a calculator with that feature it means the number of ways to choose 3 from a set of 10 here \[\binom{10}{3}=\frac{10\times 9\times 8}{3\times 2}=10\times 3\times 4=120\]
i didnt get it
you mean you don't understand how i got the answer right?
yes
ok lets do a smaller example lets find \(\binom{6}{2}\)
sometimes written as \(_6C_2\)
the number of ways to choose 2 items from a set of 6 you have 6 choices for the first item then 5 for the second by the counting principle the number of ways to do this together is \(6\times 5\) but order does not matter in choosing, so choosing \(a\) and then \(b\) is no different from choosing \(b\) and then \(a\) so \(6\times 5\) overcounts by a factor of \(2\) therefore \[\binom{6}{2}=\frac{6\times 5}{2}=3\times 5=15\]
you can find these numbers also in pascal's triangle
so (3 2) = 3x 2/ 2
now lets try \[\binom{10}{3}\] 10 choices for the first item 9 for the second 8 for the third so by counting principle \(10\times 9\times 8\) but this over counts by the number of permutations of 3 items, which is \(3!=3\times 2\) so \[\binom{10}{3}=\frac{10\times 9\times 8}{3\times 2}\]
yes you are right
\(\binom{3}{2}=\frac{3\times 2}{2}=3\)
what is this rule called?
wouldn't really use the formula in that case because it is more or less clear that the number of ways to choose 2 from a set of 3 is the same as the number of ways to choose one from a set of 3 which is 3
\[\binom{n}{k}\] is read "n choose k"
ok
there is a formula for it as well
so how ccan we find the final answer?
\[\binom{n}{k}=\frac{n!}{k!(n-k)!}\] but just like the formula we had above, you should not get married to it the denominator tells you what to cancel
the answer for the original question, or the answer for \(\binom{10}{3}\) ?
oh now i see that is the binomial coefficent
for (10 3)
yes, it is the binomial coefficient
\[\binom{10}{3}=\frac{10\times 9\times 8}{3\times 2}=10\times 3\times 4=120\]
is that the final answer or do we have to work out (3/7)^3 (4/7)^7
yes but with a calculator i would not try this by hand
i got 0.00156...
http://www.wolframalpha.com/input/?i=%2810+choose+3%29*%28+%283%2F7%29^3+%284%2F7%29^7%29
your answer times 120
man you rock. thanks for the help. i really appreciate it man seriously
you are quite welcome hope it makes some sense, and hope you ace your probability class
i hope so. yes i wouldnt have understood it if it wasnt for you :)
Join our real-time social learning platform and learn together with your friends!