Conditional Probability
Understanding how probabilities change when new information is available, including the Multiplication Rule, Independence, the Theorem of Total Probability, and Bayes' Theorem.
In engineering, we rarely evaluate risks in isolation. Our assessment of a structure's failure probability changes if we already know that a defect was present during construction. This updating of probabilities based on prior knowledge is called conditional probability.
The Concept of Conditional Probability
Adjusting the probability of an event given that another event has already occurred.
Conditional Probability,
The probability that event occurs, given that event has already occurred. It effectively reduces the sample space from to just the outcomes in .
The Multiplication Rule (General)
Used to find the probability that two events and occur simultaneously (). It is a direct rearrangement of the conditional probability formula.
Or, symmetrically:
Independent Events
When the occurrence of one event has absolutely no effect on the probability of another.
In structural engineering, deciding whether the failure of one column affects the failure probability of an adjacent column is a critical assessment of independence.
Independence
Two events and are independent if and only if the knowledge that occurred does not change the probability of occurring. Mathematically, this is expressed as:
Substituting this into the general multiplication rule yields the Special Multiplication Rule for Independent Events:
Independence of Multiple Events
For three events to be mutually independent, they must be pairwise independent (, etc.), AND their joint probability must equal the product of their individual probabilities: .
The Theorem of Total Probability and Bayes' Theorem
Advanced tools for calculating probabilities when an event can occur through multiple, distinct pathways.
The Theorem of Total Probability
If a sample space is partitioned into mutually exclusive and collectively exhaustive events (), then the probability of any event occurring is the sum of the probabilities of occurring in conjunction with each partition.
Engineering Application: If a concrete batch can fail due to poor mixing (), improper curing (), or bad aggregates (), the total probability of failure is the sum of the probabilities of failure given each specific cause, weighted by how frequently each cause occurs.
Bayes' Theorem
A powerful mathematical formula used to update the probabilities of hypotheses when given new evidence. It essentially reverses the conditional probability. If we know the probability of an effect given a cause (), Bayes' Theorem lets us find the probability of a specific cause given that the effect occurred ().
- Prior Probability (): Our initial estimate of the probability of cause before observing the evidence .
- Likelihood (): The probability of observing evidence if cause is true.
- Posterior Probability (): The updated probability of cause after observing the evidence .
Bayes' Theorem Explorer
2.0%
Initial probability of a defect.
95.0%
Probability test is positive when defect is present.
10.0%
Probability test is positive when NO defect is present.
Posterior Probability
16.2%
$P(D|T)$ - Probability it is actually defective given a positive test.
Total Positives $P(T)$11.7%
True Positives $P(T|D) \times P(D)$1.90%
False Positives $P(T|G) \times P(G)$9.80%
Key Takeaways
- Conditional Probability (): The probability of given that has occurred; shrinks the sample space to .
- Multiplication Rule: Used for "A AND B" scenarios ().
- Independence: If and are independent, .
- Theorem of Total Probability: Useful for finding the total probability of an event that can occur across multiple mutually exclusive pathways.
- Bayes' Theorem: Allows engineers to "work backward" from an observed effect (e.g., structural failure) to determine the most likely cause, updating prior beliefs with new evidence.