Probability - Your Secret Weapon for Smarter Choices
- Ashish J. Edward
- Sep 7, 2023
- 8 min read
Updated: Nov 2, 2024

Probability is like a measuring stick for uncertainty. It's a number between 0 and 1. If something's got a probability of 0, it's like saying, "No way, it's never going to happen." If it's 1, it's a sure thing, like the sun rising tomorrow. Everything else is somewhere in the middle.
The Classic Coin Toss
Let's start with something simple: flipping a coin. You've got heads on one side, tails on the other. Flip it, and you've got an equal shot at either outcome. That's why the probability is 0.5. It's like having two doors to choose from, and there's a prize behind each one.
Why Does It Matter?
Now, you might be thinking, "Okay, but why do I care about coin tosses?" Well, probability isn't just about games. It's everywhere in life.
Weather Forecasting : Ever heard the weather report say there's a 60% chance of rain? That's probability. It's like the meteorologist's best guess based on the data they have.
Investing : Think about the stock market. Investors use probability to figure out the risks and rewards of different investments. It's like gambling, but with a lot more data and analysis.
Banking: Banks use probability to assess the risk of lending money. It's like evaluating how likely someone is to pay back a loan based on their credit history.
Online Shopping Recommendations: E-commerce sites use probability algorithms to suggest products. It's like having a virtual shopping assistant who knows what you might like.
Disaster Preparedness: Governments use probability to assess the risk of natural disasters like earthquakes or floods. It's like having an early warning system to protect people.
Wildlife Conservation: Biologists use probability to predict animal migration patterns and protect endangered species.
Political Campaigning: Politicians use probability to target key demographics and tailor messages. It's like speaking directly to the voters who matter most.
Buying Insurance: It's like betting against yourself. You're paying a little bit now because there's a small chance you might need a lot of money later. That's probability at work.
Artificial Intelligence: AI systems use probability to learn and make decisions. It's like teaching a robot to think, one probability equation at a time.
Dating Apps : Algorithms in dating apps use probability to match potential partners. It's like having a digital Cupid aiming his arrows based on compatibility scores.
Music Streaming Services: Platforms like Spotify use probability to suggest songs and create personalized playlists. It's like having a DJ who knows your musical taste.
Emergency Response: Emergency services use probability to predict where accidents might occur and position resources. It's like having a guardian angel watching over a city.
Archaeology: Archaeologists use probability to decide where to dig for historical artifacts. It's like a treasure hunt guided by mathematical clues.
Video Games: Game developers use probability to create challenging and engaging experiences. It's like weaving luck and skill into a digital adventure.
Social Media Algorithms: Platforms like Facebook use probability to show you content you might like. It's like having a personalized magazine every time you scroll.
Generative AI based on LLM models work on simple concepts like probability played billions of times using fast computers. Learn more in the link to the video
So, probability isn't just some abstract math concept,it's like having a compass in the wilderness of uncertainty. You might not know exactly what's around the next bend, but with probability, you have a tool to help you make the best guess. And in a world that's full of surprises, that's something we can all use.
Probability Rules
1. Sum Rule
The sum rule of probability is applicable when dealing with mutually exclusive events. Mutually exclusive events are events that cannot happen simultaneously. For example, when you roll a fair six-sided die, the outcome can be any one of the six faces, but not more than one face at the same time.
The sum rule states that the probability of either of two mutually exclusive events happening is the sum of their individual probabilities. Mathematically, if A and B are two mutually exclusive events, then P(A or B)=P(A)+P(B)
Example 1 : Consider a deck of 52 playing cards. The probability of drawing an Ace (Event A) is 4/52, and the probability of drawing a King (Event B) is 4/52. Since you cannot draw an Ace and a King simultaneously with a single draw, these events are mutually exclusive. Using the sum rule: P(A or B)= 4/52 + 4/52 = 8/52
2. Product Rule
The product rule of probability is used when dealing with independent events. Independent events are those where the occurrence of one event does not affect the occurrence of the other. The product rule states that the probability of both of two independent events happening is the product of their individual probabilities. Mathematically, if A and B are two independent events, then P(A and B)=P(A)×P(B).
Example 2 : Consider flipping two fair coins. The probability of getting heads on the first coin (Event A) is 0.5, and the probability of getting heads on the second coin (Event B) is also 0.5. Since the outcome of the first coin does not affect the outcome of the second, these events are independent. Using the product rule: P(A and B)=0.5×0.5=0.25
Example 3 : Imagine you have two bags of marbles. Bag A contains 4 red and 6 blue marbles, and Bag B contains 5 red and 5 blue marbles. You randomly choose a bag and then randomly pick a marble from that bag.
Questions1 : What's the probability of picking a red marble (using the sum rule)?
Answer :
Probability of Picking a Red Marble from Bag A : There are 4 red marbles out of a total of 10 marbles in Bag A. So, the probability of picking a red marble from Bag A is 4/10 = 0.4.
Probability of Picking a Red Marble from Bag B : There are 5 red marbles out of a total of 10 marbles in Bag B. So, the probability of picking a red marble from Bag B is 5/10 = 0.5.
Total Probability of Picking a Red Marble (Using the Sum Rule) : Since you have an equal chance of picking either bag, you multiply the probability of picking each bag (0.5) by the probability of picking a red marble from that bag, and then add the results.
(Probability of choosing Bag A * Probability of red from Bag A) + (Probability of choosing Bag B * Probability of red from Bag B)
(0.5 * 0.4) + (0.5 * 0.5) = 0.2 + 0.25 = 0.45
Conclusion: The probability of picking a red marble from either Bag A or Bag B is 0.45, or 45%.This calculation illustrates the sum rule of probability, where you add the probabilities of different ways an event can occur. It's like having two paths to reach a destination, and you're calculating the total likelihood of getting there by either path.
Question 2 - What's the probability of picking a red marble from Bag A, given that you've picked a red marble (using the product rule)?
Given:
Bag A: Contains 4 red and 6 blue marbles (total 10 marbles)
Bag B: Contains 5 red and 5 blue marbles (total 10 marbles)
Probability of choosing Bag A or Bag B = 0.5
Probability of picking a red marble from Bag A = 0.4
Probability of picking a red marble from Bag B = 0.5
Total probability of picking a red marble (from question 1) = 0.45
Calculation:
Probability of Picking a Red Marble from Bag A Given that You've Picked a Red Marble (Using the Product Rule):
We want to find P(A | Red), the probability that the red marble came from Bag A.
We'll use Bayes' theorem, which is a specific application of the product rule . P(A | Red) = (P(Red | A) * P(A)) / P(Red)
P(Red | A) is the probability of picking a red marble from Bag A, which is 0.4. P(A) is the probability of choosing Bag A, which is 0.5.
P(Red) is the total probability of picking a red marble, which is 0.45.
So, P(A | Red) = (0.4 * 0.5) / 0.45 ≈ 0.4444
Answer : The probability of picking a red marble from Bag A, given that you've picked a red marble, is approximately 0.4444, or 44.44%.This calculation illustrates the product rule of probability, where you multiply the probabilities of related events. It's like following a chain of clues to find a hidden treasure, where each clue leads you closer to the answer. In this case, the "treasure" is the likelihood that the red marble came from Bag A.
Question 3 : What's the probability of picking a red marble from Bag B, given that you've picked a red marble (combining both rules)?
Calculation:
Probability of Picking a Red Marble from Bag B Given that You've Picked a Red Marble (Combining Both Rules):
We want to find P(B | Red), the probability that the red marble came from Bag B.
Since there are only two bags, the probabilities of the red marble coming from Bag A or Bag B must add up to 1.
So, P(B | Red) = 1 - P(A | Red)
From question 2, we found that P(A | Red) ≈ 0.4444
Therefore, P(B | Red) = 1 - 0.4444 ≈ 0.5556
Answer : The probability of picking a red marble from Bag B, given that you've picked a red marble, is approximately 0.5556, or 55.56%.
Types of Probability
This is like exploring different flavours of ice cream, each with its unique taste and texture. So, grab a spoon, and let's dig in !
1. Classical Probability : Imagine you're flipping a coin. It's like a 50-50 dance between heads and tails. Classical probability deals with scenarios where all outcomes are equally likely. It's the simplest form, calculated by dividing the number of favourable outcomes by the total possible outcomes. In the coin's case, it's 1/2 or 0.5 for heads (or tails). Example: Rolling a fair six-sided die. The probability of getting a 3 is 1/6, as there are six equally likely outcomes. P(E) = Number of favourable outcomes / Total number of possible outcomes.
2. Empirical Probability : Ever noticed how weather forecasts are sometimes off? That's where empirical probability comes into play. It's based on observations and experiments, like tracking how many times it rained on a Tuesday over a year. It's the real-world flavour, where you taste and see what happens. Example: If it rained 10 out of 50 Tuesdays, the empirical probability of rain on a Tuesday is 10/50 or 0.2. P(E)= Total number of trials or observations / Number of times event E occurred
3. Subjective Probability : This one's like your favourite ice cream flavour; it's personal. Subjective probability is based on individual judgment, beliefs, or intuition. It's not always backed by data but rather by gut feeling or expertise. Example: A football coach's belief that his team has a 70% chance of winning the next game, based on his understanding of the team's strengths and weaknesses.
4. Conditional Probability : Imagine you're at an ice cream parlor, and you want chocolate. But what if they only serve chocolate in a cone? Conditional probability deals with the likelihood of an event, given that another event has occurred. It's like a two-step dance, where one move leads to the next. Example: The probability of getting chocolate ice cream, given that you're having a cone, might be 0.4 if 4 out of 10 cone orders are chocolate.
5. Joint Probability : This is where things get fun, like mixing two ice cream flavours. Joint probability is the chance of two events happening simultaneously. It's like the magic that occurs when chocolate meets vanilla in a swirl. Example: The probability of picking a red card and a queen from a standard deck of cards is 2/52, as there are two red queens in a 52-card deck.
6. Marginal Probability : Think of this as the chance of enjoying just one flavour in a multi-flavour ice cream scoop. It's the probability of a single event occurring, ignoring other events. Example: In a city where 60% of people prefer cones and 40% prefer cups, the marginal probability of someone choosing a cone is 0.6.
Types of probability are like different paths to understanding the world around us. From the toss of a coin to predicting rain, from trusting our gut to mixing flavors, probability is the mathematical melody to life's dance. It's not just numbers; it's a way to make sense of uncertainty, to find patterns in chaos, and to enjoy the delightful unpredictability of life. Whether you're a mathematician or an ice cream lover, probability has a flavour for you!
Comments