Prashnikaप्रश्निका
Code
About

Probability distribution calculator

Give the values of a random variable X and their probabilities - with an unknown like k if the question has one - and get k, the mean, the variance and the standard deviation with the working table ISC Mathematics expects.

How to use it

  1. 1Type the values of X, separated by commas.
  2. 2Type their probabilities in the same order, using k for an unknown, e.g. k, 2k, 3k.
  3. 3Press Work it out for k, the mean, the variance and the standard deviation with the working table.

Separate with commas. Write k² as k^2, a half as 1/2.

Answer

Mean E(X)
1
E(X²)
$\dfrac{3}{2}$
Variance
$\dfrac{1}{2}$
Standard deviation
0.7071

Graph

00.10.20.30.40.50.60.2500.510.252xP(x)mean

The height of each bar is P(x); the dashed line marks the mean.

Working

xP(x)x·P(x)x²·P(x)F(x) = P(X ≤ x)
0$\dfrac{1}{4}$00$\dfrac{1}{4}$
1$\dfrac{1}{2}$$\dfrac{1}{2}$$\dfrac{1}{2}$$\dfrac{3}{4}$
2$\dfrac{1}{4}$$\dfrac{1}{2}$11
  1. Mean = Σ x·P(x) = 1
  2. Variance = Σ x²·P(x) - (mean)² = $\dfrac{3}{2}$ - (1)² = $\dfrac{1}{2}$
  3. Standard deviation = √variance = 0.7071
Start again

About the Probability distribution calculator

What it does

Takes a random variable X with its probabilities, finds the unknown k if there is one, and works out the mean, the variance and the standard deviation, with the working table ISC Mathematics expects.

The formulas

  • The probabilities add up to 1: ΣP(X) = 1. This gives k.
  • Mean = E(X) = ΣxP(x).
  • E(X²) = Σx²P(x).
  • Variance = E(X²) − [E(X)]².
  • Standard deviation = √variance.

How to write the input

Separate the values with commas. Write k² as k^2 and a half as 1/2; the buttons under the box type them for you.

Common questions

What if k appears squared?

Then ΣP = 1 gives a quadratic in k. Of its two roots, only a value that keeps every probability between 0 and 1 can be used.

How do I type k²?

Write k^2. For 7k² + k write 7k^2 + k.

What is the difference between E(X) and E(X²)?

E(X) multiplies each value by its probability; E(X²) multiplies the square of each value by its probability. Variance is the second minus the square of the first.

Practise on real ISC questions

More Mathematics tools

All study tools →