Probability
Definition and laws of probability. Types of events, conditional probability, law of total probability and Bayes' theorem.
Basic concepts and properties
Definition of probability. Laplace's law
Definition of probability. Laplace's law
Properties:
Probability of the union:
Probability of the difference:
De Morgan's laws of probability:
Types of events and conditional probability
Mutually exclusive events: We check if two events A and B are mutually exclusive if they verify:
Mutually exclusive events: We check if two events A and B are mutually exclusive if they verify:
Independent events: We check if two events A and B are independent if they verify:
If two events are mutually exclusive (they cannot occur at the same time), they CANNOT be independent.
Conditional probability:
Law of total probability and Bayes' Theorem
Law of total probability: Let be pairwise mutually exclusive events whose union is the sample space (E), then, the probability of any other event B is given by:
Law of total probability: Let be pairwise mutually exclusive events whose union is the sample space (E), then, the probability of any other event B is given by:
Example: Out of 60 high school students, 25 are freshmen and 35 are sophomores. 60% of the freshmen pass physics, and 75% of the sophomores do. A student is chosen at random. What is the probability that they pass physics?
Solution: Let the events be:
Solution: Let the events be:
- : freshmen students, with
- : sophomore students, with
- : students who pass physics, and is what is asked:
where
Probability of passing physics if they are a freshman
Probability of passing physics if they are a sophomore . Then:
Probability of passing physics if they are a freshman
Probability of passing physics if they are a sophomore . Then:
Bayes' Theorem, posterior probability: Let be pairwise mutually exclusive whose union is the sample space, and let B be an event compatible with . Then the posterior probability, that occurs having occurred B will be: