Math 2.0

statement theorem

Cauchy–Schwarz inequality for expectations

Statement

Let XX and YY be real random variables on one probability space with E[X2]<∞E[X^2] < \infty and E[Y2]<∞E[Y^2] < \infty. Then XYXY is integrable and (E[XY])2≤E[X2] E[Y2].\left(E[XY]\right)^2 \le E[X^2] \, E[Y^2]. Equality holds if and only if aX+bY=0aX + bY = 0 almost surely for some reals aa and bb, not both 00.

Remarks

Proof: for each real ss, 0≤E[(X+sY)2]=E[X2]+2sE[XY]+s2E[Y2]0 \le E[(X + sY)^2] = E[X^2] + 2s E[XY] + s^2 E[Y^2]. A quadratic polynomial in ss that is never negative has a discriminant that is not positive. This is the Cauchy–Schwarz inequality for the inner product ⟨X,Y⟩=E[XY]\langle X, Y \rangle = E[XY] on the space L2L^2 of square-integrable random variables. Applied to X−E[X]X - E[X] and Y−E[Y]Y - E[Y], it gives Cov⁡(X,Y)2≤Var⁡(X)Var⁡(Y)\operatorname{Cov}(X, Y)^2 \le \operatorname{Var}(X) \operatorname{Var}(Y). So the correlation coefficient is in [−1,1][-1, 1].

Explanations

L1 human

The average of a product cannot be larger than what the sizes of the two factors allow. This simple inequality is behind the fact that a correlation is always between −1-1 and 11.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

Sources

  1. Web https://en.wikipedia.org/wiki/Cauchy–Schwarz_inequality, Probability theory