hanegreefs.com/Math I
Chapter 1 of 8

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".

NotationMeaningExample with A = {1, 2, 3}, B = {3, 4}
x ∈ Ax is an element of A2 ∈ A, 4 ∉ A
A ⊆ Bevery element of A is in B (subset){1, 2} ⊆ A
A ∪ Bunion: in A or in B (or both){1, 2, 3, 4}
A ∩ Bintersection: in both{3}
A \ Bdifference: in A but not in B{1, 2}
∅the empty set, a subset of every setA ∩ {5} = ∅
P(A)power set: all subsets of Ahas 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).

Common trapA set with n elements has 2n subsets, not n or n2: every element is either in or out of a subset, which gives two choices per element.

Number sets and intervalsImportant

The number sets are nested: N ⊂ Z ⊂ Q ⊂ R ⊂ C.

SetContainsClosed under
N natural numbers1, 2, 3, ... (the course starts at 1)+ and ×
Z integers..., −2, −1, 0, 1, 2, ...+, − and ×
Q rationalsfractions m/n with m in Z and n in N; decimals that end or repeat+, −, × and ÷ (not by 0)
R realsall rationals and irrationals such as √2, π, ealso limits of sequences
C complexa + bi with a, b real and i2 = −1every 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[.

Worked example

Solve |2x − 1| ≥ 5

Split the absolute value into its two cases.

1

Case 2x − 1 ≥ 5

x ≥ 3
2

Case 2x − 1 ≤ −5

x ≤ −2
3

Combine with "or"

x ∈ ]−∞, −2] ∪ [3, +∞[
Answer

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:

Formula
am · an = am+n    am / an = am−n    (am)n = amn(ab)n = an bn    a0 = 1    a−n = 1 / an    am/n = n√(am)

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).

Common trap√(x2) = |x|, not x. And √(a + b) is not √a + √b: try a = 9, b = 16.

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.

RuleFormula
Productlogb(xy) = logb x + logb y
Quotientlogb(x/y) = logb x − logb y
Powerlogb(xr) = r logb x
Special valueslogb 1 = 0, logb b = 1
Inverse pairblogb x = x and logb(bx) = x
Change of baselogb x = ln x / ln b
Any power via eax = ex ln a
Worked example

Solve 3 · 2x = 96

Isolate the power, then take a logarithm.

1

Divide by 3

2x = 32
2

Take ln

x ln 2 = ln 32
3

Solve

x = ln 32 / ln 2 = 5 (since 25 = 32)
Answer

x = 5. The log lab solves any equation of this shape and shows the check.

Common trapln(x + y) has no simplification, and ln x · ln y is not ln(xy). Only products and quotients inside the log split up.

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.

Formula
(a + bi) + (c + di) = (a + c) + (b + d)i(a + bi)(c + di) = (ac − bd) + (ad + bc)iconjugate: z̄ = a − bi, and z z̄ = a2 + b2 (a real number)division: multiply top and bottom by the conjugate of the denominator
Worked example

Divide (3 + 2i) / (1 − i)

Use the conjugate 1 + i.

1

Multiply top and bottom

(3 + 2i)(1 + i) / ((1 − i)(1 + i))
2

Numerator

3 + 3i + 2i + 2i2 = 1 + 5i
3

Denominator

1 − i2 = 2
Answer

(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
YesNopermutations P(n, k) = n! / (n − k)!
NoNocombinations C(n, k) = n! / (k! (n − k)!)
YesYesnk
NoYesC(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).

Worked example

A board of 8 people

Pick a chair, a secretary and a treasurer, then a committee of 3.

1

Three different roles: order matters

P(8, 3) = 8 · 7 · 6 = 336
2

A committee: order does not matter

C(8, 3) = 336 / 3! = 56
3

Coefficient of x2 in (2x − 1)5

C(5, 2) · 22 · (−1)3 = 10 · 4 · (−1) = −40
Answer

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.

Loading cards
Question
Click, tap or press space to flip
Answer

Multiple choice (11)

Question 1 · Chapter 1

Which number is rational but not an integer?

Why: −7/4 is a fraction that does not reduce to a whole number; √9 = 3 is an integer.
Question 2 · Chapter 1

|x + 2| < 3 is equivalent to...

Why: The distance from x to −2 is below 3: −5 < x < 1.
Question 3 · Chapter 1

log3 81 equals...

Why: 34 = 81.
Question 4 · Chapter 1

Which identity is FALSE (x, y > 0)?

Why: There is no rule for the log of a sum.
Question 5 · Chapter 1

(8)2/3 equals...

Why: The cube root of 8 is 2, and 22 = 4.
Question 6 · Chapter 1

(1 + 2i)(3 − i) equals...

Why: 3 − i + 6i − 2i2 = 3 + 5i + 2 = 5 + 5i.
Question 7 · Chapter 1

In how many ways can 5 people stand in a row?

Why: 5! = 120.
Question 8 · Chapter 1

A team of 4 is chosen from 10 students. How many teams?

Why: C(10, 4) = 210; order does not matter.
Question 9 · Chapter 1

The coefficient of x3 in (x + 2)5 is...

Why: C(5, 3) · 22 = 10 · 4 = 40.
Question 10 · Chapter 1

A set has 4 elements. Its power set has...

Why: 24 = 16.
Question 11 · Chapter 1

Which statement about A = {1, 2} and B = {1, 2, 3} is correct?

Why: Every element of A is in B, and B has an extra element.

Exam-style open questions (3)

Open question · Chapter 1

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.
Open question · Chapter 1

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.
Open question · Chapter 1

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.