Number and Algebra | IB - Wyatt's Notes
A set is a collection of distinct elements, written by listing its members inside curly braces or by Specifying a property that its members satisfy.
Notation
Section titled “Notation”- — the empty set (contains no elements)
- — the element belongs to the set
- — the element does not belong to
- — is a subset of : every element of is also an element of
- — the cardinality (number of elements) of a finite set
- — the power set of : the set of all subsets of
Set-Builder Notation
Section titled “Set-Builder Notation”A set can be defined by a property:
The vertical bar is read “such that.”
Set Operations
Section titled “Set Operations”Let and be subsets of a universal set .
- Union:
- Intersection:
- Complement:
- Set difference:
These operations are conveniently visualised with Venn diagrams. In a Venn diagram, the universal Set is drawn as a rectangle, and subsets are drawn as overlapping circles. The union Is the entire region covered by either circle; the intersection is the overlapping Region; the complement is everything in the rectangle outside the circle for .
De Morgan’s Laws
Section titled “De Morgan’s Laws”Theorem. For any subsets and of a universal set :
Proof of the first law. We show mutual inclusion.
() Suppose . Then So and . Hence and Which means .
() Suppose . Then and So and . Therefore Giving .
The second law follows by symmetry or by applying the first law to and .
Power Sets
Section titled “Power Sets”The power set of a set is the set of all subsets of Including and itself.
If Then .
Worked example: Power set
Let . Then .
There are subsets, as expected.
Cardinality of Finite Sets
Section titled “Cardinality of Finite Sets”For finite sets and :
This is the inclusion-exclusion principle for two sets. It subtracts the overlap that would Otherwise be double-counted.
For three sets , , :
Worked example: Cardinality
In a class of 40 students, 25 study Physics, 20 study Chemistry, and 10 study both. How many study Neither subject?
.
The number studying neither is .
Functions
Section titled “Functions”A function is an assignment from a domain (The set of acceptable inputs) to a codomain (The set into which all outputs must fall), such that:
- Every element in is mapped to an element in :
- No element in is mapped to more than one element in :
Notation
Section titled “Notation”A function with domain and codomain :
Non-examples of functions
- — Since maps to two values, is not a function.
- — At , is undefined, so not every element of the domain is mapped. Redefine as .
- — Since no elements are in the domain, uniqueness is vacuously satisfied. This is a valid (empty) function.
The range () of a function is the set of all values actually produced:
Classes of Functions
Section titled “Classes of Functions”- Surjective (onto): Every element of the codomain is hit:
- Injective (one-to-one): Distinct inputs give distinct outputs:
- Bijective: Both surjective and injective
- Odd: for all
- Even: for all
Injectivity, Surjectivity, and Bijectivity — Worked Examples
Section titled “Injectivity, Surjectivity, and Bijectivity — Worked Examples”Example: Determining injectivity and surjectivity
Let .
Injective? No. So distinct inputs map to the same output. (This is also an Even function.)
Surjective? No. There is no such that So .
The range is A proper subset of .
Example: Proving a function is bijective
Let .
Injective: Suppose . Then So .
Surjective: Let . We need I.e. . Since Every is in the range.
Therefore is bijective.
Inverse Functions
Section titled “Inverse Functions”If is bijective, the inverse function exists and satisfies:
To find : write Solve for in terms of Then interchange and .
Existence condition: A function has an inverse (on its given domain and codomain) if and only if It is bijective.
Example: Finding an inverse function
Let With domain .
Set . Then So Hence Giving .
Therefore with domain .
Self-Inverse Functions
Section titled “Self-Inverse Functions”A function is self-inverse if for all in the domain, i.e. .
Common examples: on ; on .
Domain Restriction to Achieve Injectivity
Section titled “Domain Restriction to Achieve Injectivity”A non-injective function can be made injective by restricting its domain.
Example: Restricting domain
is not injective on since . But by restricting to Every non-negative real has exactly one non-negative square root, so is bijective with inverse .
Similarly, is bijective with inverse .
Scientific Notation and Approximation
Section titled “Scientific Notation and Approximation”Scientific Notation
Section titled “Scientific Notation”A number in scientific notation has the form:
Multiplication of Numbers in Scientific Notation
Section titled “Multiplication of Numbers in Scientific Notation”Let and . Then:
If or Adjust the mantissa back into by Absorbing a factor of into the exponent.
Significant Figures
Section titled “Significant Figures”The rules for significant figures:
- All non-zero digits are significant.
- Zeros between non-zero digits are significant.
- Leading zeros are not significant.
- Trailing zeros after a decimal point are significant.
- Trailing zeros in a whole number without a decimal point are ambiguous.
Examples: has 3 s.f.; has at least 3 s.f.; has 4 s.f.
Absolute and Relative Error
Section titled “Absolute and Relative Error”If a quantity’s true value is and the approximate value is :
- Absolute error:
- Relative error:
Upper and Lower Bounds
Section titled “Upper and Lower Bounds”If a value is given as (correct to 1 decimal place), then:
- Upper bound:
- Lower bound:
The interval is . The maximum possible error (absolute) is where is the number of decimal places.
Worked example: Bounds
The sides of a rectangle are measured as and (each to 1 d.p.).
Upper bounds: and . Lower bounds: and .
Maximum area: .
Minimum area: .
The area is (to 1 d.p.), but in bounds form we write .
Sequences and Series
Section titled “Sequences and Series”A sequence is a function with domain (or ) and codomain . Writing Every sequence is ordered by its index.
Series and Partial Sums
Section titled “Series and Partial Sums”A series is the sum of the terms of a sequence. A partial sum is the sum of the first terms:
Sigma Notation Properties
Section titled “Sigma Notation Properties”Sigma notation obeys the following rules (where is a constant independent of the index):
Linearity:
Proof. Distribute the sum over each term and factor constants out. Each term appears Exactly once in the expansion, so grouping gives times the sum of And similarly for .
Index shifting: Replacing with shifts the bounds:
Telescoping: If Then .
Worked example: Sigma manipulation
Simplify .
By linearity: .
Arithmetic Sequences
Section titled “Arithmetic Sequences”An arithmetic sequence has a constant common difference between consecutive terms:
Arithmetic Series — Proof by Pairing
Section titled “Arithmetic Series — Proof by Pairing”Theorem.
Proof. Write the sum forward and backward:
Adding term-by-term, each pair sums to And there are such pairs:
Substituting gives the alternative form:
Geometric Sequences
Section titled “Geometric Sequences”A geometric sequence has a constant common ratio between consecutive terms:
Geometric Series — Proof by Subtraction
Section titled “Geometric Series — Proof by Subtraction”Theorem. for .
Proof. Write and :
Subtracting:
Convergence of Geometric Series
Section titled “Convergence of Geometric Series”If Then So:
If The series diverges.
Applications: Compound Interest
Section titled “Applications: Compound Interest”If a principal is invested at rate per period, compounded each period, the value after Periods is:
This is a geometric sequence with and common ratio .
Applications: Annuities
Section titled “Applications: Annuities”An annuity pays per period for periods, with interest rate per period. The present value Is:
This follows directly from the geometric series sum with first term and ratio .
Worked example: Compound interest
A deposit of $5,000 earns 4% per year, compounded annually. Find the value after 10 years.
The value is approximately $7,401.22.
Worked example: Summation
Find the sum of the first 20 terms of the arithmetic sequence
Here , , .
Worked example: Infinite geometric series
Find the sum of
Here , . Since :
Worked example: Geometric series — finding n
The sum of the first terms of is . Find .
Here , . Using .
Logarithms
Section titled “Logarithms”A logarithm is the inverse function of the exponential :
The logarithm answers the question: “to what power must be raised to obtain ?”
Logarithm Laws — Proofs
Section titled “Logarithm Laws — Proofs”Law 1 (Product rule):
Proof. Let and . Then and . So . Taking of both sides: .
Law 2 (Quotient rule):
Proof. Let and . Then and . . Taking : .
Law 3 (Power rule):
Proof. Let So . Then . Taking : .
Change of Base Formula
Section titled “Change of Base Formula”Theorem. for any valid bases , .
Proof. Let . Then . Taking of both sides: . By the power rule, So .
This is particularly useful for computing logarithms in bases other than or using a Calculator.
Solving Exponential Equations
Section titled “Solving Exponential Equations”When the variable is in the exponent, take logarithms of both sides to bring it down.
Worked example: Exponential equation
Solve for .
Taking of both sides: .
Solving Logarithmic Equations
Section titled “Solving Logarithmic Equations”Use the logarithm laws to combine terms, then exponentiate both sides.
Worked example: Logarithmic equation
Solve .
By the product rule: I.e. .
So Giving or .
Check domain: and requires . So is rejected.
Solution: .
Worked example: Change of base
Evaluate to 3 significant figures.
Worked example: Exponential growth
A bacteria culture doubles every 3 hours. If the initial population is When will it reach 32,000?
. Set :
So Giving hours.
Alternatively, using logarithms: So .
Proof by Mathematical Induction
Section titled “Proof by Mathematical Induction”Mathematical induction is a technique for proving statements that are true for all natural numbers (or all integers greater than or equal to some starting value).
Structure of an Inductive Proof
Section titled “Structure of an Inductive Proof”To prove for all :
- Base case: Verify is true directly.
- Inductive hypothesis: Assume is true for some arbitrary .
- Inductive step: Using the hypothesis, prove that is true.
- Conclusion: By the principle of mathematical induction, is true for all .
The logic is analogous to an infinite chain of dominoes: the base case knocks over the first domino, And the inductive step ensures each domino knocks over the next.
Sum Formula Proofs
Section titled “Sum Formula Proofs”Example: Prove the sum of squares formula
Prove .
Base case (): LHS . RHS . True.
Inductive hypothesis: Assume for some .
Inductive step:
This equals Which is the formula for .
Divisibility Proofs
Section titled “Divisibility Proofs”Example: Prove a divisibility result
Prove is divisible by 8 for all .
Base case (): Which is divisible by 8. True.
Inductive hypothesis: Assume for some integer .
Inductive step: Consider .
We rewrite: .
Since is an integer, is divisible by 8.
Inequality Proofs
Section titled “Inequality Proofs”Example: Prove $2^n \gt n$ for all $n \ge 1$
Base case (): . True.
Inductive hypothesis: Assume for some .
Inductive step: (by the hypothesis).
Since We have . Therefore .
Common Mistakes in Induction
Section titled “Common Mistakes in Induction”- Forgetting the base case: The inductive step alone proves only an implication . Without the base case, the chain never starts.
- Using what you need to prove: The inductive hypothesis is Not . You must derive Not assume it.
- Incorrect algebra: Errors in the inductive step (especially with fractions or factorisation) are the most common source of failed induction …/1-number-and-algebra/3_proof-and-logics.
- Wrong starting value: If the statement is only claimed for Verify the base case at Not .
The Binomial Theorem
Section titled “The Binomial Theorem”Statement
Section titled “Statement”For any non-negative integer and any :
Where the binomial coefficient is:
Pascal’s Triangle
Section titled “Pascal’s Triangle”The binomial coefficients can be generated recursively via Pascal’s triangle. Each entry is the Sum of the two entries above it:
Proof of Pascal’s identity. Using the factorial definition:
Properties of Binomial Coefficients
Section titled “Properties of Binomial Coefficients”- Symmetry:
- Sum of row: (set in the theorem)
- Alternating sum: (set )
Finding Specific Terms
Section titled “Finding Specific Terms”The general term (the -th term, since the sum starts at ) is:
Worked example: Expansion
Expand using the binomial theorem.
Worked example: Finding a specific coefficient
Find the coefficient of in the expansion of .
The term containing occurs when :
The coefficient is .
Worked example: Binomial coefficient properties
Evaluate .
By the row-sum property: .
Intuition
Section titled “Intuition”Sets are collections that define membership — like a guest list for a party where you must be on the list to enter. Venn diagrams visualise how sets overlap, making abstract relationships concrete. Functions are the workhorses of mathematics: they take inputs and produce outputs with machine-like consistency. Logarithms are the undo button for exponentiation — they answer the question “what power must I raise the base to in order to get this number.” Induction is a chain of dominoes: prove the first falls, prove each one knocks over the next, and the whole chain must fall. The binomial theorem distributes the work of expanding powers across combinations.
Common Pitfalls
Section titled “Common Pitfalls”Confusing Subset and Element
Section titled “Confusing Subset and Element”but . In the second set, is an element, not . Meanwhile, is true, but is false.
Domain and Range Errors
Section titled “Domain and Range Errors”When finding inverse functions, always check that the original function is bijective on the given Domain. A common error is to write for without restricting the Domain to $ contains the hardest questions within the IB specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Number and Algebra with other IB mathematics topics to test synthesis under exam conditions.
See for instructions on self-marking and building a personal test matrix.
flowchart TD
A[1_Number And Algebra] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]Summary
Section titled “Summary”This topic covers the mathematical techniques and concepts related to number and algebra, including key theorems, methods, and problem-solving approaches.
Key concepts include:
- quadratic equations and the discriminant
- simultaneous equations
- polynomial division and the factor theorem
- partial fractions
- binomial expansion
Regular practice with a variety of question types is essential to build fluency and confidence in applying these mathematical techniques.
Worked Examples
Section titled “Worked Examples”Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above.