642 Stochastic Programming
These results can be generalized to the case whenYis a linear function of several
random variables. Thus ifY=
∑ni= 1aiXi (11.38)thenE(Y )=
∑ni= 1aiE(Xi) (11.39)Var(Y )=∑ni= 1ai^2 Var (Xi)+∑ni= 1∑nj= 1aiajCov (Xi, Xj), i=j (11.40)Approximate Mean and Variance of a Function of Several Random Variables.
IfY=g(X 1 ,... , Xn) the approximate mean and variance of, Ycan be obtained as
follows. Expand the functiongin a Taylor series about the mean valuesX 1 ,X 2 ,... ,Xn
to obtainY=g(X 1 ,X 2 ,... ,Xn)+∑ni= 1(Xi−Xi)∂g
∂Xi+
1
2
∑ni= 1∑nj= 1(Xi−Xi) (Xj−Xj)∂^2 g
∂Xi∂Xj+ · · · (11.41)
where the derivatives are evaluated at(X 1 ,X 2 ,... ,Xn) By truncating the series at.
the linear terms, we obtain the first-order approximation toYasY≃g(X 1 ,X 2 ,... ,Xn)+∑ni= 1(Xi−Xi)∂g
∂Xi∣
∣
∣
∣
(X 1 ,X 2 ,...,Xn)(11.42)
The mean and variance ofYgiven by Eq. (11.42) can now be expressed as [using
Eqs. (11.39) and (11.40)]E(Y )≃g(X 1 ,X 2 ,... ,Xn) (11.43)Var(Y )≃∑ni= 1c^2 iVar (Xi)+∑ni= 1∑nj= 1cicjCov (Xi, Xj), i=j (11.44)whereciandcjare the values of the partial derivatives∂g/∂Xiand ∂g/∂Xj, respec-
tively, evaluated at(X 1 ,X 2 ,... ,Xn).
It is worth noting at this stage that the approximation given by Eq. (11.42)
is frequently used in most of the practical problems to simplify the computations
involved.