sciandu
Mathematics

Mathematics

Sets

Grouping things together and then asking what they share: sets are the language behind it.

Your favourite songs, the even numbers, every country with a coastline: as soon as you gather things into a collection, you are working with a set. Mathematics gives this simple idea a clear language that can order surprisingly much.

What is a set?

A set is a collection of distinguishable objects, its elements. You write it in curly braces, for example A={1,2,3}A = \{1, 2, 3\}. That 2 belongs to the set is written 2A2 \in A, read as 2 is an element of A. If an object does not belong, you write 5A5 \notin A. Order does not matter, and each element counts only once.

Subsets

If every element of one set also sits in another, the first is a subset of the second. You write {1,2}{1,2,3}\{1, 2\} \subseteq \{1, 2, 3\}. The symbol \subseteq is read as is a subset of. The smaller set is then fully contained in the larger one. Since this still holds when both sets are equal, every set is a subset of itself.

Marble bag
Blue3
Yellow5
P(Blue) = 3/8 = 37.5%
Try it: fill the bag with marbles and view the colours as a set. Each colour is exactly one element, so a second marble of the same colour adds nothing new.

Union and intersection

From two sets you can build new ones. The union ABA \cup B contains all elements lying in AA or in BB, and likewise those sitting in both. Such a shared element still appears only once in the union. The intersection ABA \cap B contains only the elements sitting in both at once. The small \cup looks like a container that gathers everything, the \cap like a roof under which only the shared part fits.

A={1,2,3}, B={3,4}:AB={1,2,3,4}, AB={3}A = \{1,2,3\},\ B = \{3,4\}:\quad A \cup B = \{1,2,3,4\},\ A \cap B = \{3\}
The union gathers everything, the intersection keeps only the shared part.

The empty set

If two sets share no element, their intersection is empty. This special set with no element at all is called the empty set and is written \emptyset or {}\{\,\}. It is a subset of truly every set and shows up whenever nothing remains.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

Which symbol stands for the union of two sets?

What is {1,2,3}{2,3,4}\{1, 2, 3\} \cap \{2, 3, 4\}?

The sets are A={1,2,3}A = \{1, 2, 3\} and B={3,4,5}B = \{3, 4, 5\}. How many elements does ABA \cup B have?

Match each symbol to its meaning.

\cup
\cap
\in
\emptyset

The sets are A={1,2,3,4}A = \{1, 2, 3, 4\} and B={2,4,6}B = \{2, 4, 6\}. How many elements does ABA \cap B have?

The intersection ABA \cap B keeps only the elements that appear in .