Functions and Equations | IB - Wyatt's Notes
Function Notation
A function maps each element of a set (the domain) to exactly one element of another set (the codomain).
We write where is the input (independent variable) and is the output (dependent Variable).
Key Terminology
| Term | Definition |
|---|---|
| Domain | Set of all valid inputs |
| Codomain | Set of possible outputs |
| Range | Set of actual outputs (subset of codomain) |
| Argument | The input value, e.g., in |
| Image | The output for a given input |
Vertical Line Test
A relation is a function if and only if every vertical line intersects the graph at most once.
Domain and Range
Finding the Domain
The domain of a real-valued function is restricted by:
- Denominators must be non-zero:
- Square roots must have non-negative arguments:
- Logarithms must have positive arguments:
:::note Example Find the domain of .
We need (strictly positive since it is in the denominator).
Domain: Or . ::: :::note Example Find the domain of .
From : .
From : .
Domain: .
Finding the Range
To find the range, consider the domain and the behaviour of the function:
- Solve for and find restrictions on .
- Consider the graph: what -values are achieved?
- Check for horizontal asymptotes and extrema. ::: :::note Example Find the range of .
Completing the square: .
Since The minimum value is .
Range: .
Composite Functions
Definition
The composite function (read “f of g”) is defined by:
This means: first apply to Then apply to the result.
Order Matters
. ::: :::note Example Given and :
.
Domain of Composite Functions
The domain of consists of all in the domain of such that is in the domain Of . ::: :::note Example Given and Find the domain of .
We need So .
Domain of : .
Inverse Functions
Definition
The inverse function of satisfies:
Existence of Inverses
A function has an inverse if and only if it is one-to-one (injective), meaning each output comes From exactly one input. This is verified by the horizontal line test: no horizontal line Intersects the graph more than once.
Finding the Inverse
- Write .
- Swap and .
- Solve for .
- Replace with . ::: :::note Example Find the inverse of .
Swap and :
Domain and Range of Inverses
The domain of equals the range of And the range of equals the domain of .
Graph of Inverse Functions
The graph of is the reflection of in the line .
Restricting Domains
Functions that are not one-to-one on their natural domain can have inverses if their domain is Restricted. ::: :::note Example is not one-to-one on But defined by has inverse .
Function Transformations
Summary of Transformations
Given :
| Transformation | Effect on Graph | Equation |
|---|---|---|
| Vertical translation up by | Moves up units | |
| Vertical translation down by | Moves down units | |
| Horizontal translation right by | Moves right units | |
| Horizontal translation left by | Moves left units | |
| Vertical stretch by factor | Stretches vertically by | |
| Vertical compression by factor | Compresses by | where |
| Horizontal stretch by factor | Stretches horizontally by | |
| Reflection in -axis | Flips vertically | |
| Reflection in -axis | Flips horizontally | |
| Reflection in | Swaps and | |
| ::: | ||
| :::caution | ||
| Exam Tip | ||
| Horizontal transformations are often counterintuitive. shifts the graph to the right | ||
| By 2 (not left). compresses horizontally by a factor of (not stretches). |
Order of Transformations
When combining transformations, apply in this order:
- Horizontal translations (shifts left/right)
- Horizontal stretches/compressions
- Reflections
- Vertical stretches/compressions
- Vertical translations (shifts up/down) ::: :::note Example Describe the sequence of transformations that maps to .
Starting from :
- Translate right by 3:
- Vertical stretch by factor 2:
- Translate up by 1:
The vertex moves from to And the parabola is narrower.
Effect on Key Points
| Point on | Point on |
|---|---|
Graphing Functions
Key Features to Identify
- Domain and range
- Intercepts: -intercepts (zeros) and -intercept
- Symmetry: even (), odd (), periodic
- Asymptotes: vertical, horizontal, oblique
- Stationary points: local maxima and minima
- End behaviour: as
Asymptotes
Vertical asymptotes occur at values of where the function is undefined and the function Approaches .
Horizontal asymptotes describe the behaviour as .
For rational functions :
- If : horizontal asymptote at .
- If : horizontal asymptote at .
- If : oblique asymptote (found by polynomial division). ::: :::note Example Find the asymptotes of .
Vertical asymptote: .
Horizontal asymptote: Same degree, so .
Use the sliders to adjust parameters and observe how the domain, range, and asymptotic behaviour Change.
Polynomial Equations
The Factor Theorem
is a factor of if and only if .
The Remainder Theorem
When is divided by The remainder is . ::: :::note Example Find the remainder when is divided by .
The remainder is .
The Rational Root Theorem
If has integer coefficients, then any rational root (in lowest terms) satisfies:
- divides
- divides ::: :::note Example Find all roots of .
Possible rational roots: .
So is a root.
Divide by :
Roots: x = 3$$x = -\dfrac{1}{2}$$x = -2.
Polynomial Division
Long division and synthetic division are two methods for dividing polynomials. ::: :::note Example Divide by using synthetic division.
-1 | 1 2 -5 -6
| -1 -1 6
|----------------
1 1 -6 0
Result: .
So .
Sum and Product of Roots
For with roots :
Quadratic ():
Cubic ():
Inequalities
Linear Inequalities
::: :::caution Exam Tip When multiplying or dividing an inequality by a negative number, reverse the inequality sign.
Quadratic Inequalities
Factorise the quadratic and use a sign diagram (or test points in each interval). ::: :::note Example Solve .
The product is non-positive when .
Solution: .
Absolute Value Inequalities
::: :::note Example Solve .
Solution: .
Polynomial Inequalities
- Move all terms to one side.
- Factorise completely.
- Find the zeros.
- Use a sign diagram to determine where the expression is positive/negative.
Simultaneous Equations
Linear Systems
Substitution method: Solve one equation for one variable and substitute into the other.
Elimination method: Multiply equations by constants so that adding them eliminates one variable.
Non-linear Systems
A line and a parabola can intersect at 0, 1, or 2 points. ::: :::note Example Solve simultaneously: and .
Substitute: .
When : .
When : .
Modulus Functions
Definition
|x| = \begin`\{cases}` x & x \ge 0 \\ -x & x \lt 0 \end`\{cases}`Graph
The graph of is V-shaped, with the vertex at the origin.
Solving Modulus Equations
Square both sides or use the definition casewise. ::: :::note Example Solve .
Since We need .
Case 1 (): . Rejected ().
Case 2 (): .
Check: and . Valid.
Solution: .
IB Exam-Style Questions
Question 1 (Paper 1 style)
Given and :
(a) Find and state its domain.
Domain: .
(b) Find .
(c) Verify that is the identity function.
(f^\{-1\} \circ f)(x) = f^\{-1\}\!\left(\frac\{x\}\{x+2\}\right) = \frac\{2 \cdot \frac\{x\}\{x+2\}\}\{1 - \frac\{x\}\{x+2\}\} = \frac\{\frac\{2x\}\{x+2\}\}\{\frac\{2\}\{x+2\}\} = xQuestion 2 (Paper 2 style)
The function is defined by for .
(a) Express in the form .
(b) Find the range of .
Since and : .
Range: .
(c) Find and state its domain.
Since x \ge 3$$x - 3 \ge 0:
Domain of = range of : .
Question 3 (Paper 1 style)
Solve the inequality .
The product is positive when both factors are positive or both are negative:
- or
Solution: .
Question 4 (Paper 2 style)
The function is defined as for .
(a) Simplify .
(b) Find the equations of any asymptotes of .
There is a hole at (removable discontinuity), not a vertical asymptote.
No horizontal asymptote (it behaves like for large ).
(c) Sketch the graph of .
The graph is the line with a hole at .
Question 5 (Paper 1 style)
The cubic has a factor of and leaves a remainder of When divided by . Find and .
Since is a factor: .
Since :
Adding (1) and (2): .
From (2): .
flowchart TD
A[1_Functionsx] --> 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
| Concept | Key Point |
|---|---|
| Composite function | ; order matters |
| Inverse function | Reflect in ; swap domain/range |
| Vertical shift | moves up by |
| Horizontal shift | moves right by |
| Factor theorem | factor |
| Remainder theorem | Remainder of is |
| Even function | Symmetric about -axis |
| Odd function | Rotational symmetry about origin |
| ::: | |
| :::tip | |
| Exam Strategy | |
| For function questions, always check the domain. When finding inverses, state the domain of the | |
| Inverse explicitly. For transformation questions, identify each transformation step by step from the | |
| Inside out. |
Reciprocal Functions
Definition
The reciprocal function of is .
Graphing Reciprocal Functions
Key features of the graph of :
- Where The reciprocal also equals .
- Where The reciprocal also equals .
- Where The reciprocal is positive.
- Where The reciprocal is negative.
- Where The reciprocal has a vertical asymptote.
- Horizontal asymptotes of become horizontal asymptotes of .
- Local maxima of become local minima of and vice versa.
Reciprocal of
This is a rectangular hyperbola with vertical asymptote at and horizontal Asymptote at .
Reciprocal of Quadratic Functions
::: :::note Example Sketch the graph of .
Vertical asymptotes at and (zeros of denominator).
Horizontal asymptote at .
For : denominator positive, so .
For : denominator negative, so .
For : denominator positive, so .
Local minimum at : .
Rational Functions
Definition
A rational function is a ratio of two polynomials:
Features to Identify
- Domain: values of where .
- Intercepts: -intercept (set ), -intercepts (set ).
- Asymptotes: vertical (zeros of ), horizontal (compare degrees), oblique.
- Behaviour near asymptotes: test values on each side.
Oblique Asymptotes
When Divide by using polynomial division. The quotient (without Remainder) gives the oblique asymptote. ::: :::note Example Find the asymptotes of .
Vertical asymptote: .
Since and There is an oblique asymptote.
Oblique asymptote: .
Piecewise Functions
Definition
A piecewise function is defined by different expressions over different intervals of its domain.
Continuity of Piecewise Functions
Check that the function value equals the left-hand and right-hand limits at the boundary points. ::: :::note Example Is the following function continuous at ?
F(x) = \begin`\{cases}` x^2 & x \le 2 \\ 3x - 2 & x \gt 2 \end`\{cases}`.
.
.
Since the left-hand limit, right-hand limit, and function value all equal 4, the function is Continuous at . :::
Additional Exam-Style Questions
Question 6 (Paper 2 style)
The function is defined as for x \in \mathbb{R}$$x \neq 1.
(a) Find the inverse function .
(b) State the domain and range of .
Domain of : .
Range of : (which equals the domain of ).
(c) Find the value of such that .
Question 7 (Paper 2 style)
Given and :
(a) Find and its range.
Completing the square: .
Range: .
(b) Find the set of values of for which .
Solution: .
Question 8 (Paper 1 style)
The function is defined by for all real .
Find the minimum value of .
Critical points at and .
Case 1 (): . Minimum at : .
Case 2 (): . Minimum at : .
Case 3 (): . Minimum at : .
Minimum value is at .
For the A-Level treatment of this topic, see Functions.
:::tip Diagnostic Test Ready to test your understanding of Functions and Equations? The 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 Functions and Equations with other IB mathematics topics to test synthesis under exam conditions.
See for instructions on self-marking and building a personal test matrix.
Intuition
Functions are machines that take an input and produce an output — like a coffee grinder that turns beans into grounds. Composition is chaining machines together: the output of one becomes the input of the next. Inverses are reverse machines that undo the original: if f turns beans into grounds, f-inverse turns grounds back into beans. Transformations are like moving, stretching, or flipping a photograph — translations slide it, reflections flip it, stretches resize it. The vertical line test is a simple rule: if any vertical line hits the graph more than once, it is not a function because one input produces multiple outputs.
Common Pitfalls
Dropping negative signs during algebraic manipulation. Substitute back to verify your answer.
Forgetting to check that solutions satisfy the original equation (especially with squaring both sides or dividing by variables).
Confusing the domain and range of functions, or not considering restrictions (e.g., denominator cannot be zero).
Cross-References
| Topic | Site | Link |
|---|---|---|
| [Functions] | A-Level | View |
| [Functions] | IB | View |
| [Functions] | DSE | View |
Worked Examples
Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above. :::