Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have two sets of items. Every item has a score. I'm finding the sum of the scores of the items of the intersection of both sets.

What would the best way to notate this be?

An example:

A = {a, b, c, d}
B = {c, d, e}
The scores are:
a -> 9
b -> 8
c -> 7
d -> 6
e -> 5
The result is the sum of the values of c and d, 7 + 6 = 13
share|improve this question

1 Answer 1

up vote 1 down vote accepted

For arbitrary sets $A$ and $B$, where the score of an element $a$ is $s(a)$, denote the sum of the scores of the elements in their intersection $\sum_{a\in A \cap B} s(a)$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.