Math 2.0

statement theorem

Rule of sum

Statement

Let AA and BB be finite sets with A∩B=∅A \cap B = \varnothing. Then A∪BA \cup B is finite and ∣A∪B∣=∣A∣+∣B∣|A \cup B| = |A| + |B|.

More generally, let A1,…,AkA_1, \dots, A_k be finite sets that are pairwise disjoint. Then ∣A1∪⋯∪Ak∣=∣A1∣+⋯+∣Ak∣|A_1 \cup \dots \cup A_k| = |A_1| + \dots + |A_k|.

Remarks

For the disjoint union A⊔BA \sqcup B of two arbitrary finite sets, the same formula ∣A⊔B∣=∣A∣+∣B∣|A \sqcup B| = |A| + |B| holds. If AA and BB are not disjoint, the formula fails. The inclusion-exclusion formula for two sets gives the correct count.

Explanations

L1 human

If you choose one item from a first group or from a second group, and no item is in both groups, you add the sizes. For example, with 3 soups and 4 salads on a menu, there are 3+4=73 + 4 = 7 ways to choose one starter.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 2 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Cardinality of a finite set definition
  2. Rule of sum statement

What depends on this

4 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Addition_principle, lead section