This lesson builds on sets and logic.
Complements and De Morgan’s laws
The complement is everything in the universal set that is not in . Two rules link complements with unions and intersections:
Worked example · NECO 2023
Let be a universal set, and and subsets of .
Draw a Venn diagram to represent the information.
Use the Venn diagram to find (i) ; (ii) ; (iii) .
The Venn diagram
- is in both; is in only; is in only; and are outside both.
Think first. Which element is in both X and Y?
The three sets
- .
- , so .
- , so : the same set, as De Morgan’s law says.
More: unions, intersections and complements
Counting with two sets
Members of both sets are counted twice in , so
Worked example · NECO 2023
In a junior secondary school, 60 students play table tennis or basketball. The number who play table tennis is 7 more than three times the number who play basketball. If 3 students play both games and every student plays at least one game, how many students play table tennis?
Two equations
- , so .
- Also .
Think first. The 3 who play both are counted in T and in B.
Solve
- , so and .
- students play table tennis.
More: counting with two sets
Sets defined by inequalities
A set such as is a range of numbers. Solve each inequality (see quadratic inequalities), draw both ranges on one number line, then read off the union or intersection.
Worked example · WAEC 2016
Given that and , find .
The set P
- , with roots and .
- is between the roots: .
Think first. Factorise: roots, then between or outside?
The set Q
- , with roots .
- is outside the roots: or .
The intersection
- .
Think first. Which parts of P are also in Q?
More: sets defined by inequalities
Statements in symbols
means “not ”, means ” and ”, and means ” or ”. “Neither nor ” means “not and not ”.
| p | q | p ∧ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | F |
| p | q | p ∨ q |
|---|---|---|
| T | T | T |
| T | F | T |
| F | T | T |
| F | F | F |
means “if , then ”, and means ” if and only if ”. Both, and how to pick a valid conclusion, are taught in logic.
| p | q | p ⇒ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
| p | q | p ⇔ q |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
More: statements, implications and conclusions
- WAEC 2020 · Paper 1 · Q40Consider the statements: : Birds fly : The sky is blue. Which of the following statements can be represented as ?
- WAEC 2023 · Paper 1 · Q4Consider the statements: : The school bus arrived late : The students walked down to school Which of the following …
- WAEC 2022 · Paper 1 · Q5Consider the following statements: : All wrestlers are strong. : Some wrestlers are not weightlifters. Which of the …
Your turn
NECO 2023 · Paper 1 · Q20
Let denote “The cost of living is high” and denote “The standard of living is low”. Which of the following describes “Neither the cost of living is high nor the standard of living is low”?
Worked solution (try it first)
- "Neither nor " means "not and not ".
- "Not" is and "and" is , so the statement is , option C.