Basic Probability Notations and Examples
Probability is the branch of mathematics that deals with the likelihood of occurrence of an event. The probability of an event ranges from 0 to 1, where:
- 0 indicates an impossible event.
- 1 indicates a certain event.
Probability is widely used in Artificial Intelligence, Machine Learning, Statistics, Data Science, and Decision Making.
1. Sample Space (S)
The sample space is the set of all possible outcomes of an experiment.
Example: When a die is rolled, S = {1, 2, 3, 4, 5, 6}.
2. Event (A)
An event is a subset of the sample space.
Example: Event A = Getting an even number, so A = {2, 4, 6}.
3. Probability of an Event
The probability of an event is calculated as:
P(A) = (Number of favorable outcomes) / (Total number
...