Step-by-step math solver
Binomial distribution
Find P(X = k), P(X ≤ k) and P(X ≥ k) when X follows a binomial distribution B(n, p), using C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ and adding the probabilities of the cases.
Free, no sign-in. The solver runs in your browser and does not send your problem to the server.
Part of the course: Probability and statistics
Method
- Check that it is a binomial setting: n independent trials, the same probability of success p on each trial, and X counts the successes.
- Probability of exactly k successes: P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ.
- P(X ≤ k) is the sum of P(X = 0) through P(X = k); the complement P(X ≥ k) = 1 − P(X ≤ k − 1) saves work.
- Mean E(X) = np and variance Var(X) = np(1 − p).
- Type the problem as X ~ B(10, 0.3), P(X = 2).
Worked examples
X ~ B(10, 0.3), P(X = 2)
X counts the successes in 10 independent trials, each with success probability p
X ~ B(10; 0.3)
q = 1 − p = 1 − 0.3 = 0.7
Bernoulli’s formula
P(X = k) = C(n; k)p^(k)q^(n − k)
Compute each term
P(X = 2) = C(10; 2) · 0.3² · 0.7⁸ ≈ 0.233474
Conclusion
P(X = 2) ≈ 0.233474
Result
P(X = 2) ≈ 0.233474
Open in the solver
X ~ B(20, 0.1), P(X ≤ 2)
X counts the successes in 20 independent trials, each with success probability p
X ~ B(20; 0.1)
q = 1 − p = 1 − 0.1 = 0.9
Bernoulli’s formula
P(X = k) = C(n; k)p^(k)q^(n − k)
Compute each term
P(X = 0) = C(20; 0) · 0.1⁰ · 0.9²⁰ ≈ 0.121577
P(X = 1) = C(20; 1) · 0.1¹ · 0.9¹⁹ ≈ 0.27017
P(X = 2) = C(20; 2) · 0.1² · 0.9¹⁸ ≈ 0.28518
Add the terms
P(X ≤ 2) = P(X = 0) + P(X = 1) + P(X = 2)
P(X ≤ 2) ≈ 0.676927
Result
P(X ≤ 2) ≈ 0.676927
Open in the solver
Practice problems
Work it out on paper first, then tap to see the step-by-step solution.
Not supported yet
- The Poisson distribution is not supported yet.
For these, open Chat with the Tutor skill from the solver (sign-in required, uses credit like a normal chat).