Counting problem relatively hard I think.

In summary, the concept of counting can be relatively challenging for some individuals due to its abstract nature and the need for precise attention to detail. Counting problems often require logical reasoning and mathematical skills, making them a difficult task for many. However, with practice and a solid understanding of basic counting principles, these problems can be overcome.
  • #1
charmedbeauty
271
0

Homework Statement



For this problem assume that the 365 dates of the year are equally likely as birthdays.

b)Find the probability that in a group of n people, at least two have the same birthday.


Homework Equations





The Attempt at a Solution



Well I am not really sure what method I should use here??

but... the total number of solutions is surely 365n

but at least two?

maybe something along the lines...

P(365,2)
so

the probability is P(365,2)/365n

But I have a feeling I'm missing something, but I don't understand what?
 
Physics news on Phys.org
  • #2
A way to approach this problem is to notice the probability of at least a pair having the same birthday is the same as one minus the probability of no one having the same birthday.
 
  • #3
To determine the probability that "at least two" things occur, look at the opposite event- that NO two people have the same birthday. The probability that "at least two people have the same birthday" is then 1 minus the probability that no two people have the same birthday.

And that calculation easy- imagine putting all n of the people in order- in a straight line. The first person can have any day of the year as a birthday. The probability of that is 365/365= 1, of course. The second person can have any day except that one day as birthday. The probability of that is 364/365. The third person can have any day except those two days. The probability of that is 363/365. Can you finish that?
 
  • #4
charmedbeauty said:

Homework Statement



For this problem assume that the 365 dates of the year are equally likely as birthdays.

b)Find the probability that in a group of n people, at least two have the same birthday.


Homework Equations





The Attempt at a Solution



Well I am not really sure what method I should use here??

but... the total number of solutions is surely 365n

but at least two?

maybe something along the lines...

P(365,2)
so

the probability is P(365,2)/365n

But I have a feeling I'm missing something, but I don't understand what?

HallsofIvy's post is good, and works for [itex]n \leq 365[/itex] but what happens when [itex]n \geq 366[/itex]? Hint: Pigeonhole principle.

So the answer is a formula dependent on n for the former case, and just a single answer for the latter case.
 
  • #5
Curious3141 said:
HallsofIvy's post is good, and works for [itex]n \leq 365[/itex] but what happens when [itex]n \geq 366[/itex]? Hint: Pigeonhole principle.

So the answer is a formula dependent on n for the former case, and just a single answer for the latter case.

365 choose 366 is zero, so the answer will work for n >365. Also, I wouldn't call it the pigeonhole principle. I'd call it the common sense principle.
 
  • #6
RoshanBBQ said:
365 choose 366 is zero, so the answer will work for n >365.

HallsofIvy's post did not introduce the combination operation. His post would directly have led to:

[tex]p(n) = 1 - \frac{(365)(364)...(365-n+1)}{365^n}[/tex]

which clearly holds for [itex]n \leq 365[/itex]. It also holds for [itex]n=366[/itex], because one can say the 366th person has zero "choice" of birthday to avoid a collision. However, when [itex]n > 366[/itex], the last terms of [itex](365-n+1)[/itex] stop making sense, because, for example, the 367th person does not have "-1" choices of birthday, etc., he simply has no (zero) choice. Even though the expression will evaluate to the correct answer (one) for [itex]n > 366[/itex] because exactly one of the terms in the product is zero, the expression is still not correct mathematically.

The next commonly taken step, which involves simplifying the expression and recasting it in terms of combinatorial notation, is what you're referring to. Of course, based on the definition [itex]nCr = 0[/itex] for [itex]r > n[/itex], this expression would hold for all n, but the fact remains that this is not a mathematically sound way of deriving that formula since the initial expression does not make sense for [itex]n > 366[/itex], as I explained.

Hence the usual way of working the problem, which is to break the problem up into two cases, [itex]n \leq 365[/itex] and [itex]n \geq 366[/itex]. Mathematical rigour matters.

Also, I wouldn't call it the pigeonhole principle. I'd call it the common sense principle.

You can call it whatever you like, and it is common sense, but it IS called the pigeonhole principle.
 
Last edited:
  • #7
Curious3141 said:
HallsofIvy's post did not introduce the combination operation. His post would directly have led to:

[tex]p(n) = 1 - \frac{(365)(364)...(365-n+1)}{365^n}[/tex]

which clearly holds for [itex]n \leq 365[/itex]. It also holds for [itex]n=366[/itex], because one can say the 366th person has zero "choice" of birthday to avoid a collision. However, when [itex]n > 366[/itex], the last terms of [itex](365-n+1)[/itex] stop making sense, because, for example, the 367th person does not have "-1" choices of birthday, etc., he simply has no (zero) choice. Even though the expression will evaluate to the correct answer (one) for [itex]n > 366[/itex] because exactly one of the terms in the product is zero, the expression is still not correct mathematically.

The next commonly taken step, which involves simplifying the expression and recasting it in terms of combinatorial notation, is what you're referring to. Of course, based on the definition [itex]nCr = 0[/itex] for [itex]r > n[/itex], this expression would hold for all n, but the fact remains that this is not a mathematically sound way of deriving that formula since the initial expression does not make sense for [itex]n > 366[/itex], as I explained.

Hence the usual way of working the problem, which is to break the problem up into two cases, [itex]n \leq 365[/itex] and [itex]n \geq 366[/itex]. Mathematical rigour matters.



You can call it whatever you like, and it is common sense, but it IS called the pigeonhole principle.

Thanks for all the replies cleared things up a lot I was really struggling to see where the 1 came from.
 
  • #8
RoshanBBQ said:
365 choose 366 is zero, so the answer will work for n >365. Also, I wouldn't call it the pigeonhole principle. I'd call it the common sense principle.

There are 365 days of the year (pigeon holes) and more than 365 people (pigeons) so the "pigeon hole principle" say that at least two people must have the same birthday. There are many "common sense principles", only one "pigeon hole principle".
 

Related to Counting problem relatively hard I think.

1. What is a counting problem?

A counting problem is a type of mathematical problem that involves determining the number of possible outcomes in a given scenario or situation. It often involves counting the number of ways to arrange or select a set of objects or events.

2. Why are counting problems considered difficult?

Counting problems can be challenging because they often involve complex mathematical concepts and require a strong understanding of combinatorics and probability. They also require careful attention to detail and can be time-consuming to solve.

3. What strategies can be used to solve counting problems?

There are several strategies that can be used to solve counting problems, including listing all possible outcomes, using combinations and permutations, and using visual aids such as diagrams or tables. It is also important to break down the problem into smaller, more manageable parts.

4. How can I improve my skills in solving counting problems?

To improve your skills in solving counting problems, it is important to practice regularly and familiarize yourself with different types of problems. You can also seek help from textbooks, online resources, and tutors to better understand the underlying concepts and strategies.

5. In what fields or industries are counting problems commonly used?

Counting problems are used in various fields and industries, including mathematics, computer science, finance, and engineering. They are also commonly used in statistics and data analysis to determine probabilities and make predictions.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
9
Views
3K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
34
Views
3K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
Back
Top