Sum Of Products Notation: Is It Correct?
Click For Summary
Discussion Overview
The discussion revolves around the correctness of "Sum Of Products" notation in mathematical expressions. Participants explore the clarity and formatting of mathematical notation, including the use of parentheses and limits in summation and product expressions. The conversation touches on the broader topic of standards in mathematical writing and notation.
Discussion Character
- Exploratory
- Technical explanation
- Conceptual clarification
- Debate/contested
Main Points Raised
- Some participants question whether the "Sum Of Products" notation is correct, assuming the underlying equation is valid.
- One participant points out that the lower limit on the product is incorrect by one, while another participant agrees but emphasizes their main concern is the notation itself.
- There is a discussion about whether the upper limit in the product needs to be in parentheses, with some suggesting that clarity is key, while others argue that parentheses are not necessary if the expression is clear.
- Participants express frustration over the lack of clear guides on mathematical notation and the variability in how notation is presented in different contexts.
- One participant mentions that clarity is essential and provides an example of how ambiguous notation can lead to misinterpretation.
- Another participant highlights that there is no universal standard for mathematical notation, emphasizing that clarity and context are what matter most.
- Some participants express a desire for official references on mathematical notation standards, noting the challenges of finding such resources.
Areas of Agreement / Disagreement
Participants generally agree on the importance of clarity in mathematical notation, but there is no consensus on whether specific formatting rules should be followed. Multiple competing views on the necessity of parentheses and the existence of universal standards remain unresolved.
Contextual Notes
Participants note that the way expressions are written can depend on context, and there are rules for when certain notations can be used. However, these rules are not universally agreed upon, leading to ambiguity and differing interpretations.
- 1,229
- 0
- 19
- 0
I just caught that error myself, yeh.
But my main question was, is the "Sum Of Products" notation correct (even if my math was wrong).
I don't have much experience writing in math notation so I just wonder if I have it typeset correctly. Does it need extra parentheses or anything?
Attachments
- 19
- 0
I'm still impressed you analyzed it so quick.
But I still wonder about my "spelling" ... does the upper limit in the product need to be in parentheses, for example? or maybe the entire product expression?
I can't find a clear guide to mathematical notation. The best I found was a meager list of symbols. I even see sums being written with their limits to the right rather than above & below. Cripes! Do mathematicians even care about such concerns? I know, in the English language, there are precise rules for where commas go, how spaces get used (or not) with dashes & ellipses, yada yada. Are mathies just more laid back?
- 1,118
- 1
It's all about clarity. For example, this isn't fine:
\sum_{k=0}^m \prod_{i=0}^n ki + n + \frac{3}{2} + j
That could mean in many many different things, in such a case you need to put parenthesis to explain clearly what you mean, for example:
\sum_{k=0}^m \left( \prod_{i=0}^n \left(ki + n + \frac{3}{2}\right) \right) + j
- 81
- 0
The way an expression is written can depend on context. This is no different from your example of how spelling and grammar works in English. Two grammatically correct sentences can say the same thing in very different ways. Sums usually have their limits written above and below the summation sign, but space considerations might force the limits to the right. If the context is clear, sometimes the entire set to be summed over is written under the summation sign, with nothing above. There are rules for when you can do this, just like using "I" vs. "me" in English.töff said:I can't find a clear guide to mathematical notation. The best I found was a meager list of symbols. I even see sums being written with their limits to the right rather than above & below. Cripes! Do mathematicians even care about such concerns? I know, in the English language, there are precise rules for where commas go, how spaces get used (or not) with dashes & ellipses, yada yada. Are mathies just more laid back?
Aside from what Orthodontist pointed out, your "spelling" looks fine. The upper limits don't need parentheses, though you can put them there if you want to. The product expression doesn't need parentheses around it, either, since it's clear what's being summed without the parentheses. Again, you can put parentheses around it if you want to, but it's redundant.
- 19
- 0
In language, ambiguity is also a concern, but punctuation/spelling/grammar are concerns separate from ambiguity ... so now I guess I amend my question to: "Is there an official standard of mathematical notation?" (That's what I should have asked in the first place.)
Sadly, in the world of writing, there are several competing standards across several subdomains. The Chicago Manual Of Style does not coincide everywhere with the Associated Press Style And Libel Manual, neither of which jibes with Turabian or Strunk. Journalists do not agree with fiction-writers, who do not agree with academicians, who don't agree with educators, who don't agree with linguists. And that's just for the English language! and let's not even get into British and American spelling, or even variant spellings in American such as "grey" and "gray." Yikes! (But I digress [as usual].) end/rant
So. Can anybody point me to one (or more) official references for mathematical notation? Do they exist?
- 81
- 0
\sum_{k=0}^m \prod_{i=0}^n ki + n + \frac{3}{2} + j
has a definite meaning, but it probably doesn't mean what is intended. As written, its meaning is the same as
\sum_{k=0}^m \left( \prod_{i=0}^n ki \right) + n + \frac{3}{2} + j.
Clarity is usually what counts the most, though, so the latter expression is definitely preferable.
- 19
- 0
A comprehensive (
- 19
- 0
Yep, those rules are what I am looking for.Nimz said:... the entire set to be summed over is written under the summation sign, with nothing above. There are rules for when you can do this, just like using "I" vs. "me" in English
- 19
- 0
\sum_{P=1}^I \frac{\left(P+S-1\right)!}{\left(S-1\right)!} = \sum_{P=1}^I \prod_{i=S}^{P+S-1} i
Heh. Looks like Latex requires some "parens" (actually curly braces, which don't render) in the product's upper limit:
\prod_{i=S}^{P+S-1} i
yields ... \prod_{i=S}^{P+S-1} i
... otherwise the order of operations confuses it ...
\prod_{i=S}^P+S-1 i
yields ... \prod_{i=S}^P+S-1 i
I know, I know, it's obvious why, even to non-programmers.
Still ... interesting, considering the topic! But I digress again.
- 19
- 0
But I cannot find any significant guide to mathematical notation.
(I should head over to the university library. I love that place.)
I find it hard to believe there's just NOT one out there!
- 1,229
- 0
- 1,118
- 1
That's because there isn't a universal standard notation for evertyhing in mathematics. It's about clarity and context, that is all that matters.töff said:Normally I am an above-average web searcher.
But I cannot find any significant guide to mathematical notation.
(I should head over to the university library. I love that place.)
I find it hard to believe there's just NOT one out there!![]()
For an example of context, if I was in my PDE class and lecturer wrote:
a_i x^i
I would assume it meant some constant coefficient ai multiplied by some variable x to the power of some natural number i.
However, if I was in my vector calculus class last semester and lecturer wrote:
x^v y_v
I would assume that it meant that it meant:
\sum_{v=0}^n x^v y_v
Where xv is the vth x, yv is the vth y and n is the number of dimensions of the space in which we are dealing with.
I'm sure, but I have seen simmilar notation be used and parenthesis not added and it is just assumed the reader understands what is going on.Nimz said:Actually, something like
\sum_{k=0}^m \prod_{i=0}^n ki + n + \frac{3}{2} + j
has a definite meaning, but it probably doesn't mean what is intended. As written, its meaning is the same as
\sum_{k=0}^m \left( \prod_{i=0}^n ki \right) + n + \frac{3}{2} + j.
Clarity is usually what counts the most, though, so the latter expression is definitely preferable.
- 19
- 0
Because I'm a writer. I want to write the math properly. I'm sorry if I have become annoying, but I did kinda assume that some other people might also care* about prescribed rules of notation and maybe be able to point me at them.0rthodontist said:Why do you care so much about this?
Most of you seem concerned only with clarity, which of course is indispensible. But I can write a sentence in English that very clearly means one and only one thing, while it completely disregards the rules of grammar, punctuation, and spelling.
I want to write math BOTH unambiguously AND within the rules and traditions of the notation. Thus I asked for a reference, which apparently is not readily available online, if it exists anywhere.
In (very briefly!) reviewing the history of mathematical notation all the way back to Babylonian clay tablets, I see a lot of arbitrary and proprietary notation systems. If the authors were foresightful enough to create guides to their notation, their work can live on; otherwise it becomes cryptographic
Has anyone here ever even seen or heard of one?
(Heck, there is even a side-debate here about whether Zurtex's original example of an expression that "isn't fine" is actually fine or not.)
- 9,361
- 6
But there are guides as to how one should structure mathematical writing, there is even a book on it 'How to write mathematics' by Steenrod, Halmos et al.
In particular all 'sentences' should be genuine sentences (the flaw that most people make in writing mathematics is presuming it is OK to write a series of unexplained symbols).
A lot of it is 'good etiqutte' and not binding, though: some places will tell you not to use '(resp.)' notation eg 'If A is even (resp. B is odd) then f(A) is odd (resp F(B) is even)'.
- 19
- 0
I've found "how to write math into sentences for papers" guidelines on the web. It's not entirely what I was after.
Still, thanks for the referral!
- 19
- 0
Where are those rules recorded?Nimz said:... the entire set to be summed over is written under the summation sign, with nothing above. There are rules for when you can do this, just like using "I" vs. "me" in English
- 9,361
- 6
\sum_{n \in \mathbb{N}}x_n
means, and if you're not sure you ask. It is common through usage, no one sits down and writes out the rules. In fact I would say that the only 'rule' in this case is the intuitively obvious one: if you can simply describe the set then do so if you wish to. It is by far the most common way of writing sums. Using
\sum_{r=1}^n
is by far the least useful way of doing it since it is only usable on sets of the form {r,r+1,r+2,..n}.
The method of not specifying the index on the symbol explicitly is useful for example when you want to do things like taking a sum or product over primes:
\prod_p (1- 1/p^s)
is common short hand: we know from experience that this sort of product is over p a prime. If you don't know that then it's a fair bet that you wouldn't be reading a paper where it is assumed you do: papers are written with target audiences in mind, and the notation the author chooses reflects that.
There is also nothing to stop you writing: \sum x_i where i runs over the set {1,3,4,6,7} if that is what is needed. You could even write that as
\sum_{i \in \{1,3,4,6,7\}} x_i
if you wanted but that would be messy.When would you use the word autodidact and when the phrase 'self taught'? That would depend on the audience in mind, and how fancy you wanted to appear, but there are no had and fast rules written down are there?
- 19
- 0
I see a trend emerging.
That is a matter of rhetoric, which I grant is open to a lot of subjectivity, interpretation, and craftsmanship. However, there certainly are many hard and fast rules written down for grammar, spelling, and punctuation, in the field of language. Mathematics at the medial level (I ain't talking about the acroloci where math verges into philosophy) is a precise science. The notation you use is not open to interpretation. You have some latitude about how you describe & write an expression (my equation of sum-of-factorials = sum-of-products being an example!), but your notation system for writing that expression is as precise as the rules of grammar and punctuation that writers follow despite whatever rhetorical approaches they take.When would you use the word autodidact and when the phrase 'self taught'? ... there are no had and fast rules written down are there?
I know comparing math to language, or mathematicians to linguists & writers, is not fair. But I am still quite surprised that the world of math (so far in my limited investigation) has nothing comparable to a "Manual Of Punctuation" in the world of language.
You'd be surprised who reads what. I mean, how do you think I wound up here? I ain't the only cross-discipline freak out there lurking in places I don't belong. Those freaks who lurk into writing & stylistics will find plenty of resources for understanding syntax, dialect, vocabulary, implication & connotation, capitalization, the Oxford Comma, use of single and double quotes, etc.etc. Those freaks (like me) who lurk into math, apparently, are S.double-O.L. for ready references, and are going to have to come in here and ask for help ... which, I suppose, amounts to word-of-mouth.If you don't know that then it's a fair bet that you wouldn't be reading a paper where it is assumed you do
-- Still OMG @ there being no Mathematical Notation Stylistics Guide.
- 10,165
- 138
Essentially, such a focus is preoccupied with "unimportant" matters.
What IS important, are the concepts themselves, in particular their definitions.
What notational convention you use in describing your concepts should be a matter of unambiguity (NOT the same as fixedness!), efficiency, and taste.
- 9,361
- 6
töff said:The notation you use is not open to interpretation.
That is because you get to decide, and state, what it means. If it is useful, it catches on. (Often deciding what notation you want to use is the hardest part of doing it.)
Each area of mathematics has its own usage too. Any introductory calculus textbook will define the things you need to know to do calculus and so on
\sum
usually means sum, and as long as you indicate in whatever way you want to what the index set is you're fine. Put the description above, below, both, after, before, whatever you want, it's all fine as long as you put it in somewhere.
That symbol definitely doesn't mean 'sum' in many papers I read, for instance, but they always state what it does mean.
There can be no exhaustive list because people keep inventing new notation all the time (often, nay always, using existing symbols or bastardizations thereof), but any introductory text will define the symbols it uses.
- 19
- 0
Yeh but apparently there is no list whatsoever, except the briefest of lists of what each symbol means, which is tantamount to a chart of the alphabet with the sounds each letter makes.There can be no exhaustive list
Where, for example, has anybody ever described how upper & lower limits can be specified or omitted/implied in sigma notation?
- 19
- 0
True! and the same applies to language, as portrayed wonderfully by George Orwell's "Newspeak" in 1984. That was a double-plus-good book!arildno said:An important thing to remember, is that it is damaging for your mental flexibility to be too dependent on unique, fixed symbolic notations for your concepts.
- 10,165
- 138
Evidently, you are still having the wrong focus on these matters.töff said:True! and the same applies to language, as portrayed wonderfully by George Orwell's "Newspeak" in 1984. That was a double-plus-good book!
- 19
- 0
- 10,165
- 138
- 19
- 0
Evidently. As enlightening as this all is, it is also frustrating.arildno said:Evidently, you are still having the wrong focus on these matters.
So as long as I get my meaning across, it doesn't matter how I spell and punctuate my formulae? language and music have rules for writing, but math has no rules as long as the reader interprets my notation correctly? See, that's quite an alien concept for me.
- 9,361
- 6
töff said:Where, for example, has anybody ever described how upper & lower limits can be specified or omitted/implied in sigma notation?
because there is no need to: look at how it is done in your textbook and learn. I'm reasonably sure no one has seen fit to catalogue every single possible way to draw the letter s, either.
- 10,165
- 138
ACCORDING TO THE DEFINITIONS GIVEN IN THE CONTEXT!
Similar threads
- · Replies 5 ·
- Replies
- 5
- Views
- 3K
- · Replies 6 ·
- Replies
- 6
- Views
- 2K
- · Replies 1 ·
- Replies
- 1
- Views
- 1K
- · Replies 2 ·
- Replies
- 2
- Views
- 1K
- · Replies 1 ·
- Replies
- 1
- Views
- 1K
- · Replies 7 ·
- Replies
- 7
- Views
- 2K
- · Replies 2 ·
- Replies
- 2
- Views
- 3K
- · Replies 7 ·
- Replies
- 7
- Views
- 3K
- · Replies 13 ·
- Replies
- 13
- Views
- 2K
- · Replies 3 ·
- Replies
- 3
- Views
- 2K