00:02
Given a pdf with some random variable x, and the expected value is you, also known as the mean.
00:08
And so we're asked to show that this equation is true, show that the variance is the integral from minus infinity to infinity, x squared of f of x d x minus the mean squared.
00:21
Okay, so how can we approach this? well, if we're going to have hope of solving this problem, we need to know what the definition of the variance is.
00:34
The variance is the expected value of your random variable minus the mean, that whole thing squared.
00:42
So what is that? it's the integral from minus infinity to infinity of x minus the mean squared, and then we multiply by f of x.
00:56
Okay, so now we're looking somewhat like what's on the right hand side.
01:01
Well, what can we do here? well, why don't we just expand out this polynomial.
01:08
And so what's that going to give us? first we have just x squared f of x dx.
01:17
Okay, that's good.
01:18
That's part of what's on the right hand side.
01:21
Then we have a minus two.
01:24
Now the mean is a constant, so i can factor that out.
01:28
We have the integral of x, f of x, dx...