Is This How to Calculate the Probability of Getting r Heads in n Coin Tosses?

  • Thread starter Thread starter Ryoukomaru
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Homework Help Overview

The discussion revolves around calculating the probability of obtaining a specific number of heads (r) when tossing an unbiased coin n times. The subject area pertains to probability theory and binomial distributions.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the probability expression using the binomial distribution and questions whether their formulation is correct. Some participants provide feedback on the expression and discuss the correct application of powers in the probability formula.

Discussion Status

Participants are actively engaging with the original poster's formulation, offering corrections and suggestions regarding the probability expression. There is a collaborative atmosphere as members share tips on using LaTeX for mathematical notation.

Contextual Notes

There is a mention of the original poster's inexperience with LaTeX, which may influence their expression of the probability formula. Additionally, the discussion includes a focus on the correct interpretation of the binomial distribution parameters.

Ryoukomaru
Messages
55
Reaction score
0
An unbiased coin is tossed n times and X is the number of heads obtained. Write down an expression for the probability that X=r.

It looks so simple yet I can't figure it out.
Does it follow a binomial distribution ?

Then if
[tex] X[/tex]~[tex]N (n,p)[/tex]

It follows
[tex] P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \cdot p^r \cdot q^{n-1}[/tex]
where [tex]q=1-p[/tex]

But [tex]p=q=1/2[/tex]
So the answer is
[tex] P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \frac{1}{2}^{r+n-1}[/tex]

Am I right ?

P.S. First time using latex. It sure took long. :-p
 
Physics news on Phys.org
when u raise the fraction by a certain power, u have to distribute the power to both the numerator and denominator
 
Ryoukomaru said:
[tex] P(X=r) = \left(<br /> \begin{array}{cc}<br /> n\\<br /> r<br /> \end{array}<br /> \right)<br /> \cdot p^r \cdot q^{n-1}[/tex]
where [tex]q=1-p[/tex]
Almost. q should be raised to the (n-r)th power.

P.S. First time using latex. It sure took long. :-p
You'll get used to it. And it looks so pretty. :biggrin:

By the way, you don't need to use array's for displaying [itex]n \choose r[/itex]. LateX has a special command for it. Just type {n \choose r}. You can even omit the brackets.
 
Ahh right, thanks for the correction. Silly me.

Gallieo: Thx for the tip. :)
I got to read through the list of latex commands but i am so busy right now, i don't have time for it.
 

Similar threads

Replies
3
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
28
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
Replies
12
Views
2K