image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

image The Dog Dilemma Share It Thread Tools Search this Thread image
Old Jun15-09, 04:54 PM                  #1
bucher

bucher is Offline:
Posts: 76
The Dog Dilemma

This is a probability problem that I thought up one day after being inspired by the Boy or Girl Dilemma I read in the news (a while back).

Say a breeder has five dogs. A customer shows up one day and wants to know about the dogs. The customer is interested in a female dog and so asks the breeder if there is at least one female dog in the litter of five. The breeder says, "Yes".

After this, the customer leaves the store and goes to another one. There are five dogs at that store as well. The customer asks the breeder if the oldest dog in the litter of five is female. The breeder says, "Yes".

What is the probability of the first breeder having all females?
What is the probability of the second breeder having all females?

Since this is a probability question, I'll tell you the answers and you can determine why.


The probability of the first breeder having all females is 1/31

The probability of the second breeder having all females is 1/16
  Reply With Quote
Old Jun15-09, 05:17 PM                  #2
Tibarn

Tibarn is Offline:
Posts: 38
Re: The Dog Dilemma

It's just an application of Bayes' Theorem:

LaTeX Code: P(A|B) = \\frac{P(B|A)P(A)}{P(B)}



Spoiler
First breeder: Let A denote "all females" and B denote "at least one is female". Clearly, P(B|A) = 1 and P(A) = 1/32. Now, the probability that at least one is female is one minus the probability that all are males, so it comes out to 1 - 1/32 = 31/32.

By Bayes' Theorem, P(A|B) = 1/31


Second Breeder: Similar thing, except that this time we let B denote "the first one is female", so in this case P(B) = 0.5. Again using Bayes' Theorem, we find that P(A|B) = 1/16
  Reply With Quote
Old Jun16-09, 06:57 AM                  #3
HallsofIvy

PF Mentor

HallsofIvy is Offline:
Posts: 24,778
Re: The Dog Dilemma

Writing "M" for male and "F" for female, there are 2[sup]5[sup]= 32 ways to write 5 letters, each being either an "M" or an "F". Of those 32, exactly one is all "M"s and exactly one is all "F"s.

Knowing that there is at least one female drops "MMMMM" leaving 31 possibilities. "FFFFF" is one of those: probability 1/31.

If we write the dogs in order of age, then knowing that the oldest dog is female means that we are looking at lists of 5 letters, from "M" or "F", with the first letter being "F". Obviously in all possible lists of 5 "M"s or "F"s, exactly half, 16 start with "F" and half with "M" so knowing that "the oldest dog is a female" throws out half the possible lists, leaving 16. one of those is "FFFFF" so the probability of "all females" is now 1/16.

There is no "dilemma" here. "The oldest dog is female" gives you more information than "at least one of the dogs is female".
  Reply With Quote
Old Jun16-09, 08:07 AM                  #4
fleem

fleem is Offline:
Posts: 328
Re: The Dog Dilemma

First breeder:

Since its given that there is at least one female, the question, "what is the probability that all five are female when one is female" means the same thing as the question, "What is the probability that the remaining four are female". The probability that the remaining four are female is 1/16, and thus the probability that all five are female (given that one is female) is 1/16.

Second breeder:

The temptation here is to assume there might have been intelligent pre-selection of dogs in the group, by the store owner. However the OP makes it pretty clear, I think, that there was no such pre-selection, and that these are ALL the dogs from a given litter. So the sex of a randomly selected dog does NOT change the probability of the sex of another dog in the litter. Each is a separate coin toss. So the fact that the oldest is female works the same as "there is at least one female". So like with the first breeder case, the probability of the remaining four all being female is 1/16.
  Reply With Quote
Old Jun16-09, 09:03 AM                  #5
statdad

statdad is Offline:
Posts: 702
Recognitions:
Homework Helper Homework Helper
Re: The Dog Dilemma

Fleem, the answer to the "first breeder problem" is indeed 1/31, with precisely the explanation HallsofIvy gave. You can also do this:

LaTeX Code: <BR>\\begin{align*}<BR>\\Pr(X = 5 | X \\ge 1) & = \\frac{\\Pr((X =5) \\cap (X \\ge 1))}{\\Pr(X \\ge 1)} \\\\<BR>& = \\frac{\\Pr(X = 5)}{\\Pr(X \\ge 1)} \\\\<BR>& = \\frac{\\dfrac{1}{32}}{\\dfrac{31}{32}} = \\frac 1 {31}<BR>\\end{align*}<BR>
  Reply With Quote
Old Jun16-09, 09:42 AM                  #6
fleem

fleem is Offline:
Posts: 328
Re: The Dog Dilemma

Thanks, statdad, I stand corrected. I should have taken a closer look at tibarn's and HallsofIvy's posts.
  Reply With Quote
Old Jun16-09, 09:49 AM                  #7
statdad

statdad is Offline:
Posts: 702
Recognitions:
Homework Helper Homework Helper
Re: The Dog Dilemma

Originally Posted by fleem View Post
Thanks, statdad, I stand corrected. I should have taken a closer look at tibarn's and HallsofIvy's posts.
No worries. And tibarn, I apologize for not mentioning your solution too - that was sheer sloppiness on my part.
  Reply With Quote
image image
Reply

Tags
probability
Thread Tools


Similar Threads for: The Dog Dilemma
Thread Thread Starter Forum Replies Last Post
Dilemma about which MSc yoran Academic Guidance 1 Apr16-08 04:24 PM
In a dilemma dontdisturbmycircles Academic Guidance 7 Feb6-07 11:20 AM
dilemma.... sweetvirgogirl Academic Guidance 5 Jan23-06 03:32 PM
My dilemma Zarathustra Academic Guidance 8 Aug31-05 06:20 AM
My dilemma rain.w Academic Guidance 4 Jul25-05 02:50 AM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image