Physics Forums

## Proper summation notation

Hi

Is it correct of me to say that I want to carry out the sum
[tex]
\sum_i{v_iw_i}
[/tex]
where $i\in\{x,y,z\}$? Or is it most correct to say that $i=\{x,y,z\}$?

Best regards,
Niles.

Blog Entries: 1 				 				 				 				         Recognitions:      Homework  Help  If you have the sum $$v_x w_x + v_y w_y + v_z w_z$$ then you want $i \in \{ x,y,z \}$, which says sum over every element of the set $\{x,y,z \}$. If you wrote $$\sum_{i=\{x,y,z \}} v_i w_i$$ what you really just wrote is $$v_{ \{x,y,z \}} w_{ \{x,y,z \}}$$ which is strange because it's not a sum, and because indices are unlikely (but might be) sets of variables

Thanks, that is also what I thought was the case. I see the "i={x,y,z}"-version in all sorts of books.  Best wishes, Niles.

## Proper summation notation

Quote by Niles 					 				 				Hi  Is it correct of me to say that I want to carry out the sum  $$\sum_i{v_iw_i}$$ where $i\in\{x,y,z\}$? Or is it most correct to say that $i=\{x,y,z\}$?  Best regards, Niles.
While one can interpret that, it would make more sense if associated an index set with your label set if you need to do this. So if instead of {x,y,z} just introduce the bijection {x,y,z} = {1,2,3} where the ith component of one set maps to the ith of the other.

This is just my opinion, but the reason is mostly conventional because its easier for everyone with a simple mathematics background to understand and causes less confusion.

Thanks for the help, that is kind of everybody.  Best, Niles.

Thread Tools

|                                                |                                  |         |
|------------------------------------------------|----------------------------------|---------|
| Similar Threads for: Proper summation notation |                                  |         |
| Thread                                         | Forum                            | Replies |
|                                                | General Math                     | 2       |
|                                                | General Math                     | 3       |
|                                                | Special & General Relativity     | 2       |
|                                                | General Physics                  | 1       |
|                                                | Precalculus Mathematics Homework | 6       |
{"extraction_info": {"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": 6, "mathjax_display_tex": 4, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9242878556251526, "perplexity_flag": "middle"}