Conditional probability defines the probability of an event occurring based on a given condition or prior knowledge of another event.
It is the likelihood of an event occurring, given that another event has already occurred. In probability, this is denoted as A given B, expressed as P(A | B), indicating the probability of event A when the event B has already occurred.
Explanation of the above carousel:
Question: What are the chances that its raining given that you carry an umbrella?
Given:
- It rains 30% of the time
- You carry an umbrella 50% of the time
- When it rains, you carry an umbrella 80% of the time
Implies (for 10 days scenario):
- 3 out of 10 days are rainy. (since 30% of 10 = 3)
- 5 out of 10 days you carry an umbrella. (since 50% of 10 = 5)
- On rainy days, you carry it 2 out of 3 days (since 80% of 3 ~ 2)
Total Umbrella Days:
- Rainy days: 2 out of 3
- Sunny days: 3 out of 7.
- Total umbrella days = 5 (matching the 50% probability).
Conditional Probability:
Out of all umbrella days (5), only 2 days were rainy.
Thus, P(Rain | Carry Umbrella) = 2/5 = 40%.
Let's consider two events A and B, then the formula for the conditional probability of B when A has already occurred is given by:
Where,
- P (A ∩ B) represents the probability of both events A and B occurring simultaneously.
- P(A) represents the probability of event A occurring.
Steps to Find Probability of One Event Given Another Has Already Occurred
To calculate the conditional probability, we can use the following step-by-step method:
Step 1: Identify the Events. Let's call them Event A and Event B.
Step 2: Determine the Probability of Event A i.e., P(A)
Step 3: Determine the Probability of Event B i.e., P(B)
Step 4: Determine the Probability of Event A and B i.e., P(A ∩ B).
Step 5: Apply the Conditional Probability Formula and calculate the required probability.
Conditional Probability Examples
There are various examples of conditional probability as in real life all the events are related to each other and happening any event affects the probability of another event. For example, if it rains, the probability of road accidents increases as roads have less friction. Let's consider some problem-based examples here:
1) Tossing a Coin
Let's consider two events in tossing two coins,
- A: Getting a head on the first coin.
- B: Getting a head on the second coin.Sample space for tossing two coins is:
S = {HH, HT, TH, TT}
The conditional probability of getting a head on the second coin (B) given that we got a head on the first coin (A) is = P(B|A).
Since the coins are independent (one coin's outcome does not affect the other),
P(B|A) = P(B) = 0.5 (50%), which is the probability of getting a head on a single coin toss.
2) Drawing Cards
In a deck of 52 cards where two cards are being drawn, then let's consider the events be.
- A: Drawing a red card on the first draw, and
- B: Drawing a red card on the second draw.
The conditional probability of drawing a red card on the second draw (B) given that we drew a red card on the first draw (A) is = P(B|A)
After drawing a red card on the first draw, there are 25 red cards and 51 cards remaining in the deck.
So, P(B|A) = 25/51 ≈ 0.49 (approximately 49%).
Properties of Conditional Probability
Some of the common properties of conditional property are:
1: Let's consider an event A in any sample space S of an experiment.
P( S | A) = P(A | A) = 1
2: For any two events A and B of a sample space S, and an event X such that P(X) ≠ 0,
P((A ∪ B) | X) = P(A | X) + P(B | X) - P((A ∩ B) | X)
3: The order of sets or events is important in conditional probability, i.e.,
P(A | B) ≠ P(B | A)
4: The complement formula for probability only holds conditional probability if it is given in the context of the first argument in conditional probability i.e.,
P(A’ | B ) = 1 - P( A | B )
P(A | B’) ≠ 1 - P(A | B)
5: For any two or three independent events, the intersection of events can be calculated using the following formula:
- For the intersection of two events A and B
P(A ⋂ B) = P(A) P(B) - For the intersection of three events A, B, and C,
P (A ⋂ B ⋂ C) = P(A) P(B) P(C)
With the help of conditional probability, we can tell apart dependent and independent events. When the probability of one event happening doesn't influence the probability of any other event, then events are called independent, otherwise dependent events.
Conditional Probability of Independent Events
When two events are independent, those conditional probability is the same as the probability of the event individually i.e., P (A | B) is the same as P(A) as there is no effect of event B on the probability of event A. For independent events, A and B, the conditional probability of A and B concerning each other is given as follows:
- P(B | A) = P(B)
- P(A | B) = P(A)
Conditional Probability vs Joint Probability vs Marginal Probability
The difference between Conditional Probability, Joint Probability, and Marginal Probability is given in the following table:
Parameter | Conditional Probability | Joint Probability | Marginal Probability |
---|
Definition | The probability of an event occurring is given. That another event has already occurred. | The probability of two or more events occurring simultaneously. | The probability of an event occurring without considering any other events. |
Calculation | P (A | B) | P (A ∩ B) | P(A) |
Variables involved | Two or more events | Two or more events | Single event. |
Note: Conditional probability is widely used for bayes theoram where we update probabilities based on new evidence, for more details you can refer to: Bayes' Theorem
Multiplication Rule of Probability
Multiplication Rule of Probability, when applied in the context of conditional probability, helps us calculate the probability of the intersection of two events when the probability of one event depends on the occurrence of the other event. This rule is crucial in understanding the joint probability of events under specific conditions.
In the context of conditional probability, the Multiplication Rule is often stated as follows:
P(A ∩ B) = P(A) × P(B ∣ A )
Here's what each term represents:
- P(A∩B): This denotes the probability that both events A and B occur simultaneously.
- P(A): This represents the probability of event A happening.
- P(B∣A): This is the conditional probability of event B occurring given that event A has already occurred.
How to Apply the Multiplication Rule?
To apply the Multiplication Rule in the context of conditional probability, we can use the following steps:
- First, we calculate the probability of event A occurring.
- Then, we compute the probability of event B occurring given that event A has occurred.
- Multiplying these probabilities together gives us the joint probability of both events happening under the specified conditions.
- This rule is particularly useful when dealing with events that are not independent,meaning that the occurrence of one event affects the probability of the other event.
Applications of Conditional Probability
Various applications of conditional probability are,
Finance and Risk Management
- Example: Assessing the probability of default for a borrower given certain financial indicators.
- Application: Banks and financial institutions use conditional probability to evaluate the risk associated with loans and investments.
Healthcare and Diagnostics
- Example: Determining the probability of a patient having a specific disease given the results of diagnostic tests.
- Application: Conditional probability is crucial in medical diagnoses and decision-making, helping healthcare professionals make informed decisions based on test results.
Marketing and Customer Relationship Management (CRM)
- Example: Predicting the probability of a customer making a purchase based on their past buying behavior.
- Application: Businesses use conditional probability to tailor marketing strategies, optimize customer experiences, and personalize product recommendations.
Machine Learning and Artificial Intelligence
- Example: Predicting the likelihood of a user clicking on a particular ad based on their online behavior.
- Application: Conditional probability is fundamental in machine learning algorithms for tasks such as classification, recommendation systems, and natural language processing.
Weather Forecasting
- Example: Estimating the probability of rain tomorrow given today's weather conditions.
- Application: Meteorologists use conditional probability to make weather predictions based on historical data and current atmospheric conditions.
Solved Examples of Conditional Probability
Question 1: A bag contains 5 red balls and 7 blue balls. Two balls are drawn without replacement. What is the probability that the second ball drawn is red, given that the first ball drawn was red?
Solution:
Let the events be,
Event A: The first ball drawn is red.
Event B: The second ball drawn is red.
P(A) = 5/12 and P(B) = 4/11 (as first ball drawn is already red, thus only 4 red balls remain in the bag)
Therefore, probability of the second ball drawn being red given that the first ball drawn was red is 4/11.
Question 2: In a survey among a group of students, 70% play football, 60% play basketball, and 40% play both sports. If a student is chosen at random and it is known that the student plays basketball, what is the probability that the student also plays football?
Solution:
Let's assume there are 100 students in the survey.
Number of students who play football = n(A) = 70
Number of students who play basketball = n(B) = 60
Number of students who play both sports = n(A ∩ B) = 40
To find the probability that a student plays football given that they play basketball, we use the conditional probability formula:
P(A|B) = n(A ∩ B) / n(B)
Substituting the values, we get:
P(A|B) = 40 / 60 = 2/3
Therefore, probability that a randomly chosen student who plays basketball also plays football is 2/3.
Question 3: In a certain city, it rains 30% of the day. A weather forecaster correctly predicts rain 80% of the time when it rains, and correctly predicts no rain 90% of the time when it doesn't rain. If the forecast predicts rain, what is the probability that it will rain?
Solution:
Let R be the event that it rains, and F be the event that rain is forecast.
P(R|F) = P(F|R) × P(R) / P(F)
P(F) = P(F|R) × P(R) + P(F|not R) × P(not R) = 0.8 × 0.3 + 0.1 × 0.7 = 0.31
P(R|F) = (0.8 × 0.3) / 0.31 = 0.7742
Question 4: A fair die is rolled twice. Given that the sum of the two rolls is even, what is the probability that the first roll was an even number?
Solution:
Total favorable outcomes for an even sum:
Both rolls even: 9 outcomes (e.g., (2, 2), (2, 4), ...)
Both rolls odd: 9 outcomes (e.g., (1, 1), (1, 3), ...)
Total = 18 outcomes.
Favorable outcomes where the first roll is even:
First roll even (2, 4, 6), second roll even (2, 4, 6): 9 outcomes.
Conditional probability: P(First roll even | Sum even) = 9 / 18 = 1 / 2
Question 5: In a bag, there are 4 red balls and 6 blue balls. Two balls are drawn without replacement. What is the probability that the second ball is red, given that the first ball drawn was blue?
Solution:
After drawing a blue ball, there are 4 red balls and 5 blue balls left.
P(Second is red | First was blue) = 4 / (4 + 5) = 4/9 = 0.444
Unsolved Question of Conditional Probability
Question 1: A deck of cards has 52 cards, with 13 cards in each suit( hearts, diamonds, clubs, and spades). Twi cards are drawn without replacement. what is probablility that second card drawn is heart, given that he first card drawn was a heart?
Question 2: In a survey of 100 people like ice cream, 50 people like cake, and like 20 people like both icecream and cake. If person is chosen at random and it is known that they like icecream, what is probability that they also like cake?
Question 3: A box contain 6 red balls and 4 green balls. Two balls are drawn without replacement. What is the probability that the second ball is green, given that first ball drawn was red?
Question 4: In class of 30 sudents, 12 studentdre wearing glasses. A studemt us randomly selected, it is known that the students is wearing glasses. What is probability that the student is wearing glasses. What is probability that the studnets is male, given that 8 males in the class are wearing glasses?
Question 5: In a factory, 80% of the products are defective, and 90% of the defective products are found in one particular warehouse. If a product is selected from the warehouse, what is the probability that it is defective?
Suggested Quiz
10 Questions
What is the conditional probability formula used to compute P(A|B)?
Explanation:
Formula for Conditional Probability : P(A|B) = P(A ∩ B) / P(B)
In a scenario where two events A and B are independent, which statement is true regarding their conditional probabilities?
Explanation:
When two events are independent the occurring or non occurring of an event does not affect the probability of the other event.
If the probability of event A is 0.4 and the probability of event B is 0.5, what is the maximum possible value of P(A ∩ B)?
Explanation:
The maximum possible value of P(A∩B) is the smaller of P(A) and P(B). Therefore:[Tex]P(A \cap B) \leq \min(0.4, 0.5) = 0.4[/Tex]
Given two events A and B, if P(A) = 0.7 and P(B) = 0.2, what is the minimum value of P(A ∩ B)?
Explanation:
In case of mutually exclusive events where the sample space do not overlap then P(A ∩ B) = 0
As there are zero sample space corresponding to both event simultaneously.
In a situation where the probability of event A is 0.3 and the probability of event B is 0.4, and they are independent, what is P(A ∩ B)?
Explanation:
In case of independent events P(A ∩ B) = P(A) × P(B)
then P(A ∩ B) = 0.4 × 0.3 = 0.12
If the probability of event B occurring is 0.6, and the conditional probability of event A given B is 0.5, what is the probability of both A and B occurring?
Explanation:
By using the formula of conditional probability: [Tex]P(A|B) = \frac{P(A \cap B)}{P(B)}[/Tex]
P(A|B) = 0.5
P(B) = 0.6
then putting these values in the formula
0.5 = [Tex]\frac{P(A\cap B)}{0.6}[/Tex]
[Tex]P(A\cap B) = 0.5 \times 0.6 = 0.30 [/Tex]
[Tex]P(A \cap B) = 0.3[/Tex]
In a group of 100 students, 60 play cricket, 50 play football, and 30 play both. If a student is selected at random, what is the probability that the student plays cricket given that the student plays football?
Explanation:
C = playing cricket
F = playing football.
P(F)=10050=0.5.
Number of students playing both = 30.
P(C∩F)=10030=0.3.
Probability that a student plays cricket given they play football: P(C∣F)=P(F)P(C∩F)=0.50.3=0.6
In a class, 60% of the students are girls, and 70% of the students like math. If 80% of the girls like math, what is the probability that a randomly selected math-loving student is a girl?
Explanation:
G = student is a girl
M = student likes math.
We need to find P(G∣M).
Given:
P(G)=0.6
P(M)=0.7
P(M∣G)=0.8
Using Bayes' theorem:
[Tex] P(G \mid M) = \frac{P(M \mid G) \cdot P(G)}{P(M)} = \frac{0.8 \times 0.6}{0.7} = \frac{0.48}{0.7} \approx 0.686[/Tex]
A factory has two machines producing widgets. Machine A produces 60% of the widgets, and Machine B produces 40%. 3% of the widgets produced by Machine A are defective, and 5% of the widgets produced by Machine B are defective. If a randomly selected widget is defective, what is the probability that it was produced by Machine A?
Explanation:
A = widget is from Machine A
D = widget is defective.
Given:
P(A)=0.6
P(D∣A)=0.03
P(D∣B)=0.05
We need to find P(A∣D).
Using Bayes' theorem:
[Tex]P(A \mid D) = \frac{P(D \mid A) \cdot P(A)}{P(D)} [/Tex]
where, [Tex]P(D) = P(D \mid A) \cdot P(A) + P(D \mid B) \cdot P(B)[/Tex]
[Tex]P(D) = 0.03 \cdot 0.6 + 0.05 \cdot 0.4 = 0.018 + 0.02 = 0.038[/Tex]
[Tex]P(A \mid D) = \frac{0.03 \times 0.6}{0.038} = \frac{0.018}{0.038} \approx 0.474[/Tex]
If the probability of event A is 0.2 and the probability of event B is 0.3, what is the probability of A or B occurring if A and B are mutually exclusive?
Explanation:
For mutually Exclusive events P(A or B) = P(A) + P(B)
P(A or B) = 0.3 + 0.2 = 0.5
Quiz Completed Successfully
Your Score : 2/10
Accuracy : 0%
Login to View Explanation
1/10
1/10
< Previous
Next >
Similar Reads
Maths Mathematics, often referred to as "math" for short. It is the study of numbers, quantities, shapes, structures, patterns, and relationships. It is a fundamental subject that explores the logical reasoning and systematic approach to solving problems. Mathematics is used extensively in various fields
5 min read
Basic Arithmetic
What are Numbers?Numbers are symbols we use to count, measure, and describe things. They are everywhere in our daily lives and help us understand and organize the world.Numbers are like tools that help us:Count how many things there are (e.g., 1 apple, 3 pencils).Measure things (e.g., 5 meters, 10 kilograms).Show or
15+ min read
Arithmetic OperationsArithmetic Operations are the basic mathematical operationsâAddition, Subtraction, Multiplication, and Divisionâused for calculations. These operations form the foundation of mathematics and are essential in daily life, such as sharing items, calculating bills, solving time and work problems, and in
9 min read
Fractions - Definition, Types and ExamplesFractions are numerical expressions used to represent parts of a whole or ratios between quantities. They consist of a numerator (the top number), indicating how many parts are considered, and a denominator (the bottom number), showing the total number of equal parts the whole is divided into. For E
7 min read
What are Decimals?Decimals are numbers that use a decimal point to separate the whole number part from the fractional part. This system helps represent values between whole numbers, making it easier to express and measure smaller quantities. Each digit after the decimal point represents a specific place value, like t
10 min read
ExponentsExponents are a way to show that a number (base) is multiplied by itself many times. It's written as a small number (called the exponent) to the top right of the base number.Think of exponents as a shortcut for repeated multiplication:23 means 2 x 2 x 2 = 8 52 means 5 x 5 = 25So instead of writing t
9 min read
PercentageIn mathematics, a percentage is a figure or ratio that signifies a fraction out of 100, i.e., A fraction whose denominator is 100 is called a Percent. In all the fractions where the denominator is 100, we can remove the denominator and put the % sign.For example, the fraction 23/100 can be written a
5 min read
Algebra
Variable in MathsA variable is like a placeholder or a box that can hold different values. In math, it's often represented by a letter, like x or y. The value of a variable can change depending on the situation. For example, if you have the equation y = 2x + 3, the value of y depends on the value of x. So, if you ch
5 min read
Polynomials| Degree | Types | Properties and ExamplesPolynomials are mathematical expressions made up of variables (often represented by letters like x, y, etc.), constants (like numbers), and exponents (which are non-negative integers). These expressions are combined using addition, subtraction, and multiplication operations.A polynomial can have one
9 min read
CoefficientA coefficient is a number that multiplies a variable in a mathematical expression. It tells you how much of that variable you have. For example, in the term 5x, the coefficient is 5 â it means 5 times the variable x.Coefficients can be positive, negative, or zero. Algebraic EquationA coefficient is
8 min read
Algebraic IdentitiesAlgebraic Identities are fundamental equations in algebra where the left-hand side of the equation is always equal to the right-hand side, regardless of the values of the variables involved. These identities play a crucial role in simplifying algebraic computations and are essential for solving vari
14 min read
Properties of Algebraic OperationsAlgebraic operations are mathematical processes that involve the manipulation of numbers, variables, and symbols to produce new results or expressions. The basic algebraic operations are:Addition ( + ): The process of combining two or more numbers to get a sum. For example, 3 + 5 = 8.Subtraction (â)
3 min read
Geometry
Lines and AnglesLines and Angles are the basic terms used in geometry. They provide a base for understanding all the concepts of geometry. We define a line as a 1-D figure that can be extended to infinity in opposite directions, whereas an angle is defined as the opening created by joining two or more lines. An ang
9 min read
Geometric Shapes in MathsGeometric shapes are mathematical figures that represent the forms of objects in the real world. These shapes have defined boundaries, angles, and surfaces, and are fundamental to understanding geometry. Geometric shapes can be categorized into two main types based on their dimensions:2D Shapes (Two
2 min read
Area and Perimeter of Shapes | Formula and ExamplesArea and Perimeter are the two fundamental properties related to 2-dimensional shapes. Defining the size of the shape and the length of its boundary. By learning about the areas of 2D shapes, we can easily determine the surface areas of 3D bodies and the perimeter helps us to calculate the length of
10 min read
Surface Areas and VolumesSurface Area and Volume are two fundamental properties of a three-dimensional (3D) shape that help us understand and measure the space they occupy and their outer surfaces.Knowing how to determine surface area and volumes can be incredibly practical and handy in cases where you want to calculate the
10 min read
Points, Lines and PlanesPoints, Lines, and Planes are basic terms used in Geometry that have a specific meaning and are used to define the basis of geometry. We define a point as a location in 3-D or 2-D space that is represented using coordinates. We define a line as a geometrical figure that is extended in both direction
14 min read
Coordinate Axes and Coordinate Planes in 3D spaceIn a plane, we know that we need two mutually perpendicular lines to locate the position of a point. These lines are called coordinate axes of the plane and the plane is usually called the Cartesian plane. But in real life, we do not have such a plane. In real life, we need some extra information su
6 min read
Trigonometry & Vector Algebra
Trigonometric RatiosThere are three sides of a triangle Hypotenuse, Adjacent, and Opposite. The ratios between these sides based on the angle between them is called Trigonometric Ratio. The six trigonometric ratios are: sine (sin), cosine (cos), tangent (tan), cotangent (cot), cosecant (cosec), and secant (sec).As give
4 min read
Trigonometric Equations | Definition, Examples & How to SolveTrigonometric equations are mathematical expressions that involve trigonometric functions (such as sine, cosine, tangent, etc.) and are set equal to a value. The goal is to find the values of the variable (usually an angle) that satisfy the equation.For example, a simple trigonometric equation might
9 min read
Trigonometric IdentitiesTrigonometric identities play an important role in simplifying expressions and solving equations involving trigonometric functions. These identities, which include relationships between angles and sides of triangles, are widely used in fields like geometry, engineering, and physics. Some important t
10 min read
Trigonometric FunctionsTrigonometric Functions, often simply called trig functions, are mathematical functions that relate the angles of a right triangle to the ratios of the lengths of its sides.Trigonometric functions are the basic functions used in trigonometry and they are used for solving various types of problems in
6 min read
Inverse Trigonometric Functions | Definition, Formula, Types and Examples Inverse trigonometric functions are the inverse functions of basic trigonometric functions. In mathematics, inverse trigonometric functions are also known as arcus functions or anti-trigonometric functions. The inverse trigonometric functions are the inverse functions of basic trigonometric function
11 min read
Inverse Trigonometric IdentitiesInverse trigonometric functions are also known as arcus functions or anti-trigonometric functions. These functions are the inverse functions of basic trigonometric functions, i.e., sine, cosine, tangent, cosecant, secant, and cotangent. It is used to find the angles with any trigonometric ratio. Inv
9 min read
Calculus
Introduction to Differential CalculusDifferential calculus is a branch of calculus that deals with the study of rates of change of functions and the behaviour of these functions in response to infinitesimal changes in their independent variables.Some of the prerequisites for Differential Calculus include:Independent and Dependent Varia
6 min read
Limits in CalculusIn mathematics, a limit is a fundamental concept that describes the behaviour of a function or sequence as its input approaches a particular value. Limits are used in calculus to define derivatives, continuity, and integrals, and they are defined as the approaching value of the function with the inp
12 min read
Continuity of FunctionsContinuity of functions is an important unit of Calculus as it forms the base and it helps us further to prove whether a function is differentiable or not. A continuous function is a function which when drawn on a paper does not have a break. The continuity can also be proved using the concept of li
13 min read
DifferentiationDifferentiation in mathematics refers to the process of finding the derivative of a function, which involves determining the rate of change of a function with respect to its variables.In simple terms, it is a way of finding how things change. Imagine you're driving a car and looking at how your spee
2 min read
Differentiability of a Function | Class 12 MathsContinuity or continuous which means, "a function is continuous at its domain if its graph is a curve without breaks or jumps". A function is continuous at a point in its domain if its graph does not have breaks or jumps in the immediate neighborhood of the point. Continuity at a Point: A function f
11 min read
IntegrationIntegration, in simple terms, is a way to add up small pieces to find the total of something, especially when those pieces are changing or not uniform.Imagine you have a car driving along a road, and its speed changes over time. At some moments, it's going faster; at other moments, it's slower. If y
3 min read
Probability and Statistics
Basic Concepts of ProbabilityProbability is defined as the likelihood of the occurrence of any event. It is expressed as a number between 0 and 1, where 0 is the probability of an impossible event and 1 is the probability of a sure event.Concepts of Probability are used in various real life scenarios : Stock Market : Investors
7 min read
Bayes' TheoremBayes' Theorem is a mathematical formula used to determine the conditional probability of an event based on prior knowledge and new evidence. It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities ba
13 min read
Probability Distribution - Function, Formula, TableA probability distribution is a mathematical function or rule that describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment.While a Frequency Distribution shows
13 min read
Descriptive StatisticStatistics is the foundation of data science. Descriptive statistics are simple tools that help us understand and summarize data. They show the basic features of a dataset, like the average, highest and lowest values and how spread out the numbers are. It's the first step in making sense of informat
5 min read
What is Inferential Statistics?Inferential statistics is an important tool that allows us to make predictions and conclusions about a population based on sample data. Unlike descriptive statistics, which only summarize data, inferential statistics let us test hypotheses, make estimates, and measure the uncertainty about our predi
7 min read
Measures of Central Tendency in StatisticsCentral tendencies in statistics are numerical values that represent the middle or typical value of a dataset. Also known as averages, they provide a summary of the entire data, making it easier to understand the overall pattern or behavior. These values are useful because they capture the essence o
11 min read
Set TheorySet theory is a branch of mathematics that deals with collections of objects, called sets. A set is simply a collection of distinct elements, such as numbers, letters, or even everyday objects, that share a common property or rule.Example of SetsSome examples of sets include:A set of fruits: {apple,
3 min read
Practice