Rule of sum

If two sets are disjoint, the number of elements in their union equals the sum of their individual sizes. It is used to count outcomes that fall into mutually exclusive cases.

A\cap B = \emptyset \implies |A \cup B| = |A| + |B|

What the symbols mean

a finite set
a finite set disjoint from A
the union of A and B
the cardinality (number of elements) of A

About this formula

  • FieldMathematics
  • TopicCombinatorics
  • LevelHigh school
  • Also calledaddition principle, sum rule, rule of sum counting, disjoint union cardinality, counting disjoint sets, addition rule combinatorics
  • SourceWikidata Q2360148

Write it in Obsidian

MathLive is a free visual math editor for Obsidian. Run Find a formula, type “rule of sum”, and it goes into your note as editable LaTeX. You can also scan formulas from screenshots, PDFs and handwriting.

Related formulas