You already know what the random variable is and what the expected value (or expectation) is. If not, please read the Essential background I section.
The expectation is denoted by the capital letter E.
The expectation of the random variable E(X) equals the mean of the random variable:
Here are some basic expectation rules:
Rule | Notes | |
---|---|---|
1 | E(X)=μX=Σxp(x) | p(x) is the probability of x (discrete case) |
2 | E(a)=a | a is constant |
3 | E(aX)=aE(X) | a is constant |
4 | E(a±X)=a±E(X) | a is constant |
5 | E(a±bX)=a±bE(X) | a and b are constant |
6 | E(X±Y)=E(X)±E(Y) | Y is another random variable |
7 | E(XY)=E(X)E(Y) | If X and Y are independent |
All the rules are quite straightforward and don't need proof.
The expectation of variance is given by:
The proof:
Notes | |
---|---|
V(X)=σ2X=E((X−μX)2) | |
=E(X2−2XμX+μ2X) | |
=E(X2)−E(2XμX)+E(μ2X) | Applied rule number 5: E(a±bX)=a±bE(X) |
=E(X2)−2μXE(X)+E(μ2X) | Applied rule number 3: E(aX)=aE(X) |
=E(X2)−2μXE(X)+μ2X | Applied rule number 2: E(a)=a |
=E(X2)−2μXμX+μ2X | Applied rule number 1: E(X)=μX |
=E(X2)−μ2X |
The body position displacement variance in terms of time and velocity is given by:
x | is the displacement of the body |
v | is the velocity of the body |
Δ(t) | is the time interval |
The proof:
Notes | |
---|---|
V(x)=σ2x=E(x2)−μ2x | |
=E((vΔt)2)−(μvΔt)2 | Express the body position variance in terms of time and velocity: x=Δtv |
=E(v2Δt2)−μ2vΔt2 | |
=Δt2E(v2)−μ2vΔt2 | Applied rule number 3: E(aX)=aE(X) |
=Δt2(E(v2)−μ2v) | |
=Δt2V(v) | Applied expectation of variance rule: V(X)=E(X2)−μ2X |