Jack writes:
> Jussi Piitulainen wrote in message
> news:qot4nfa...@ruuvi.it.helsinki.fi...
> > Jack writes:
> >
> >> Let S be a set of real numbers. Can I be ceratin that the
> >> expression
> >>
> >> sum_(k in S) k
> >>
> >> denotes the sum of all k for which k in S, including the sum b+c,
> >> where b and c are elements of S for which b = c?
> >
> > No. Different elements of a _set_ are never the same.
>
> I see; I didn't know that some concept of differentness was
> implied. I had initially gone for a set A of ordered pairs, then
>
> sum_((a, b) in A) a
>
> ... so, just to be clear, would I be achieving my objective, as I
> originally stated it, that way?
If all (a, b) are distinct, then yes, that will do it. If each b in
those pairs is distinct, this is the same thing that I'm suggesting:
each b serves as an index to an element that you want in the sum.
> > The usual thing is to have an index set, say K, and sum the
> > numbers a_k for k in K. Then you can have a_j = a_k even for j !=
> > k:
> >
> > sum_(k in K) a_k
> >
> > No need to mention an explicit set. The subscripts themselves will
> > do, with the convention that the index variable ranges over
> > integers unless otherwise specified:
> >
> > sum_(0 <= k < n) a_k
>
> So how preceisely would I do it? Something like this: 'Let K be an
> index set for (of?) a finite set S of real numbers. Then
>
> sum_(k in K) a_k = < something to do with S > '
>
> The fact that you say 'No need to mention an explicit set' makes me
> think I'm not saying it very well, above.
It's probably best if you take the index set as a range of integers
{1,...,n} and think of your collection of numbers as a _sequence_
(a_1, ..., a_n). Then your sum is simply
sum a_k for 1 <= k <= n
Say, if a = (1,4,1,5), then a_1 = 1, a_2 = 4, a_3 = 1, a_4 = 5, and
(sum a_k for 1 <= k <= 4) = 1 + 4 + 1 + 5 = 11. There is one term for
each k and it is not a problem that a_1 = a_3 because 1 != 3.
Any set of n elements will do, but the one above is common. You know
this, you just need to become aware of it: it's implicit in any sum
written as
n
sigma a_k
k=1