Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2006-10-01 03:09:56

abc4616
Member
Registered: 2006-10-01
Posts: 9

Need Help

Suppose a coin is tossed until a head appears. Let p be the probability of a head on any given toss. Define random variable X to be the number of tosses required to obtain a head.

a) State the set of values that X can take on. Is this finite or countably infinite set?
b) What is the PMF (probability mass function) of X? If p = 1/4, what is the probability that X=10?

Can any one help on this question??

Offline

#2 2006-10-01 04:24:40

polylog
Member
Registered: 2006-09-28
Posts: 162

Re: Need Help

I think part (a) can be approached like this:

The values that X can take on are the possible number of times that we have to toss the coin until a head appears.
We might have to toss it once, or twice, or three times.. ie, X belongs to the set: 
{1, 2, 3, 4, 5, 6, 7, 8, .... }

This is just the set of natural numbers, N, which is countably infinite.

(If I'm wrong surely someone will correct me smile )

Offline

#3 2006-10-01 06:08:48

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: Need Help

Sounds right to me, polylog.

For b, are you allowed to use the binomal distribution?


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#4 2006-10-01 06:39:10

Patrick
Real Member
Registered: 2006-02-24
Posts: 1,005

Re: Need Help

I'm not sure about b), but polylogs' answer to a) seems correct


Support MathsIsFun.com by clicking on the banners.
What music do I listen to? Clicky click

Offline

#5 2006-10-01 07:11:04

abc4616
Member
Registered: 2006-10-01
Posts: 9

Re: Need Help

For b, you can use binomial distribution!!

Offline

#6 2006-10-01 07:27:07

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Need Help

I'm not sure that the binomial distribution is what we need here.
In that, you have a fixed number of trials but here you just keep going until you get a head.

I think the answer you want is P(X=x) = p * (1-p)^(x-1).

So, if p was 1/4, then P(X=10) would be 1/4 * (3/4)^9, which is around 0.0188.


Why did the vector cross the road?
It wanted to be normal.

Offline

#7 2006-10-01 08:24:24

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: Need Help

What you need is the negative binomial distribution:

The probability of having the xth success land on the nth trial, where p = probability of a single sucess

P(X) = ((n-1) choose (x-1)) * (p)^x * (1 - p)^(n-x)

That comes out to be:

P(1) = (10-1) choose (1-1) * (1/4)^1 * (1 - 1/4)^(10-1) = 0.018771


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

Board footer

Powered by FluxBB