1. Double Summations

I posted this in calculus, but that may have been the wrong location...

How would you expand the double summation:

$\sum\limits_{i}^2{\sum\limits_{j}^2{y_{i}y_{j}a_{i j}}}$

I understand that:

$\sum\limits_{i}^2{\sum\limits_{j}^2{y_{i}y_{j}}}$

Gets you something like:

$
y_{1}^{2}+y_{12}+ y_{21}+y_{2}^{2}
$

and

$\sum\limits_{i}^2{\sum\limits_{j}^2{a_{ij}}}$

is

$
a_{11}+a_{12}+a_{21}+a_{22}
$

But how can you combine these two? Is it as simple as foiling the entire thing?

Any help would be greatly appreciated

2. 1) What does the notation mean? Does j always start at 1? That isn't clear. You can show it, $\sum_{j = 1}^{2}$...

2) I can't think of a single reason why you would get anything squared. You wouldn't square anything to populate a 2x2 matrix, would you?

3) Really, abandon this awkward notation and just fill in a 2x2 matrix. After staring at it for a moment, you should be able to write the summations.

3. Sorry, yes, it would be

$\sum\limits_{i=1}^2{\sum\limits_{j=1}^2{y_{i}y_{j} a_{ij}}}$

I don't know where you would get a matrix from, though, or how to fill it.

It's sort of weird to explain - my thermodynamics book explains van der waals parameters for a 2-component mixture as $a_{mix} = \sum\limits_{i=1}^2{\sum\limits_{j=1}^2{y_{i}y_{j} a_{ij}}}$, and then suddenly somehow comes up with

$a_{1}y_{1}^{2} + a_{12}a_{21}y_{1}y_{2} + a_{2}y_{2}^{2}$

without any real explanation.

Does it make any sense to you?

4. Originally Posted by vlai9180
Sorry, yes, it would be

$\sum\limits_{i=1}^2{\sum\limits_{j=1}^2{y_{i}y_{j} a_{ij}}}$

I don't know where you would get a matrix from, though, or how to fill it.

It's sort of weird to explain - my thermodynamics book explains van der waals parameters for a 2-component mixture as $a_{mix} = \sum\limits_{i=1}^2{\sum\limits_{j=1}^2{y_{i}y_{j} a_{ij}}}$, and then suddenly somehow comes up with

$a_{1}y_{1}^{2} + a_{12}a_{21}y_{1}y_{2} + a_{2}y_{2}^{2}$

without any real explanation.

Does it make any sense to you?
Are you sure it does not have:

$a_{1,1}y_{1}^{2} + (a_{1,2}+a_{2,1})y_{1}y_{2} + a_{2,2}y_{2}^{2}$

which is nothing more than writing the sum out longhand.

CB

5. Originally Posted by vlai9180
I posted this in calculus, but that may have been the wrong location...

[snip]
Then report the post to a Moderator (use the Report post tool - click on the small triangle in the top right corner of any post). And edit the post so that other people don't waste their time helping with something that has already been dealt with elsewhere.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 13, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://mathhelpforum.com/advanced-math-topics/135321-double-summations.html", "fetch_time": 1513471604000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-51/segments/1512948592202.83/warc/CC-MAIN-20171217000422-20171217022422-00015.warc.gz", "warc_record_offset": 169303002, "warc_record_length": 11214, "token_count": 875, "char_count": 2562, "score": 3.9375, "int_score": 4, "crawl": "CC-MAIN-2017-51", "snapshot_type": "longest", "language": "en", "language_score": 0.8661946058273315, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00062-of-00064.parquet"}