Skip to content

Quantitative Aptitude · Probability

Mathematical Expectation for CA Foundation

Updated 1 October 2026 · Fact-checked

Mathematical expectation is the long-run average value of a random variable. For a discrete variable, multiply each value by its probability and add: E(X) = Σ x·p(x). To solve a question, check that probabilities sum to 1, build the table, compute Σ x·p, and use properties like E(aX + b) = aE(X) + b.

Understand Mathematical Expectation

A random variable gives a number to each outcome of an experiment. Think of the number of heads in two tosses, or the profit from a business deal. Each value comes with a probability.

The mathematical expectation (or expected value) E(X) is the average you would get if you repeated the experiment a very large number of times. It is a weighted average. The weights are the probabilities.

You find it by multiplying every value by its probability and adding the results. E(X) need not be a value X can actually take. The expected number of heads on one toss of a fair coin is 0.5, though you can never get 0.5 heads.

In business problems, X is a gain or loss. A positive E(X) means a profit on average. A negative E(X) means a loss on average. If E(X) = 0 the game is fair. When you must choose between two options, pick the one with the higher expected gain (or lower expected loss).

Expectation also has useful properties. It splits over sums, and constants can be pulled out. These properties let you skip long tables in many MCQs.

Key formulas to remember

Expected value (discrete)
E(X) = Σ x·p(x) = x₁p₁ + x₂p₂ + … + xₙpₙ
Probabilities must be non-negative and satisfy Σ p = 1.
Expectation of a function
E(X²) = Σ x²·p(x)
Square the value x, not the probability. Do not use [E(X)]² here.
Variance using expectation
Var(X) = E(X²) − [E(X)]²
Standard deviation is the positive square root of the variance.
Expectation of a constant
E(c) = c
A constant always has the same value, so its average is itself.
Linear change
E(aX + b) = a·E(X) + b
Holds for any constants a and b. The constant b is not multiplied by a.
Addition theorem
E(X + Y) = E(X) + E(Y)
Holds for any two random variables, independent or not.
Multiplication theorem
E(XY) = E(X)·E(Y)
Holds only if X and Y are independent.
Variance under linear change
Var(aX + b) = a²·Var(X)
Adding b does not change the spread.
Fair game
Fair if expected gain = 0
Expected gain is the sum of (gain or loss × probability), with losses taken as negative.

How to solve Mathematical Expectation questions

Use this routine for any question on expected value, from a plain table to a gain-and-loss game.

  1. 1Identify the random variable X and list every value it can take. Treat losses as negative numbers.
  2. 2Write the probability of each value. If a constant such as k is unknown, use Σ p = 1 to find it first.
  3. 3Check that the probabilities add to 1 and none is negative.
  4. 4Make a table with columns x, p(x) and x·p(x).
  5. 5Add the x·p(x) column to get E(X).
  6. 6If the question asks for E(X²) or variance, add a column x²·p(x), then use Var(X) = E(X²) − [E(X)]².
  7. 7If the question gives a linear form such as aX + b, use E(aX + b) = aE(X) + b instead of building a new table.
  8. 8For decisions, compare expected values and choose the better one. For fairness, check whether E equals 0.

Quickest way: Shortcut using properties and option checks

When to use it: Use it in MCQs where the options are clearly different and the distribution is short.

  1. Compute E(X) mentally as Σ x·p. Keep probabilities as fractions with a common denominator and add only the numerators at the end.
  2. Estimate first. E(X) must lie between the smallest and largest value of X. This removes options outside that range.
  3. If the question asks for E(aX + b), find E(X) once and apply the formula. Do not rebuild the table.
  4. For sums of variables, add the separate expectations. For example, the expected total of two dice is 3.5 + 3.5 = 7.
  5. For products, check independence before multiplying expectations. If you are unsure, do the full calculation.
  6. If the table has many rows and the options are close, skip it and return later. A wrong answer costs 0.25 marks.

