Function Notation
A function f f f maps each element of a set (the domain ) to exactly one element of another set
(the codomain ).
f : X → Y f: X \to Y f : X → Y
We write f ( x ) = y f(x) = y f ( x ) = y where x x x is the input (independent variable) and y y y 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., x x x in f ( x ) f(x) f ( x ) 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: g ( x ) ≠ 0 g(x) \neq 0 g ( x ) = 0
Square roots must have non-negative arguments: g ( x ) ≥ 0 g(x) \ge 0 g ( x ) ≥ 0
Logarithms must have positive arguments: g ( x ) > 0 g(x) \gt 0 g ( x ) > 0
Find the domain of f ( x ) = 1 x − 2 \displaystyle f(x) = \frac{1}{\sqrt{x-2}} f ( x ) = x − 2 1 .
We need x − 2 > 0 x - 2 \gt 0 x − 2 > 0 (strictly positive since it is in the denominator).
Domain: x > 2 x \gt 2 x > 2 , or ( 2 , ∞ ) (2, \infty) ( 2 , ∞ ) .
Find the domain of f ( x ) = ln ( x + 3 ) + 5 − x \displaystyle f(x) = \ln(x+3) + \sqrt{5-x} f ( x ) = ln ( x + 3 ) + 5 − x .
From ln ( x + 3 ) \ln(x+3) ln ( x + 3 ) : x + 3 > 0 ⟹ x > − 3 x + 3 \gt 0 \implies x \gt -3 x + 3 > 0 ⟹ x > − 3 .
From 5 − x \sqrt{5-x} 5 − x : 5 − x ≥ 0 ⟹ x ≤ 5 5 - x \ge 0 \implies x \le 5 5 − x ≥ 0 ⟹ x ≤ 5 .
Domain: ( − 3 , 5 ] (-3, 5] ( − 3 , 5 ] .
Finding the Range
To find the range, consider the domain and the behaviour of the function:
Solve y = f ( x ) y = f(x) y = f ( x ) for x x x and find restrictions on y y y .
Consider the graph: what y y y -values are achieved?
Check for horizontal asymptotes and extrema.
Find the range of f ( x ) = x 2 − 4 x + 3 f(x) = x^2 - 4x + 3 f ( x ) = x 2 − 4 x + 3 .
Completing the square: f ( x ) = ( x − 2 ) 2 − 1 f(x) = (x-2)^2 - 1 f ( x ) = ( x − 2 ) 2 − 1 .
Since ( x − 2 ) 2 ≥ 0 (x-2)^2 \ge 0 ( x − 2 ) 2 ≥ 0 , the minimum value is − 1 -1 − 1 .
Range: [ − 1 , ∞ ) [-1, \infty) [ − 1 , ∞ ) .
Composite Functions
Definition
The composite function f ∘ g f \circ g f ∘ g (read "f of g") is defined by:
( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x ))
This means: first apply g g g to x x x , then apply f f f to the result.
Order Matters
In general, f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f .
Given f ( x ) = 2 x + 1 f(x) = 2x + 1 f ( x ) = 2 x + 1 and g ( x ) = x 2 g(x) = x^2 g ( x ) = x 2 :
( f ∘ g ) ( x ) = f ( g ( x ) ) = f ( x 2 ) = 2 x 2 + 1 (f \circ g)(x) = f(g(x)) = f(x^2) = 2x^2 + 1 ( f ∘ g ) ( x ) = f ( g ( x )) = f ( x 2 ) = 2 x 2 + 1 ( g ∘ f ) ( x ) = g ( f ( x ) ) = g ( 2 x + 1 ) = ( 2 x + 1 ) 2 = 4 x 2 + 4 x + 1 (g \circ f)(x) = g(f(x)) = g(2x+1) = (2x+1)^2 = 4x^2 + 4x + 1 ( g ∘ f ) ( x ) = g ( f ( x )) = g ( 2 x + 1 ) = ( 2 x + 1 ) 2 = 4 x 2 + 4 x + 1 Clearly f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f .
Domain of Composite Functions
The domain of f ∘ g f \circ g f ∘ g consists of all x x x in the domain of g g g such that g ( x ) g(x) g ( x ) is in the domain
of f f f .
Given f ( x ) = x f(x) = \sqrt{x} f ( x ) = x and g ( x ) = x − 5 g(x) = x - 5 g ( x ) = x − 5 , find the domain of f ∘ g f \circ g f ∘ g .
( f ∘ g ) ( x ) = f ( x − 5 ) = x − 5 (f \circ g)(x) = f(x - 5) = \sqrt{x - 5} ( f ∘ g ) ( x ) = f ( x − 5 ) = x − 5 We need x − 5 ≥ 0 x - 5 \ge 0 x − 5 ≥ 0 , so x ≥ 5 x \ge 5 x ≥ 5 .
Domain of f ∘ g f \circ g f ∘ g : [ 5 , ∞ ) [5, \infty) [ 5 , ∞ ) .
Inverse Functions
Definition
The inverse function f − 1 f^{-1} f − 1 of f f f satisfies:
f − 1 ( f ( x ) ) = x a n d f ( f − 1 ( x ) ) = x f^{-1}(f(x)) = x \quad \mathrm{and} \quad f(f^{-1}(x)) = x f − 1 ( f ( x )) = x and f ( f − 1 ( x )) = x
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 y = f ( x ) y = f(x) y = f ( x ) .
Swap x x x and y y y .
Solve for y y y .
Replace y y y with f − 1 ( x ) f^{-1}(x) f − 1 ( x ) .
Find the inverse of f ( x ) = 2 x + 3 x − 1 f(x) = \dfrac{2x + 3}{x - 1} f ( x ) = x − 1 2 x + 3 .
y = 2 x + 3 x − 1 y = \frac{2x + 3}{x - 1} y = x − 1 2 x + 3 Swap x x x and y y y :
x = 2 y + 3 y − 1 x = \frac{2y + 3}{y - 1} x = y − 1 2 y + 3 x ( y − 1 ) = 2 y + 3 x(y - 1) = 2y + 3 x ( y − 1 ) = 2 y + 3 x y − x = 2 y + 3 xy - x = 2y + 3 x y − x = 2 y + 3 x y − 2 y = x + 3 xy - 2y = x + 3 x y − 2 y = x + 3 y ( x − 2 ) = x + 3 y(x - 2) = x + 3 y ( x − 2 ) = x + 3 f − 1 ( x ) = x + 3 x − 2 f^{-1}(x) = \frac{x + 3}{x - 2} f − 1 ( x ) = x − 2 x + 3
Domain and Range of Inverses
The domain of f − 1 f^{-1} f − 1 equals the range of f f f , and the range of f − 1 f^{-1} f − 1 equals the domain of f f f .
Graph of Inverse Functions
The graph of y = f − 1 ( x ) y = f^{-1}(x) y = f − 1 ( x ) is the reflection of y = f ( x ) y = f(x) y = f ( x ) in the line y = x y = x y = x .
Restricting Domains
Functions that are not one-to-one on their natural domain can have inverses if their domain is
restricted.
f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 is not one-to-one on ′ { ′ R ′ } ′ \mathbb{'\{'}R{'\}'} ′ { ′ R ′ } ′ , but f : [ 0 , ∞ ) → [ 0 , ∞ ) f: [0, \infty) \to [0, \infty) f : [ 0 , ∞ ) → [ 0 , ∞ ) defined by
f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 has inverse f − 1 ( x ) = x f^{-1}(x) = \sqrt{x} f − 1 ( x ) = x .
Given y = f ( x ) y = f(x) y = f ( x ) :
Transformation Effect on Graph Equation Vertical translation up by k k k Moves up k k k units y = f ( x ) + k y = f(x) + k y = f ( x ) + k Vertical translation down by k k k Moves down k k k units y = f ( x ) − k y = f(x) - k y = f ( x ) − k Horizontal translation right by h h h Moves right h h h units y = f ( x − h ) y = f(x - h) y = f ( x − h ) Horizontal translation left by h h h Moves left h h h units y = f ( x + h ) y = f(x + h) y = f ( x + h ) Vertical stretch by factor a a a Stretches vertically by a a a y = a f ( x ) y = af(x) y = a f ( x ) Vertical compression by factor a a a Compresses by 1 a \dfrac{1}{a} a 1 y = a f ( x ) y = af(x) y = a f ( x ) where 0 < a < 1 0 \lt a \lt 1 0 < a < 1 Horizontal stretch by factor b b b Stretches horizontally by b b b y = f ( x b ) y = f\!\left(\dfrac{x}{b}\right) y = f ( b x ) Reflection in x x x -axis Flips vertically y = − f ( x ) y = -f(x) y = − f ( x ) Reflection in y y y -axis Flips horizontally y = f ( − x ) y = f(-x) y = f ( − x ) Reflection in y = x y = x y = x Swaps x x x and y y y y = f − 1 ( x ) y = f^{-1}(x) y = f − 1 ( x )
Horizontal transformations are often counterintuitive. f ( x − 2 ) f(x - 2) f ( x − 2 ) shifts the graph to the right
by 2 (not left). f ( 2 x ) f(2x) f ( 2 x ) compresses horizontally by a factor of 1 2 \dfrac{1}{2} 2 1 (not stretches).
When combining transformations, apply in this order:
Horizontal translations (shifts left/right)
Horizontal stretches/compressions
Reflections
Vertical stretches/compressions
Vertical translations (shifts up/down)
Describe the sequence of transformations that maps f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 to g ( x ) = 2 ( x − 3 ) 2 + 1 g(x) = 2(x-3)^2 + 1 g ( x ) = 2 ( x − 3 ) 2 + 1 .
Starting from f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 :
Translate right by 3: ( x − 3 ) 2 (x-3)^2 ( x − 3 ) 2
Vertical stretch by factor 2: 2 ( x − 3 ) 2 2(x-3)^2 2 ( x − 3 ) 2
Translate up by 1: 2 ( x − 3 ) 2 + 1 2(x-3)^2 + 1 2 ( x − 3 ) 2 + 1
The vertex moves from ( 0 , 0 ) (0, 0) ( 0 , 0 ) to ( 3 , 1 ) (3, 1) ( 3 , 1 ) , and the parabola is narrower.
Effect on Key Points
Point on y = f ( x ) y = f(x) y = f ( x ) Point on y = f ( x − h ) + k y = f(x-h)+k y = f ( x − h ) + k ( x , y ) (x, y) ( x , y ) ( x + h , y + k ) (x+h, y+k) ( x + h , y + k )
Graphing Functions
Key Features to Identify
Domain and range
Intercepts : x x x -intercepts (zeros) and y y y -intercept
Symmetry : even (f ( − x ) = f ( x ) f(-x) = f(x) f ( − x ) = f ( x ) ), odd (f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) ), periodic
Asymptotes : vertical, horizontal, oblique
Stationary points : local maxima and minima
End behaviour : as x → ± ∞ x \to \pm\infty x → ± ∞
Asymptotes
Vertical asymptotes occur at values of x x x where the function is undefined and the function
approaches ± ∞ \pm\infty ± ∞ .
Horizontal asymptotes describe the behaviour as x → ± ∞ x \to \pm\infty x → ± ∞ .
For rational functions P ( x ) Q ( x ) \dfrac{P(x)}{Q(x)} Q ( x ) P ( x ) :
If deg P < deg Q \deg P \lt \deg Q deg P < deg Q : horizontal asymptote at y = 0 y = 0 y = 0 .
If deg P = deg Q \deg P = \deg Q deg P = deg Q : horizontal asymptote at
y = l e a d i n g c o e f f i c i e n t o f P l e a d i n g c o e f f i c i e n t o f Q y = \dfrac{\mathrm{leading coefficient of } P}{\mathrm{leading coefficient of } Q} y = leadingcoefficientof Q leadingcoefficientof P .
If deg P = deg Q + 1 \deg P = \deg Q + 1 deg P = deg Q + 1 : oblique asymptote (found by polynomial division).
Find the asymptotes of f ( x ) = 2 x + 1 x − 3 \displaystyle f(x) = \frac{2x + 1}{x - 3} f ( x ) = x − 3 2 x + 1 .
Vertical asymptote : x − 3 = 0 ⟹ x = 3 x - 3 = 0 \implies x = 3 x − 3 = 0 ⟹ x = 3 .
Horizontal asymptote : Same degree, so y = 2 1 = 2 y = \dfrac{2}{1} = 2 y = 1 2 = 2 .
Function Graphing: Domain, Range, Asymptotes
Use the sliders to adjust parameters and observe how the domain, range, and asymptotic behaviour
change.
Polynomial Equations
The Factor Theorem
( x − a ) (x - a) ( x − a ) is a factor of P ( x ) P(x) P ( x ) if and only if P ( a ) = 0 P(a) = 0 P ( a ) = 0 .
The Remainder Theorem
When P ( x ) P(x) P ( x ) is divided by ( x − a ) (x - a) ( x − a ) , the remainder is P ( a ) P(a) P ( a ) .
Find the remainder when P ( x ) = 2 x 3 − 3 x 2 + 5 x − 7 P(x) = 2x^3 - 3x^2 + 5x - 7 P ( x ) = 2 x 3 − 3 x 2 + 5 x − 7 is divided by ( x + 2 ) (x + 2) ( x + 2 ) .
P ( − 2 ) = 2 ( − 8 ) − 3 ( 4 ) + 5 ( − 2 ) − 7 = − 16 − 12 − 10 − 7 = − 45 P(-2) = 2(-8) - 3(4) + 5(-2) - 7 = -16 - 12 - 10 - 7 = -45 P ( − 2 ) = 2 ( − 8 ) − 3 ( 4 ) + 5 ( − 2 ) − 7 = − 16 − 12 − 10 − 7 = − 45 The remainder is − 45 -45 − 45 .
The Rational Root Theorem
If P ( x ) = a n x n + ⋯ + a 0 P(x) = a_n x^n + \cdots + a_0 P ( x ) = a n x n + ⋯ + a 0 has integer coefficients, then any rational root p q \dfrac{p}{q} q p
(in lowest terms) satisfies:
p p p divides a 0 a_0 a 0
q q q divides a n a_n a n
Find all roots of P ( x ) = 2 x 3 − x 2 − 13 x − 6 P(x) = 2x^3 - x^2 - 13x - 6 P ( x ) = 2 x 3 − x 2 − 13 x − 6 .
Possible rational roots: ± 1 , ± 2 , ± 3 , ± 6 , ± 1 2 , ± 3 2 \pm 1, \pm 2, \pm 3, \pm 6, \pm \dfrac{1}{2}, \pm \dfrac{3}{2} ± 1 , ± 2 , ± 3 , ± 6 , ± 2 1 , ± 2 3 .
P ( 3 ) = 54 − 9 − 39 − 6 = 0 P(3) = 54 - 9 - 39 - 6 = 0 P ( 3 ) = 54 − 9 − 39 − 6 = 0 , so x = 3 x = 3 x = 3 is a root.
Divide by ( x − 3 ) (x - 3) ( x − 3 ) :
2 x 3 − x 2 − 13 x − 6 = ( x − 3 ) ( 2 x 2 + 5 x + 2 ) 2x^3 - x^2 - 13x - 6 = (x - 3)(2x^2 + 5x + 2) 2 x 3 − x 2 − 13 x − 6 = ( x − 3 ) ( 2 x 2 + 5 x + 2 ) 2 x 2 + 5 x + 2 = ( 2 x + 1 ) ( x + 2 ) 2x^2 + 5x + 2 = (2x + 1)(x + 2) 2 x 2 + 5 x + 2 = ( 2 x + 1 ) ( x + 2 ) Roots: x = 3 x = 3 x = 3 , x = − 1 2 x = -\dfrac{1}{2} x = − 2 1 , x = − 2 x = -2 x = − 2 .
Polynomial Division
Long division and synthetic division are two methods for dividing polynomials.
Divide x 3 + 2 x 2 − 5 x − 6 x^3 + 2x^2 - 5x - 6 x 3 + 2 x 2 − 5 x − 6 by ( x + 1 ) (x + 1) ( x + 1 ) using synthetic division.
-1 | 1 2 -5 -6
| -1 -1 6
|----------------
1 1 -6 0
Result: x 2 + x − 6 = ( x + 3 ) ( x − 2 ) x^2 + x - 6 = (x+3)(x-2) x 2 + x − 6 = ( x + 3 ) ( x − 2 ) .
So x 3 + 2 x 2 − 5 x − 6 = ( x + 1 ) ( x + 3 ) ( x − 2 ) x^3 + 2x^2 - 5x - 6 = (x+1)(x+3)(x-2) x 3 + 2 x 2 − 5 x − 6 = ( x + 1 ) ( x + 3 ) ( x − 2 ) .
Sum and Product of Roots
For a x n + b x n − 1 + ⋯ = 0 ax^n + bx^{n-1} + \cdots = 0 a x n + b x n − 1 + ⋯ = 0 with roots α , β , γ , … \alpha, \beta, \gamma, \ldots α , β , γ , … :
Quadratic (a x 2 + b x + c = 0 ax^2 + bx + c = 0 a x 2 + b x + c = 0 ):
α + β = − b a , α β = c a \alpha + \beta = -\frac{b}{a}, \quad \alpha\beta = \frac{c}{a} α + β = − a b , α β = a c
Cubic (a x 3 + b x 2 + c x + d = 0 ax^3 + bx^2 + cx + d = 0 a x 3 + b x 2 + c x + d = 0 ):
α + β + γ = − b a , α β + β γ + γ α = c a , α β γ = − d a \alpha + \beta + \gamma = -\frac{b}{a}, \quad \alpha\beta + \beta\gamma + \gamma\alpha = \frac{c}{a}, \quad \alpha\beta\gamma = -\frac{d}{a} α + β + γ = − a b , α β + β γ + γ α = a c , α β γ = − a d
Inequalities
Linear Inequalities
a x + b > 0 ⟹ x > − b a ( i f a > 0 ) ax + b \gt 0 \implies x \gt -\frac{b}{a} \quad (\mathrm{if } a \gt 0) a x + b > 0 ⟹ x > − a b ( if a > 0 )
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).
Solve x 2 − 5 x + 6 ≤ 0 x^2 - 5x + 6 \le 0 x 2 − 5 x + 6 ≤ 0 .
( x − 2 ) ( x − 3 ) ≤ 0 (x - 2)(x - 3) \le 0 ( x − 2 ) ( x − 3 ) ≤ 0 The product is non-positive when 2 ≤ x ≤ 3 2 \le x \le 3 2 ≤ x ≤ 3 .
Solution: [ 2 , 3 ] [2, 3] [ 2 , 3 ] .
Absolute Value Inequalities
∣ a x + b ∣ ≤ c ⟺ − c ≤ a x + b ≤ c |ax + b| \le c \iff -c \le ax + b \le c ∣ a x + b ∣ ≤ c ⟺ − c ≤ a x + b ≤ c
∣ a x + b ∣ ≥ c ⟺ a x + b ≤ − c o r a x + b ≥ c |ax + b| \ge c \iff ax + b \le -c \quad \mathrm{or} \quad ax + b \ge c ∣ a x + b ∣ ≥ c ⟺ a x + b ≤ − c or a x + b ≥ c
Solve ∣ 2 x − 3 ∣ < 5 |2x - 3| \lt 5 ∣2 x − 3∣ < 5 .
− 5 < 2 x − 3 < 5 -5 \lt 2x - 3 \lt 5 − 5 < 2 x − 3 < 5 − 2 < 2 x < 8 -2 \lt 2x \lt 8 − 2 < 2 x < 8 − 1 < x < 4 -1 \lt x \lt 4 − 1 < x < 4 Solution: ( − 1 , 4 ) (-1, 4) ( − 1 , 4 ) .
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.
Solve simultaneously: y = x 2 − 4 x + 3 y = x^2 - 4x + 3 y = x 2 − 4 x + 3 and y = 2 x − 3 y = 2x - 3 y = 2 x − 3 .
Substitute: 2 x − 3 = x 2 − 4 x + 3 2x - 3 = x^2 - 4x + 3 2 x − 3 = x 2 − 4 x + 3 .
x 2 − 6 x + 6 = 0 x^2 - 6x + 6 = 0 x 2 − 6 x + 6 = 0 x = 6 ± 36 − 24 2 = 6 ± 2 3 2 = 3 ± 3 x = \frac{6 \pm \sqrt{36 - 24}}{2} = \frac{6 \pm 2\sqrt{3}}{2} = 3 \pm \sqrt{3} x = 2 6 ± 36 − 24 = 2 6 ± 2 3 = 3 ± 3 When x = 3 + 3 x = 3 + \sqrt{3} x = 3 + 3 : y = 2 ( 3 + 3 ) − 3 = 3 + 2 3 y = 2(3 + \sqrt{3}) - 3 = 3 + 2\sqrt{3} y = 2 ( 3 + 3 ) − 3 = 3 + 2 3 .
When x = 3 − 3 x = 3 - \sqrt{3} x = 3 − 3 : y = 2 ( 3 − 3 ) − 3 = 3 − 2 3 y = 2(3 - \sqrt{3}) - 3 = 3 - 2\sqrt{3} y = 2 ( 3 − 3 ) − 3 = 3 − 2 3 .
Modulus Functions
Definition
|x| = \begin`\{cases}` x & x \ge 0 \\ -x & x \lt 0 \end`\{cases}`
Graph
The graph of y = ∣ x ∣ y = |x| y = ∣ x ∣ is V-shaped, with the vertex at the origin.
Solving Modulus Equations
Square both sides or use the definition casewise.
Solve ∣ x − 2 ∣ = 3 x − 1 |x - 2| = 3x - 1 ∣ x − 2∣ = 3 x − 1 .
Since ∣ x − 2 ∣ ≥ 0 |x - 2| \ge 0 ∣ x − 2∣ ≥ 0 , we need 3 x − 1 ≥ 0 ⟹ x ≥ 1 3 3x - 1 \ge 0 \implies x \ge \dfrac{1}{3} 3 x − 1 ≥ 0 ⟹ x ≥ 3 1 .
Case 1 (x ≥ 2 x \ge 2 x ≥ 2 ): x − 2 = 3 x − 1 ⟹ − 2 x = 1 ⟹ x = − 1 2 x - 2 = 3x - 1 \implies -2x = 1 \implies x = -\dfrac{1}{2} x − 2 = 3 x − 1 ⟹ − 2 x = 1 ⟹ x = − 2 1 . Rejected
(x ≥ 2 x \ge 2 x ≥ 2 ).
Case 2 (x < 2 x \lt 2 x < 2 ):
− ( x − 2 ) = 3 x − 1 ⟹ − x + 2 = 3 x − 1 ⟹ 4 x = 3 ⟹ x = 3 4 -(x - 2) = 3x - 1 \implies -x + 2 = 3x - 1 \implies 4x = 3 \implies x = \dfrac{3}{4} − ( x − 2 ) = 3 x − 1 ⟹ − x + 2 = 3 x − 1 ⟹ 4 x = 3 ⟹ x = 4 3 .
Check: ∣ 3 / 4 − 2 ∣ = 5 / 4 |3/4 - 2| = 5/4 ∣3/4 − 2∣ = 5/4 and 3 ( 3 / 4 ) − 1 = 5 / 4 3(3/4) - 1 = 5/4 3 ( 3/4 ) − 1 = 5/4 . Valid.
Solution: x = 3 4 x = \dfrac{3}{4} x = 4 3 .
IB Exam-Style Questions
Question 1 (Paper 1 style)
Given f ( x ) = x x + 2 f(x) = \dfrac{x}{x + 2} f ( x ) = x + 2 x and g ( x ) = 2 x − 1 g(x) = 2x - 1 g ( x ) = 2 x − 1 :
(a) Find ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) and state its domain.
( f ∘ g ) ( x ) = f ( 2 x − 1 ) = 2 x − 1 2 x − 1 + 2 = 2 x − 1 2 x + 1 (f \circ g)(x) = f(2x - 1) = \frac{2x - 1}{2x - 1 + 2} = \frac{2x - 1}{2x + 1} ( f ∘ g ) ( x ) = f ( 2 x − 1 ) = 2 x − 1 + 2 2 x − 1 = 2 x + 1 2 x − 1
Domain: 2 x + 1 ≠ 0 ⟹ x ≠ − 1 2 2x + 1 \neq 0 \implies x \neq -\dfrac{1}{2} 2 x + 1 = 0 ⟹ x = − 2 1 .
(b) Find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) .
y = x x + 2 ⟹ y ( x + 2 ) = x ⟹ x y + 2 y = x ⟹ x ( 1 − y ) = 2 y y = \frac{x}{x+2} \implies y(x+2) = x \implies xy + 2y = x \implies x(1-y) = 2y y = x + 2 x ⟹ y ( x + 2 ) = x ⟹ x y + 2 y = x ⟹ x ( 1 − y ) = 2 y
f − 1 ( x ) = 2 x 1 − x , x ≠ 1 f^{-1}(x) = \frac{2x}{1 - x}, \quad x \neq 1 f − 1 ( x ) = 1 − x 2 x , x = 1
(c) Verify that f − 1 ∘ f f^{-1} \circ f f − 1 ∘ f is the identity function.
( f − 1 ∘ f ) ( x ) = f − 1 ( x x + 2 ) = 2 ⋅ x x + 2 1 − x x + 2 = 2 x x + 2 2 x + 2 = x (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}} = x ( f − 1 ∘ f ) ( x ) = f − 1 ( x + 2 x ) = 1 − x + 2 x 2 ⋅ x + 2 x = x + 2 2 x + 2 2 x = x
Question 2 (Paper 2 style)
The function f f f is defined by f ( x ) = 2 x 2 − 12 x + 13 f(x) = 2x^2 - 12x + 13 f ( x ) = 2 x 2 − 12 x + 13 for x ≥ 3 x \ge 3 x ≥ 3 .
(a) Express f ( x ) f(x) f ( x ) in the form a ( x − h ) 2 + k a(x - h)^2 + k a ( x − h ) 2 + k .
f ( x ) = 2 ( x 2 − 6 x ) + 13 = 2 ( x − 3 ) 2 − 18 + 13 = 2 ( x − 3 ) 2 − 5 f(x) = 2(x^2 - 6x) + 13 = 2(x - 3)^2 - 18 + 13 = 2(x - 3)^2 - 5 f ( x ) = 2 ( x 2 − 6 x ) + 13 = 2 ( x − 3 ) 2 − 18 + 13 = 2 ( x − 3 ) 2 − 5
(b) Find the range of f f f .
Since x ≥ 3 x \ge 3 x ≥ 3 and ( x − 3 ) 2 ≥ 0 (x-3)^2 \ge 0 ( x − 3 ) 2 ≥ 0 : f ( x ) ≥ − 5 f(x) \ge -5 f ( x ) ≥ − 5 .
Range: [ − 5 , ∞ ) [-5, \infty) [ − 5 , ∞ ) .
(c) Find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) and state its domain.
y = 2 ( x − 3 ) 2 − 5 ⟹ y + 5 = 2 ( x − 3 ) 2 ⟹ ( x − 3 ) 2 = y + 5 2 y = 2(x-3)^2 - 5 \implies y + 5 = 2(x-3)^2 \implies (x-3)^2 = \frac{y+5}{2} y = 2 ( x − 3 ) 2 − 5 ⟹ y + 5 = 2 ( x − 3 ) 2 ⟹ ( x − 3 ) 2 = 2 y + 5
Since x ≥ 3 x \ge 3 x ≥ 3 , x − 3 ≥ 0 x - 3 \ge 0 x − 3 ≥ 0 :
x = 3 + y + 5 2 x = 3 + \sqrt{\frac{y+5}{2}} x = 3 + 2 y + 5
f − 1 ( x ) = 3 + x + 5 2 f^{-1}(x) = 3 + \sqrt{\frac{x+5}{2}} f − 1 ( x ) = 3 + 2 x + 5
Domain of f − 1 f^{-1} f − 1 = range of f f f : [ − 5 , ∞ ) [-5, \infty) [ − 5 , ∞ ) .
Question 3 (Paper 1 style)
Solve the inequality x 2 − 2 x − 8 > 0 x^2 - 2x - 8 \gt 0 x 2 − 2 x − 8 > 0 .
( x − 4 ) ( x + 2 ) > 0 (x - 4)(x + 2) \gt 0 ( x − 4 ) ( x + 2 ) > 0
The product is positive when both factors are positive or both are negative:
x > 4 x \gt 4 x > 4 or x < − 2 x \lt -2 x < − 2
Solution: x ∈ ( − ∞ , − 2 ) ∪ ( 4 , ∞ ) x \in (-\infty, -2) \cup (4, \infty) x ∈ ( − ∞ , − 2 ) ∪ ( 4 , ∞ ) .
Question 4 (Paper 2 style)
The function f f f is defined as f ( x ) = x 2 − 9 x − 3 f(x) = \dfrac{x^2 - 9}{x - 3} f ( x ) = x − 3 x 2 − 9 for x ≠ 3 x \neq 3 x = 3 .
(a) Simplify f ( x ) f(x) f ( x ) .
f ( x ) = ( x − 3 ) ( x + 3 ) x − 3 = x + 3 f o r x ≠ 3 f(x) = \frac{(x-3)(x+3)}{x-3} = x + 3 \quad \mathrm{for } x \neq 3 f ( x ) = x − 3 ( x − 3 ) ( x + 3 ) = x + 3 for x = 3
(b) Find the equations of any asymptotes of f f f .
There is a hole at x = 3 x = 3 x = 3 (removable discontinuity), not a vertical asymptote.
No horizontal asymptote (it behaves like y = x + 3 y = x + 3 y = x + 3 for large x x x ).
(c) Sketch the graph of f f f .
The graph is the line y = x + 3 y = x + 3 y = x + 3 with a hole at ( 3 , 6 ) (3, 6) ( 3 , 6 ) .
Question 5 (Paper 1 style)
The cubic P ( x ) = x 3 + a x 2 + b x − 12 P(x) = x^3 + ax^2 + bx - 12 P ( x ) = x 3 + a x 2 + b x − 12 has a factor of ( x + 3 ) (x + 3) ( x + 3 ) and leaves a remainder of − 20 -20 − 20
when divided by ( x − 1 ) (x - 1) ( x − 1 ) . Find a a a and b b b .
Since ( x + 3 ) (x + 3) ( x + 3 ) is a factor: P ( − 3 ) = 0 P(-3) = 0 P ( − 3 ) = 0 .
− 27 + 9 a − 3 b − 12 = 0 ⟹ 9 a − 3 b = 39 ⟹ 3 a − b = 13 ( 1 ) -27 + 9a - 3b - 12 = 0 \implies 9a - 3b = 39 \implies 3a - b = 13 \quad \mathrm{(1)} − 27 + 9 a − 3 b − 12 = 0 ⟹ 9 a − 3 b = 39 ⟹ 3 a − b = 13 ( 1 )
Since P ( 1 ) = − 20 P(1) = -20 P ( 1 ) = − 20 :
1 + a + b − 12 = − 20 ⟹ a + b = − 9 ( 2 ) 1 + a + b - 12 = -20 \implies a + b = -9 \quad \mathrm{(2)} 1 + a + b − 12 = − 20 ⟹ a + b = − 9 ( 2 )
Adding (1) and (2): 4 a = 4 ⟹ a = 1 4a = 4 \implies a = 1 4 a = 4 ⟹ a = 1 .
From (2): b = − 10 b = -10 b = − 10 .
Summary
Concept Key Point Composite function ( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x )) ; order mattersInverse function Reflect in y = x y = x y = x ; swap domain/range Vertical shift y = f ( x ) + k y = f(x) + k y = f ( x ) + k moves up by k k k Horizontal shift y = f ( x − h ) y = f(x - h) y = f ( x − h ) moves right by h h h Factor theorem ( x − a ) (x-a) ( x − a ) factor ⟺ P ( a ) = 0 \iff P(a) = 0 ⟺ P ( a ) = 0 Remainder theorem Remainder of P ( x ) ÷ ( x − a ) P(x) \div (x-a) P ( x ) ÷ ( x − a ) is P ( a ) P(a) P ( a ) Even function f ( − x ) = f ( x ) f(-x) = f(x) f ( − x ) = f ( x ) , symmetric about y y y -axisOdd function f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) , rotational symmetry about origin
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 f f f is 1 f ( x ) \dfrac{1}{f(x)} f ( x ) 1 .
Graphing Reciprocal Functions
Key features of the graph of y = 1 f ( x ) y = \dfrac{1}{f(x)} y = f ( x ) 1 :
Where f ( x ) = 1 f(x) = 1 f ( x ) = 1 , the reciprocal also equals 1 1 1 .
Where f ( x ) = − 1 f(x) = -1 f ( x ) = − 1 , the reciprocal also equals − 1 -1 − 1 .
Where f ( x ) > 0 f(x) \gt 0 f ( x ) > 0 , the reciprocal is positive.
Where f ( x ) < 0 f(x) \lt 0 f ( x ) < 0 , the reciprocal is negative.
Where f ( x ) = 0 f(x) = 0 f ( x ) = 0 , the reciprocal has a vertical asymptote.
Horizontal asymptotes of f f f become horizontal asymptotes of 1 f \dfrac{1}{f} f 1 .
Local maxima of f f f become local minima of 1 f \dfrac{1}{f} f 1 and vice versa.
Reciprocal of f ( x ) = a x + b f(x) = ax + b f ( x ) = a x + b
y = 1 a x + b y = \frac{1}{ax + b} y = a x + b 1
This is a rectangular hyperbola with vertical asymptote at x = − b a x = -\dfrac{b}{a} x = − a b and horizontal
asymptote at y = 0 y = 0 y = 0 .
Reciprocal of Quadratic Functions
Sketch the graph of y = 1 x 2 − 4 y = \dfrac{1}{x^2 - 4} y = x 2 − 4 1 .
Vertical asymptotes at x = 2 x = 2 x = 2 and x = − 2 x = -2 x = − 2 (zeros of denominator).
Horizontal asymptote at y = 0 y = 0 y = 0 .
For x < − 2 x \lt -2 x < − 2 : denominator positive, so y > 0 y \gt 0 y > 0 .
For − 2 < x < 2 -2 \lt x \lt 2 − 2 < x < 2 : denominator negative, so y < 0 y \lt 0 y < 0 .
For x > 2 x \gt 2 x > 2 : denominator positive, so y > 0 y \gt 0 y > 0 .
Local minimum at x = 0 x = 0 x = 0 : y = − 1 4 y = -\dfrac{1}{4} y = − 4 1 .
Rational Functions
Definition
A rational function is a ratio of two polynomials:
f ( x ) = P ( x ) Q ( x ) f(x) = \frac{P(x)}{Q(x)} f ( x ) = Q ( x ) P ( x )
Features to Identify
Domain : values of x x x where Q ( x ) ≠ 0 Q(x) \neq 0 Q ( x ) = 0 .
Intercepts : y y y -intercept (set x = 0 x = 0 x = 0 ), x x x -intercepts (set P ( x ) = 0 P(x) = 0 P ( x ) = 0 ).
Asymptotes : vertical (zeros of Q Q Q ), horizontal (compare degrees), oblique.
Behaviour near asymptotes : test values on each side.
Oblique Asymptotes
When deg P = deg Q + 1 \deg P = \deg Q + 1 deg P = deg Q + 1 , divide P P P by Q Q Q using polynomial division. The quotient (without
remainder) gives the oblique asymptote.
Find the asymptotes of f ( x ) = x 2 + 1 x − 1 \displaystyle f(x) = \frac{x^2 + 1}{x - 1} f ( x ) = x − 1 x 2 + 1 .
Vertical asymptote: x = 1 x = 1 x = 1 .
Since deg P = 2 \deg P = 2 deg P = 2 and deg Q = 1 \deg Q = 1 deg Q = 1 , there is an oblique asymptote.
x 2 + 1 x − 1 = x + 1 + 2 x − 1 \frac{x^2 + 1}{x - 1} = x + 1 + \frac{2}{x - 1} x − 1 x 2 + 1 = x + 1 + x − 1 2 Oblique asymptote: y = x + 1 y = x + 1 y = x + 1 .
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.
Is the following function continuous at x = 2 x = 2 x = 2 ?
f(x) = \begin`\{cases}` x^2 & x \le 2 \\ 3x - 2 & x \gt 2 \end`\{cases}` f ( 2 ) = 4 f(2) = 4 f ( 2 ) = 4 .
lim x → 2 − f ( x ) = 4 \lim_{x \to 2^-} f(x) = 4 lim x → 2 − f ( x ) = 4 .
lim x → 2 + f ( x ) = 3 ( 2 ) − 2 = 4 \lim_{x \to 2^+} f(x) = 3(2) - 2 = 4 lim x → 2 + f ( x ) = 3 ( 2 ) − 2 = 4 .
Since the left-hand limit, right-hand limit, and function value all equal 4, the function is
continuous at x = 2 x = 2 x = 2 .
Additional Exam-Style Questions
Question 6 (Paper 2 style)
The function f f f is defined as f ( x ) = 2 x + 3 x − 1 f(x) = \dfrac{2x + 3}{x - 1} f ( x ) = x − 1 2 x + 3 for x ∈ ′ { ′ R ′ } ′ x \in \mathbb{'\{'}R{'\}'} x ∈ ′ { ′ R ′ } ′ , x ≠ 1 x \neq 1 x = 1 .
(a) Find the inverse function f − 1 f^{-1} f − 1 .
y = 2 x + 3 x − 1 ⟹ y ( x − 1 ) = 2 x + 3 ⟹ y x − y = 2 x + 3 y = \frac{2x + 3}{x - 1} \implies y(x-1) = 2x + 3 \implies yx - y = 2x + 3 y = x − 1 2 x + 3 ⟹ y ( x − 1 ) = 2 x + 3 ⟹ y x − y = 2 x + 3
x ( y − 2 ) = y + 3 ⟹ x = y + 3 y − 2 x(y - 2) = y + 3 \implies x = \frac{y + 3}{y - 2} x ( y − 2 ) = y + 3 ⟹ x = y − 2 y + 3
f − 1 ( x ) = x + 3 x − 2 , x ≠ 2 f^{-1}(x) = \frac{x + 3}{x - 2}, \quad x \neq 2 f − 1 ( x ) = x − 2 x + 3 , x = 2
(b) State the domain and range of f − 1 f^{-1} f − 1 .
Domain of f − 1 f^{-1} f − 1 : x ≠ 2 x \neq 2 x = 2 .
Range of f − 1 f^{-1} f − 1 : y ≠ 1 y \neq 1 y = 1 (which equals the domain of f f f ).
(c) Find the value of x x x such that f ( x ) = f − 1 ( x ) f(x) = f^{-1}(x) f ( x ) = f − 1 ( x ) .
2 x + 3 x − 1 = x + 3 x − 2 \frac{2x+3}{x-1} = \frac{x+3}{x-2} x − 1 2 x + 3 = x − 2 x + 3
( 2 x + 3 ) ( x − 2 ) = ( x + 3 ) ( x − 1 ) (2x+3)(x-2) = (x+3)(x-1) ( 2 x + 3 ) ( x − 2 ) = ( x + 3 ) ( x − 1 )
2 x 2 − x − 6 = x 2 + 2 x − 3 2x^2 - x - 6 = x^2 + 2x - 3 2 x 2 − x − 6 = x 2 + 2 x − 3
x 2 − 3 x − 3 = 0 x^2 - 3x - 3 = 0 x 2 − 3 x − 3 = 0
x = 3 ± 9 + 12 2 = 3 ± 21 2 x = \frac{3 \pm \sqrt{9+12}}{2} = \frac{3 \pm \sqrt{21}}{2} x = 2 3 ± 9 + 12 = 2 3 ± 21
Question 7 (Paper 2 style)
Given f ( x ) = x 2 − 4 x + 3 f(x) = x^2 - 4x + 3 f ( x ) = x 2 − 4 x + 3 and g ( x ) = 2 x − 1 g(x) = 2x - 1 g ( x ) = 2 x − 1 :
(a) Find ( g ∘ f ) ( x ) (g \circ f)(x) ( g ∘ f ) ( x ) and its range.
( g ∘ f ) ( x ) = g ( x 2 − 4 x + 3 ) = 2 ( x 2 − 4 x + 3 ) − 1 = 2 x 2 − 8 x + 5 (g \circ f)(x) = g(x^2 - 4x + 3) = 2(x^2 - 4x + 3) - 1 = 2x^2 - 8x + 5 ( g ∘ f ) ( x ) = g ( x 2 − 4 x + 3 ) = 2 ( x 2 − 4 x + 3 ) − 1 = 2 x 2 − 8 x + 5
Completing the square: 2 ( x − 2 ) 2 − 3 2(x - 2)^2 - 3 2 ( x − 2 ) 2 − 3 .
Range: [ − 3 , ∞ ) [-3, \infty) [ − 3 , ∞ ) .
(b) Find the set of values of x x x for which ( f ∘ g ) ( x ) < 0 (f \circ g)(x) \lt 0 ( f ∘ g ) ( x ) < 0 .
( f ∘ g ) ( x ) = ( 2 x − 1 ) 2 − 4 ( 2 x − 1 ) + 3 = 4 x 2 − 4 x + 1 − 8 x + 4 + 3 = 4 x 2 − 12 x + 8 (f \circ g)(x) = (2x-1)^2 - 4(2x-1) + 3 = 4x^2 - 4x + 1 - 8x + 4 + 3 = 4x^2 - 12x + 8 ( f ∘ g ) ( x ) = ( 2 x − 1 ) 2 − 4 ( 2 x − 1 ) + 3 = 4 x 2 − 4 x + 1 − 8 x + 4 + 3 = 4 x 2 − 12 x + 8
4 x 2 − 12 x + 8 < 0 ⟹ x 2 − 3 x + 2 < 0 ⟹ ( x − 1 ) ( x − 2 ) < 0 4x^2 - 12x + 8 \lt 0 \implies x^2 - 3x + 2 \lt 0 \implies (x-1)(x-2) \lt 0 4 x 2 − 12 x + 8 < 0 ⟹ x 2 − 3 x + 2 < 0 ⟹ ( x − 1 ) ( x − 2 ) < 0
Solution: 1 < x < 2 1 \lt x \lt 2 1 < x < 2 .
Question 8 (Paper 1 style)
The function h h h is defined by h ( x ) = ∣ 2 x − 5 ∣ + ∣ x + 1 ∣ h(x) = |2x - 5| + |x + 1| h ( x ) = ∣2 x − 5∣ + ∣ x + 1∣ for all real x x x .
Find the minimum value of h ( x ) h(x) h ( x ) .
Critical points at x = 2.5 x = 2.5 x = 2.5 and x = − 1 x = -1 x = − 1 .
Case 1 (x < − 1 x \lt -1 x < − 1 ): h ( x ) = − ( 2 x − 5 ) + − ( x + 1 ) = − 3 x + 4 h(x) = -(2x-5) + -(x+1) = -3x + 4 h ( x ) = − ( 2 x − 5 ) + − ( x + 1 ) = − 3 x + 4 . Minimum at x = − 1 x = -1 x = − 1 : h ( − 1 ) = 7 h(-1) = 7 h ( − 1 ) = 7 .
Case 2 (− 1 ≤ x ≤ 2.5 -1 \le x \le 2.5 − 1 ≤ x ≤ 2.5 ): h ( x ) = − ( 2 x − 5 ) + ( x + 1 ) = − x + 6 h(x) = -(2x-5) + (x+1) = -x + 6 h ( x ) = − ( 2 x − 5 ) + ( x + 1 ) = − x + 6 . Minimum at x = 2.5 x = 2.5 x = 2.5 :
h ( 2.5 ) = 3.5 h(2.5) = 3.5 h ( 2.5 ) = 3.5 .
Case 3 (x > 2.5 x \gt 2.5 x > 2.5 ): h ( x ) = ( 2 x − 5 ) + ( x + 1 ) = 3 x − 4 h(x) = (2x-5) + (x+1) = 3x - 4 h ( x ) = ( 2 x − 5 ) + ( x + 1 ) = 3 x − 4 . Minimum at x = 2.5 x = 2.5 x = 2.5 : h ( 2.5 ) = 3.5 h(2.5) = 3.5 h ( 2.5 ) = 3.5 .
Minimum value is 3.5 3.5 3.5 at x = 2.5 x = 2.5 x = 2.5 .
For the A-Level treatment of this topic, see Functions .
Diagnostic Test
Ready to test your understanding of Functions and Equations ? The diagnostic test 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 Diagnostic Guide for instructions on self-marking and building a personal test matrix.