Skip to content

Bayes' Theorem

Probability and Statistics · FE Reference Handbook section

Probability and Statistics
4 formulas
10 exam-style examples
~53 min
All Probability and Statistics lectures

Learning objectives

What you must be able to do before leaving this section.

This chapter section covers Bayes' Theorem within Probability and Statistics. Read it the way you would read a textbook chapter: the theory first so the relations mean something, then every equation with its use and its trap, then 10 fully worked examples with the arithmetic shown line by line, and finally a self-check you should be able to answer without notes.

  • Explain, in your own words, what bayes' theorem describes physically and when it applies.
  • State every one of the 4 relations the handbook lists here and name each symbol with its unit.
  • Select the correct relation from the wording of an exam stem within 20 seconds.
  • Carry a complete solution from givens to a "most nearly" answer with the correct unit.
  • Recognise the distractors generated by the unit trap: probabilities are dimensionless and must land in [0, 1].

Lecture

Why this section exists. Bayes' Theorem is the part of Probability and Statistics that lets you connect a sample of measurements from a construction or materials process to a number you can defend. Before any equation is useful you must be able to picture the physical situation it describes; the schematic below is that picture.

How the theory is built. The handbook prints results, not derivations. Each relation in this section comes from one governing principle applied to the idealised system: state the principle, impose the stated assumptions, and the printed equation follows. Knowing which assumption each relation rests on is what lets you reject a wrong answer choice in seconds.

How it is examined. Items from this page are written as one distribution or one counting rule, then a single probability or interval. Roughly two thirds are direct substitution, one third require one intermediate quantity from a neighbouring relation, and a small number are conceptual — testing whether you know the assumption, not the arithmetic.

The habit that earns the points. Unit discipline. probabilities are dimensionless and must land in [0, 1]. Every relation below is dimensionally consistent only when that rule is honoured, and the distractor set is deliberately built from candidates who ignored it. Write the unit next to every number you substitute, every time.

How to study this page. Read the theory, then cover the formula cards and try to reproduce each relation from its description. Then work the examples with the solution hidden, revealing one line at a time. Finish with the self-check questions; if you cannot answer one, return to the matching formula card.

Three engineers in hard hats and safety vests reviewing drawings on a truck tailgate.

Photo 1. Where this shows up in practice: bayes' theorem.

Capstone Studio instructional photograph

xf(x)DistributionArea under the curve is the probability

Probability and Statistics — Bayes' Theorem: reference schematic for orienting the symbols used in this section.

Theory, developed

Read this before the equations — it is what makes them memorable.

The physical situation

Every item from this section describes a sample of measurements from a construction or materials process. Sketch it before you compute — a labelled sketch with the givens on it converts a wordy stem into a solvable problem and exposes the quantity the examiner left out on purpose.

The governing principle

The 4 relations on this page are consequences of one principle applied to that idealised system. Identify which quantity is conserved, balanced, or defined, and the correct equation follows without memorisation.

Assumptions and limits of validity

Each printed relation carries silent assumptions — linearity, steady state, uniformity, small deformation, or standard conditions, depending on the subject. Conceptual exam items are written by violating exactly one of these, so read the sentence above the equation as carefully as the equation itself.

Solution procedure you should automate

1) Read the last sentence of the stem to identify the requested quantity. 2) Locate the relation on this page whose left-hand side is that quantity. 3) Tabulate the givens with units and mark the missing symbol. 4) If a symbol is missing, find the one relation that produces it. 5) Rearrange symbolically, substitute once, evaluate, and round only at the end.

Three engineers in hard hats and safety vests reviewing drawings on a truck tailgate.

Photo 2. Probability and Statistics: the physical system the theory above idealises.

Capstone Studio instructional photograph

Notation used in this section

iQuantity produced by "i=1" — read its definition and unit from the handbook line directly above the equation.
P ` A j jQuantity produced by "P ` A j j = the probability of event A j within the population of A" — read its definition and unit from the handbook line directly above the equation.
P ` B j jQuantity produced by "P ` B j j = the probability of event B j within the population of B" — read its definition and unit from the handbook line directly above the equation.

Handbook notes for this section

