Probability Fundamentals & Bayes

Probability quantifies uncertainty. Learn experiments, sample spaces and events, the axioms, complements, unions and intersections, conditional probability, independence, the multiplication rule, total probability, Bayes' theorem, and reliability of series and parallel systems.

Component failures, defect rates, communication errors, sensor false alarms and load uncertainties are all probabilistic. Engineers use probability to design reliable systems and interpret test results correctly.

An analogy

Probability is like the long-run fraction of times something happens if you could repeat the experiment endlessly — a coin lands heads about half the time.

Events and counting

For equally likely outcomes P(A) = favourable/total. Complement rule: P(at least one) = 1 − P(none) — often the easiest route.

Conditional probability and independence

P(A|B) updates probability given information. Independence means knowing B tells nothing about A. Components sharing a power supply or environment are often NOT independent (common-cause failures).

Bayes' theorem

Reverses conditioning: from P(test positive | defect) to P(defect | test positive). With rare defects, even accurate tests give many false positives (base-rate fallacy).

System reliability

Series system works only if all work: R = ΠRᵢ. Parallel (redundant) fails only if all fail: R = 1 − Π(1 − Rᵢ). Complex networks use decomposition, fault trees and Monte Carlo.

Formulas

Worked example: Bayes: inspection test

Given: Defect rate 2 %, test sensitivity 95 %, false-positive rate 5 %

Find: P(defective | positive).

Answer: ≈ 28 % — most alarms are false

Worked example: Reliability

Given: Three components R = 0.95 in series; two R = 0.9 in parallel

Find: System reliabilities.

Answer: 0.857 and 0.99

Common mistakes

Applications

Key takeaways

Going further