Bayes theorem formula: P(Eᵢ | A) = P(Eᵢ)P(A | Eᵢ) / ΣP(Eⱼ)P(A | Eⱼ)
The Bayes theorem formula is P(Eᵢ | A) = P(Eᵢ) P(A | Eᵢ) / Σ P(Eⱼ) P(A | Eⱼ).
What each letter means
- \(E_1,\dots,E_n\) the possible causes: exactly one of them happens
- \(A\) the event you observed
- \(P(A\mid E_i)\) the probability of A if the cause is Eᵢ
Bayes' theorem in the CBSE syllabus
| Class | Chapter |
|---|---|
| Class 12 Board exam | Chapter 13: Probability Probability unit: 8 of the 80 theory marks |
Calculators are not allowed: CBSE's 2026-27 sample question paper for Class 12 Mathematics says: "Use of calculators is not allowed." The paper is 3 hours and 80 marks. So questions give any value you need and expect exact answers; every example on this page works by hand.
When to use it
To work backwards from an observed result to the probability of each cause: which machine made a faulty part, which bag a ball came from.
Worked example
Machine X makes 60% of a factory's bolts and 2% of its bolts are defective. Machine Y makes the rest and 3% of its bolts are defective. A bolt chosen at random is defective. Find the probability that it was made by X.
- \(P(X)P(D\mid X)=0.6\times0.02=0.012\); \(P(Y)P(D\mid Y)=0.4\times0.03=0.012\)
- \(P(X\mid D)=\dfrac{0.012}{0.012+0.012}\)
Answer: \(P(X\mid D)=\tfrac12\)
Common mistake
Leaving out a cause in the denominator. The bottom line is the total probability of A over every cause.
Try one yourself
One quick CBSE Maths question on the Bayes' theorem. No sign-in needed.
Bag I has \(3\) red and \(2\) black balls; bag II has \(1\) red and \(4\) black balls. A bag is chosen at random and a ball drawn from it is red. The probability that it came from bag I is
Get 5 more like this — freeGoogle, Microsoft or email. No card needed.
Revise it for your CBSE exam
- Revise Class 12 Chapter 13: Probability: notes, practice and the Route to 95
- Free 10 Probability important questions with step-marked answers
- Print Chapter 13 on the Class 12 formula sheet
- Practise Skill Builder: Bayes' theorem (Class 12, free account)
- Papers Class 12 sample papers on the 2026-27 pattern
- Dates CBSE board exam dates and the 2027 timetable
On your CBSE Maths course
| Course | In the exam |
|---|---|
| Class 12 | Learn it: CBSE gives no formula booklet |
From our own CBSE Maths formula sheets, in our words.
Practise and revise
- Practise Class 12 Probability MCQs
- Revise Class 12 Probability
- Print Class 12 one-page formula sheet
CBSE Maths FAQ
Is the Bayes' theorem given in the CBSE board exam?
Class 12: learn it: CBSE gives no formula booklet.
What does 'total probability' mean in Bayes' theorem?
The denominator adds P(Eⱼ) P(A | Eⱼ) over every possible cause Eⱼ: it is the overall probability that A happens.
Which CBSE class and chapter covers Bayes' theorem?
Class 12, Chapter 13 (Probability), in the Probability unit, which carries 8 of the 80 theory marks. CBSE gives marks by unit, not by chapter.
Are calculators allowed for Bayes' theorem questions in the CBSE board exam?
No. CBSE's 2026-27 sample question paper for Class 12 Mathematics says: "Use of calculators is not allowed." The paper is 3 hours and 80 marks. Questions give any value you need, such as π = 22/7.
Our own wording, examples and card, checked by CBSE Math Revision. Not produced or endorsed by CBSE or NCERT.