Sets, numbers and algebra rules
The toolbox for everything that follows: sets and set operations, the number sets from N to C, interval notation, absolute value, powers and roots, logarithms, factorials, complex numbers and counting with permutations, combinations and the binomial theorem.
Syllabus: Syllabus ch. 2 · Sessions: Lectures 1 and 2, WPO 1 and 3 · About 50 minutes
Sets and set operationsNeutral
A set is a collection of distinct objects, its elements. Only membership matters: order and repetition do not, so {1, 2, 3}, {3, 1, 2} and {1, 1, 2, 3} are the same set. You can list the elements or describe them with a property: {x ∈ ℝ | x2 = 4} = {−2, 2}. The vertical bar reads "such that".
| Notation | Meaning | Example with A = {1, 2, 3}, B = {3, 4} |
|---|---|---|
| x ∈ A | x is an element of A | 2 ∈ A, 4 ∉ A |
| A ⊆ B | every element of A is in B (subset) | {1, 2} ⊆ A |
| A ∪ B | union: in A or in B (or both) | {1, 2, 3, 4} |
| A ∩ B | intersection: in both | {3} |
| A \ B | difference: in A but not in B | {1, 2} |
| ∅ | the empty set, a subset of every set | A ∩ {5} = ∅ |
| P(A) | power set: all subsets of A | has 23 = 8 elements |
A proper subset (⊂) is a subset that is not the whole set. Useful laws: union and intersection are commutative and associative, and they distribute over each other, for example A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).
Number sets and intervalsImportant
The number sets are nested: N ⊂ Z ⊂ Q ⊂ R ⊂ C.
| Set | Contains | Closed under |
|---|---|---|
| N natural numbers | 1, 2, 3, ... (the course starts at 1) | + and × |
| Z integers | ..., −2, −1, 0, 1, 2, ... | +, − and × |
| Q rationals | fractions m/n with m in Z and n in N; decimals that end or repeat | +, −, × and ÷ (not by 0) |
| R reals | all rationals and irrationals such as √2, π, e | also limits of sequences |
| C complex | a + bi with a, b real and i2 = −1 | every polynomial equation has a solution |
An interval is a connected piece of the real line. The course writes open ends with outward brackets: ]a, b[ means a < x < b, [a, b] means a ≤ x ≤ b, and [a, +∞[ means x ≥ a. Infinity always gets an open bracket because it is not a number. ℝ0 is the set of real numbers without 0.
The absolute value |x| is the distance from x to 0: |x| = x if x ≥ 0 and −x if x < 0. So |x − a| is the distance between x and a, and |x − 3| < 2 means 1 < x < 5, the interval ]1, 5[.
Solve |2x − 1| ≥ 5
Split the absolute value into its two cases.
Case 2x − 1 ≥ 5
Case 2x − 1 ≤ −5
Combine with "or"
A "greater than" inequality with an absolute value gives two separate pieces; a "less than" one gives one interval.
Powers and rootsImportant
For a > 0 and real exponents the power rules hold:
Roots are just powers with a fractional exponent: √x = x1/2 and the cube root is x1/3. Writing roots as powers is the fastest way to differentiate and integrate them later.
To rationalise a denominator, multiply numerator and denominator by the conjugate: 1/(√3 − 1) = (√3 + 1)/((√3)2 − 1) = (√3 + 1)/2. The same trick, (a − b)(a + b) = a2 − b2, removes roots in limits (chapter 4).
LogarithmsImportant
The logarithm answers the question "which exponent?": logb y = x exactly when bx = y, for a base b > 0 with b ≠ 1 and y > 0. The natural logarithm ln uses base e ≈ 2.718; log without a base often means base 10.
| Rule | Formula |
|---|---|
| Product | logb(xy) = logb x + logb y |
| Quotient | logb(x/y) = logb x − logb y |
| Power | logb(xr) = r logb x |
| Special values | logb 1 = 0, logb b = 1 |
| Inverse pair | blogb x = x and logb(bx) = x |
| Change of base | logb x = ln x / ln b |
| Any power via e | ax = ex ln a |
Solve 3 · 2x = 96
Isolate the power, then take a logarithm.
Divide by 3
Take ln
Solve
x = 5. The log lab solves any equation of this shape and shows the check.
Complex numbersNeutral
The imaginary unit i satisfies i2 = −1. A complex number z = a + bi has real part a and imaginary part b. Two complex numbers are equal when both parts are equal.
Divide (3 + 2i) / (1 − i)
Use the conjugate 1 + i.
Multiply top and bottom
Numerator
Denominator
(3 + 2i)/(1 − i) = 1/2 + (5/2)i.
Complex numbers explain why x2 + 1 = 0 has no real roots: its roots are ±i. In C every polynomial of degree n has exactly n roots counted with multiplicity (fundamental theorem of algebra).
Counting: factorials, permutations and combinationsImportant
Counting principle: if a choice happens in k steps with n1, n2, ..., nk options, there are n1 n2 ... nk outcomes. The factorial n! = 1 · 2 · ... · n counts the orders of n objects, with 0! = 1.
| Order matters? | Repetition allowed? | Number of ways to pick k from n |
|---|---|---|
| Yes | No | permutations P(n, k) = n! / (n − k)! |
| No | No | combinations C(n, k) = n! / (k! (n − k)!) |
| Yes | Yes | nk |
| No | Yes | C(n + k − 1, k) |
The binomial theorem expands a power of a sum: (a + b)n = Σk=0..n C(n, k) ak bn−k. The coefficients C(n, k) form Pascal's triangle, where each number is the sum of the two above it: C(n, k) = C(n − 1, k − 1) + C(n − 1, k).
A board of 8 people
Pick a chair, a secretary and a treasurer, then a committee of 3.
Three different roles: order matters
A committee: order does not matter
Coefficient of x2 in (2x − 1)5
Divide by k! when the order inside the group does not matter.
Stirling's formula approximates large factorials: n! ≈ √(2πn) (n/e)n.
Key takeaways
- N ⊂ Z ⊂ Q ⊂ R ⊂ C; open interval ends use outward brackets such as ]a, b[.
- |x − a| is a distance: |x − a| < r is one interval, |x − a| > r is two pieces.
- Write roots as powers; rationalise with the conjugate.
- logb y = x means bx = y; only products, quotients and powers inside a log simplify.
- Divide complex numbers with the conjugate of the denominator.
- Order matters: permutations; order does not matter: combinations; the binomial coefficients come from Pascal's triangle.
Multiple choice (11)
Which number is rational but not an integer?
|x + 2| < 3 is equivalent to...
log3 81 equals...
Which identity is FALSE (x, y > 0)?
(8)2/3 equals...
(1 + 2i)(3 − i) equals...
In how many ways can 5 people stand in a row?
A team of 4 is chosen from 10 students. How many teams?
The coefficient of x3 in (x + 2)5 is...
A set has 4 elements. Its power set has...
Which statement about A = {1, 2} and B = {1, 2, 3} is correct?
Exam-style open questions (3)
Solve an exponential equation
Solve 5 · e2x − 3 = 12 exactly, and give the answer to three decimals.
Show the worked outline
- Isolate the exponential: e2x = 3.
- Take ln: 2x = ln 3.
- x = (ln 3)/2 ≈ 0.549.
Counting with a condition
From 6 economists and 4 engineers, a panel of 5 is chosen with exactly 2 engineers. How many panels are possible?
Show the worked outline
- Choose the engineers: C(4, 2) = 6.
- Choose the economists for the other 3 seats: C(6, 3) = 20.
- Counting principle: 6 · 20 = 120 panels.
Absolute value inequality
Solve |3 − 2x| > 7 and write the answer with interval notation.
Show the worked outline
- Case 3 − 2x > 7 gives x < −2.
- Case 3 − 2x < −7 gives x > 5.
- Answer: ]−∞, −2[ ∪ ]5, +∞[.
LabCounting and binomial lab
Pick n and k to compare ordered and unordered selections, or expand a binomial term by term.
LabLogarithm and exponential equation lab
Change of base in action: every answer comes from ln, with a check by raising the base to the result.
LabNumber sets and log rules sorter
Two quick games with feedback on every answer.