Analyze outcomes, probabilities, scaling, and shifts with math. See weighted terms and theorem checks clearly. Turn distributions into trusted insights through transparent proof steps.
Use the form below to compute expected value and verify the linearity proof for a transformed variable.
This sample distribution is also available through the “Load Example” button above.
| Outcome | Probability | Outcome × Probability |
|---|---|---|
| -2 | 0.08 | -0.16 |
| 0 | 0.12 | 0.00 |
| 1 | 0.20 | 0.20 |
| 3 | 0.25 | 0.75 |
| 5 | 0.20 | 1.00 |
| 7 | 0.15 | 1.05 |
| Total | 1.00 | 2.84 |
Expected value: E[X] = Σ(xᵢpᵢ)
Expected square: E[X²] = Σ(xᵢ²pᵢ)
Variance: Var(X) = E[X²] - (E[X])²
Standard deviation: σ = √Var(X)
Linearity proof: E[aX + b] = Σ((axᵢ + b)pᵢ) = aΣ(xᵢpᵢ) + bΣpᵢ = aE[X] + b
Because the probabilities form a proper discrete distribution, Σpᵢ = 1. That makes the constant term simplify cleanly in the final proof step.
a and b to test the transformed variable.Expected value is the weighted average of all possible outcomes. It shows the long-run average result you would expect after many repetitions of the same random process.
A valid discrete probability distribution must account for every possible outcome exactly once. Summing to 1 confirms the model covers the full event space.
Yes. Enter them as decimal equivalents, or enter raw weights and enable normalization. For example, 20% can be entered as 0.20.
It verifies the linearity rule for expectation. The calculator compares the direct computation of E[aX + b] with the theorem value aE[X] + b.
Yes. Outcomes may be negative, positive, zero, or fractional. The calculator accepts any numeric value that matches a valid probability.
They measure spread, not just center. Two distributions can share the same expected value while having very different levels of variability.
Enable it when your probability entries are proportional weights, rounded percentages, or values that almost sum to 1 but miss slightly.
The graph displays probabilities, weighted contributions xᵢpᵢ, and transformed contributions. It helps you see which outcomes drive the final expectation most strongly.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.