Adding 2 to each value of the random variable
makes a new random variable
. Its mean would be
![E[X+2]=E[X]+E[2]=E[X]+2](https://img.qammunity.org/2020/formulas/mathematics/high-school/vf2u8cqxtg8dmsxidcj6t1ippuh0h8jn31.png)
since expectation is linear, and the expected value of a constant is that constant.
is the mean of
, so the new mean would be
![E[X+2]=10+2=12](https://img.qammunity.org/2020/formulas/mathematics/high-school/bl4qbd9vp4n0vju001tntpf4q73uj79ym0.png)
The variance of a random variable
is
![V[X]=E[X^2]-E[X]^2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3cu13ylj0td4801f782ixhiv863dro9rpx.png)
so the variance of
would be
![V[X+2]=E[(X+2)^2]-E[X+2]^2](https://img.qammunity.org/2020/formulas/mathematics/high-school/tbn2duvw6xl550789npux6xmlvezulg0qs.png)
We already know
, so simplifying above, we get
![V[X+2]=E[X^2+4X+4]-12^2](https://img.qammunity.org/2020/formulas/mathematics/high-school/5gs6jmv3b126ij87k7xbd63qjbrxs817v9.png)
![V[X+2]=E[X^2]+4E[X]+4-12^2](https://img.qammunity.org/2020/formulas/mathematics/high-school/zvh7kyq00627eocttk2o2j6dcgihsv3d0b.png)
![V[X+2]=(V[X]+E[X]^2)+4E[X]-140](https://img.qammunity.org/2020/formulas/mathematics/high-school/lk3m77pooaqxo3qyr9as6jyh2its488dzv.png)
Standard deviation is the square root of variance, so
.
![\implies V[X+2]=(9+10^2)+4(10)-140=9](https://img.qammunity.org/2020/formulas/mathematics/high-school/8dbjrtrhgpwdwsf5jg1rq7q58u0ztt8vix.png)
so the standard deviation remains unchanged at 3.
NB: More generally, the variance of
for
is
![V[aX+b]=a^2V[X]+b^2V[1]](https://img.qammunity.org/2020/formulas/mathematics/high-school/2mn1k23pk5l193jrtmfwl166c88q0tq1i3.png)
but the variance of a constant is 0. In this case,
, so we're left with
, as expected.