0580 · Extended · For exams 2028–2030

E1.2 Number

Sets (المجموعات)

Syllabus aims: use set language and notation, and Venn diagrams (up to three sets) to describe sets and relationships between sets.

1. The idea

A set (مجموعة) is a collection of elements. Notation: n(A) number of elements (عدد العناصر); x ∈ A "x is an element of A"; x ∉ A "not an element"; A′ complement (المتممة); ∅ the empty set (المجموعة الخالية); ξ the universal set (المجموعة الشاملة); A ⊆ B "A is a subset of B"; A ⊈ B "not a subset"; A ∪ B union (اتحاد); A ∩ B intersection (تقاطع).

Sets can be written as a list, e.g. D = {a, b, c}, or by a rule, e.g. C = {x: −2 ⩽ x < 3, x an integer}. A rule can also describe pairs of numbers: B = {(x, y): y = mx + c} is the set of all points (x, y) on the line y = mx + c.

n(A ∪ B) = n(A) + n(B) − n(A ∩ B)

For three sets, work from the middle outwards: fill the region A ∩ B ∩ C first, then the regions where two sets overlap, then the parts that belong to one set only. Then the regions outside all circles but inside ξ.

2. Worked examples (أمثلة محلولة)

Example 1

ξ = {1, 2, …, 12}, A = {2, 4, 6, 8, 10, 12}, B = {3, 6, 9, 12}. Find A ∩ B, A ∪ B and n(A ∪ B).

Step 1. A ∩ B = elements in both = {6, 12}.

Step 2. A ∪ B = everything in either = {2, 3, 4, 6, 8, 9, 10, 12}.

Step 3. n(A ∪ B) = 8.

Check: n(A) + n(B) − n(A ∩ B) = 6 + 4 − 2 = 8. ✓

Example 2 (complement)

Using the same sets, find A′ and (A ∪ B)′.

Step 1. A′ = elements of ξ not in A = {1, 3, 5, 7, 9, 11}.

Step 2. A ∪ B = {2, 3, 4, 6, 8, 9, 10, 12}. Remove these from ξ.

Step 3. (A ∪ B)′ = {1, 5, 7, 11}.

Example 3 (three sets)

30 students. 15 play football (F), 12 basketball (B), 10 volleyball (V). 5 play F and B, 4 play B and V, 3 play F and V, and 2 play all three. How many play exactly one sport, and how many play none?

Step 1. All three: 2. Only F and B: 5 − 2 = 3. Only B and V: 4 − 2 = 2. Only F and V: 3 − 2 = 1.

Step 2. Only F: 15 − 3 − 1 − 2 = 9. Only B: 12 − 3 − 2 − 2 = 5. Only V: 10 − 2 − 1 − 2 = 5.

Step 3. Exactly one sport: 9 + 5 + 5 = 19.

Step 4. At least one sport: 19 + (3 + 2 + 1) + 2 = 27. None: 30 − 27 = 3.

Check: 15 + 12 + 10 − 5 − 4 − 3 + 2 = 27. ✓

3. Practice (أسئلة متدرجة)

Try each question first. Tap to see the answer.

Q1 (easy). List the elements of C = {x: x is an integer, −2 ⩽ x < 3} and find n(C).

Answer

C = {−2, −1, 0, 1, 2}, so n(C) = 5. (3 is not included.)

Q2 (easy). A = {1, 2} and B = {1, 2, 3}. Is A ⊆ B? Is B ⊆ A?

Answer

Every element of A is in B, so A ⊆ B is true. 3 is in B but not in A, so B ⊆ A is false (B ⊈ A).

Q3 (medium). n(ξ) = 40, n(A) = 18, n(B) = 15 and n(A ∩ B) = 6. Find n(A ∪ B) and n((A ∪ B)′).

Answer

n(A ∪ B) = 18 + 15 − 6 = 27. n((A ∪ B)′) = 40 − 27 = 13.

Q4 (medium). ξ = {1, 2, …, 15}. A = {prime numbers}, B = {odd numbers}. List A ∩ B and find n(A′ ∩ B).

Answer

A = {2, 3, 5, 7, 11, 13}, B = {1, 3, 5, 7, 9, 11, 13, 15}. A ∩ B = {3, 5, 7, 11, 13}. A′ ∩ B = odd numbers that are not prime = {1, 9, 15}, so n = 3.

Q5 (harder). n(ξ) = 50. P, Q, R have 20, 18 and 14 elements. n(P ∩ Q) = 7, n(Q ∩ R) = 6, n(P ∩ R) = 5 and n(P ∩ Q ∩ R) = 3. How many elements are in none of the sets?

Answer

n(P ∪ Q ∪ R) = 20 + 18 + 14 − 7 − 6 − 5 + 3 = 37. None: 50 − 37 = 13.

4. Summary (ملخص)