📌 0580 Topic 1/2 — Sets & Venn DiagramsCE · Set notation · Union, intersection, complement · Two- and three-set Venn diagrams · Solving problems with n(A)n(A)
Sets group elements; Venn diagrams display unions, intersections and complements.
▲ Reference — Set notation
Union A\cup BA∪B (in either set), intersection \( A\cap B \) (in both), complement \( A' \) (not in \( A \)); \( n(A) \) counts the elements of \( A \).
● Deep Conceptual Intuition — Sets & Venn Diagrams
Conditional Probability, Bayes' Theorem & Robust Summary Statistics: For any two events \(A\) and \(B\) with \(P(B) > 0\), conditional probability restricts the sample space to \(B\): \(P(A \mid B) = \dfrac{P(A \cap B)}{P(B)}\). In descriptive statistics, the median and interquartile range (\(\text{IQR} = Q_3 - Q_1\)) are resistant to extreme outliers, whereas the mean \(\bar{x}\) and standard deviation \(s\) are pulled strongly in the direction of skewness.
Venn diagram partitioning sample space into |A only| = 12, \(|A \cap B| = 6\), |B only| = 15, and \(|(A \cup B)'| = 4\).
⊙ Explorer · Venn Diagram Set Cardinality \(n(A \cup B) = n(A) + n(B) - n(A \cap B)\)
interactive
Live numerical table for Venn Diagram Set Cardinality \(n(A \cup B) = n(A) + n(B) - n(A \cap B)\)
Parameter / Metric
Value
Union \(n(A \cup B)\) (out of \(N = 100\))\(0.70\)
Visualize universal set ℰ (\(N = 100\) students) partitioned into A only, intersection A ∩ \(B\), \(B\) only (with \(n(B) = 40\)), and outside (A ∪ \(B\))'.
Union
\( A\cup B \)
Intersection
\( A\cap B \)
Complement
\( A' \)
Subset
\( A\subseteq B \)
◆ Why It Works — First-Principles Derivation (Sets & Venn Diagrams)
Why Bayes' Theorem & Principle of Inclusion-Exclusion Work: Any event \(B\) can be partitioned into disjoint intersections \(B = (B \cap A) \cup (B \cap A')\). By additivity of mutually exclusive events and the multiplication rule \(P(A \cap B) = P(B \mid A)P(A)\):
Similarly, in counting \(|A \cup B|\), summing \(|A| + |B|\) counts every element in \(A \cap B\) twice; subtracting \(|A \cap B|\) once restores exact cardinality: \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\).
Worked example 10.A
Problem. If \( A=\{1,2,3\} \) and \( B=\{2,3,4\} \), find \( A\cap B \).
▸ Show step-by-step solution
\[ \{2,\,3\}. \]
Worked example 10.B — Three-set Venn diagram
Problem. In a class of 30: 14 play football (F), 11 play basketball (B), 8 play tennis (T); 4 play F and B, 3 play F and T, 2 play B and T, 1 plays all three.
▸ Show step-by-step solution
Use the formula: \(n(F\cup B\cup T)=n(F)+n(B)+n(T)-n(F\cap B)-n(F\cap T)-n(B\cap T)+n(F\cap B\cap T)\)
\[=14+11+8-4-3-2+1=25.\]
So \(30-25=5\) students play none of the three sports.
Worked Example \(C\) — Sets & Venn Diagrams (Medium Application)
Problem. In a class of 60 students, all students study at least one of the subjects French (F) or Spanish (S). The number of students who study French is \(n(F)\), the number of students who study Spanish is \(n(S)\), and the number of students who study both French and Spanish is \(n(F \cap S)\). Given that \(n(F) = 3x - 4\), \(n(S) = 2x + 6\), and \(n(F \cup S) = 50\), find the value of \(x\).
▸ Show step-by-step solution
Let \(n(F)\) be the number of students studying French, and \(n(S)\) be the number of students studying Spanish. Let \(n(F \setminus S)\) be the number of students studying only French, and \(n(S \setminus F)\) be the number of students studying only Spanish. Let \(n(F \cap S)\) be the number of students studying both subjects.
We are given:
\(n(F) = 3x - 4\)
\(n(S) = 2x + 6\)
\(n(F \setminus S) = 14\)
\(n(S \setminus F) = 18\)
We know that the total number of students studying a subject is the sum of those studying only that subject and those studying both subjects.
For French:
\(n(F) = n(F \setminus S) + n(F \cap S)\)
Substitute the given values:
\(3x - 4 = 14 + n(F \cap S)\)
Rearrange to find an expression for \(n(F \cap S)\):
\(n(F \cap S) = (3x - 4) - 14\)
\(n(F \cap S) = 3x - 18\) (Equation 1)
For Spanish:
\(n(S) = n(S \setminus F) + n(F \cap S)\)
Substitute the given values:
\(2x + 6 = 18 + n(F \cap S)\)
Rearrange to find another expression for \(n(F \cap S)\):
\(n(F \cap S) = (2x + 6) - 18\)
\(n(F \cap S) = 2x - 12\) (Equation 2)
Since both Equation 1 and Equation 2 represent the number of students studying both subjects, we can equate them:
\(3x - 18 = 2x - 12\)
To solve for \(x\), subtract \(2x\) from both sides of the equation:
\(3x - 2x - 18 = 2x - 2x - 12\)
\(x - 18 = -12\)
Add 18 to both sides of the equation:
\(x - 18 + 18 = -12 + 18\)
\(x = 6\)
We can verify this solution by finding the number of students in each part of the Venn diagram:
If \(x=6\):
\(n(F \setminus S) = 14\) (given)
\(n(S \setminus F) = 18\) (given)
Using Equation 1: \(n(F \cap S) = 3(6) - 18 = 18 - 18 = 0\)
Using Equation 2: \(n(F \cap S) = 2(6) - 12 = 12 - 12 = 0\)
So, \(n(F) = n(F \setminus S) + n(F \cap S) = 14 + 0 = 14\). Checking with the given formula: \(3x - 4 = 3(6) - 4 = 18 - 4 = 14\). This matches.
And \(n(S) = n(S \setminus F) + n(F \cap S) = 18 + 0 = 18\). Checking with the given formula: \(2x + 6 = 2(6) + 6 = 12 + 6 = 18\). This matches.
The number of students studying at least one subject is \(n(F \cup S) = n(F \setminus S) + n(S \setminus F) + n(F \cap S) = 14 + 18 + 0 = 32\). The problem, as reconstructed to yield \(x=6\), does not require the total class size or union size to be a specific value other than what is implied by the algebraic expressions and the solution for \(x\).
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Sets & Venn Diagrams)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independent
Confuses disjoint (mutually exclusive) events with statistically independent events.
For independent events, multiply probabilities: \(P(A \cap B) = P(A)\cdot P(B)\).
Dividing by the grand total \(N\) when computing \(P(A \mid B)\) from a table
Computes the joint probability \(P(A \cap B)\) instead of conditioning on subset \(B\).
Restrict the denominator strictly to the row/column total of the given condition \(B\).
Using permutations \({}^nP_r\) when selecting a committee with no distinct roles
Overcounts every group of size \(r\) by \(r!\) internal orderings.
Divide by \(r!\) to use combinations: \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\).
Exam Strategy (Cambridge IGCSE Mathematics (0580 Extended)): Whenever a probability problem involves "at least one" success across multiple trials, immediately use the Complement Rule: \(P(\text{at least one}) = 1 - P(\text{none})\). It turns a multi-case sum into a single calculation.
\(\mathcal{E}=\{1,2,3,4,5,6,7,8,9,10\}\), \(A=\{2,4,6,8\}\), \(B=\{3,6,9\}\). List \(A\cap B\), \(A\cup B\), and \(A'\).
💡 Hint 1 of 3
Set up the initial relation: \(A\cap B=\{6\}\).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(A\cup B=\{2,3,4,6,8,9\}\).
💡 Hint 3 of 3
Use the resulting form to finish: \(A'=\{1,3,5,7,9,10\}\).
Venn diagram representing two intersecting sets \(A\) and \(B\) partitioned into disjoint regions: \(A \cap B'\), \(A \cap B\), \(A' \cap B\), and exterior \((A \cup B)'\).
⚠️ Cambridge 0580 Traps — Set Notation & Venn Diagrams
Union vs. Intersection: \(A \cup B\) is the UNION (all elements in \(A\) OR \(B\) OR both). \(A \cap B\) is the INTERSECTION (only elements common to BOTH \(A\) and \(B\)).
Complement De Morgan’s Laws: \((A \cup B)' = A' \cap B'\) (elements outside both sets). Contrast this with \(A' \cup B' = (A \cap B)'\) (everything except the central intersection).
Number of Elements vs. The Set Itself: \(n(A)\) is a number (integer count). Never write \(n(A) = \{2, 3\}\). The set itself is \(A = \{2, 3\}\), and its count is \(n(A) = 2\).
Worked example 10.C — Venn diagram with an unknown \(x\)
Problem. In a club of 40 members, 25 play badminton (B) and 20 play squash (S). 6 members play neither sport. Find how many play both sports.
▸ Show step-by-step solution
Let \(x = n(B \cap S)\). The number who play badminton only is \(25 - x\), squash only is \(20 - x\), both is \(x\), and neither is 6.
\[(25 - x) + x + (20 - x) + 6 = 40\]\[51 - x = 40 \implies x = 11\]
Therefore, 11 members play both sports.
In a survey of 60 students, 35 study French, 28 study German, and 12 study both languages. Find (a) the number of students who study neither language, and (b) the probability that a student chosen at random studies French given that they study German.
[Practice 3 · Hard] A survey of 100 students about their preferred social media platforms yielded the following information:
- 55 students use Platform A.
- 62 students use Platform B.
- 18 students use neither Platform A nor Platform B.
- \( x \) students use both Platform A and Platform B.
Find the value of \( x \).
💡 Hint 1 of 3
Let A be the set of students who use Platform A and B be the set of students who use Platform B.
💡 Hint 2 of 3
We are given the total number of students is 100. Number of students who use neither A nor B is 18.
💡 Hint 3 of 3
Use the resulting form to finish: \(x = 117 - 82\).
Let A be the set of students who use Platform A and B be the set of students who use Platform B.
We are given the total number of students is 100.
Number of students who use neither A nor B is 18.
Therefore, the number of students who use at least one platform is \(100 - 18 = 82\).
This means \(|A \cup B| = 82\).
We are given \(|A| = 55\) and \(|B| = 62\).
The formula for the union of two sets is \(|A \cup B| = |A| + |B| - |A \cap B|\).
Here, \(|A \cap B|\) represents the number of students who use both platforms, which is given as \( x \).
Substituting the given values into the formula:
\(82 = 55 + 62 - x\)
\(82 = 117 - x\)
\(x = 117 - 82\)
\(x = 35\)
Common trap: Students might forget to subtract the intersection when calculating the union, leading to an incorrect value for \( x \). For example, incorrectly assuming \(|A \cup B| = |A| + |B|\) would lead to \(82 = 55 + 62\), which is false.
[Practice 4 · Easy] In a class of 30 students, 15 students play football and 20 students play basketball. Every student plays at least one of the two sports. Using a Venn diagram, find the number of students who play both football and basketball.
💡 Hint 1 of 3
Let F be the set of students who play football and B be the set of students who play basketball.
💡 Hint 2 of 3
We are given that the total number of students is 30. The number of students who play football is \(|F| = 15\).
💡 Hint 3 of 3
So, 5 students play both football and basketball.
Let F be the set of students who play football and B be the set of students who play basketball. We are given that the total number of students is 30. The number of students who play football is \(|F| = 15\). The number of students who play basketball is \(|B| = 20\). Since every student plays at least one of the two sports, the union of the two sets is equal to the total number of students: \(|F \cup B| = 30\). We can use the principle of inclusion-exclusion for two sets, which states: \(|F \cup B| = |F| + |B| - |F \cap B|\). We want to find the number of students who play both sports, which is \(|F \cap B|\). Rearranging the formula, we get: \(|F \cap B| = |F| + |B| - |F \cup B|\). Substituting the given values: \(|F \cap B| = 15 + 20 - 30\). Therefore, \(|F \cap B| = 35 - 30 = 5\). So, 5 students play both football and basketball.
[Practice 5 · Medium] A data set has values and frequencies: \( 1(\times4), 2(\times3), 3(\times2), 4(\times1) \). Find the mean.
💡 Hint 1 of 3
Set up the formula/expression: \(\text{Mean} = \dfrac{\sum fx}{\sum f}\).
💡 Hint 2 of 3
Substitute and simplify: \(\text{Mean} = \dfrac{20}{10}\).
For Sets & Venn Diagrams, consider the linear-rate relationship \(f(x) = 3x + 5\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 6x + 5\).
(a)2 pts
Find the initial value \(f(0)\) and the slope \(f'(x)\).
Scoring Guideline & Justification
[M1]Evaluates f(0) and reads gradient coefficient(1 pt)
[A1]Obtains f(0) = 5 and slope = 3(1 pt)
(b)3 pts
Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
Scoring Guideline & Justification
[M1]Finds axis of symmetry x = 3(2 pt)
[A1]Evaluates minimum k = -4(1 pt)
(c)3 pts
Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 5\).
Scoring Guideline & Justification
[M1]Applies (g(5) - g(0)) / 5(2 pt)
[A1]Simplifies to -1(1 pt)
Complete Worked Solution
(a) \(f(0)=5\), gradient \(3\). (b) Completing the square gives \(g(x)=(x-3)^2+-4\), minimum \(-4\) at \(x=3\). (c) Average rate \(= (x_1+x_2-6) = -1\).