Common mistakes in Mathematical Expectation

  • Not checking that probabilities sum to 1 before calculating.

    Students rush to multiply and add, and miss that a constant k is unknown.

    Fix: Write Σ p = 1 as your first line and solve for k before computing E(X).

  • Writing E(aX + b) = aE(X) and dropping b.

    Students remember that constants come out, but forget that an added constant stays.

    Fix: Write E(aX + b) = aE(X) + b. Test it with a constant: E(5) must be 5.

  • Using E(XY) = E(X)E(Y) without independence.

    It looks like the addition theorem, which always holds.

    Fix: Use the multiplication theorem only when the question says X and Y are independent.

  • Computing E(X²) as [E(X)]².

    Squaring after averaging feels the same as averaging squares.

    Fix: Square each value first, multiply by its probability, then add. Expect E(X²) ≥ [E(X)]².

  • Ignoring the sign of a loss, or the entry fee.

    Word problems list amounts without signs.

    Fix: Write losses as negative numbers. Subtract any entry fee or cost from each outcome before weighting.

  • Treating E(X) as the most likely value.

    The word 'expected' suggests what will probably happen.

    Fix: Remember it is a weighted average, not the mode. It may not be a possible value of X.

Worked examples

Example 1

A random variable X has the distribution: x = 0, 1, 2, 3 with p(x) = 0.1, 0.3, 0.4, 0.2 respectively. What is E(X)? (A) 1.5 (B) 1.7 (C) 1.9 (D) 2.1

Show the solution
  1. Check the probabilities: 0.1 + 0.3 + 0.4 + 0.2 = 1.0, so the table is valid.
  2. Compute each x·p: 0×0.1 = 0; 1×0.3 = 0.3; 2×0.4 = 0.8; 3×0.2 = 0.6.
  3. Add: 0 + 0.3 + 0.8 + 0.6 = 1.7.

Answer: (B) 1.7

Example 2

Two fair coins are tossed. You win ₹10 if both show heads, win ₹5 if exactly one shows head, and lose ₹8 if there is no head. What is your expected gain? (A) ₹2 (B) ₹3 (C) ₹4 (D) ₹5

Show the solution
  1. List the outcomes: P(2 heads) = 1/4, P(1 head) = 2/4 = 1/2, P(0 heads) = 1/4.
  2. Gains: +10, +5, −8.
  3. E = 10×(1/4) + 5×(1/2) + (−8)×(1/4).
  4. E = 2.5 + 2.5 − 2 = 3.

Answer: (B) ₹3

Example 3

X takes the values 1, 2, 3 with p(x) = x/6. What is E(3X + 2)? (A) 7 (B) 8 (C) 9 (D) 11

Show the solution
  1. Check the probabilities: 1/6 + 2/6 + 3/6 = 1, so the table is valid.
  2. E(X) = 1×(1/6) + 2×(2/6) + 3×(3/6) = (1 + 4 + 9)/6 = 14/6 = 7/3.
  3. Apply the property: E(3X + 2) = 3×E(X) + 2.
  4. 3 × 7/3 = 7, and 7 + 2 = 9.

Answer: (C) 9

Exam tips

  • Questions are usually a short table, a gain-and-loss game, or a property check. Learn the table method until it is automatic.
  • Look for an unknown constant k in the probabilities. Solve it with Σ p = 1 before anything else.
  • In property-based MCQs, test each statement against a simple case such as E(c) = c. Reject any option that breaks it.
  • Remember that the addition theorem always holds but the multiplication theorem needs independence. Examiners often build options on this difference.
  • Use the range check. If every x is between 0 and 3, an answer of 4.2 cannot be right.

Practice questions from Probability

Mathematical Expectation: frequently asked questions

What is the formula for the expected value of a random variable?

For a discrete random variable, E(X) = Σ x·p(x). You multiply each value by its probability and add all the products. The probabilities must add up to 1.

Does the addition theorem of expectation need independence?

No. E(X + Y) = E(X) + E(Y) holds for any two random variables. Only the multiplication theorem, E(XY) = E(X)E(Y), needs X and Y to be independent.

Can expected value be negative or a fraction?

Yes. A negative expected gain means an average loss. The value can also be a fraction or decimal that X never actually takes, because it is an average over many repeats.

How do I find the expectation of a probability distribution in CA Foundation?

Make a table with x, p(x) and x·p(x). Check that the probabilities sum to 1, then add the last column. For variance, also find E(X²) and use E(X²) − [E(X)]².