Post · 2 min read· pp. 187–188

The expectation of variance derivation

You already know what the random variable is. If not, please read the Essential background I section. This page explains the expected value (or expectation) and its properties.

Expectation rules

The expectation is denoted by the capital letter EE.

The expectation of the random variable E(X)E(X) equals the mean of the random variable:

E(X)=μXE(X) = \mu_{X}

Where μX\mu_{X} is the mean of the random variable.

Here are some basic expectation rules:

RuleNotes
1E(X)=μX=Σxp(x)E(X) = \mu_{X} = \Sigma xp(x)p(x)p(x) is the probability of xx (discrete case)
2E(a)=aE(a) = aaa is constant
3E(aX)=aE(X)E(aX) = aE(X)aa is constant
4E(a±X)=a±E(X)E(a \pm X) = a \pm E(X)aa is constant
5E(a±bX)=a±bE(X)E(a \pm bX) = a \pm bE(X)aa and bb are constant
6E(X±Y)=E(X)±E(Y)E(X \pm Y) = E(X) \pm E(Y)YY is another random variable
7E(XY)=E(X)E(Y)E(XY) = E(X)E(Y)If XX and YY are independent

All the rules are quite straightforward and don't need proof.

Expectation of the variance

The expectation of variance is given by:

V(X)=σx2=E(X2)−μX2V(X) = \sigma_{x}^2 = E(X^2) - \mu_{X}^2

Where V(X)V(X) is the variance of XX

The proof:

Notes
V(X)=σX2=E((X−μX)2)V(X) = \sigma_{X}^2 = E((X - \mu_{X})^2)
=E(X2−2XμX+μX2)= E(X^2 -2X\mu_{X} + \mu_{X}^2)
=E(X2)−E(2XμX)+E(μX2)= E(X^2) - E(2X\mu_{X}) + E(\mu_{X}^2)Applied rule number 5: E(a±bX)=a±bE(X)E(a \pm bX) = a \pm bE(X)
=E(X2)−2μXE(X)+E(μX2)= E(X^2) - 2\mu_{X}E(X) + E(\mu_{X}^2)Applied rule number 3: E(aX)=aE(X)E(aX) = aE(X)
=E(X2)−2μXE(X)+μX2= E(X^2) - 2\mu_{X}E(X) + \mu_{X}^2Applied rule number 2: E(a)=aE(a) = a
=E(X2)−2μXμX+μX2= E(X^2) - 2\mu_{X}\mu_{X} + \mu_{X}^2Applied rule number 1: E(X)=μXE(X) = \mu_{X}
=E(X2)−μX2= E(X^2) - \mu_{X}^2

The expectation of the body position variance

The body position displacement variance in terms of time and velocity is given by:

V(x)=Δt2V(v)V(x) = \Delta t^{2} V(v)
or
σx2=Δt2σv2\sigma_{x}^2 = \Delta t^{2} \sigma_{v}^2

Where:

xxis the displacement of the body
vvis the velocity of the body
Δ(t)\Delta(t)is the time interval

The proof:

Notes
V(x)=σx2=E(x2)−μx2V(x) = \sigma_{x}^2 = E(x^2) - \mu_{x}^2
=E((vΔt)2)−(μvΔt)2= E((v\Delta t)^2) - (\mu_{v}\Delta t)^2Express the body position variance in terms of time and velocity: x=Δtvx = \Delta tv
=E(v2Δt2)−μv2Δt2= E(v^{2}\Delta t^{2}) - \mu_{v}^{2}\Delta t^{2}
=Δt2E(v2)−μv2Δt2= \Delta t^{2}E(v^{2}) - \mu_{v}^{2}\Delta t^{2}Applied rule number 3: E(aX)=aE(X)E(aX) = aE(X)
=Δt2(E(v2)−μv2)= \Delta t^{2}(E(v^{2}) - \mu_{v}^{2})
=Δt2V(v)= \Delta t^{2}V(v)Applied expectation of variance rule: V(X)=E(X2)−μX2V(X) = E(X^2) - \mu_{X}^2