Theorem · Sets and logic
The union formula
Statement of the theorem with its hypotheses, proof and the exercises in which it is applied. From the chapter Sets and elementary logic of Mathematics, 1st year.
The union formula
A set is finite when its elements can be counted up to the last one. For finite sets and , write for the number of elements of , also called the cardinality of . For we have . The formula is
The sum counts the common elements twice, once in and once in . Subtracting leaves every element counted exactly once. For and the union is and the formula gives .
The three values on the right determine the number of objects satisfying at least one of the two conditions. When the total is known, the same formula is solved for , which gives .
The proof is available to those who have unlocked the subject.
Unlock nowRead it in the chapter Sets and elementary logic →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Mathematics, 1st year → · All the theorems on the site →