Bayes' Theorem Math Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

easy
Write out Bayes' theorem and explain each component: P(AโˆฃB)=P(BโˆฃA)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}.

Solution

  1. 1
    P(AโˆฃB)P(A|B): posterior probability โ€” probability of A given we observed B
  2. 2
    P(BโˆฃA)P(B|A): likelihood โ€” probability of observing B if A is true
  3. 3
    P(A)P(A): prior probability โ€” our belief in A before observing B
  4. 4
    P(B)P(B): normalizing constant (marginal probability of B) โ€” ensures posterior sums to 1

Answer

Posterior = Likelihood ร— Prior / Evidence. Bayes updates prior beliefs with new evidence.
Bayes' theorem formalizes how to update beliefs with evidence. Prior ร— Likelihood gives an unnormalized posterior; dividing by P(B) normalizes it. Bayesian reasoning is fundamental to machine learning, medical diagnosis, and scientific inference.

About Bayes' Theorem

Bayes' theorem gives the posterior probability of a hypothesis given evidence: P(HโˆฃE)=P(EโˆฃH)โ‹…P(H)P(E)P(H|E) = \frac{P(E|H) \cdot P(H)}{P(E)}.

Learn more about Bayes' Theorem โ†’

More Bayes' Theorem Examples