
Bob B. answered 04/24/20
Tutor for Algebra, Calculus, Physics, and Electrical Engineering
Hi Shuvo!
The variance of X is equal to the second moment of X, E(X2) minus the square of its mean, E(x).
Symbolically, this is expressed as σ2 = E(X2)-μ2, where μ = E(X).
So let's first find μ=E(X).
For your density function, E(X) is the integral from 0 to 1 of xf(x), which is 2x2. The integral of 2x2 is (2/3)x3, and when we evaluate that between 0 and 1, we find that μ=E(X)=2/3. So μ2 = 4/9.
The second moment of X, E(X2) is the integral from 0 to 1 of x2f(x), wich is 2x3. The integral for 2x3 is (1/2)x4, and when we evaluate that between 0 and 1, we find that E(X2)=1/2.
So σ2 = 1/2-4/9 = 9/18 - 8/18 = 1/18.
Hope this makes sense. Let me know if you need any other help.
Thanks,
Bob