Solve Tricky Summation Homework Statement

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Summation
Click For Summary

Homework Help Overview

The discussion revolves around a summation problem involving the calculation of S_{xy} = ∑(x_i - \bar{x})(y_i - \bar{y}), where participants are exploring how to express this summation in terms of averages and sample sizes.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to rewrite the summation in terms of \bar{x}, \bar{y}, and ∑x_iy_i, questioning the expression ∑\bar{x}\bar{y} and whether it equals n*(\bar{x}\bar{y}). Other participants confirm this and explore further simplifications.

Discussion Status

Participants are actively engaging with the problem, confirming expressions and attempting to simplify the summation. There is a recognition that expressing ∑x_iy_i in terms of \bar{x}, \bar{y}, and n may not be straightforward, with some suggesting that it might not be possible.

Contextual Notes

Participants are working within the constraints of a homework assignment, focusing on the manipulation of summation terms and averages without providing complete solutions.

Saladsamurai
Messages
3,009
Reaction score
7

Homework Statement



I have this nasty summation and I am close to finding a way to calculate it with my graphing calculator. I just need to iron out the details. If I can rewrite the summation on terms of [itex]\bar{x}[/itex], [itex]\bar{y}[/itex] and [itex]\sum x_iy_i[/itex] I will be all set. I will explain these terms in a moment. First, here is the sum:

[tex]S_{xy} = \sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})[/tex]

Where [itex]x_i[/itex] and [itex]y_i[/itex] are the x and y (sample) averages.

If I do out the multiplication I get [tex]S_{xy} = <br /> \sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})[/tex]

[tex]= \sum x_iy_i - x_i\bar{y} - y_i\bar{x} + \bar{x}\bar{y}[/tex]

[tex]= \sum x_iy_i - \bar{y}\sum x_i - \bar{x}\sum y_i +\sum\bar{x}\bar{y}[/tex]

Now I it is just the last term [itex]\sum\bar{x}\bar{y}[/itex] that is bothering me. I think the answer is obvious, but I would like confirmation: is the expression [itex]\sum\bar{x}\bar{y}[/itex] identical to [itex]n*(\bar{x}\bar{y})[/itex] ?It must be. I don't know why I am doubting this. :redface:
 
Physics news on Phys.org
Yes

[tex]\sum\bar{x}\bar{y} = n\bar{x}\bar{y}[/tex]

Also remember that

[tex]\sum x_i = n \bar{x}[/tex]

[tex]\sum y_i = n \bar{y}[/tex]

So what does

[tex]- \bar{y}\sum x_i - \bar{x}\sum y_i +\sum\bar{x}\bar{y}[/tex]

become?
 
Oh neat. Looks like it reduces to [itex]-n\bar{x}\bar{y}[/itex]

Yes?
 
Saladsamurai said:
Oh neat. Looks like it reduces to [itex]n\bar{x}\bar{y}[/itex]

Yes?

Yes

Which can also be written as (1/n)∑xi∑yi
 
I like this. If I could write it all on terms of xbar, ybar, and n, that would be best. I think that the sum(xi*yi) term can be written in terms of these. I'll post back I'm a moment. Thanks again!

Hmmm... I am not seeing an easy way to write [itex]\sum x_iy_i[/itex] in terms of [itex]\bar{x}[/itex], [itex]\bar{x}[/itex], and n. Perhaps there isn't one?
 
Last edited:
"I am not seeing an easy way to write in terms of [itex]\bar x[/itex], [itex]\bar y[/itex] , and n. Perhaps there isn't one?"

No, there is not.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
5
Views
3K