Binomial distribution
Find P(X = k), P(X ≤ k) and P(X ≥ k) for a binomial variable, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.
A binomial probability is found with your calculator's binomial commands (binompdf and binomcdf, Bpd and Bcd, or Binomial Pdf and Binomial Cdf). Enter the number of trials, the probability of success and x. Use the pdf for exactly k and the cdf for at most k. For at least k, subtract the cdf at k - 1 from 1. Check whether the question says at most or fewer than.
Example
. Find (a) , (b) , (c) .
The pdf gives one value: . The cdf adds from 0 up to 8: . For (c), .
Choose your calculator
How to find a binomial probability on a TI-84 Plus CE
binompdf and binomcdf | |
For exactly 8 (), press 2nd vars (DISTR) and choose A:binompdf(. With the Stat Wizards on, a screen asks for each value in turn: type it and press enter each time. Enter the number of trials 20, the probability of success 0.4 and the value of x, 8, then press enter on Paste. |
binompdf( trials:20 p:0.4 x value:8 |
Press enter to run it. If the Stat Wizards are off, type to 3 significant figures. |
binompdf(20,0.4,8) 0.1797058 |
For at most 8 (), press 2nd vars (DISTR) and choose B:binomcdf(. It adds the probabilities from 0 up to x. to 3 significant figures. |
binomcdf(20,0.4,8) 0.5955987 |
For at least 10 (), the calculator only adds up from 0, so find and subtract it from 1: type to 3 significant figures. |
1-binomcdf(20,0.4,9) 0.2446628 |
"At least 10" is 1 minus the cumulative probability up to 9, not up to 10. For "fewer than 10" use binomcdf at 9.
How to find a binomial probability on a Casio fx-CG50
Bpd and Bcd | |
Press MENU and choose Statistics. Press F5 (DIST), then F5 (BINOMIAL), then F1 (Bpd) for exactly. |
|
Set Data to Variable by pressing F2 (Var), then press ▼ to move to the first line. Enter x 8, Numtrial 20 and p 0.4, pressing EXE after each. |
Data:Variable x:8 Numtrial:20 p:0.4 |
Use ▼ to move to Execute and press F1 (CALC). to 3 significant figures. |
p=0.1797058 |
For at most 8, go back to the BINOMIAL menu and press F2 (Bcd). It gives the cumulative probability up to x. Enter x 8, Numtrial 20 and p 0.4, then Execute. to 3 significant figures. |
p=0.5955987 |
For at least 10, run Bcd with x 9 and subtract the answer from 1. to 3 significant figures. |
p=0.7553372 |
Keep the full value of the cumulative probability when you subtract it from 1, rather than a rounded one. "Fewer than 10" is Bcd at 9.
How to find a binomial probability on a Casio fx-CG100
Distribution app (Binomial) | |
Press HOME and choose Distribution. Move down to Binomial in the list and press OK. |
|
On the Setup tab, set Tail to the fourth option, (X=), for exactly, and leave Data as Variable. Move down to each line, type the value and press OK, which moves the cursor to the next line. Enter x 8, Numtrial 20 and p 0.4. |
Tail: X= Data:Variable x:8 Numtrial:20 p:0.4 |
Choose Execute and press OK. The Result tab shows the probability. to 3 significant figures. |
p=0.1797058 |
For at most 8, set Tail to [LX] (x or lower) and keep x 8. to 3 significant figures. |
p=0.5955987 |
For at least 10, set Tail to [XU] (x or higher) and enter x 10. There is nothing to subtract. to 3 significant figures. |
p=0.2446628 |
Pick the Tail option before entering x. For a range such as 5 to 9, choose [LXU] and enter Lower 5 and Upper 9.
How to find a binomial probability on a TI-Nspire CX
Binomial Pdf and Binomial Cdf | |
For exactly 8, on a Calculator page press menu → Probability → Distributions → Binomial Pdf. A box asks for the values: move between the fields with tab. |
|
Enter Num Trials 20, Prob Success 0.4 and X Value 8, then press enter. to 3 significant figures. |
binomPdf(20,0.4,8) 0.17971 |
For at most 8, choose Binomial Cdf from the same menu. Enter Num Trials 20, Prob Success 0.4, Lower Bound 0 and Upper Bound 8, then press enter. to 3 significant figures. |
binomCdf(20,0.4,0,8) 0.59560 |
For at least 10, use the same Binomial Cdf with Lower Bound 10 and Upper Bound 20 (the number of trials): to 3 significant figures. |
binomCdf(20,0.4,10,20) 0.24466 |
You can also type binomPdf( or binomCdf( directly. The bounds in Binomial Cdf are both included, so lower 10 and upper 20 gives X from 10 to 20.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- State the distribution and write the probability, for example and . Calculator syntax such as
binomcdf(is not standard notation, so on its own it may not earn the method mark. - Turn the words into an inequality first. "At most 8" is , "fewer than 8" is , "at least 10" is , "more than 10" is .
- Show the subtraction for "at least". Write so the examiner sees the method, then give the value.
- Give 3 significant figures unless the question says otherwise, and keep the full calculator value for later parts instead of re-typing a rounded one.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so use the formula there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Choosing the command
- Exactly k: pdf with x = k.
- At most k, or fewer than k + 1: cdf with x = k.
- Fewer than k: cdf with x = k - 1.
- At least k: 1 minus the cdf with x = k - 1 (or the fx-CG100 [XU] tail with x = k).
- More than k: 1 minus the cdf with x = k.
- Between a and b inclusive: cdf at b minus cdf at a - 1 (or the TI-Nspire lower and upper bounds).
For a continuous variable see normal distribution probabilities.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DOMAIN | A value is outside the allowed range, for example a probability p that is below 0 or above 1. | Check the order of the three values: number of trials, probability p, then x. The probability must be between 0 and 1. |
| Casio fx-CG50 | Out of Domain | A value is outside the allowed input range, for example a probability p written as a percentage such as 40. | Enter p as a decimal between 0 and 1, such as 0.4. |
| Casio fx-CG100 | Out of Domain | A value is outside the allowed input range, for example a probability p written as a percentage such as 40. | Enter p as a decimal between 0 and 1, such as 0.4. |
| TI-Nspire CX | Domain error | A value is outside the allowed range, for example a probability that is not between 0 and 1. | Check that Prob Success is a decimal between 0 and 1 and that the bounds are in the right fields. |
Common mistakes
- Using cdf for "exactly". The cdf adds all the values up to x; "exactly" needs the pdf.
- Off by one on "at least" and "fewer than". , not 1 minus the cdf at 10. "Fewer than 10" is the cdf at 9.
- Values in the wrong order. Number of trials first, then probability, then x. Swapping n and p gives an error or a wrong answer.
- Typing p as a percentage. Enter 0.4, not 40.
- Writing binomcdf as working. Write the probability statement and the value. The examiner needs the notation, not the command.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator for the probabilities.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I find a binomial probability on a calculator?
Use the binomial commands: binompdf and binomcdf on the TI-84 Plus CE (2nd VARS, DISTR), Bpd and Bcd on the fx-CG50 (Statistics, DIST, BINOMIAL), Distribution then Binomial on the fx-CG100, or Binomial Pdf and Binomial Cdf on the TI-Nspire (Probability, Distributions). Enter the number of trials, the probability of success and x.
How do I find P(X is at least k)?
Subtract the cumulative probability up to k - 1 from 1. For P(X ≥ 10) with n = 20, find the cdf at 9 and take it from 1. The fx-CG100 can do it directly with the [XU] tail and x = 10.
What is the difference between pdf and cdf?
The pdf gives the probability of exactly x successes. The cdf gives the probability of x successes or fewer, adding the pdf from 0 up to x.
Do I need to write binomcdf in my exam working?
No. Write the probability statement, for example P(X ≤ 8) = 0.596, and the subtraction if you used one. Examiners look for the notation and the value, not the command or the key presses.