Why do we ignore constants and square coefficients in variance of linear transformations?

  • Thread starter Thread starter Mdhiggenz
  • Start date Start date
  • Tags Tags
    Uniform
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
Mdhiggenz
Messages
324
Reaction score
1

Homework Statement



The proportion of time x that an industrial robot is in operation during a 40 hour work week is a random variable wth probability density function
f(x)= 2x 0≤x≤1

I already found my E(x) to be 2/3 " Mean" and V(x) to be 1/18 " variance"

Here is where things get confusing for me.

For the robot under study, the profit Y for a week is given by

Y=200*x-60

Find E(Y) and V(Y).

So I found E(Y) to be just y=200(E(x))-60

which makes sense.

But for V(Y)

we have to ignore the constant and sqareroot the first term so it would be

V(Y)=v[200x-60]=2002*v(x) "ignoring the constant"=2002*1/18

I don't understand the logic to computing the variance. Why would we ignore the constant and just square the first term?

Thanks



Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
I presume that you know that [itex]E(x)= \int xf(x)dx[/itex] and [itex]V= \int (x- x_0)^2f(x)dx[/itex]. Given that y= 2x- 60, yes, you can just put E(x) in for x and get [itex]E(y)= 2(2/3)- 60= 4/3- 60= -176/3[/itex] or -58 and 2/3.

If you were to replace x by 2x- 60 and [itex]E(x)[/itex] by that mean, you should be able to see that in [itex]((2x- 60)- (4/3- 60))^2[/itex] you can cancel the two "-60" terms. to find the variation of Y, integrate [itex](2x- 4/3)^2[/itex].
 
Mdhiggenz said:
I don't understand the logic to computing the variance. Why would we ignore the constant and just square the first term?
In general, if ##y = ax + b##, then ##E[y] = aE[x] + b##, so
$$\begin{align}
y - E[y] &= (ax + b) - (aE[x] + b)\\
&= ax - aE[x]\\
&= a(x - E[x])
\end{align}$$
Therefore,
$$\begin{align}
var(y) &= E\bigl[(y - E[y])^2\bigr]\\
&= E\bigl[\bigl(a(x - E[x])\bigr)^2]\\
&= E\bigl[a^2(x - E[x])^2\bigr]\\
&= a^2E\bigl[(x - E[x])^2\bigr]\\
&= a^2 var(x)
\end{align}$$