I'm beginning to study probability and an exercise in the study guide that asks me to calculate: What is the probability that the month January, of one year randomly selected have only four Sundays?
the solution of the book indicates that it's 4 / 7 which is equal to 0.5714 probability that the event occurs, according to what I learned in class the probability of this event can be calculated by counting probability as it is possible to have all elements of the sample space, and all the elements that belong to threw the probability of which is to be calculated.
P (A) = number of cases occurring A / number of cases in the sample space
My question is why the sample space of this experiment is 7 and what is the maximum number of Sundays in January that may have (I think by intuition that can be 5)
This formula applies when it is possible to have all elements of the sample space, and all items pertaining to the event whose probability is to be calculated
The idea is that January can start on any day of the week. If it starts Thursday through Sunday, there are 5 Sundays, while if it starts Monday through Wednesday, there are only 4. So if starting days are evenly distributed, the probability would be 4/7. The maximum number doesn't figure in. The sample space is the starting day of the week.
This answer is close, but not right. In the Gregorian calendar the days repeat in a 400 year cycle as 400*365+97=146097 is divisible by 7. If you look carefully, the start days of January are not (quite) evenly distributed.