Step 1 (indicators). For Borel sets B1β,B2β, the events A={XβB1β} and B={YβB2β} are independent, so
E[1Aβ1Bβ]=E[1Aβ©Bβ]=P(Aβ©B)=P(A)P(B)=E[1Aβ]E[1Bβ],
the expectations of indicators being their probabilities directly from Simple Function and Its Integral.
Step 2 (nonnegative case). Suppose first Xβ₯0 and Yβ₯0. Let smβ be the dyadic approximating functions of Step 0(b) of the proof of Linearity and Monotonicity of the Lebesgue Integral, viewed as functions of the value: smβ(X)=ΟmββX where Οmβ(t)=min{m,2βmβ2mtβ}, so that smβ(X)=βiβciβ1{XβBiβ}β for finitely many values ciββ₯0 and pairwise disjoint Borel sets Biβ (preimages under Οmβ of points, which are Borel: each is a finite union of intervals). Similarly tmβ(Y)=βjβdjβ1{YβCjβ}β. Expanding the product and using Step 1 with linearity (claim 1 of Linearity and Monotonicity of the Lebesgue Integral),
E[smβ(X)tmβ(Y)]=i,jββciβdjβP(XβBiβ)P(YβCjβ)=E[smβ(X)]E[tmβ(Y)].
The products smβ(X)tmβ(Y) increase pointwise to XY, so by Monotone Convergence Theorem on the left and on each factor of the right (suprema of products of nondecreasing nonnegative real sequences multiply),
E[XY]=E[X]E[Y]inΒ [0,β].
Step 3 (general case). Write X=X+βXβ, Y=Y+βYβ as in Integrable Function and the Lebesgue Integral. Each pair (XΒ±,YΒ±) satisfies the independence hypothesis of Step 2: {X+βB}={Xβ(β
)} for a Borel set obtained from B (the preimage of B under tβ¦max{t,0}, a continuous, hence Borel measurable, map by the generator criterion of Measurable Function and Real-Valued Measurable Function), and similarly for the other parts; so the defining product formula for events transfers. By Step 2, E[XΒ±YΒ±]=E[XΒ±]E[YΒ±], all finite; in particular E[β£XYβ£]=E[β£Xβ£]E[β£Yβ£]<β, so XY is integrable. Expanding XY=(X+βXβ)(Y+βYβ) bilinearly and applying linearity (claim 2 of Linearity and Monotonicity of the Lebesgue Integral) to the four integrable products,
E[XY]=(E[X+]βE[Xβ])(E[Y+]βE[Yβ])=E[X]E[Y].
Step 4 (consequences). Let X1β,β¦,Xrβ be independent with finite second moments, ΞΌiβ=E[Xiβ]. For iξ =j, the pair (Xiβ,Xjβ) is independent (a subfamily), and centering preserves the independence hypothesis as in Step 3 (the map tβ¦tβΞΌiβ is continuous, hence Borel); products of square-integrable variables are integrable since β£uvβ£β€21β(u2+v2), so by Steps 1β3 and linearity,
E[(XiββΞΌiβ)(XjββΞΌjβ)]=E[XiββΞΌiβ]E[XjββΞΌjβ]=0.
Finally, expanding the square of the centered sum and using linearity (claim 2 of Linearity and Monotonicity of the Lebesgue Integral),
Var(i=1βrβXiβ)=E[(iββ(XiββΞΌiβ))2]=iββE[(XiββΞΌiβ)2]+iξ =jββE[(XiββΞΌiβ)(XjββΞΌjβ)]=iββVar(Xiβ),
using E[βiβXiβ]=βiβΞΌiβ and the variance definition. β