I am having some trouble understanding this proof.
From here:
I don't understand how the step on line 2 follows from line 1. The website simply notes "Summation is Linear," but I do not see how you can derive that step.
Anybody have an idea?
Help understanding a proof
Moderator: Alyrium Denryle
- Ziggy Stardust
- Sith Devotee
- Posts: 3114
- Joined: 2006-09-10 10:16pm
- Location: Research Triangle, NC
-
- Redshirt
- Posts: 7
- Joined: 2013-08-31 06:41pm
Re: Help understanding a proof
It's just distributive law followed by linearity:
∑(xi - x̅)(xi - x̅) = ∑[xi(xi - x̅) - x̅(xi - x̅)] = ∑xi(xi - x̅) - ∑x̅(xi - x̅)
Then, just factor out an x̅ from the second summation.
∑(xi - x̅)(xi - x̅) = ∑[xi(xi - x̅) - x̅(xi - x̅)] = ∑xi(xi - x̅) - ∑x̅(xi - x̅)
Then, just factor out an x̅ from the second summation.
Re: Help understanding a proof
They skipped a bunch of algebra. We can reconstruct the missing steps without too much difficulty.
First notice that we can expand the squared term so we have,
But then we can break out a summation of sums into a sum of summations, and so we have,
Now we can do some factoring out of terms to get,
And now we use the fact that summation is linear to pull out a constant multiple (in this case negative x-bar) and we have,
Which unless I've screwed up my algebra is a valid way to get from line one to line two. The rest then follows as described in the proof, and the last step is just this backwards more or less. It's actually a really clever proof, I think.
First notice that we can expand the squared term so we have,
But then we can break out a summation of sums into a sum of summations, and so we have,
Now we can do some factoring out of terms to get,
And now we use the fact that summation is linear to pull out a constant multiple (in this case negative x-bar) and we have,
Which unless I've screwed up my algebra is a valid way to get from line one to line two. The rest then follows as described in the proof, and the last step is just this backwards more or less. It's actually a really clever proof, I think.
"Hey, gang, we're all part of the spleen!"
-PZ Meyers
-PZ Meyers
- Ziggy Stardust
- Sith Devotee
- Posts: 3114
- Joined: 2006-09-10 10:16pm
- Location: Research Triangle, NC
Re: Help understanding a proof
Ah, I see. I was trying to work it out, but I brain farted and couldn't figure out to turn the summation of sums into the sum of summations like you did, there.
Thanks!
Thanks!