Expected Value Proof Calculator

Analyze outcomes, probabilities, scaling, and shifts with math. See weighted terms and theorem checks clearly. Turn distributions into trusted insights through transparent proof steps.

Enter Discrete Outcomes and Probabilities

Use the form below to compute expected value and verify the linearity proof for a transformed variable.


Used in the proof of E[aX + b] = aE[X] + b.
Changes the transformed variable without changing the original distribution.
Controls rounding for displayed metrics, proof steps, and exports.

Example Data Table

This sample distribution is also available through the “Load Example” button above.

Outcome Probability Outcome × Probability
-20.08-0.16
00.120.00
10.200.20
30.250.75
50.201.00
70.151.05
Total 1.00 2.84

Formula Used

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.

How to Use This Calculator

  1. Enter each possible outcome in the outcome fields.
  2. Enter the matching probability for every outcome.
  3. Set constants a and b to test the transformed variable.
  4. Choose a display precision for cleaner proof steps.
  5. Enable normalization if your probabilities are raw weights or percentages.
  6. Click Compute Expected Value Proof.
  7. Review the summary metrics, proof lines, detail table, and Plotly graph.
  8. Use the CSV or PDF buttons to export your result report.

FAQs

1. What does expected value represent?

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.

2. Why must probabilities sum to 1?

A valid discrete probability distribution must account for every possible outcome exactly once. Summing to 1 confirms the model covers the full event space.

3. Can I enter percentages instead of decimals?

Yes. Enter them as decimal equivalents, or enter raw weights and enable normalization. For example, 20% can be entered as 0.20.

4. What does the proof section verify?

It verifies the linearity rule for expectation. The calculator compares the direct computation of E[aX + b] with the theorem value aE[X] + b.

5. Can outcomes be negative or decimal values?

Yes. Outcomes may be negative, positive, zero, or fractional. The calculator accepts any numeric value that matches a valid probability.

6. Why are E[X²] and variance included?

They measure spread, not just center. Two distributions can share the same expected value while having very different levels of variability.

7. When should I enable normalization?

Enable it when your probability entries are proportional weights, rounded percentages, or values that almost sum to 1 but miss slightly.

8. What does the graph show?

The graph displays probabilities, weighted contributions xᵢpᵢ, and transformed contributions. It helps you see which outcomes drive the final expectation most strongly.

Related Calculators

cauchy schwarz proofnumber theory proofinner product proofinverse function proofwell ordering proofclosed set proof

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.