Board Coverage
Board Paper Notes AQA Paper 1, 2 Functions, composition, inverse, transformations Edexcel P1, P2 Similar; modulus in P1 OCR (A) Paper 1, 2 Includes composite functions CIE (9709) P1 Functions, domain, range, inverse
1. Definitions
Definition. A function f f f from a set A A A (the domain ) to a set B B B (the codomain ) is a
rule that assigns to each element a ∈ A a \in A a ∈ A exactly one element f ( a ) ∈ B f(a) \in B f ( a ) ∈ B . We write f : A → B f: A \to B f : A → B .
Definition. The range (or image ) of f f f is the set { f ( a ) : a ∈ A } ⊆ B \{f(a) : a \in A\} \subseteq B { f ( a ) : a ∈ A } ⊆ B — the
set of all values actually attained.
Definition. The natural domain of a real-valued function defined by an algebraic expression is
the largest subset of R \mathbb{R} R for which the expression is defined. Common restrictions:
Denominators cannot be zero: x ≠ 0 x \neq 0 x = 0 in 1 x \frac{1}{x} x 1 .
Square roots require non-negative arguments: x ≥ 0 x \geq 0 x ≥ 0 in x \sqrt{x} x .
Logarithms require positive arguments: x > 0 x > 0 x > 0 in ln x \ln x ln x .
Details
Example
Find the natural domain of
f ( x ) = x + 2 + 1 x − 1 f(x) = \sqrt{x + 2} + \frac{1}{x - 1} f ( x ) = x + 2 + x − 1 1 .
We need: x + 2 ≥ 0 x + 2 \geq 0 x + 2 ≥ 0 (for the square root) AND x − 1 ≠ 0 x - 1 \neq 0 x − 1 = 0 (for the denominator).
So x ≥ − 2 x \geq -2 x ≥ − 2 and x ≠ 1 x \neq 1 x = 1 .
Domain: [ − 2 , 1 ) ∪ ( 1 , ∞ ) [-2, 1) \cup (1, \infty) [ − 2 , 1 ) ∪ ( 1 , ∞ ) .
2. Composition of Functions
Definition. Given functions f : A → B f: A \to B f : A → B and g : B → C g: B \to C g : B → C , the composition
g ∘ f : A → C g \circ f: A \to C g ∘ f : A → C is defined by:
( g ∘ f ) ( x ) = g ( f ( x ) ) (g \circ f)(x) = g(f(x)) ( g ∘ f ) ( x ) = g ( f ( x ))
Theorem. Function composition is associative: ( h ∘ g ) ∘ f = h ∘ ( g ∘ f ) (h \circ g) \circ f = h \circ (g \circ f) ( h ∘ g ) ∘ f = h ∘ ( g ∘ f ) .
Theorem. Function composition is not commutative in general: f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f .
Details
Example
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 , find
f ∘ g f \circ g f ∘ g and
g ∘ f g \circ f g ∘ f .
( 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 .
warning
right to left: ( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x )) .
3. Inverse Functions
Definition. A function f : A → B f: A \to B f : A → B is injective (one-to-one) if
f ( a 1 ) = f ( a 2 ) ⟹ a 1 = a 2 f(a_1) = f(a_2) \implies a_1 = a_2 f ( a 1 ) = f ( a 2 ) ⟹ a 1 = a 2 for all a 1 , a 2 ∈ A a_1, a_2 \in A a 1 , a 2 ∈ A . Equivalently, distinct inputs give
distinct outputs.
Definition. A function f : A → B f: A \to B f : A → B is surjective (onto) if for every b ∈ B b \in B b ∈ B , there exists
a ∈ A a \in A a ∈ A such that f ( a ) = b f(a) = b f ( a ) = b .
Definition. A function that is both injective and surjective is bijective .
Theorem. A function f : A → B f: A \to B f : A → B has an inverse function f − 1 : B → A f^{-1}: B \to A f − 1 : B → A if and only if f f f is
bijective.
Proof.
(⇒ \Rightarrow ⇒ ) If f − 1 f^{-1} f − 1 exists, then f f f must be injective (otherwise f − 1 f^{-1} f − 1 would be
multiply-defined) and surjective (otherwise f − 1 f^{-1} f − 1 would be undefined for elements not in the
range).
(⇐ \Leftarrow ⇐ ) If f f f is bijective, then for each b ∈ B b \in B b ∈ B there exists exactly one a ∈ A a \in A a ∈ A with
f ( a ) = b f(a) = b f ( a ) = b . Define f − 1 ( b ) = a f^{-1}(b) = a f − 1 ( b ) = a . This is well-defined and satisfies f − 1 ( f ( a ) ) = a f^{-1}(f(a)) = a f − 1 ( f ( a )) = a and
f ( f − 1 ( b ) ) = b f(f^{-1}(b)) = b f ( f − 1 ( b )) = b . ■ \blacksquare ■
Intuition. An inverse function "undoes" the original function. For this to work, the original
function must pair each input with a unique output (injectivity) and must cover every element of the
codomain (surjectivity).
3.1 Finding Inverse Functions
Method.
Write y = f ( x ) y = f(x) y = f ( x ) .
Solve for x x x in terms of y y y .
Replace y y y with x x x (and x x x with y y y ) to get f − 1 ( x ) f^{-1}(x) f − 1 ( x ) .
State the domain of f − 1 f^{-1} f − 1 (which equals the range of f f f ).
Details
Example
Find the inverse of
f ( x ) = 2 x + 3 x − 1 f(x) = \frac{2x + 3}{x - 1} f ( x ) = x − 1 2 x + 3 ,
x ≠ 1 x \neq 1 x = 1 .
y = 2 x + 3 x − 1 y = \frac{2x + 3}{x - 1} y = x − 1 2 x + 3
y ( x − 1 ) = 2 x + 3 y(x - 1) = 2x + 3 y ( x − 1 ) = 2 x + 3
y x − y = 2 x + 3 yx - y = 2x + 3 y x − y = 2 x + 3
y x − 2 x = y + 3 yx - 2x = y + 3 y x − 2 x = y + 3
x ( y − 2 ) = y + 3 x(y - 2) = y + 3 x ( y − 2 ) = y + 3
x = y + 3 y − 2 x = \frac{y + 3}{y - 2} x = y − 2 y + 3
So f − 1 ( x ) = x + 3 x − 2 f^{-1}(x) = \frac{x + 3}{x - 2} f − 1 ( x ) = x − 2 x + 3 , with domain x ≠ 2 x \neq 2 x = 2 .
The range of f f f is all real numbers except f ( x ) = 2 f(x) = 2 f ( x ) = 2 :
2 x + 3 x − 1 = 2 ⟹ 2 x + 3 = 2 x − 2 ⟹ 3 = − 2 \frac{2x + 3}{x - 1} = 2 \implies 2x + 3 = 2x - 2 \implies 3 = -2 x − 1 2 x + 3 = 2 ⟹ 2 x + 3 = 2 x − 2 ⟹ 3 = − 2 , impossible. So the range is
R ∖ { 2 } \mathbb{R} \setminus \{2\} R ∖ { 2 } , which equals the domain of f − 1 f^{-1} f − 1 . ✓
Theorem. 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 .
Proof. If ( a , b ) (a, b) ( a , b ) lies on y = f ( x ) y = f(x) y = f ( x ) , then b = f ( a ) b = f(a) b = f ( a ) , so a = f − 1 ( b ) a = f^{-1}(b) a = f − 1 ( b ) , meaning ( b , a ) (b, a) ( b , a ) lies
on y = f − 1 ( x ) y = f^{-1}(x) y = f − 1 ( x ) . Swapping coordinates is reflection in y = x y = x y = x . ■ \blacksquare ■
4. The Modulus Function
Definition. The modulus (absolute value) function is defined by:
∣ x ∣ = { x i f x ≥ 0 − x i f x < 0 |x| = \begin{cases} x & \mathrm{if } x \geq 0 \\ -x & \mathrm{if } x < 0 \end{cases} ∣ x ∣ = { x − x if x ≥ 0 if x < 0
Properties:
∣ a b ∣ = ∣ a ∣ ⋅ ∣ b ∣ ∣ a + b ∣ ≤ ∣ a ∣ + ∣ b ∣ ( T r i a n g l e i n e q u a l i t y ) ∣ a ∣ 2 = a 2 ∣ x ∣ = x 2 \begin{aligned}
|ab| &= |a| \cdot |b| \\
|a + b| &\leq |a| + |b| \quad \mathrm{(Triangle inequality)} \\
|a|^2 &= a^2 \\
|x| &= \sqrt{x^2}
\end{aligned} ∣ ab ∣ ∣ a + b ∣ ∣ a ∣ 2 ∣ x ∣ = ∣ a ∣ ⋅ ∣ b ∣ ≤ ∣ a ∣ + ∣ b ∣ ( Triangleinequality ) = a 2 = x 2
Theorem (Triangle Inequality). ∣ a + b ∣ ≤ ∣ a ∣ + ∣ b ∣ |a + b| \leq |a| + |b| ∣ a + b ∣ ≤ ∣ a ∣ + ∣ b ∣ for all a , b ∈ R a, b \in \mathbb{R} a , b ∈ R .
Proof. We consider cases based on the signs of a a a and b b b .
Case 1: a , b ≥ 0 a, b \geq 0 a , b ≥ 0 . Then ∣ a + b ∣ = a + b = ∣ a ∣ + ∣ b ∣ |a + b| = a + b = |a| + |b| ∣ a + b ∣ = a + b = ∣ a ∣ + ∣ b ∣ . Equality holds.
Case 2: a , b ≤ 0 a, b \leq 0 a , b ≤ 0 . Then a + b ≤ 0 a + b \leq 0 a + b ≤ 0 , so ∣ a + b ∣ = − ( a + b ) = − a − b = ∣ a ∣ + ∣ b ∣ |a + b| = -(a + b) = -a - b = |a| + |b| ∣ a + b ∣ = − ( a + b ) = − a − b = ∣ a ∣ + ∣ b ∣ . Equality
holds.
Case 3: a ≥ 0 a \geq 0 a ≥ 0 , b ≤ 0 b \leq 0 b ≤ 0 . If a + b ≥ 0 a + b \geq 0 a + b ≥ 0 : ∣ a + b ∣ = a + b ≤ a + ( − b ) = ∣ a ∣ + ∣ b ∣ |a + b| = a + b \leq a + (-b) = |a| + |b| ∣ a + b ∣ = a + b ≤ a + ( − b ) = ∣ a ∣ + ∣ b ∣ . If
a + b ≤ 0 a + b \leq 0 a + b ≤ 0 : ∣ a + b ∣ = − ( a + b ) = − a − b ≤ a − b = ∣ a ∣ + ∣ b ∣ |a + b| = -(a + b) = -a - b \leq a - b = |a| + |b| ∣ a + b ∣ = − ( a + b ) = − a − b ≤ a − b = ∣ a ∣ + ∣ b ∣ (since a ≥ 0 a \geq 0 a ≥ 0 implies
a ≥ − a a \geq -a a ≥ − a , i.e., 2 a ≥ 0 2a \geq 0 2 a ≥ 0 ). ■ \blacksquare ■
4.1 Solving Modulus Equations
To solve ∣ f ( x ) ∣ = g ( x ) |f(x)| = g(x) ∣ f ( x ) ∣ = g ( x ) :
Case 1: f ( x ) ≥ 0 f(x) \geq 0 f ( x ) ≥ 0 , so f ( x ) = g ( x ) f(x) = g(x) f ( x ) = g ( x ) .
Case 2: f ( x ) < 0 f(x) < 0 f ( x ) < 0 , so − f ( x ) = g ( x ) -f(x) = g(x) − f ( x ) = g ( x ) .
Check solutions against the case conditions.
Details
Example
Solve
∣ 2 x − 3 ∣ = x + 2 |2x - 3| = x + 2 ∣2 x − 3∣ = x + 2 .
Case 1: 2 x − 3 ≥ 0 2x - 3 \geq 0 2 x − 3 ≥ 0 , i.e., x ≥ 3 2 x \geq \frac{3}{2} x ≥ 2 3 .
2 x − 3 = x + 2 ⟹ x = 5 2x - 3 = x + 2 \implies x = 5 2 x − 3 = x + 2 ⟹ x = 5 . Check: 5 ≥ 3 2 5 \geq \frac{3}{2} 5 ≥ 2 3 ✓
Case 2: 2 x − 3 < 0 2x - 3 < 0 2 x − 3 < 0 , i.e., x < 3 2 x < \frac{3}{2} x < 2 3 .
− ( 2 x − 3 ) = x + 2 ⟹ − 2 x + 3 = x + 2 ⟹ − 3 x = − 1 ⟹ x = 1 3 -(2x - 3) = x + 2 \implies -2x + 3 = x + 2 \implies -3x = -1 \implies x = \frac{1}{3} − ( 2 x − 3 ) = x + 2 ⟹ − 2 x + 3 = x + 2 ⟹ − 3 x = − 1 ⟹ x = 3 1 . Check:
1 3 < 3 2 \frac{1}{3} < \frac{3}{2} 3 1 < 2 3 ✓
Solutions: x = 1 3 x = \frac{1}{3} x = 3 1 and x = 5 x = 5 x = 5 .
5.1 Translations
Theorem. The graph of y = f ( x − a ) y = f(x - a) y = f ( x − a ) is the graph of y = f ( x ) y = f(x) y = f ( x ) translated by a a a units in the
positive x x x -direction.
Proof. Let g ( x ) = f ( x − a ) g(x) = f(x - a) g ( x ) = f ( x − a ) . The point ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) lies on y = g ( x ) y = g(x) y = g ( x ) if and only if
y 0 = g ( x 0 ) = f ( x 0 − a ) y_0 = g(x_0) = f(x_0 - a) y 0 = g ( x 0 ) = f ( x 0 − a ) . This means ( x 0 − a , y 0 ) (x_0 - a, y_0) ( x 0 − a , y 0 ) lies on y = f ( x ) y = f(x) y = f ( x ) . So the point
( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) on g g g corresponds to the point ( x 0 − a , y 0 ) (x_0 - a, y_0) ( x 0 − a , y 0 ) on f f f — a shift right by a a a .
■ \blacksquare ■
Intuition. Replacing x x x with x − a x - a x − a means "to get the same output, I need to input a a a more."
The graph shifts right to compensate.
Similarly, y = f ( x ) + b y = f(x) + b y = f ( x ) + b translates up by b b b .
5.2 Reflections
Transformation Effect y = f ( − x ) y = f(-x) y = f ( − x ) Reflection in the y y y -axis y = − f ( x ) y = -f(x) y = − f ( x ) Reflection in the x x x -axis
Proof for y = f ( − x ) y = f(-x) y = f ( − x ) as reflection in the y y y -axis. If ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) is on y = f ( x ) y = f(x) y = f ( x ) , then
y 0 = f ( x 0 ) y_0 = f(x_0) y 0 = f ( x 0 ) . The point ( − x 0 , y 0 ) (-x_0, y_0) ( − x 0 , y 0 ) satisfies y 0 = f ( − ( − x 0 ) ) = f ( x 0 ) y_0 = f(-(-x_0)) = f(x_0) y 0 = f ( − ( − x 0 )) = f ( x 0 ) , so it lies on
y = f ( − x ) y = f(-x) y = f ( − x ) . Reflecting ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) in the y y y -axis gives ( − x 0 , y 0 ) (-x_0, y_0) ( − x 0 , y 0 ) . ■ \blacksquare ■
5.3 Stretches
Transformation Effect y = f ( a x ) y = f(ax) y = f ( a x ) Horizontal stretch, scale factor 1 a \frac{1}{a} a 1 y = a f ( x ) y = af(x) y = a f ( x ) Vertical stretch, scale factor a a a
Proof for y = f ( a x ) y = f(ax) y = f ( a x ) as horizontal stretch. If ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) is on y = f ( x ) y = f(x) y = f ( x ) , then on
y = f ( a x ) y = f(ax) y = f ( a x ) , the same y y y -value occurs when a x = x 0 ax = x_0 a x = x 0 , i.e., x = x 0 a x = \frac{x_0}{a} x = a x 0 . So
( x 0 a , y 0 ) (\frac{x_0}{a}, y_0) ( a x 0 , y 0 ) is on the new graph — a horizontal stretch by factor 1 a \frac{1}{a} a 1 .
■ \blacksquare ■
Horizontal transformations are "backwards": f ( x − a ) f(x - a) f ( x − a ) shifts right (not left), and
f ( a x ) f(ax) f ( a x ) stretches by 1 a \frac{1}{a} a 1 (not a a a ). This is the single most common error in this topic.
When multiple transformations are applied, the order matters. The convention is:
y = a f ( x − p ) + q y = af(x - p) + q y = a f ( x − p ) + q
represents: horizontal translation by p p p (right), vertical stretch by factor a a a , vertical
translation by q q q (up).
tip
(outside). The order inside-out matters.
6. Even and Odd Functions
Definition. A function f f f is even if f ( − x ) = f ( x ) f(-x) = f(x) f ( − x ) = f ( x ) for all x x x in its domain. A function
f f f is odd if f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) for all x x x in its domain.
Theorem. The graph of an even function is symmetric about the y y y -axis. The graph of an odd
function has rotational symmetry of order 2 about the origin.
Proof. For even f f f : the point ( − x , f ( − x ) ) = ( − x , f ( x ) ) (-x, f(-x)) = (-x, f(x)) ( − x , f ( − x )) = ( − x , f ( x )) is on the graph whenever ( x , f ( x ) ) (x, f(x)) ( x , f ( x )) is.
These two points are reflections of each other across the y y y -axis. ■ \blacksquare ■
For odd f f f : the point ( − x , f ( − x ) ) = ( − x , − f ( x ) ) (-x, f(-x)) = (-x, -f(x)) ( − x , f ( − x )) = ( − x , − f ( x )) is on the graph whenever ( x , f ( x ) ) (x, f(x)) ( x , f ( x )) is. Rotating
( x , f ( x ) ) (x, f(x)) ( x , f ( x )) by 180 ∘ 180^\circ 18 0 ∘ about the origin gives ( − x , − f ( x ) ) (-x, -f(x)) ( − x , − f ( x )) . ■ \blacksquare ■
Algebraic Properties.
Operation Even × \times × Even Odd × \times × Odd Even × \times × Odd Result Even Even Odd
Proof (for f f f odd, g g g odd ⟹ f g \implies fg ⟹ f g even).
( f g ) ( − x ) = f ( − x ) g ( − x ) = ( − f ( x ) ) ( − g ( x ) ) = f ( x ) g ( x ) = ( f g ) ( x ) (fg)(-x) = f(-x)g(-x) = (-f(x))(-g(x)) = f(x)g(x) = (fg)(x) ( f g ) ( − x ) = f ( − x ) g ( − x ) = ( − f ( x )) ( − g ( x )) = f ( x ) g ( x ) = ( f g ) ( x ) . ■ \blacksquare ■
Proof (for f f f even, g g g odd ⟹ f g \implies fg ⟹ f g odd).
( f g ) ( − x ) = f ( − x ) g ( − x ) = f ( x ) ( − g ( x ) ) = − f ( x ) g ( x ) = − ( f g ) ( x ) (fg)(-x) = f(-x)g(-x) = f(x)(-g(x)) = -f(x)g(x) = -(fg)(x) ( f g ) ( − x ) = f ( − x ) g ( − x ) = f ( x ) ( − g ( x )) = − f ( x ) g ( x ) = − ( f g ) ( x ) . ■ \blacksquare ■
Theorem. The only function that is both even and odd is f ( x ) = 0 f(x) = 0 f ( x ) = 0 (the zero function on a
symmetric domain).
Proof. f f f even: f ( − x ) = f ( x ) f(-x) = f(x) f ( − x ) = f ( x ) . f f f odd: f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) . Therefore f ( x ) = − f ( x ) f(x) = -f(x) f ( x ) = − f ( x ) , so
2 f ( x ) = 0 2f(x) = 0 2 f ( x ) = 0 , hence f ( x ) = 0 f(x) = 0 f ( x ) = 0 for all x x x . ■ \blacksquare ■
Details
Example
Classify
f ( x ) = x 3 − x f(x) = x^3 - x f ( x ) = x 3 − x and
g ( x ) = cos ( x 2 ) g(x) = \cos(x^2) g ( x ) = cos ( x 2 ) .
f ( − x ) = ( − x ) 3 − ( − x ) = − x 3 + x = − ( x 3 − x ) = − f ( x ) f(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -f(x) f ( − x ) = ( − x ) 3 − ( − x ) = − x 3 + x = − ( x 3 − x ) = − f ( x ) . So f f f is odd.
g ( − x ) = cos ( ( − x ) 2 ) = cos ( x 2 ) = g ( x ) g(-x) = \cos((-x)^2) = \cos(x^2) = g(x) g ( − x ) = cos (( − x ) 2 ) = cos ( x 2 ) = g ( x ) . So g g g is even.
7. Composite Function Domain and Range
Theorem. The domain of g ∘ f g \circ f g ∘ f is { x ∈ d o m ( f ) : f ( x ) ∈ d o m ( g ) } \{x \in \mathrm{dom}(f) : f(x) \in \mathrm{dom}(g)\} { x ∈ dom ( f ) : f ( x ) ∈ dom ( g )} .
Proof. For ( g ∘ f ) ( x ) = g ( f ( x ) ) (g \circ f)(x) = g(f(x)) ( g ∘ f ) ( x ) = g ( f ( x )) to be defined, we need x ∈ d o m ( f ) x \in \mathrm{dom}(f) x ∈ dom ( f ) (so f ( x ) f(x) f ( x )
exists) AND f ( x ) ∈ d o m ( g ) f(x) \in \mathrm{dom}(g) f ( x ) ∈ dom ( g ) (so g g g can accept f ( x ) f(x) f ( x ) as input). ■ \blacksquare ■
The range of g ∘ f g \circ f g ∘ f is the image under g g g of the set
{ f ( x ) : x ∈ d o m ( g ∘ f ) } \{f(x) : x \in \mathrm{dom}(g \circ f)\} { f ( x ) : x ∈ dom ( g ∘ f )} , which is a subset of the range of g g g .
Details
Example
Given
f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 with domain
R \mathbb{R} R and
g ( x ) = x g(x) = \sqrt{x} g ( x ) = x with domain
[ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) , find the domain and range of
g ∘ f g \circ f g ∘ f .
Domain: We need x ∈ R x \in \mathbb{R} x ∈ R (always true) and f ( x ) = x 2 ∈ [ 0 , ∞ ) f(x) = x^2 \in [0, \infty) f ( x ) = x 2 ∈ [ 0 , ∞ ) (always true).
So d o m ( g ∘ f ) = R \mathrm{dom}(g \circ f) = \mathbb{R} dom ( g ∘ f ) = R .
Range: g ( f ( x ) ) = x 2 = ∣ x ∣ g(f(x)) = \sqrt{x^2} = |x| g ( f ( x )) = x 2 = ∣ x ∣ . The range of ∣ x ∣ |x| ∣ x ∣ over R \mathbb{R} R is [ 0 , ∞ ) [0, \infty) [ 0 , ∞ ) .
Details
Example
Given
f ( x ) = 1 x − 1 f(x) = \frac{1}{x - 1} f ( x ) = x − 1 1 with domain
R ∖ { 1 } \mathbb{R} \setminus \{1\} R ∖ { 1 } and
g ( x ) = ln x g(x) = \ln x g ( x ) = ln x with domain
( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) , find the domain of
g ∘ f g \circ f g ∘ f .
We need 1 x − 1 > 0 \frac{1}{x-1} > 0 x − 1 1 > 0 , so x − 1 > 0 x - 1 > 0 x − 1 > 0 , giving x > 1 x > 1 x > 1 .
d o m ( g ∘ f ) = ( 1 , ∞ ) \mathrm{dom}(g \circ f) = (1, \infty) dom ( g ∘ f ) = ( 1 , ∞ ) .
8. Self-Inverse Functions
Definition. A function f f f is self-inverse if f − 1 = f f^{-1} = f f − 1 = f , i.e., f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x for all x x x
in the domain of f f f .
Theorem. If f f f is self-inverse, then f f f is bijective and f = f − 1 f = f^{-1} f = f − 1 .
Proof. If f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x for all x x x , then f f f has an inverse (namely f f f itself), so f f f is
bijective. And by definition of inverse, f − 1 = f f^{-1} = f f − 1 = f . ■ \blacksquare ■
Common self-inverse functions:
f ( x ) = a x f(x) = \frac{a}{x} f ( x ) = x a (reciprocal, x ≠ 0 x \neq 0 x = 0 ): f ( f ( x ) ) = a / ( a / x ) = x f(f(x)) = a/(a/x) = x f ( f ( x )) = a / ( a / x ) = x . ✓
f ( x ) = a − x f(x) = a - x f ( x ) = a − x (reflection): f ( f ( x ) ) = a − ( a − x ) = x f(f(x)) = a - (a - x) = x f ( f ( x )) = a − ( a − x ) = x . ✓
f ( x ) = a x + b c x − a f(x) = \frac{ax + b}{cx - a} f ( x ) = c x − a a x + b (general fractional linear, c ≠ 0 c \neq 0 c = 0 ): verify f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x .
Proof for f ( x ) = ( a x + b ) / ( c x − a ) f(x) = (ax+b)/(cx-a) f ( x ) = ( a x + b ) / ( c x − a ) . Let f ( x ) = a x + b c x − a f(x) = \frac{ax+b}{cx-a} f ( x ) = c x − a a x + b . Then:
f ( f ( x ) ) = ◆ L B ◆ a ⋅ a x + b c x − a + b ◆ R B ◆◆ L B ◆ c ⋅ a x + b c x − a − a ◆ R B ◆ = ◆ L B ◆ a ( a x + b ) + b ( c x − a ) c x − a ◆ R B ◆◆ L B ◆ c ( a x + b ) − a ( c x − a ) c x − a ◆ R B ◆ = a 2 x + a b + b c x − a b a c x + b c − a c x + a 2 = ( a 2 + b c ) x a 2 + b c = x f(f(x)) = \frac◆LB◆a \cdot \frac{ax+b}{cx-a} + b◆RB◆◆LB◆c \cdot \frac{ax+b}{cx-a} - a◆RB◆ = \frac◆LB◆\frac{a(ax+b) + b(cx-a)}{cx-a}◆RB◆◆LB◆\frac{c(ax+b) - a(cx-a)}{cx-a}◆RB◆ = \frac{a^2 x + ab + bcx - ab}{acx + bc - acx + a^2} = \frac{(a^2 + bc)x}{a^2 + bc} = x f ( f ( x )) = L ◆ B ◆ a ⋅ c x − a a x + b + b ◆ R B ◆◆ L B ◆ c ⋅ c x − a a x + b − a ◆ R B ◆ = L ◆ B ◆ c x − a a ( a x + b ) + b ( c x − a ) ◆ R B ◆◆ L B ◆ c x − a c ( a x + b ) − a ( c x − a ) ◆ R B ◆ = a c x + b c − a c x + a 2 a 2 x + ab + b c x − ab = a 2 + b c ( a 2 + b c ) x = x
■ \blacksquare ■ (provided a 2 + b c ≠ 0 a^2 + bc \neq 0 a 2 + b c = 0 ).
9. Modulus Inequalities with Functions
To solve inequalities involving the modulus function:
Type 1: ∣ f ( x ) ∣ < g ( x ) |f(x)| \lt g(x) ∣ f ( x ) ∣ < g ( x ) where g ( x ) > 0 g(x) > 0 g ( x ) > 0 .
This is equivalent to the compound inequality − g ( x ) < f ( x ) < g ( x ) -g(x) \lt f(x) \lt g(x) − g ( x ) < f ( x ) < g ( x ) .
Proof. ∣ f ( x ) ∣ < g ( x ) ⟺ − g ( x ) < f ( x ) < g ( x ) |f(x)| \lt g(x) \iff -g(x) \lt f(x) \lt g(x) ∣ f ( x ) ∣ < g ( x ) ⟺ − g ( x ) < f ( x ) < g ( x ) follows directly from the definition of
modulus. ■ \blacksquare ■
Type 2: ∣ f ( x ) ∣ > g ( x ) |f(x)| \gt g(x) ∣ f ( x ) ∣ > g ( x ) .
This is equivalent to: f ( x ) > g ( x ) f(x) > g(x) f ( x ) > g ( x ) OR f ( x ) < − g ( x ) f(x) < -g(x) f ( x ) < − g ( x ) .
Details
Example
Solve
∣ x 2 − 3 x ∣ < 4 |x^2 - 3x| \lt 4 ∣ x 2 − 3 x ∣ < 4 .
This gives − 4 < x 2 − 3 x < 4 -4 \lt x^2 - 3x \lt 4 − 4 < x 2 − 3 x < 4 , i.e., two separate inequalities:
x 2 − 3 x − 4 < 0 ⟹ ( x − 4 ) ( x + 1 ) < 0 ⟹ − 1 < x < 4 x^2 - 3x - 4 \lt 0 \implies (x-4)(x+1) \lt 0 \implies -1 \lt x \lt 4 x 2 − 3 x − 4 < 0 ⟹ ( x − 4 ) ( x + 1 ) < 0 ⟹ − 1 < x < 4 .
x 2 − 3 x + 4 > 0 x^2 - 3x + 4 \gt 0 x 2 − 3 x + 4 > 0 : discriminant Δ = 9 − 16 = − 7 < 0 \Delta = 9 - 16 = -7 \lt 0 Δ = 9 − 16 = − 7 < 0 , and the coefficient of x 2 x^2 x 2 is
positive, so this is always true.
Solution: − 1 < x < 4 -1 \lt x \lt 4 − 1 < x < 4 .
Details
Example
Solve
∣ 2 x − 1 ∣ ≥ x + 2 |2x - 1| \geq x + 2 ∣2 x − 1∣ ≥ x + 2 .
Case 1: 2 x − 1 ≥ 0 2x - 1 \geq 0 2 x − 1 ≥ 0 (i.e., x ≥ 1 / 2 x \geq 1/2 x ≥ 1/2 ): 2 x − 1 ≥ x + 2 ⟹ x ≥ 3 2x - 1 \geq x + 2 \implies x \geq 3 2 x − 1 ≥ x + 2 ⟹ x ≥ 3 . Combined with
x ≥ 1 / 2 x \geq 1/2 x ≥ 1/2 : x ≥ 3 x \geq 3 x ≥ 3 .
Case 2: 2 x − 1 < 0 2x - 1 < 0 2 x − 1 < 0 (i.e., x < 1 / 2 x < 1/2 x < 1/2 ):
− ( 2 x − 1 ) ≥ x + 2 ⟹ − 2 x + 1 ≥ x + 2 ⟹ − 1 ≥ 3 x ⟹ x ≤ − 1 / 3 -(2x-1) \geq x + 2 \implies -2x + 1 \geq x + 2 \implies -1 \geq 3x \implies x \leq -1/3 − ( 2 x − 1 ) ≥ x + 2 ⟹ − 2 x + 1 ≥ x + 2 ⟹ − 1 ≥ 3 x ⟹ x ≤ − 1/3 . Combined
with x < 1 / 2 x < 1/2 x < 1/2 : x ≤ − 1 / 3 x \leq -1/3 x ≤ − 1/3 .
Solution: x ≤ − 1 / 3 x \leq -1/3 x ≤ − 1/3 or x ≥ 3 x \geq 3 x ≥ 3 , i.e., x ∈ ( − ∞ , − 1 / 3 ] ∪ [ 3 , ∞ ) x \in (-\infty, -1/3] \cup [3, \infty) x ∈ ( − ∞ , − 1/3 ] ∪ [ 3 , ∞ ) .
When multiple transformations are applied to y = f ( x ) y = f(x) y = f ( x ) , the order matters because horizontal and
vertical transformations interact differently.
Rule. For y = a f ( b x + c ) + d y = af(bx + c) + d y = a f ( b x + c ) + d :
Apply horizontal transformations first : the argument is b x + c bx + c b x + c , which is a horizontal
stretch by factor 1 / b 1/b 1/ b then a horizontal shift of − c / b -c/b − c / b .
Apply vertical transformations second : vertical stretch by ∣ a ∣ |a| ∣ a ∣ , reflection if a < 0 a < 0 a < 0 , then
vertical shift d d d .
Common Pitfall The horizontal shift in f ( b x + c ) f(bx + c) f ( b x + c ) is − c / b -c/b − c / b , NOT − c -c − c . The stretch
"absorbs" part of the shift. This is the single most common error in transformation problems.
Details
Example
Describe the transformations mapping
y = x 2 y = x^2 y = x 2 to
y = 3 ( 2 x − 4 ) 2 + 5 y = 3(2x - 4)^2 + 5 y = 3 ( 2 x − 4 ) 2 + 5 .
Reading from inside out:
x 2 → ( 2 x ) 2 x^2 \to (2x)^2 x 2 → ( 2 x ) 2 : horizontal stretch, factor 1 / 2 1/2 1/2 .
( 2 x ) 2 → ( 2 x − 4 ) 2 = [ 2 ( x − 2 ) ] 2 = 4 ( x − 2 ) 2 (2x)^2 \to (2x - 4)^2 = [2(x - 2)]^2 = 4(x-2)^2 ( 2 x ) 2 → ( 2 x − 4 ) 2 = [ 2 ( x − 2 ) ] 2 = 4 ( x − 2 ) 2 : horizontal shift right by 2.
4 ( x − 2 ) 2 → 3 ⋅ 4 ( x − 2 ) 2 = 12 ( x − 2 ) 2 4(x-2)^2 \to 3 \cdot 4(x-2)^2 = 12(x-2)^2 4 ( x − 2 ) 2 → 3 ⋅ 4 ( x − 2 ) 2 = 12 ( x − 2 ) 2 : vertical stretch, factor 3.
12 ( x − 2 ) 2 → 12 ( x − 2 ) 2 + 5 12(x-2)^2 \to 12(x-2)^2 + 5 12 ( x − 2 ) 2 → 12 ( x − 2 ) 2 + 5 : vertical shift up by 5.
Note: the horizontal shift is 2 (not 4), because 2 x − 4 = 2 ( x − 2 ) 2x - 4 = 2(x - 2) 2 x − 4 = 2 ( x − 2 ) .
11. Problem Set
Problem 1. Given f ( x ) = 1 x − 3 + 2 f(x) = \frac{1}{x - 3} + 2 f ( x ) = x − 3 1 + 2 , find the domain, range, and inverse function.
Details
Solution
Domain:
x ≠ 3 x \neq 3 x = 3 , i.e.,
R ∖ { 3 } \mathbb{R} \setminus \{3\} R ∖ { 3 } .
Range: As x → 3 + x \to 3^+ x → 3 + , f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ ; as x → 3 − x \to 3^- x → 3 − , f ( x ) → − ∞ f(x) \to -\infty f ( x ) → − ∞ . As x → ± ∞ x \to \pm\infty x → ± ∞ ,
f ( x ) → 2 f(x) \to 2 f ( x ) → 2 . So f ( x ) ≠ 2 f(x) \neq 2 f ( x ) = 2 .
Range: R ∖ { 2 } \mathbb{R} \setminus \{2\} R ∖ { 2 } .
Inverse:
y = 1 x − 3 + 2 ⟹ y − 2 = 1 x − 3 ⟹ x − 3 = 1 y − 2 ⟹ x = 1 y − 2 + 3 y = \frac{1}{x - 3} + 2 \implies y - 2 = \frac{1}{x - 3} \implies x - 3 = \frac{1}{y - 2} \implies x = \frac{1}{y - 2} + 3 y = x − 3 1 + 2 ⟹ y − 2 = x − 3 1 ⟹ x − 3 = y − 2 1 ⟹ x = y − 2 1 + 3 .
f − 1 ( x ) = 1 x − 2 + 3 f^{-1}(x) = \frac{1}{x - 2} + 3 f − 1 ( x ) = x − 2 1 + 3 , domain x ≠ 2 x \neq 2 x = 2 .
If you get this wrong, revise: Inverse functions
Problem 2. Given f ( x ) = x 2 − 4 x + 9 f(x) = x^2 - 4x + 9 f ( x ) = x 2 − 4 x + 9 for x ≥ 2 x \geq 2 x ≥ 2 , find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) .
Details
Solution
Completing the square:
f ( x ) = ( x − 2 ) 2 + 5 f(x) = (x - 2)^2 + 5 f ( x ) = ( x − 2 ) 2 + 5 .
For x ≥ 2 x \geq 2 x ≥ 2 , f f f is injective (strictly increasing).
y = ( x − 2 ) 2 + 5 ⟹ ( x − 2 ) 2 = y − 5 ⟹ x − 2 = y − 5 y = (x - 2)^2 + 5 \implies (x - 2)^2 = y - 5 \implies x - 2 = \sqrt{y - 5} y = ( x − 2 ) 2 + 5 ⟹ ( x − 2 ) 2 = y − 5 ⟹ x − 2 = y − 5
(taking the positive root since x ≥ 2 x \geq 2 x ≥ 2 ).
x = y − 5 + 2 x = \sqrt{y - 5} + 2 x = y − 5 + 2
f − 1 ( x ) = x − 5 + 2 f^{-1}(x) = \sqrt{x - 5} + 2 f − 1 ( x ) = x − 5 + 2 , domain x ≥ 5 x \geq 5 x ≥ 5 .
If you get this wrong, revise: Inverse functions
Problem 3. Solve ∣ 3 x + 1 ∣ = 2 x + 5 |3x + 1| = 2x + 5 ∣3 x + 1∣ = 2 x + 5 .
Details
Solution
Case 1:
3 x + 1 ≥ 0 3x + 1 \geq 0 3 x + 1 ≥ 0 , i.e.,
x ≥ − 1 3 x \geq -\frac{1}{3} x ≥ − 3 1 .
3 x + 1 = 2 x + 5 ⟹ x = 4 3x + 1 = 2x + 5 \implies x = 4 3 x + 1 = 2 x + 5 ⟹ x = 4 . Check: 4 ≥ − 1 3 4 \geq -\frac{1}{3} 4 ≥ − 3 1 ✓
Case 2: 3 x + 1 < 0 3x + 1 < 0 3 x + 1 < 0 , i.e., x < − 1 3 x < -\frac{1}{3} x < − 3 1 .
− ( 3 x + 1 ) = 2 x + 5 ⟹ − 3 x − 1 = 2 x + 5 ⟹ − 5 x = 6 ⟹ x = − 6 5 -(3x + 1) = 2x + 5 \implies -3x - 1 = 2x + 5 \implies -5x = 6 \implies x = -\frac{6}{5} − ( 3 x + 1 ) = 2 x + 5 ⟹ − 3 x − 1 = 2 x + 5 ⟹ − 5 x = 6 ⟹ x = − 5 6 .
Check: − 6 5 < − 1 3 -\frac{6}{5} < -\frac{1}{3} − 5 6 < − 3 1 ✓
Solutions: x = − 6 5 x = -\frac{6}{5} x = − 5 6 and x = 4 x = 4 x = 4 .
If you get this wrong, revise: Modulus equations
Problem 4. Given f ( x ) = 2 x − 1 f(x) = 2x - 1 f ( x ) = 2 x − 1 and g ( x ) = x 2 + 3 g(x) = x^2 + 3 g ( x ) = x 2 + 3 , find ( g ∘ f ) ( x ) (g \circ f)(x) ( g ∘ f ) ( x ) and solve
( g ∘ f ) ( x ) = 12 (g \circ f)(x) = 12 ( g ∘ f ) ( x ) = 12 .
Details
Solution
( g ∘ f ) ( x ) = g ( f ( x ) ) = g ( 2 x − 1 ) = ( 2 x − 1 ) 2 + 3 = 4 x 2 − 4 x + 4 (g \circ f)(x) = g(f(x)) = g(2x - 1) = (2x - 1)^2 + 3 = 4x^2 - 4x + 4 ( g ∘ f ) ( x ) = g ( f ( x )) = g ( 2 x − 1 ) = ( 2 x − 1 ) 2 + 3 = 4 x 2 − 4 x + 4 .
4 x 2 − 4 x + 4 = 12 ⟹ 4 x 2 − 4 x − 8 = 0 ⟹ x 2 − x − 2 = 0 ⟹ ( x − 2 ) ( x + 1 ) = 0 4x^2 - 4x + 4 = 12 \implies 4x^2 - 4x - 8 = 0 \implies x^2 - x - 2 = 0 \implies (x - 2)(x + 1) = 0 4 x 2 − 4 x + 4 = 12 ⟹ 4 x 2 − 4 x − 8 = 0 ⟹ x 2 − x − 2 = 0 ⟹ ( x − 2 ) ( x + 1 ) = 0 .
x = 2 x = 2 x = 2 or x = − 1 x = -1 x = − 1 .
If you get this wrong, revise: Composition
Problem 5. The graph of y = f ( x ) y = f(x) y = f ( x ) passes through ( 0 , 1 ) (0, 1) ( 0 , 1 ) and ( 3 , − 2 ) (3, -2) ( 3 , − 2 ) . State the coordinates
of the corresponding points on: (a) y = f ( x + 2 ) y = f(x + 2) y = f ( x + 2 ) (b) y = − f ( x ) y = -f(x) y = − f ( x ) (c) y = f ( 2 x ) y = f(2x) y = f ( 2 x ) (d)
y = 3 f ( x ) − 1 y = 3f(x) - 1 y = 3 f ( x ) − 1
Details
Solution
(a)
y = f ( x + 2 ) y = f(x + 2) y = f ( x + 2 ) : shift left by 2. Points:
( − 2 , 1 ) (-2, 1) ( − 2 , 1 ) and
( 1 , − 2 ) (1, -2) ( 1 , − 2 ) .
(b) y = − f ( x ) y = -f(x) y = − f ( x ) : reflect in x x x -axis. Points: ( 0 , − 1 ) (0, -1) ( 0 , − 1 ) and ( 3 , 2 ) (3, 2) ( 3 , 2 ) .
(c) y = f ( 2 x ) y = f(2x) y = f ( 2 x ) : horizontal stretch factor 1 2 \frac{1}{2} 2 1 . Points: ( 0 , 1 ) (0, 1) ( 0 , 1 ) and
( 3 2 , − 2 ) \left(\frac{3}{2}, -2\right) ( 2 3 , − 2 ) .
(d) y = 3 f ( x ) − 1 y = 3f(x) - 1 y = 3 f ( x ) − 1 : vertical stretch factor 3, then shift down 1. Points: ( 0 , 2 ) (0, 2) ( 0 , 2 ) and ( 3 , − 7 ) (3, -7) ( 3 , − 7 ) .
If you get this wrong, revise: Transformations
Problem 6. The function f f f is defined by f ( x ) = x 3 − 3 x + 1 f(x) = x^3 - 3x + 1 f ( x ) = x 3 − 3 x + 1 . Show that f f f is not injective
on R \mathbb{R} R , and find the largest interval containing x = 0 x = 0 x = 0 on which f f f is injective.
Details
Solution
f ′ ( x ) = 3 x 2 − 3 = 3 ( x − 1 ) ( x + 1 ) f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1) f ′ ( x ) = 3 x 2 − 3 = 3 ( x − 1 ) ( x + 1 ) .
f ′ ( x ) = 0 f'(x) = 0 f ′ ( x ) = 0 at x = ± 1 x = \pm 1 x = ± 1 . f ′ ( x ) < 0 f'(x) < 0 f ′ ( x ) < 0 for − 1 < x < 1 -1 < x < 1 − 1 < x < 1 (decreasing), and f ′ ( x ) > 0 f'(x) > 0 f ′ ( x ) > 0 for x < − 1 x < -1 x < − 1
or x > 1 x > 1 x > 1 (increasing).
Since f f f is decreasing on ( − 1 , 1 ) (-1, 1) ( − 1 , 1 ) and increasing on ( − ∞ , − 1 ) (-\infty, -1) ( − ∞ , − 1 ) and ( 1 , ∞ ) (1, \infty) ( 1 , ∞ ) , it is not
injective on all of R \mathbb{R} R . For example, f ( − 2 ) = − 8 + 6 + 1 = − 1 f(-2) = -8 + 6 + 1 = -1 f ( − 2 ) = − 8 + 6 + 1 = − 1 and f ( 0 ) = 1 f(0) = 1 f ( 0 ) = 1 and
f ( 1 ) = − 1 f(1) = -1 f ( 1 ) = − 1 . So f ( − 2 ) = f ( 1 ) = − 1 f(-2) = f(1) = -1 f ( − 2 ) = f ( 1 ) = − 1 with − 2 ≠ 1 -2 \neq 1 − 2 = 1 .
The largest interval containing 0 0 0 on which f f f is strictly monotonic (hence injective) is
[ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] .
If you get this wrong, revise: Injectivity and Differentiation
Problem 7. Solve the inequality ∣ x − 3 ∣ > ∣ 2 x + 1 ∣ |x - 3| > |2x + 1| ∣ x − 3∣ > ∣2 x + 1∣ .
Details
Solution
Square both sides (both sides are non-negative):
( x − 3 ) 2 > ( 2 x + 1 ) 2 x 2 − 6 x + 9 > 4 x 2 + 4 x + 1 − 3 x 2 − 10 x + 8 > 0 3 x 2 + 10 x − 8 < 0 \begin{aligned}
(x - 3)^2 &> (2x + 1)^2 \\
x^2 - 6x + 9 &> 4x^2 + 4x + 1 \\
-3x^2 - 10x + 8 &> 0 \\
3x^2 + 10x - 8 &< 0
\end{aligned} ( x − 3 ) 2 x 2 − 6 x + 9 − 3 x 2 − 10 x + 8 3 x 2 + 10 x − 8 > ( 2 x + 1 ) 2 > 4 x 2 + 4 x + 1 > 0 < 0 ( 3 x − 2 ) ( x + 4 ) < 0 (3x - 2)(x + 4) < 0 ( 3 x − 2 ) ( x + 4 ) < 0
− 4 < x < 2 3 -4 < x < \frac{2}{3} − 4 < x < 3 2
If you get this wrong, revise: Modulus function
Problem 8. Given f ( x ) = e 2 x f(x) = e^{2x} f ( x ) = e 2 x and g ( x ) = ln ( x + 1 ) g(x) = \ln(x + 1) g ( x ) = ln ( x + 1 ) , find f − 1 f^{-1} f − 1 , g − 1 g^{-1} g − 1 , and the
domain of f ∘ g f \circ g f ∘ g .
Details
Solution
f − 1 ( x ) f^{-1}(x) f − 1 ( x ) :
y = e 2 x ⟹ ln y = 2 x ⟹ x = ◆ L B ◆ ln y ◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ y = e^{2x} \implies \ln y = 2x \implies x = \frac◆LB◆\ln y◆RB◆◆LB◆2◆RB◆ y = e 2 x ⟹ ln y = 2 x ⟹ x = L ◆ B ◆ ln y ◆ R B ◆◆ L B ◆2◆ R B ◆ .
f − 1 ( x ) = 1 2 ln x f^{-1}(x) = \frac{1}{2}\ln x f − 1 ( x ) = 2 1 ln x , domain x > 0 x > 0 x > 0 .
g − 1 ( x ) g^{-1}(x) g − 1 ( x ) : y = ln ( x + 1 ) ⟹ x + 1 = e y ⟹ x = e y − 1 y = \ln(x + 1) \implies x + 1 = e^y \implies x = e^y - 1 y = ln ( x + 1 ) ⟹ x + 1 = e y ⟹ x = e y − 1 .
g − 1 ( x ) = e x − 1 g^{-1}(x) = e^x - 1 g − 1 ( x ) = e x − 1 , domain all R \mathbb{R} R .
( f ∘ g ) ( x ) = f ( g ( x ) ) = f ( ln ( x + 1 ) ) = e 2 ln ( x + 1 ) = ( x + 1 ) 2 (f \circ g)(x) = f(g(x)) = f(\ln(x + 1)) = e^{2\ln(x+1)} = (x + 1)^2 ( f ∘ g ) ( x ) = f ( g ( x )) = f ( ln ( x + 1 )) = e 2 l n ( x + 1 ) = ( x + 1 ) 2 .
Domain of f ∘ g f \circ g f ∘ g : we need x + 1 > 0 x + 1 > 0 x + 1 > 0 (for g g g ), so x > − 1 x > -1 x > − 1 .
If you get this wrong, revise: Composition and Inverse functions
Problem 9. Sketch the graph of y = ∣ x 2 − 4 ∣ y = |x^2 - 4| y = ∣ x 2 − 4∣ , showing the coordinates of all points where the
graph meets the axes.
Details
Solution
y = ∣ x 2 − 4 ∣ = ∣ ( x − 2 ) ( x + 2 ) ∣ y = |x^2 - 4| = |(x - 2)(x + 2)| y = ∣ x 2 − 4∣ = ∣ ( x − 2 ) ( x + 2 ) ∣ .
When x 2 − 4 ≥ 0 x^2 - 4 \geq 0 x 2 − 4 ≥ 0 (i.e., x ≤ − 2 x \leq -2 x ≤ − 2 or x ≥ 2 x \geq 2 x ≥ 2 ): y = x 2 − 4 y = x^2 - 4 y = x 2 − 4 (parabola opening up).
When x 2 − 4 < 0 x^2 - 4 < 0 x 2 − 4 < 0 (i.e., − 2 < x < 2 -2 < x < 2 − 2 < x < 2 ): y = − ( x 2 − 4 ) = 4 − x 2 y = -(x^2 - 4) = 4 - x^2 y = − ( x 2 − 4 ) = 4 − x 2 (parabola opening down).
y y y -intercept: x = 0 ⟹ y = 4 x = 0 \implies y = 4 x = 0 ⟹ y = 4 . Point: ( 0 , 4 ) (0, 4) ( 0 , 4 ) .
x x x -intercepts: x 2 − 4 = 0 ⟹ x = ± 2 x^2 - 4 = 0 \implies x = \pm 2 x 2 − 4 = 0 ⟹ x = ± 2 . Points: ( − 2 , 0 ) (-2, 0) ( − 2 , 0 ) and ( 2 , 0 ) (2, 0) ( 2 , 0 ) .
The graph is the standard parabola y = x 2 − 4 y = x^2 - 4 y = x 2 − 4 with the part between x = − 2 x = -2 x = − 2 and x = 2 x = 2 x = 2
reflected above the x x x -axis.
If you get this wrong, revise: Modulus function and Transformations
Problem 10. Prove that f : [ 0 , ∞ ) → [ 0 , ∞ ) f: [0, \infty) \to [0, \infty) f : [ 0 , ∞ ) → [ 0 , ∞ ) defined by f ( x ) = x 2 + 4 x f(x) = x^2 + 4x f ( x ) = x 2 + 4 x is
bijective, and find f − 1 f^{-1} f − 1 .
Details
Solution
Injective: f ( x ) = x 2 + 4 x = ( x + 2 ) 2 − 4 f(x) = x^2 + 4x = (x+2)^2 - 4 f ( x ) = x 2 + 4 x = ( x + 2 ) 2 − 4 . For
x ≥ 0 x \geq 0 x ≥ 0 ,
x + 2 > 0 x + 2 > 0 x + 2 > 0 , so
( x + 2 ) 2 (x+2)^2 ( x + 2 ) 2 is strictly increasing, hence
f f f is strictly increasing, hence injective.
Surjective: For any y ≥ 0 y \geq 0 y ≥ 0 : x 2 + 4 x − y = 0 x^2 + 4x - y = 0 x 2 + 4 x − y = 0 . By the quadratic formula:
x = ◆ L B ◆ − 4 + 16 + 4 y ◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ = − 2 + 4 + y x = \frac◆LB◆-4 + \sqrt{16 + 4y}◆RB◆◆LB◆2◆RB◆ = -2 + \sqrt{4 + y} x = L ◆ B ◆ − 4 + 16 + 4 y ◆ R B ◆◆ L B ◆2◆ R B ◆ = − 2 + 4 + y . Since y ≥ 0 y \geq 0 y ≥ 0 : 4 + y ≥ 2 \sqrt{4 + y} \geq 2 4 + y ≥ 2 , so
x ≥ 0 x \geq 0 x ≥ 0 . Thus every y ≥ 0 y \geq 0 y ≥ 0 has a preimage.
Inverse: y = x 2 + 4 x ⟹ x 2 + 4 x − y = 0 ⟹ x = ◆ L B ◆ − 4 + 16 + 4 y ◆ R B ◆◆ L B ◆ 2 ◆ R B ◆ y = x^2 + 4x \implies x^2 + 4x - y = 0 \implies x = \frac◆LB◆-4 + \sqrt{16 + 4y}◆RB◆◆LB◆2◆RB◆ y = x 2 + 4 x ⟹ x 2 + 4 x − y = 0 ⟹ x = L ◆ B ◆ − 4 + 16 + 4 y ◆ R B ◆◆ L B ◆2◆ R B ◆
(taking the positive root since x ≥ 0 x \geq 0 x ≥ 0 ).
f − 1 ( x ) = − 2 + 4 + x = x + 4 − 2 f^{-1}(x) = -2 + \sqrt{4 + x} = \sqrt{x + 4} - 2 f − 1 ( x ) = − 2 + 4 + x = x + 4 − 2 , domain x ≥ 0 x \geq 0 x ≥ 0 .
If you get this wrong, revise: Inverse functions
Problem 11. Classify each function as even, odd, or neither: (a) f ( x ) = x 4 − x 2 f(x) = x^4 - x^2 f ( x ) = x 4 − x 2 (b)
g ( x ) = x 3 + x g(x) = x^3 + x g ( x ) = x 3 + x (c) h ( x ) = x + 1 h(x) = x + 1 h ( x ) = x + 1 (d) k ( x ) = ∣ x ∣ k(x) = |x| k ( x ) = ∣ x ∣
Details
Solution
(a)
f ( − x ) = ( − x ) 4 − ( − x ) 2 = x 4 − x 2 = f ( x ) f(-x) = (-x)^4 - (-x)^2 = x^4 - x^2 = f(x) f ( − x ) = ( − x ) 4 − ( − x ) 2 = x 4 − x 2 = f ( x ) .
Even.
(b) g ( − x ) = ( − x ) 3 + ( − x ) = − x 3 − x = − ( x 3 + x ) = − g ( x ) g(-x) = (-x)^3 + (-x) = -x^3 - x = -(x^3 + x) = -g(x) g ( − x ) = ( − x ) 3 + ( − x ) = − x 3 − x = − ( x 3 + x ) = − g ( x ) . Odd.
(c) h ( − x ) = − x + 1 ≠ h ( x ) h(-x) = -x + 1 \neq h(x) h ( − x ) = − x + 1 = h ( x ) and h ( − x ) ≠ − h ( x ) h(-x) \neq -h(x) h ( − x ) = − h ( x ) . Neither.
(d) k ( − x ) = ∣ − x ∣ = ∣ x ∣ = k ( x ) k(-x) = |-x| = |x| = k(x) k ( − x ) = ∣ − x ∣ = ∣ x ∣ = k ( x ) . Even.
If you get this wrong, revise: Even and odd functions
Problem 12. Given f ( x ) = 2 x + 3 f(x) = 2x + 3 f ( x ) = 2 x + 3 with domain R \mathbb{R} R and g ( x ) = x − 1 g(x) = \sqrt{x - 1} g ( x ) = x − 1 with domain
[ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) , find the domain of f ∘ g f \circ g f ∘ g and g ∘ f g \circ f g ∘ f .
Details
Solution
f ∘ g f \circ g f ∘ g : domain is
{ x ≥ 1 : g ( x ) ∈ R } = [ 1 , ∞ ) \{x \geq 1 : g(x) \in \mathbb{R}\} = [1, \infty) { x ≥ 1 : g ( x ) ∈ R } = [ 1 , ∞ ) (since
f f f accepts all reals).
g ∘ f g \circ f g ∘ f : domain is
{ x ∈ R : f ( x ) ≥ 1 } = { x : 2 x + 3 ≥ 1 } = { x : x ≥ − 1 } = [ − 1 , ∞ ) \{x \in \mathbb{R} : f(x) \geq 1\} = \{x : 2x + 3 \geq 1\} = \{x : x \geq -1\} = [-1, \infty) { x ∈ R : f ( x ) ≥ 1 } = { x : 2 x + 3 ≥ 1 } = { x : x ≥ − 1 } = [ − 1 , ∞ ) .
If you get this wrong, revise: Composite function domain
Problem 13. Verify that f ( x ) = 3 x + 2 x − 3 f(x) = \frac{3x + 2}{x - 3} f ( x ) = x − 3 3 x + 2 is self-inverse.
Details
Solution
f ( f ( x ) ) = ◆ L B ◆ 3 ⋅ 3 x + 2 x − 3 + 2 ◆ R B ◆◆ L B ◆ 3 x + 2 x − 3 − 3 ◆ R B ◆ = ◆ L B ◆ 3 ( 3 x + 2 ) + 2 ( x − 3 ) x − 3 ◆ R B ◆◆ L B ◆ 3 x + 2 − 3 ( x − 3 ) x − 3 ◆ R B ◆ = 9 x + 6 + 2 x − 6 3 x + 2 − 3 x + 9 = 11 x 11 = x f(f(x)) = \frac◆LB◆3 \cdot \frac{3x+2}{x-3} + 2◆RB◆◆LB◆\frac{3x+2}{x-3} - 3◆RB◆ = \frac◆LB◆\frac{3(3x+2) + 2(x-3)}{x-3}◆RB◆◆LB◆\frac{3x+2 - 3(x-3)}{x-3}◆RB◆ = \frac{9x + 6 + 2x - 6}{3x + 2 - 3x + 9} = \frac{11x}{11} = x f ( f ( x )) = L ◆ B ◆3 ⋅ x − 3 3 x + 2 + 2◆ R B ◆◆ L B ◆ x − 3 3 x + 2 − 3◆ R B ◆ = L ◆ B ◆ x − 3 3 ( 3 x + 2 ) + 2 ( x − 3 ) ◆ R B ◆◆ L B ◆ x − 3 3 x + 2 − 3 ( x − 3 ) ◆ R B ◆ = 3 x + 2 − 3 x + 9 9 x + 6 + 2 x − 6 = 11 11 x = x
Since f ( f ( x ) ) = x f(f(x)) = x f ( f ( x )) = x , f f f is self-inverse. ✓
If you get this wrong, revise: Self-inverse functions
Problem 14. Solve the inequality ∣ x 2 − 5 x + 6 ∣ ≥ ∣ x − 2 ∣ |x^2 - 5x + 6| \geq |x - 2| ∣ x 2 − 5 x + 6∣ ≥ ∣ x − 2∣ .
Details
Solution
Factor:
x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 ) x^2 - 5x + 6 = (x-2)(x-3) x 2 − 5 x + 6 = ( x − 2 ) ( x − 3 ) . So
∣ ( x − 2 ) ( x − 3 ) ∣ ≥ ∣ x − 2 ∣ |(x-2)(x-3)| \geq |x-2| ∣ ( x − 2 ) ( x − 3 ) ∣ ≥ ∣ x − 2∣ .
If x = 2 x = 2 x = 2 : both sides are 0 0 0 , so equality holds. x = 2 x = 2 x = 2 is a solution.
If x ≠ 2 x \neq 2 x = 2 : divide both sides by ∣ x − 2 ∣ > 0 |x-2| > 0 ∣ x − 2∣ > 0 :
∣ x − 3 ∣ ≥ 1 |x - 3| \geq 1 ∣ x − 3∣ ≥ 1
This gives x − 3 ≥ 1 x - 3 \geq 1 x − 3 ≥ 1 or x − 3 ≤ − 1 x - 3 \leq -1 x − 3 ≤ − 1 , i.e., x ≥ 4 x \geq 4 x ≥ 4 or x ≤ 2 x \leq 2 x ≤ 2 .
Combined with x ≠ 2 x \neq 2 x = 2 : x ≤ 2 x \leq 2 x ≤ 2 or x ≥ 4 x \geq 4 x ≥ 4 .
Solution: x ∈ ( − ∞ , 2 ] ∪ [ 4 , ∞ ) x \in (-\infty, 2] \cup [4, \infty) x ∈ ( − ∞ , 2 ] ∪ [ 4 , ∞ ) .
If you get this wrong, revise: Modulus inequalities
Problem 15. The graph of y = f ( x ) y = f(x) y = f ( x ) passes through ( 1 , 3 ) (1, 3) ( 1 , 3 ) and ( − 2 , 5 ) (-2, 5) ( − 2 , 5 ) . State the coordinates
of the corresponding points on the graph of y = 2 f ( 3 x − 1 ) + 4 y = 2f(3x - 1) + 4 y = 2 f ( 3 x − 1 ) + 4 .
Details
Solution
A point
( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) on
y = f ( x ) y = f(x) y = f ( x ) corresponds to a point on the new graph where
f ( 3 x − 1 ) = y 0 f(3x - 1) = y_0 f ( 3 x − 1 ) = y 0 , i.e.,
3 x − 1 = x 0 3x - 1 = x_0 3 x − 1 = x 0 , so
x = ( x 0 + 1 ) / 3 x = (x_0 + 1)/3 x = ( x 0 + 1 ) /3 . The new
y y y -value is
2 y 0 + 4 2y_0 + 4 2 y 0 + 4 .
For ( 1 , 3 ) (1, 3) ( 1 , 3 ) : new point is
( 1 + 1 3 , 2 × 3 + 4 ) = ( 2 3 , 10 ) \left(\frac{1+1}{3}, 2 \times 3 + 4\right) = \left(\frac{2}{3}, 10\right) ( 3 1 + 1 , 2 × 3 + 4 ) = ( 3 2 , 10 ) .
For ( − 2 , 5 ) (-2, 5) ( − 2 , 5 ) : new point is
( − 2 + 1 3 , 2 × 5 + 4 ) = ( − 1 3 , 14 ) \left(\frac{-2+1}{3}, 2 \times 5 + 4\right) = \left(-\frac{1}{3}, 14\right) ( 3 − 2 + 1 , 2 × 5 + 4 ) = ( − 3 1 , 14 ) .
If you get this wrong, revise: Transformation order
tip
Ready to test your understanding of Functions ? The diagnostic test contains the hardest questions within the A-Level specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Functions with other pure mathematics topics to test synthesis under exam conditions.
See Diagnostic Guide for instructions on self-marking and building a personal test matrix.