Definitions and conditions exactly as the handbook states them.

  • P` B j jP` A B j j
  • / P ` A Bi j P _ Bi i
  • where

Core formulas for this FE topic

Definitions, applicability, units, assumptions and worked examples for each relation.

Worked exam-style examples

The four ways this section is written on the real exam — thoughts first, then equations, then substitution.

Example 1
Binomial probability of failing welds

Each weld passes inspection with probability 0.90 independently. In a lot of 8 welds, what is the probability exactly 2 fail?

Given

  • n = 8
  • p(fail) = 0.10
  • k = 2

Find

P(X = 2)

Start with the thinking

  • Define success as the event you are counting — here, failure.
  • Use the binomial pmf, not the normal approximation, for n = 8.

Step-by-step solution

  1. Binomial pmf

  2. Combinations

  3. Probability terms

  4. Substitute

  5. Evaluate

Answer: P(X = 2) ≈ 0.149

Why the other options are there

  • 0.0100 (combinations omitted)
  • 0.383 (P(X ≤ 2) computed)

Reference: FE Reference Handbook — Probability and Statistics — Binomial distribution

Example 2
Conditional probability of a defective batch

Plant A supplies 60% of aggregate with 2% out of spec; plant B supplies 40% with 5% out of spec. A load is out of spec — what is the probability it came from plant B?

Given

  • P(A) = 0.60, P(D|A) = 0.02
  • P(B) = 0.40, P(D|B) = 0.05

Find

P(B|D)

Start with the thinking

  • This is Bayes' rule — the answer is not 0.05.
  • Compute the total probability of a defect first.

Step-by-step solution

  1. Joint terms — P(D∩A) = 0.60(0.02) = 0.0120 and P(D∩B) = 0.40(0.05) = 0.0200

  2. Total probability

  3. Bayes — P(B|D) = P(D∩B)/P(D)

  4. Substitute

  5. Evaluate

Answer: P(B|D) = 0.625

Why the other options are there

  • 0.40 (prior reported)
  • 0.05 (conditional reversed)

Reference: FE Reference Handbook — Probability and Statistics — Bayes' theorem

Example 3
Union and conditional probability — Bayes' Theorem

Two independent inspections fail with P(A) = 0.40 and P(B) = 0.25. Find P(A ∪ B) and P(A|B).

Given

  • P(A) = 0.40
  • P(B) = 0.25
  • A and B independent

Find

P(A ∪ B) and P(A|B)

Start with the thinking

  • Independence gives the intersection by multiplication.
  • Independence also means conditioning changes nothing.

Step-by-step solution

  1. Intersection

  2. Substituting

  3. Union

  4. Substituting

  5. Conditional

Answer: P(A ∪ B) = 0.550; P(A|B) = 0.40

Why the other options are there

  • 0.65 (intersection not subtracted)
  • 0.100 (intersection reported as the union)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 4
Law of total probability and the reverse (Bayes) question — Bayes' Theorem

Plant 1 supplies 45% of the concrete cylinders and has a 7.0% low-break rate; plant 2 supplies the rest with a 11.0% low-break rate. Find the overall probability of a low break, and the probability that a low-breaking cylinder came from plant 1.

Given

  • P(1) = 0.45, P(2) = 0.55
  • P(L|1) = 0.070
  • P(L|2) = 0.110

Find

P(L) by the law of total probability, then P(1|L)

Start with the thinking

  • The law of total probability sums the joint probability over every mutually exclusive source.
  • The reverse conditional is a joint probability divided by that total.

Step-by-step solution

  1. Formula

  2. Substituting

  3. Formula

  4. Substituting

Answer: P(L) = 0.0920; P(plant 1 | low break) = 0.342

Why the other options are there

  • 0.1800 (rates added)
  • 0.45 (prior reported as posterior)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 5
Union and conditional probability — Bayes' Theorem (2)

Two independent inspections fail with P(A) = 0.30 and P(B) = 0.50. Find P(A ∪ B) and P(A|B).

Given

  • P(A) = 0.30
  • P(B) = 0.50
  • A and B independent

Find

P(A ∪ B) and P(A|B)

Start with the thinking

  • Independence gives the intersection by multiplication.
  • Independence also means conditioning changes nothing.

Step-by-step solution

  1. Intersection

  2. Substituting

  3. Union

  4. Substituting

  5. Conditional

Answer: P(A ∪ B) = 0.650; P(A|B) = 0.30

Why the other options are there

  • 0.80 (intersection not subtracted)
  • 0.150 (intersection reported as the union)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 6
Law of total probability and the reverse (Bayes) question — Bayes' Theorem (2)

Plant 1 supplies 55% of the concrete cylinders and has a 8.0% low-break rate; plant 2 supplies the rest with a 10.0% low-break rate. Find the overall probability of a low break, and the probability that a low-breaking cylinder came from plant 1.

Given

  • P(1) = 0.55, P(2) = 0.45
  • P(L|1) = 0.080
  • P(L|2) = 0.100

Find

P(L) by the law of total probability, then P(1|L)

Start with the thinking

  • The law of total probability sums the joint probability over every mutually exclusive source.
  • The reverse conditional is a joint probability divided by that total.

Step-by-step solution

  1. Formula

  2. Substituting

  3. Formula

  4. Substituting

Answer: P(L) = 0.0890; P(plant 1 | low break) = 0.494

Why the other options are there

  • 0.1800 (rates added)
  • 0.55 (prior reported as posterior)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 7
Union and conditional probability — Bayes' Theorem (3)

Two independent inspections fail with P(A) = 0.25 and P(B) = 0.40. Find P(A ∪ B) and P(A|B).

Given

  • P(A) = 0.25
  • P(B) = 0.40
  • A and B independent

Find

P(A ∪ B) and P(A|B)

Start with the thinking

  • Independence gives the intersection by multiplication.
  • Independence also means conditioning changes nothing.

Step-by-step solution

  1. Intersection

  2. Substituting

  3. Union

  4. Substituting

  5. Conditional

Answer: P(A ∪ B) = 0.550; P(A|B) = 0.25

Why the other options are there

  • 0.65 (intersection not subtracted)
  • 0.100 (intersection reported as the union)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 8
Law of total probability and the reverse (Bayes) question — Bayes' Theorem (3)

Plant 1 supplies 35% of the concrete cylinders and has a 8.0% low-break rate; plant 2 supplies the rest with a 9.0% low-break rate. Find the overall probability of a low break, and the probability that a low-breaking cylinder came from plant 1.

Given

  • P(1) = 0.35, P(2) = 0.65
  • P(L|1) = 0.080
  • P(L|2) = 0.090

Find

P(L) by the law of total probability, then P(1|L)

Start with the thinking

  • The law of total probability sums the joint probability over every mutually exclusive source.
  • The reverse conditional is a joint probability divided by that total.

Step-by-step solution

  1. Formula

  2. Substituting

  3. Formula

  4. Substituting

Answer: P(L) = 0.0865; P(plant 1 | low break) = 0.324

Why the other options are there

  • 0.1700 (rates added)
  • 0.35 (prior reported as posterior)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 9
Union and conditional probability — Bayes' Theorem (4)

Two independent inspections fail with P(A) = 0.35 and P(B) = 0.20. Find P(A ∪ B) and P(A|B).

Given

  • P(A) = 0.35
  • P(B) = 0.20
  • A and B independent

Find

P(A ∪ B) and P(A|B)

Start with the thinking

  • Independence gives the intersection by multiplication.
  • Independence also means conditioning changes nothing.

Step-by-step solution

  1. Intersection

  2. Substituting

  3. Union

  4. Substituting

  5. Conditional

Answer: P(A ∪ B) = 0.480; P(A|B) = 0.35

Why the other options are there

  • 0.55 (intersection not subtracted)
  • 0.070 (intersection reported as the union)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Example 10
Law of total probability and the reverse (Bayes) question — Bayes' Theorem (4)

Plant 1 supplies 40% of the concrete cylinders and has a 3.0% low-break rate; plant 2 supplies the rest with a 5.0% low-break rate. Find the overall probability of a low break, and the probability that a low-breaking cylinder came from plant 1.

Given

  • P(1) = 0.40, P(2) = 0.60
  • P(L|1) = 0.030
  • P(L|2) = 0.050

Find

P(L) by the law of total probability, then P(1|L)

Start with the thinking

  • The law of total probability sums the joint probability over every mutually exclusive source.
  • The reverse conditional is a joint probability divided by that total.

Step-by-step solution

  1. Formula

  2. Substituting

  3. Formula

  4. Substituting

Answer: P(L) = 0.0420; P(plant 1 | low break) = 0.286

Why the other options are there

  • 0.0800 (rates added)
  • 0.40 (prior reported as posterior)

Reference: FE Reference Handbook — Probability and Statistics → Bayes' Theorem

Self-check

Answer these without notes before moving on.

  1. Without looking, state the relation on this page whose left-hand side is the quantity most often requested, and name every symbol in it.
  2. Which assumption, if violated, makes the main relation of this section invalid?
  3. Given a sample of measurements from a construction or materials process, what is the first quantity you would compute, and why that one first?
  4. Which unit conversion in this subject most often produces a wrong answer choice, and what is its numerical factor?
  5. Rework Example 1 above from the givens alone, without reading the solution lines.

Chapter summary

  • Bayes' Theorem contains 4 relations; you must be able to find this page in under 15 seconds.
  • Exam style: one distribution or one counting rule, then a single probability or interval.
  • Unit rule: probabilities are dimensionless and must land in [0, 1].
  • Work the 10 examples until the solution path, not the answer, is automatic.

Common traps in this section

  • probabilities are dimensionless and must land in [0, 1]
  • Answering the intermediate quantity instead of the quantity requested.
  • Rounding intermediate values before the final step.
  • Using a relation from an adjacent handbook section that shares a symbol.
  • Skipping the sketch — most lost points on this page start with a misread geometry.
© 2026 Civil Engineering Capstone Studio. All rights reserved.