Help understanding a proof

SLAM: debunk creationism, pseudoscience, and superstitions. Discuss logic and morality.

Moderator: Alyrium Denryle

Post Reply
User avatar
Ziggy Stardust
Sith Devotee
Posts: 3114
Joined: 2006-09-10 10:16pm
Location: Research Triangle, NC

Help understanding a proof

Post by Ziggy Stardust »

I am having some trouble understanding this proof.

From here:

Image

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?
Kuroneko II
Redshirt
Posts: 7
Joined: 2013-08-31 06:41pm

Re: Help understanding a proof

Post by Kuroneko II »

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.
User avatar
Eris
Jedi Knight
Posts: 541
Joined: 2005-11-15 01:59am

Re: Help understanding a proof

Post by Eris »

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,

Image

But then we can break out a summation of sums into a sum of summations, and so we have,

Image

Now we can do some factoring out of terms to get,

Image

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,

Image

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
User avatar
Ziggy Stardust
Sith Devotee
Posts: 3114
Joined: 2006-09-10 10:16pm
Location: Research Triangle, NC

Re: Help understanding a proof

Post by Ziggy Stardust »

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!
Post Reply