Class 12 · Mathematics · Probability

Variance

CBSEJEE MainJEE AdvancedAP CalculusIBA-Level

Equation

Var⁡(X)=E[(X−μ)2]\operatorname{Var}(X)=E[(X-\mu)^2]

How this formula is built

Follow the steps, equations, and example so you can rebuild it yourself in the exam — not only memorise the final line.

Var⁡(X)=E[(X−μ)2]\operatorname{Var}(X)=E[(X-\mu)^2]

Here Variance is the expected squared distance of X from its mean μ.

  1. 1

    Find the mean

    Compute the centre of the distribution.

    μ=E(X)\mu=E(X)
  2. 2

    Square deviations

    Each deviation is squared to prevent cancellation.

    (X−μ)2(X-\mu)^2
  3. 3

    Average them

    Take expectation of squared deviation.

    Var⁡(X)=E[(X−μ)2]\operatorname{Var}(X)=E[(X-\mu)^2]
    Var⁡(X)=E[(X−μ)2]\operatorname{Var}(X)=E[(X-\mu)^2]

    Final form — rebuild these steps in the exam, then substitute values.

Worked example

For X equal to 1 or 3 with probability 1/2 each, find variance.

μ=2\mu=2
Var⁡(X)=12(1−2)2+12(3−2)2=1\operatorname{Var}(X)=\frac12(1-2)^2+\frac12(3-2)^2=1
Var⁡(X)=1\operatorname{Var}(X)=1

Check: Both outcomes lie exactly one unit from the mean

Symbols & units

  • μ\muE(X)
  • XXrandom variable

Variance for Class 12 Mathematics (Probability): equation, symbols, step-by-step derivation and worked example. Free formula sheet for CBSE, JEE Main, JEE Advanced.

Related formulas

← All formulas

Need Variance on a real exam question?

Scan the problem and watch the whiteboard build this formula with the correct signs and units.