ENG 301 · Engineering Mathematics IV (Probability and Statistics)
Our notes
2 min readConditional probability
The probability of A given that B has happened: P(A | B) = P(A ∩ B)/P(B), P(B) > 0.
Multiplication rule: P(A ∩ B) = P(B) P(A | B) = P(A) P(B | A).
Worked example. Two fuses are drawn without replacement from a box of 10, 2 of them blown. P(both blown) = (2/10)(1/9) = 1/45 ≈ 0.022.
Independence
A and B are independent if P(A ∩ B) = P(A) P(B), i.e. P(A | B) = P(A). For several events, every sub-collection must multiply.
- Independent is not the same as mutually exclusive: two exclusive events with non-zero probabilities are always dependent (if one happens the other can't).
Total probability
If B₁, …, Bₙ split S into exclusive, exhaustive parts:
P(A) = Σ P(A | Bᵢ) P(Bᵢ).
Bayes' theorem
P(Bₖ | A) = P(A | Bₖ) P(Bₖ) / Σ P(A | Bᵢ) P(Bᵢ): it turns "probability of the effect given the cause" into "probability of the cause given the effect".
Worked example. Machines A, B and C make 50%, 30% and 20% of a factory's output, with defect rates 1%, 2% and 3%.
P(defective) = 0.5(0.01) + 0.3(0.02) + 0.2(0.03) = 0.005 + 0.006 + 0.006 = 0.017.
A defective item is found. P(it came from A) = 0.005/0.017 = 0.294; from C = 0.006/0.017 = 0.353. Machine C makes the fewest items but is the likeliest source of a defect.
Worked example (testing). A fault detector catches 95% of real faults and gives a false alarm 2% of the time; 1% of units are faulty. P(faulty | alarm) = 0.0095/(0.0095 + 0.0198) = 0.0095/0.0293 = 0.32. Most alarms are false when faults are rare: that's why a second test is used.
Bernoulli trials
Repeated independent trials, each with two outcomes (success with probability p, failure q = 1 − p), and p the same each time.
- P(k successes in n trials) = ⁿCₖ pᵏ qⁿ⁻ᵏ (the binomial law, next topic but one).
- P(at least one success in n trials) = 1 − qⁿ.
Worked example. Each of 5 independent welds has a 10% chance of a defect. P(at least one defective weld) = 1 − 0.9⁵ = 1 − 0.590 = 0.410.
- The number of trials until the first success is geometric: P(first success on trial k) = qᵏ⁻¹p, mean 1/p.
Exams usually ask: compute conditional probabilities from tables or trees; test independence; total probability and Bayes problems (machines, tests, channels); Bernoulli trial problems.
Common mistake: mixing up P(A | B) with P(B | A). "95% of faults set off the alarm" is P(alarm | fault), not P(fault | alarm); Bayes' theorem links them.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introductory Statistics 2e, 3.2 Independent and Mutually Exclusive Events
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 3.2 Independent and Mutually Exclusive Events, CC BY-NC-SA 4.0 · licence
-
Introductory Statistics 2e, 3.5 Tree and Venn Diagrams
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 3.5 Tree and Venn Diagrams, CC BY-NC-SA 4.0 · licence
-
Bayes' Theorem
(opens onlinestatbook.com in a new tab)
Online Statistics Education, Bayes' Theorem (public domain)
-
Bayes' theorem
(opens en.wikipedia.org in a new tab)
Wikipedia, Bayes' theorem, CC BY-SA 4.0 · licence
Watch
-
Conditional probability and independence | Probability | AP Statistics | Khan Academy
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Calculating conditional probability | Probability and Statistics | Khan Academy
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
Bayes theorem, the geometry of changing beliefs
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
The quick proof of Bayes' theorem
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.