This note extends the treatment of functions covered in functions.md ), focusing on
domain restrictions, composite and inverse functions with non-trivial domains, and graphical
transformations.
Domain and Range
Natural Domain
The natural domain of a function is the largest subset of ′ { ′ R ′ } ′ \mathbb{'\{'}R{'\}'} ′ { ′ R ′ } ′ for which the function
expression is defined. Restrictions arise from:
Restriction Condition Example Division by zero Denominator ≠ 0 \neq 0 = 0 f ( x ) = 1 x − 2 f(x) = \dfrac{1}{x - 2} f ( x ) = x − 2 1 : d o m ( f ) = ′ { ′ R ′ } ′ ∖ { 2 } \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} \setminus \{2\} dom ( f ) = ′ { ′ R ′ } ′ ∖ { 2 } Even root Radicand ⩾ 0 \geqslant 0 ⩾ 0 f ( x ) = x − 3 f(x) = \sqrt{x - 3} f ( x ) = x − 3 : d o m ( f ) = [ 3 , ∞ ) \mathrm{dom}(f) = [3, \infty) dom ( f ) = [ 3 , ∞ ) Logarithm Argument > 0 \gt 0 > 0 f ( x ) = ln ( x + 1 ) f(x) = \ln(x + 1) f ( x ) = ln ( x + 1 ) : d o m ( f ) = ( − 1 , ∞ ) \mathrm{dom}(f) = (-1, \infty) dom ( f ) = ( − 1 , ∞ )
Finding the Range
To find the range of f ( x ) f(x) f ( x ) :
Complete the square (for quadratics).
Consider the behaviour of the function at critical points and at the boundaries of the domain.
For rational functions, find horizontal asymptotes and analyse sign changes.
Worked Example 1
Find the domain and range of f ( x ) = 4 − x 2 f(x) = \sqrt{4 - x^2} f ( x ) = 4 − x 2 .
Domain: 4 − x 2 ⩾ 0 ⟹ x 2 ⩽ 4 ⟹ − 2 ⩽ x ⩽ 2 4 - x^2 \geqslant 0 \implies x^2 \leqslant 4 \implies -2 \leqslant x \leqslant 2 4 − x 2 ⩾ 0 ⟹ x 2 ⩽ 4 ⟹ − 2 ⩽ x ⩽ 2 .
Range: Since 4 − x 2 4 - x^2 4 − x 2 ranges from 0 0 0 (at x = ± 2 x = \pm 2 x = ± 2 ) to 4 4 4 (at x = 0 x = 0 x = 0 ), and ⋅ \sqrt{\cdot} ⋅ is
non-negative: r a n g e ( f ) = [ 0 , 2 ] \mathrm{range}(f) = [0, 2] range ( f ) = [ 0 , 2 ] .
Composite Functions
Definition
Given f f f and g g g , the composite f ∘ g f \circ g f ∘ g is:
( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x ))
Domain of a Composite
d o m ( f ∘ g ) = { x ∈ d o m ( g ) : g ( x ) ∈ d o m ( f ) } \mathrm{dom}(f \circ g) = \{x \in \mathrm{dom}(g) : g(x) \in \mathrm{dom}(f)\} dom ( f ∘ g ) = { x ∈ dom ( g ) : g ( x ) ∈ dom ( f )}
Worked Example 2
Let f ( x ) = x + 1 f(x) = \sqrt{x + 1} f ( x ) = x + 1 and g ( x ) = x 2 − 4 g(x) = x^2 - 4 g ( x ) = x 2 − 4 . Find d o m ( f ∘ g ) \mathrm{dom}(f \circ g) dom ( f ∘ g ) .
d o m ( g ) = ′ { ′ R ′ } ′ \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} dom ( g ) = ′ { ′ R ′ } ′ .
d o m ( f ) = [ − 1 , ∞ ) \mathrm{dom}(f) = [ -1, \infty) dom ( f ) = [ − 1 , ∞ ) , so we need g ( x ) ⩾ − 1 g(x) \geqslant -1 g ( x ) ⩾ − 1 , i.e.,
x 2 − 4 ⩾ − 1 ⟹ x 2 ⩾ 3 x^2 - 4 \geqslant -1 \implies x^2 \geqslant 3 x 2 − 4 ⩾ − 1 ⟹ x 2 ⩾ 3 .
d o m ( f ∘ g ) = ( − ∞ , − 3 ] ∪ [ 3 , ∞ ) \mathrm{dom}(f \circ g) = (-\infty, -\sqrt{3}] \cup [\sqrt{3}, \infty) dom ( f ∘ g ) = ( − ∞ , − 3 ] ∪ [ 3 , ∞ )
Worked Example 3
Let f ( x ) = 1 x f(x) = \dfrac{1}{x} f ( x ) = x 1 and g ( x ) = x + 1 g(x) = x + 1 g ( x ) = x + 1 . Find f ∘ g f \circ g f ∘ g , g ∘ f g \circ f g ∘ f , and their domains.
( f ∘ g ) ( x ) = f ( g ( x ) ) = f ( x + 1 ) = 1 x + 1 (f \circ g)(x) = f(g(x)) = f(x + 1) = \dfrac{1}{x + 1} ( f ∘ g ) ( x ) = f ( g ( x )) = f ( x + 1 ) = x + 1 1 ,
d o m = ′ { ′ R ′ } ′ ∖ { − 1 } \mathrm{dom} = \mathbb{'\{'}R{'\}'} \setminus \{-1\} dom = ′ { ′ R ′ } ′ ∖ { − 1 } .
( g ∘ f ) ( x ) = g ( f ( x ) ) = g ( 1 x ) = 1 x + 1 (g \circ f)(x) = g(f(x)) = g\!\left(\dfrac{1}{x}\right) = \dfrac{1}{x} + 1 ( g ∘ f ) ( x ) = g ( f ( x )) = g ( x 1 ) = x 1 + 1 ,
d o m = ′ { ′ R ′ } ′ ∖ { 0 } \mathrm{dom} = \mathbb{'\{'}R{'\}'} \setminus \{0\} dom = ′ { ′ R ′ } ′ ∖ { 0 } .
Inverse Functions
Existence Condition
A function f f f has an inverse f − 1 f^{-1} f − 1 if and only if f f f is bijective (one-to-one and onto). If the
natural domain of f f f does not yield injectivity, restrict the domain.
Procedure to Find f − 1 f^{-1} f − 1
Set y = f ( x ) y = f(x) y = f ( x ) .
Solve for x x x in terms of y y y .
Interchange x x x and y y y to obtain f − 1 ( x ) f^{-1}(x) f − 1 ( x ) .
The domain of f − 1 f^{-1} f − 1 equals the range of f f f , and vice versa.
Graphical Relationship
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 .
Worked Example 4
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 for x ≠ − 1 x \neq -1 x = − 1 .
Set y = 2 x − 3 x + 1 y = \dfrac{2x - 3}{x + 1} y = x + 1 2 x − 3 .
y ( x + 1 ) = 2 x − 3 ⟹ y x + y = 2 x − 3 ⟹ y x − 2 x = − 3 − y ⟹ x ( y − 2 ) = − ( y + 3 ) y(x + 1) = 2x - 3 \implies yx + y = 2x - 3 \implies yx - 2x = -3 - y \implies x(y - 2) = -(y + 3) y ( x + 1 ) = 2 x − 3 ⟹ y x + y = 2 x − 3 ⟹ y x − 2 x = − 3 − y ⟹ x ( y − 2 ) = − ( y + 3 )
x = − ( y + 3 ) y − 2 = y + 3 2 − y x = \frac{-(y + 3)}{y - 2} = \frac{y + 3}{2 - y} x = y − 2 − ( y + 3 ) = 2 − y y + 3
Therefore f − 1 ( x ) = x + 3 2 − x f^{-1}(x) = \dfrac{x + 3}{2 - x} f − 1 ( x ) = 2 − x x + 3 , with domain ′ { ′ R ′ } ′ ∖ { 2 } \mathbb{'\{'}R{'\}'} \setminus \{2\} ′ { ′ R ′ } ′ ∖ { 2 } .
Given y = f ( x ) y = f(x) y = f ( x ) :
| Transformation | Effect on Graph |
| -------------- | ------------------------------------------------------------- | --- | ----------------------------------- |
| y = f ( x ) + c y = f(x) + c y = f ( x ) + c | Vertical shift up by c c c (c > 0 c \gt 0 c > 0 ) or down (c < 0 c \lt 0 c < 0 ) | | |
| y = f ( x − h ) y = f(x - h) y = f ( x − h ) | Horizontal shift right by h h h (h > 0 h \gt 0 h > 0 ) or left (h < 0 h \lt 0 h < 0 ) | | |
| y = a f ( x ) y = af(x) y = a f ( x ) | Vertical stretch by factor ∣ a ∣ | a | ∣ a ∣ ; reflect in x x x -axis if a < 0 a \lt 0 a < 0 |
| y = f ( k x ) y = f(kx) y = f ( k x ) | Horizontal stretch by factor 1 / ∣ k ∣ 1/ | k | 1/∣ k ∣ ; reflect in y y y -axis if k < 0 k \lt 0 k < 0 |
Apply in order from inside out:
Horizontal shift by − b -b − b
Vertical stretch/reflection by factor a a a
Vertical shift by c c c
Worked Example 5
The graph of y = f ( x ) y = f(x) y = f ( x ) passes through ( 2 , 5 ) (2, 5) ( 2 , 5 ) and ( 4 , − 1 ) (4, -1) ( 4 , − 1 ) . Find the corresponding points on
y = − 2 f ( x − 3 ) + 1 y = -2f(x - 3) + 1 y = − 2 f ( x − 3 ) + 1 .
For ( 2 , 5 ) (2, 5) ( 2 , 5 ) : set x − 3 = 2 ⟹ x = 5 x - 3 = 2 \implies x = 5 x − 3 = 2 ⟹ x = 5 . Then y = − 2 ( 5 ) + 1 = − 9 y = -2(5) + 1 = -9 y = − 2 ( 5 ) + 1 = − 9 . Point: ( 5 , − 9 ) (5, -9) ( 5 , − 9 ) .
For ( 4 , − 1 ) (4, -1) ( 4 , − 1 ) : set x − 3 = 4 ⟹ x = 7 x - 3 = 4 \implies x = 7 x − 3 = 4 ⟹ x = 7 . Then y = − 2 ( − 1 ) + 1 = 3 y = -2(-1) + 1 = 3 y = − 2 ( − 1 ) + 1 = 3 . Point: ( 7 , 3 ) (7, 3) ( 7 , 3 ) .
Worked Example 6
Describe the transformation from y = x y = \sqrt{x} y = x to y = 3 − x + 2 y = \sqrt{3 - x} + 2 y = 3 − x + 2 .
y = − ( x − 3 ) + 2 = f ( − ( x − 3 ) ) + 2 y = \sqrt{-(x - 3)} + 2 = f(-(x - 3)) + 2 y = − ( x − 3 ) + 2 = f ( − ( x − 3 )) + 2 where f ( x ) = x f(x) = \sqrt{x} f ( x ) = x .
Reflect in y y y -axis: y = − x y = \sqrt{-x} y = − x
Shift right by 3: y = − ( x − 3 ) = 3 − x y = \sqrt{-(x - 3)} = \sqrt{3 - x} y = − ( x − 3 ) = 3 − x
Shift up by 2: y = 3 − x + 2 y = \sqrt{3 - x} + 2 y = 3 − x + 2
Domain: 3 − x ⩾ 0 ⟹ x ⩽ 3 3 - x \geqslant 0 \implies x \leqslant 3 3 − x ⩾ 0 ⟹ x ⩽ 3 . Range: [ 2 , ∞ ) [2, \infty) [ 2 , ∞ ) .
Piecewise Functions
A piecewise function is defined by different expressions on different intervals of its domain.
Worked Example 7
f ( x ) = { x 2 i f x < 0 2 x + 1 i f 0 ⩽ x ⩽ 3 10 − x i f x > 3 f(x) = \begin{cases} x^2 & \mathrm{if } x \lt 0 \\ 2x + 1 & \mathrm{if } 0 \leqslant x \leqslant 3 \\ 10 - x & \mathrm{if } x \gt 3 \end{cases} f ( x ) = ⎩ ⎨ ⎧ x 2 2 x + 1 10 − x if x < 0 if 0 ⩽ x ⩽ 3 if x > 3
Find f ( − 2 ) f(-2) f ( − 2 ) , f ( 0 ) f(0) f ( 0 ) , f ( 3 ) f(3) f ( 3 ) , and f ( 5 ) f(5) f ( 5 ) .
f ( − 2 ) = ( − 2 ) 2 = 4 f(-2) = (-2)^2 = 4 f ( − 2 ) = ( − 2 ) 2 = 4 , f ( 0 ) = 2 ( 0 ) + 1 = 1 f(0) = 2(0) + 1 = 1 f ( 0 ) = 2 ( 0 ) + 1 = 1 , f ( 3 ) = 2 ( 3 ) + 1 = 7 f(3) = 2(3) + 1 = 7 f ( 3 ) = 2 ( 3 ) + 1 = 7 , f ( 5 ) = 10 − 5 = 5 f(5) = 10 - 5 = 5 f ( 5 ) = 10 − 5 = 5 .
Common Pitfalls
When finding the domain of f ∘ g f \circ g f ∘ g , applying the domain restrictions of f f f to x x x instead of
to g ( x ) g(x) g ( x ) . The argument of f f f must be valid, so it is g ( x ) g(x) g ( x ) that must fall in d o m ( f ) \mathrm{dom}(f) dom ( f ) .
Forgetting that f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f in general. Always check the order.
When finding an inverse, forgetting to verify that the function is one-to-one on the given domain.
Confusing y = f ( − x ) y = f(-x) y = f ( − x ) (reflection in y y y -axis) with y = − f ( x ) y = -f(x) y = − f ( x ) (reflection in x x x -axis).
For piecewise functions, using the wrong expression for a given x x x -value.
Summary Table
Topic Key Result Domain of f ∘ g f \circ g f ∘ g { x ∈ d o m ( g ) : g ( x ) ∈ d o m ( f ) } \{x \in \mathrm{dom}(g) : g(x) \in \mathrm{dom}(f)\} { x ∈ dom ( g ) : g ( x ) ∈ dom ( f )} Inverse existence f f f must be bijectivef − 1 ( f ( x ) ) = x f^{-1}(f(x)) = x f − 1 ( f ( x )) = x For all x ∈ d o m ( f ) x \in \mathrm{dom}(f) x ∈ dom ( f ) f ( f − 1 ( x ) ) = x f(f^{-1}(x)) = x f ( f − 1 ( x )) = x For all x ∈ d o m ( f − 1 ) x \in \mathrm{dom}(f^{-1}) x ∈ dom ( f − 1 ) Graph of inverse Reflection in y = x y = x y = x y = f ( x − h ) y = f(x - h) y = f ( x − h ) Shift right by h h h
Wrap-up Questions
Question: Let f ( x ) = x + 2 x − 1 f(x) = \dfrac{x + 2}{x - 1} f ( x ) = x − 1 x + 2 and g ( x ) = 2 x − 3 g(x) = 2x - 3 g ( x ) = 2 x − 3 . Find ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) and
its domain.
( f ∘ g ) ( x ) = f ( 2 x − 3 ) = 2 x − 3 + 2 2 x − 3 − 1 = 2 x − 1 2 x − 4 (f \circ g)(x) = f(2x - 3) = \dfrac{2x - 3 + 2}{2x - 3 - 1} = \dfrac{2x - 1}{2x - 4} ( f ∘ g ) ( x ) = f ( 2 x − 3 ) = 2 x − 3 − 1 2 x − 3 + 2 = 2 x − 4 2 x − 1 .
d o m ( g ) = ′ { ′ R ′ } ′ \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} dom ( g ) = ′ { ′ R ′ } ′ . d o m ( f ) = ′ { ′ R ′ } ′ ∖ { 1 } \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} \setminus \{1\} dom ( f ) = ′ { ′ R ′ } ′ ∖ { 1 } , so g ( x ) ≠ 1 g(x) \neq 1 g ( x ) = 1 :
2 x − 3 ≠ 1 ⟹ x ≠ 2 2x - 3 \neq 1 \implies x \neq 2 2 x − 3 = 1 ⟹ x = 2 . Also 2 x − 4 ≠ 0 ⟹ x ≠ 2 2x - 4 \neq 0 \implies x \neq 2 2 x − 4 = 0 ⟹ x = 2 .
d o m ( f ∘ g ) = ′ { ′ R ′ } ′ ∖ { 2 } \mathrm{dom}(f \circ g) = \mathbb{'\{'}R{'\}'} \setminus \{2\} dom ( f ∘ g ) = ′ { ′ R ′ } ′ ∖ { 2 } .
Question: Find f − 1 f^{-1} f − 1 for f ( x ) = 3 x + 1 x − 2 f(x) = \dfrac{3x + 1}{x - 2} f ( x ) = x − 2 3 x + 1 (x ≠ 2 x \neq 2 x = 2 ).
Set y = 3 x + 1 x − 2 y = \dfrac{3x + 1}{x - 2} y = x − 2 3 x + 1 . Then
y ( x − 2 ) = 3 x + 1 ⟹ y x − 2 y = 3 x + 1 ⟹ x ( y − 3 ) = 2 y + 1 y(x - 2) = 3x + 1 \implies yx - 2y = 3x + 1 \implies x(y - 3) = 2y + 1 y ( x − 2 ) = 3 x + 1 ⟹ y x − 2 y = 3 x + 1 ⟹ x ( y − 3 ) = 2 y + 1 .
f − 1 ( x ) = 2 x + 1 x − 3 f^{-1}(x) = \dfrac{2x + 1}{x - 3} f − 1 ( x ) = x − 3 2 x + 1 , d o m ( f − 1 ) = ′ { ′ R ′ } ′ ∖ { 3 } \mathrm{dom}(f^{-1}) = \mathbb{'\{'}R{'\}'} \setminus \{3\} dom ( f − 1 ) = ′ { ′ R ′ } ′ ∖ { 3 } .
Question: Let f ( x ) = x 2 − 4 x + 3 f(x) = x^2 - 4x + 3 f ( x ) = x 2 − 4 x + 3 with domain [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) . Find f − 1 ( 0 ) f^{-1}(0) f − 1 ( 0 ) .
First find f − 1 f^{-1} f − 1 . Set y = ( x − 2 ) 2 − 1 y = (x - 2)^2 - 1 y = ( x − 2 ) 2 − 1 . Since domain is [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) , range is
[ − 1 , ∞ ) [-1, \infty) [ − 1 , ∞ ) .
( x − 2 ) 2 = y + 1 ⟹ x − 2 = y + 1 (x - 2)^2 = y + 1 \implies x - 2 = \sqrt{y + 1} ( x − 2 ) 2 = y + 1 ⟹ x − 2 = y + 1 (positive root since x ⩾ 1 x \geqslant 1 x ⩾ 1 ).
f − 1 ( x ) = 2 + x + 1 f^{-1}(x) = 2 + \sqrt{x + 1} f − 1 ( x ) = 2 + x + 1 , d o m ( f − 1 ) = [ − 1 , ∞ ) \mathrm{dom}(f^{-1}) = [-1, \infty) dom ( f − 1 ) = [ − 1 , ∞ ) .
f − 1 ( 0 ) = 2 + 0 + 1 = 2 + 1 = 3 f^{-1}(0) = 2 + \sqrt{0 + 1} = 2 + 1 = 3 f − 1 ( 0 ) = 2 + 0 + 1 = 2 + 1 = 3 .
Verification: f ( 3 ) = 9 − 12 + 3 = 0 f(3) = 9 - 12 + 3 = 0 f ( 3 ) = 9 − 12 + 3 = 0 . Confirmed.
Question: The graph of y = f ( x ) y = f(x) y = f ( x ) has a minimum at ( 1 , − 2 ) (1, -2) ( 1 , − 2 ) and passes through ( 0 , 3 ) (0, 3) ( 0 , 3 ) .
Find the corresponding points on y = 3 f ( 2 x ) + 1 y = 3f(2x) + 1 y = 3 f ( 2 x ) + 1 .
( 1 , − 2 ) → (1, -2) \to ( 1 , − 2 ) → set 2 x = 1 ⟹ x = 0.5 2x = 1 \implies x = 0.5 2 x = 1 ⟹ x = 0.5 , y = 3 ( − 2 ) + 1 = − 5 y = 3(-2) + 1 = -5 y = 3 ( − 2 ) + 1 = − 5 . Point: ( 0.5 , − 5 ) (0.5, -5) ( 0.5 , − 5 ) .
( 0 , 3 ) → (0, 3) \to ( 0 , 3 ) → set 2 x = 0 ⟹ x = 0 2x = 0 \implies x = 0 2 x = 0 ⟹ x = 0 , y = 3 ( 3 ) + 1 = 10 y = 3(3) + 1 = 10 y = 3 ( 3 ) + 1 = 10 . Point: ( 0 , 10 ) (0, 10) ( 0 , 10 ) .
Question: A function f f f is defined by f ( x ) = 2 − x 2 f(x) = 2 - x^2 f ( x ) = 2 − x 2 for x ⩽ 0 x \leqslant 0 x ⩽ 0 . State the range
of f f f and find f − 1 f^{-1} f − 1 .
Since x ⩽ 0 x \leqslant 0 x ⩽ 0 : x 2 ⩾ 0 x^2 \geqslant 0 x 2 ⩾ 0 , so f ( x ) = 2 − x 2 ⩽ 2 f(x) = 2 - x^2 \leqslant 2 f ( x ) = 2 − x 2 ⩽ 2 . As x → − ∞ x \to -\infty x → − ∞ ,
f ( x ) → − ∞ f(x) \to -\infty f ( x ) → − ∞ . Range: ( − ∞ , 2 ] (-\infty, 2] ( − ∞ , 2 ] .
Set y = 2 − x 2 ⟹ x 2 = 2 − y ⟹ x = − 2 − y y = 2 - x^2 \implies x^2 = 2 - y \implies x = -\sqrt{2 - y} y = 2 − x 2 ⟹ x 2 = 2 − y ⟹ x = − 2 − y (negative root since
x ⩽ 0 x \leqslant 0 x ⩽ 0 ).
f − 1 ( x ) = − 2 − x f^{-1}(x) = -\sqrt{2 - x} f − 1 ( x ) = − 2 − x , d o m ( f − 1 ) = ( − ∞ , 2 ] \mathrm{dom}(f^{-1}) = (-\infty, 2] dom ( f − 1 ) = ( − ∞ , 2 ] .
Question: Given f ( x ) = x − 1 f(x) = \sqrt{x - 1} f ( x ) = x − 1 and g ( x ) = x 2 + x + 1 g(x) = x^2 + x + 1 g ( x ) = x 2 + x + 1 , find
d o m ( g ∘ f ) \mathrm{dom}(g \circ f) dom ( g ∘ f ) .
d o m ( f ) = [ 1 , ∞ ) \mathrm{dom}(f) = [1, \infty) dom ( f ) = [ 1 , ∞ ) , d o m ( g ) = ′ { ′ R ′ } ′ \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} dom ( g ) = ′ { ′ R ′ } ′ .
( g ∘ f ) ( x ) = g ( x − 1 ) = ( x − 1 ) 2 + x − 1 + 1 = x − 1 + x − 1 + 1 = x + x − 1 (g \circ f)(x) = g(\sqrt{x - 1}) = (\sqrt{x - 1})^2 + \sqrt{x - 1} + 1 = x - 1 + \sqrt{x - 1} + 1 = x + \sqrt{x - 1} ( g ∘ f ) ( x ) = g ( x − 1 ) = ( x − 1 ) 2 + x − 1 + 1 = x − 1 + x − 1 + 1 = x + x − 1 .
Since g g g has no domain restriction, d o m ( g ∘ f ) = d o m ( f ) = [ 1 , ∞ ) \mathrm{dom}(g \circ f) = \mathrm{dom}(f) = [1, \infty) dom ( g ∘ f ) = dom ( f ) = [ 1 , ∞ ) .
Question: Find the domain and range of f ( x ) = 1 x 2 + 1 f(x) = \dfrac{1}{x^2 + 1} f ( x ) = x 2 + 1 1 .
Domain: x 2 + 1 ≠ 0 x^2 + 1 \neq 0 x 2 + 1 = 0 for all real x x x (since x 2 ⩾ 0 x^2 \geqslant 0 x 2 ⩾ 0 ). d o m ( f ) = ′ { ′ R ′ } ′ \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} dom ( f ) = ′ { ′ R ′ } ′ .
Range: x 2 + 1 ⩾ 1 x^2 + 1 \geqslant 1 x 2 + 1 ⩾ 1 , so 0 < 1 x 2 + 1 ⩽ 1 0 \lt \dfrac{1}{x^2 + 1} \leqslant 1 0 < x 2 + 1 1 ⩽ 1 .
r a n g e ( f ) = ( 0 , 1 ] \mathrm{range}(f) = (0, 1] range ( f ) = ( 0 , 1 ] .
Question: Let f ( x ) = ∣ x − 3 ∣ + ∣ x + 1 ∣ f(x) = |x - 3| + |x + 1| f ( x ) = ∣ x − 3∣ + ∣ x + 1∣ . Express f f f as a piecewise function and find its
minimum value.
Critical points at x = 3 x = 3 x = 3 and x = − 1 x = -1 x = − 1 :
f ( x ) = { − ( x − 3 ) + − ( x + 1 ) = − 2 x + 2 i f x < − 1 − ( x − 3 ) + ( x + 1 ) = 4 i f − 1 ⩽ x ⩽ 3 ( x − 3 ) + ( x + 1 ) = 2 x − 2 i f x > 3 f(x) = \begin{cases} -(x - 3) + -(x + 1) = -2x + 2 & \mathrm{if } x \lt -1 \\ -(x - 3) + (x + 1) = 4 & \mathrm{if } -1 \leqslant x \leqslant 3 \\ (x - 3) + (x + 1) = 2x - 2 & \mathrm{if } x \gt 3 \end{cases} f ( x ) = ⎩ ⎨ ⎧ − ( x − 3 ) + − ( x + 1 ) = − 2 x + 2 − ( x − 3 ) + ( x + 1 ) = 4 ( x − 3 ) + ( x + 1 ) = 2 x − 2 if x < − 1 if − 1 ⩽ x ⩽ 3 if x > 3
For x < − 1 x \lt -1 x < − 1 : f ( x ) = − 2 x + 2 f(x) = -2x + 2 f ( x ) = − 2 x + 2 , which is decreasing (as x x x increases towards − 1 -1 − 1 ). As
x → − 1 − x \to -1^- x → − 1 − : f ( x ) → 4 f(x) \to 4 f ( x ) → 4 .
For − 1 ⩽ x ⩽ 3 -1 \leqslant x \leqslant 3 − 1 ⩽ x ⩽ 3 : f ( x ) = 4 f(x) = 4 f ( x ) = 4 (constant).
For x > 3 x \gt 3 x > 3 : f ( x ) = 2 x − 2 f(x) = 2x - 2 f ( x ) = 2 x − 2 , which is increasing.
Minimum value: 4 4 4 , attained for all x ∈ [ − 1 , 3 ] x \in [-1, 3] x ∈ [ − 1 , 3 ] .
Additional Worked Examples
Worked Example 8: Domain of a composite with square root and rational function
Let f ( x ) = x + 1 x − 2 f(x) = \dfrac{x + 1}{x - 2} f ( x ) = x − 2 x + 1 and g ( x ) = x − 3 g(x) = \sqrt{x - 3} g ( x ) = x − 3 . Find d o m ( f ∘ g ) \mathrm{dom}(f \circ g) dom ( f ∘ g ) and d o m ( g ∘ f ) \mathrm{dom}(g \circ f) dom ( g ∘ f ) .
Solution d o m ( g ) = [ 3 , ∞ ) \mathrm{dom}(g) = [3, \infty) dom ( g ) = [ 3 , ∞ ) . d o m ( f ) = ′ { ′ R ′ } ′ ∖ { 2 } \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} \setminus \{2\} dom ( f ) = ′ { ′ R ′ } ′ ∖ { 2 } .
For f ∘ g f \circ g f ∘ g : We need g ( x ) ∈ d o m ( f ) g(x) \in \mathrm{dom}(f) g ( x ) ∈ dom ( f ) , i.e., x − 3 ≠ 2 \sqrt{x-3} \neq 2 x − 3 = 2 .
x − 3 = 2 ⟹ x = 7 \sqrt{x-3} = 2 \implies x = 7 x − 3 = 2 ⟹ x = 7 . So exclude x = 7 x = 7 x = 7 .
d o m ( f ∘ g ) = [ 3 , ∞ ) ∖ { 7 } \mathrm{dom}(f \circ g) = [3, \infty) \setminus \{7\} dom ( f ∘ g ) = [ 3 , ∞ ) ∖ { 7 } .
For g ∘ f g \circ f g ∘ f : We need x ∈ d o m ( f ) x \in \mathrm{dom}(f) x ∈ dom ( f ) and f ( x ) ≥ 3 f(x) \geq 3 f ( x ) ≥ 3 .
x + 1 x − 2 ≥ 3 ⟹ x + 1 − 3 ( x − 2 ) x − 2 ≥ 0 ⟹ − 2 x + 7 x − 2 ≥ 0 \frac{x+1}{x-2} \geq 3 \implies \frac{x+1-3(x-2)}{x-2} \geq 0 \implies \frac{-2x+7}{x-2} \geq 0 x − 2 x + 1 ≥ 3 ⟹ x − 2 x + 1 − 3 ( x − 2 ) ≥ 0 ⟹ x − 2 − 2 x + 7 ≥ 0
Critical points: x = 7 2 x = \dfrac{7}{2} x = 2 7 and x = 2 x = 2 x = 2 .
Interval Sign of − 2 x + 7 x − 2 \dfrac{-2x+7}{x-2} x − 2 − 2 x + 7 x < 2 x \lt 2 x < 2 negative / negative = = = positive 2 < x < 7 2 2 \lt x \lt \dfrac{7}{2} 2 < x < 2 7 positive / positive = = = positive x > 7 2 x \gt \dfrac{7}{2} x > 2 7 negative / positive = = = negative
At x = 7 2 x = \dfrac{7}{2} x = 2 7 : expression equals 0 0 0 , which satisfies ≥ 0 \geq 0 ≥ 0 .
d o m ( g ∘ f ) = ( 2 , 7 2 ] \mathrm{dom}(g \circ f) = \left(2,\; \dfrac{7}{2}\right] dom ( g ∘ f ) = ( 2 , 2 7 ] .
Worked Example 9: Inverse of a restricted quadratic
Let f ( x ) = 2 x 2 − 8 x + 5 f(x) = 2x^2 - 8x + 5 f ( x ) = 2 x 2 − 8 x + 5 with domain [ 2 , ∞ ) [2, \infty) [ 2 , ∞ ) . Find f − 1 f^{-1} f − 1 and state its domain and range.
Solution Complete the square: f ( x ) = 2 ( x 2 − 4 x ) + 5 = 2 [ ( x − 2 ) 2 − 4 ] + 5 = 2 ( x − 2 ) 2 − 3 f(x) = 2(x^2 - 4x) + 5 = 2\!\left[(x-2)^2 - 4\right] + 5 = 2(x-2)^2 - 3 f ( x ) = 2 ( x 2 − 4 x ) + 5 = 2 [ ( x − 2 ) 2 − 4 ] + 5 = 2 ( x − 2 ) 2 − 3 .
Since the domain is [ 2 , ∞ ) [2, \infty) [ 2 , ∞ ) and the vertex is at x = 2 x = 2 x = 2 , the function is strictly increasing and hence one-to-one.
Range: [ − 3 , ∞ ) [-3, \infty) [ − 3 , ∞ ) .
Set y = 2 ( x − 2 ) 2 − 3 y = 2(x-2)^2 - 3 y = 2 ( x − 2 ) 2 − 3 :
( x − 2 ) 2 = y + 3 2 (x-2)^2 = \frac{y+3}{2} ( x − 2 ) 2 = 2 y + 3
x = 2 + y + 3 2 x = 2 + \sqrt{\frac{y+3}{2}} x = 2 + 2 y + 3
(positive root since x ≥ 2 x \geq 2 x ≥ 2 )
f − 1 ( x ) = 2 + x + 3 2 f^{-1}(x) = 2 + \sqrt{\frac{x+3}{2}} f − 1 ( x ) = 2 + 2 x + 3
d o m ( f − 1 ) = [ − 3 , ∞ ) \mathrm{dom}(f^{-1}) = [-3, \infty) dom ( f − 1 ) = [ − 3 , ∞ ) , r a n g e ( f − 1 ) = [ 2 , ∞ ) \mathrm{range}(f^{-1}) = [2, \infty) range ( f − 1 ) = [ 2 , ∞ ) .
Verification: f − 1 ( f ( 3 ) ) = f − 1 ( − 1 ) = 2 + 1 = 3 f^{-1}(f(3)) = f^{-1}(-1) = 2 + \sqrt{1} = 3 f − 1 ( f ( 3 )) = f − 1 ( − 1 ) = 2 + 1 = 3 . Correct.
Worked Example 10: Transformation of multiple points
The graph of y = f ( x ) y = f(x) y = f ( x ) passes through ( 1 , 4 ) (1, 4) ( 1 , 4 ) and has a local minimum at ( 2 , − 1 ) (2, -1) ( 2 , − 1 ) . Find the corresponding points on y = 2 f ( 3 x − 6 ) + 5 y = 2f(3x - 6) + 5 y = 2 f ( 3 x − 6 ) + 5 .
Solution Rewrite: y = 2 f ( 3 ( x − 2 ) ) + 5 y = 2f(3(x-2)) + 5 y = 2 f ( 3 ( x − 2 )) + 5 .
For ( 1 , 4 ) (1, 4) ( 1 , 4 ) on y = f ( x ) y = f(x) y = f ( x ) : Set 3 ( x − 2 ) = 1 3(x-2) = 1 3 ( x − 2 ) = 1 , so x − 2 = 1 3 x - 2 = \dfrac{1}{3} x − 2 = 3 1 , giving x = 7 3 x = \dfrac{7}{3} x = 3 7 .
y = 2 ( 4 ) + 5 = 13 y = 2(4) + 5 = 13 y = 2 ( 4 ) + 5 = 13
Corresponding point: ( 7 3 , 13 ) \left(\dfrac{7}{3},\; 13\right) ( 3 7 , 13 ) .
For the minimum at ( 2 , − 1 ) (2, -1) ( 2 , − 1 ) : Set 3 ( x − 2 ) = 2 3(x-2) = 2 3 ( x − 2 ) = 2 , so x − 2 = 2 3 x - 2 = \dfrac{2}{3} x − 2 = 3 2 , giving x = 8 3 x = \dfrac{8}{3} x = 3 8 .
y = 2 ( − 1 ) + 5 = 3 y = 2(-1) + 5 = 3 y = 2 ( − 1 ) + 5 = 3
Corresponding point: ( 8 3 , 3 ) \left(\dfrac{8}{3},\; 3\right) ( 3 8 , 3 ) . This is the minimum of the transformed graph.
Worked Example 11: Composite with logarithm
Let f ( x ) = ln ( x − 1 ) f(x) = \ln(x - 1) f ( x ) = ln ( x − 1 ) and g ( x ) = x 2 + 1 g(x) = x^2 + 1 g ( x ) = x 2 + 1 . Find ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) , ( g ∘ f ) ( x ) (g \circ f)(x) ( g ∘ f ) ( x ) , and their domains.
Solution d o m ( g ) = ′ { ′ R ′ } ′ \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} dom ( g ) = ′ { ′ R ′ } ′ , d o m ( f ) = ( 1 , ∞ ) \mathrm{dom}(f) = (1, \infty) dom ( f ) = ( 1 , ∞ ) .
( f ∘ g ) ( x ) = f ( g ( x ) ) = ln ( x 2 + 1 − 1 ) = ln ( x 2 ) (f \circ g)(x) = f(g(x)) = \ln(x^2 + 1 - 1) = \ln(x^2) ( f ∘ g ) ( x ) = f ( g ( x )) = ln ( x 2 + 1 − 1 ) = ln ( x 2 ) .
Domain: need g ( x ) ∈ d o m ( f ) g(x) \in \mathrm{dom}(f) g ( x ) ∈ dom ( f ) , i.e., x 2 + 1 > 1 ⟹ x 2 > 0 ⟹ x ≠ 0 x^2 + 1 \gt 1 \implies x^2 \gt 0 \implies x \neq 0 x 2 + 1 > 1 ⟹ x 2 > 0 ⟹ x = 0 .
d o m ( f ∘ g ) = ′ { ′ R ′ } ′ ∖ { 0 } \mathrm{dom}(f \circ g) = \mathbb{'\{'}R{'\}'} \setminus \{0\} dom ( f ∘ g ) = ′ { ′ R ′ } ′ ∖ { 0 } .
( g ∘ f ) ( x ) = g ( f ( x ) ) = [ ln ( x − 1 ) ] 2 + 1 (g \circ f)(x) = g(f(x)) = [\ln(x-1)]^2 + 1 ( g ∘ f ) ( x ) = g ( f ( x )) = [ ln ( x − 1 ) ] 2 + 1 .
Domain: d o m ( g ∘ f ) = d o m ( f ) = ( 1 , ∞ ) \mathrm{dom}(g \circ f) = \mathrm{dom}(f) = (1, \infty) dom ( g ∘ f ) = dom ( f ) = ( 1 , ∞ ) .
Worked Example 12: Self-inverse function
Show that f ( x ) = 3 x − 2 x − 3 f(x) = \dfrac{3x - 2}{x - 3} f ( x ) = x − 3 3 x − 2 (x ≠ 3 x \neq 3 x = 3 ) is self-inverse.
Solution Set y = 3 x − 2 x − 3 y = \dfrac{3x - 2}{x - 3} y = x − 3 3 x − 2 :
y ( x − 3 ) = 3 x − 2 ⟹ x y − 3 y = 3 x − 2 ⟹ x y − 3 x = 3 y − 2 y(x - 3) = 3x - 2 \implies xy - 3y = 3x - 2 \implies xy - 3x = 3y - 2 y ( x − 3 ) = 3 x − 2 ⟹ x y − 3 y = 3 x − 2 ⟹ x y − 3 x = 3 y − 2
x ( y − 3 ) = 3 y − 2 ⟹ x = 3 y − 2 y − 3 x(y - 3) = 3y - 2 \implies x = \frac{3y - 2}{y - 3} x ( y − 3 ) = 3 y − 2 ⟹ x = y − 3 3 y − 2
Interchanging x x x and y y y :
f − 1 ( x ) = 3 x − 2 x − 3 = f ( x ) f^{-1}(x) = \frac{3x - 2}{x - 3} = f(x) f − 1 ( x ) = x − 3 3 x − 2 = f ( x )
Since f − 1 = f f^{-1} = f f − 1 = f , the function is self-inverse.
Additional Common Pitfalls
Applying domain restrictions to x x x instead of g ( x ) g(x) g ( x ) . When finding d o m ( f ∘ g ) \mathrm{dom}(f \circ g) dom ( f ∘ g ) , the condition g ( x ) ∈ d o m ( f ) g(x) \in \mathrm{dom}(f) g ( x ) ∈ dom ( f ) must be applied to the expression g ( x ) g(x) g ( x ) , not to x x x directly. Always substitute first, then impose domain conditions.
Assuming injectivity on the natural domain. A quadratic a x 2 + b x + c ax^2 + bx + c a x 2 + b x + c is only one-to-one on a half-domain ( − ∞ , − b / ( 2 a ) ] (-\infty,\; -b/(2a)] ( − ∞ , − b / ( 2 a )] or [ − b / ( 2 a ) , ∞ ) [-b/(2a),\; \infty) [ − b / ( 2 a ) , ∞ ) . Before finding an inverse, verify or restrict the domain.
Choosing the wrong branch of the inverse. When f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 is restricted to ( − ∞ , 0 ] (-\infty, 0] ( − ∞ , 0 ] , the inverse is f − 1 ( x ) = − x f^{-1}(x) = -\sqrt{x} f − 1 ( x ) = − x , not + x +\sqrt{x} + x . Always match the sign to the restricted domain.
Composition order confusion. ( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) ( f ∘ g ) ( x ) = f ( g ( x )) means g g g is applied first, then f f f . The notation reads right-to-left: ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) is "f f f of g g g of x x x ".
Transformation order errors. For y = a f ( k x + b ) + c y = af(kx + b) + c y = a f ( k x + b ) + c , apply from inside out: horizontal shift by − b -b − b , horizontal stretch by 1 / k 1/k 1/ k , vertical stretch by a a a , vertical shift by c c c . Mixing up this order is a very common mistake.
Ignoring the range when checking invertibility. Even if f f f is one-to-one on its domain, the codomain must equal the range for f f f to be bijective. In DSE problems, the codomain is usually assumed to be the range unless stated otherwise.
Forgetting that f ∘ g f \circ g f ∘ g and g ∘ f g \circ f g ∘ f differ. In general, f ∘ g ≠ g ∘ f f \circ g \neq g \circ f f ∘ g = g ∘ f . Always compute each separately and check domains independently.
Piecewise function boundary values. At the boundary between two pieces, always check which expression applies. If the definition uses ≤ \leq ≤ for one piece and < \lt < for the next, the boundary point belongs to the ≤ \leq ≤ piece.
Exam-Style Problems
Problem 1. Let f ( x ) = 2 x + 3 x − 1 f(x) = \dfrac{2x + 3}{x - 1} f ( x ) = x − 1 2 x + 3 (x ≠ 1 x \neq 1 x = 1 ) and g ( x ) = x + 2 g(x) = \sqrt{x + 2} g ( x ) = x + 2 . Find ( f ∘ g ) ( x ) (f \circ g)(x) ( f ∘ g ) ( x ) and its domain.
Solution ( f ∘ g ) ( x ) = f ( x + 2 ) = 2 x + 2 + 3 x + 2 − 1 (f \circ g)(x) = f(\sqrt{x+2}) = \frac{2\sqrt{x+2} + 3}{\sqrt{x+2} - 1} ( f ∘ g ) ( x ) = f ( x + 2 ) = x + 2 − 1 2 x + 2 + 3
d o m ( g ) = [ − 2 , ∞ ) \mathrm{dom}(g) = [-2, \infty) dom ( g ) = [ − 2 , ∞ ) . d o m ( f ) = ′ { ′ R ′ } ′ ∖ { 1 } \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} \setminus \{1\} dom ( f ) = ′ { ′ R ′ } ′ ∖ { 1 } .
Need x + 2 ≠ 1 ⟹ x + 2 ≠ 1 ⟹ x ≠ − 1 \sqrt{x+2} \neq 1 \implies x + 2 \neq 1 \implies x \neq -1 x + 2 = 1 ⟹ x + 2 = 1 ⟹ x = − 1 .
d o m ( f ∘ g ) = [ − 2 , − 1 ) ∪ ( − 1 , ∞ ) \mathrm{dom}(f \circ g) = [-2, -1) \cup (-1, \infty) dom ( f ∘ g ) = [ − 2 , − 1 ) ∪ ( − 1 , ∞ ) .
Problem 2. Find the inverse of f ( x ) = 2 x − 1 x + 3 f(x) = \dfrac{2x - 1}{x + 3} f ( x ) = x + 3 2 x − 1 (x ≠ − 3 x \neq -3 x = − 3 ). Hence determine whether f ( x ) = f − 1 ( x ) f(x) = f^{-1}(x) f ( x ) = f − 1 ( x ) has any real solutions.
Solution Set y = 2 x − 1 x + 3 y = \dfrac{2x-1}{x+3} y = x + 3 2 x − 1 : y ( x + 3 ) = 2 x − 1 ⟹ x y + 3 y = 2 x − 1 ⟹ x ( y − 2 ) = − 1 − 3 y y(x+3) = 2x-1 \implies xy + 3y = 2x - 1 \implies x(y-2) = -1 - 3y y ( x + 3 ) = 2 x − 1 ⟹ x y + 3 y = 2 x − 1 ⟹ x ( y − 2 ) = − 1 − 3 y .
f − 1 ( x ) = − 1 − 3 x x − 2 = 3 x + 1 2 − x f^{-1}(x) = \frac{-1-3x}{x-2} = \frac{3x+1}{2-x} f − 1 ( x ) = x − 2 − 1 − 3 x = 2 − x 3 x + 1
For f ( x ) = f − 1 ( x ) f(x) = f^{-1}(x) f ( x ) = f − 1 ( x ) :
2 x − 1 x + 3 = 3 x + 1 2 − x \frac{2x-1}{x+3} = \frac{3x+1}{2-x} x + 3 2 x − 1 = 2 − x 3 x + 1
( 2 x − 1 ) ( 2 − x ) = ( 3 x + 1 ) ( x + 3 ) (2x-1)(2-x) = (3x+1)(x+3) ( 2 x − 1 ) ( 2 − x ) = ( 3 x + 1 ) ( x + 3 )
4 x − 2 x 2 − 2 + x = 3 x 2 + 9 x + x + 3 4x - 2x^2 - 2 + x = 3x^2 + 9x + x + 3 4 x − 2 x 2 − 2 + x = 3 x 2 + 9 x + x + 3
− 2 x 2 + 5 x − 2 = 3 x 2 + 10 x + 3 -2x^2 + 5x - 2 = 3x^2 + 10x + 3 − 2 x 2 + 5 x − 2 = 3 x 2 + 10 x + 3
− 5 x 2 − 5 x − 5 = 0 ⟹ x 2 + x + 1 = 0 -5x^2 - 5x - 5 = 0 \implies x^2 + x + 1 = 0 − 5 x 2 − 5 x − 5 = 0 ⟹ x 2 + x + 1 = 0
Δ = 1 − 4 = − 3 < 0 \Delta = 1 - 4 = -3 \lt 0 Δ = 1 − 4 = − 3 < 0 . No real solutions.
Problem 3. The function f f f is defined by f ( x ) = x 2 + 4 x f(x) = x^2 + 4x f ( x ) = x 2 + 4 x for x ≥ − 2 x \geq -2 x ≥ − 2 . Find f − 1 ( 5 ) f^{-1}(5) f − 1 ( 5 ) .
Solution f ( x ) = ( x + 2 ) 2 − 4 f(x) = (x+2)^2 - 4 f ( x ) = ( x + 2 ) 2 − 4 . Since x ≥ − 2 x \geq -2 x ≥ − 2 and the vertex is at x = − 2 x = -2 x = − 2 , f f f is strictly increasing.
Range: [ − 4 , ∞ ) [-4, \infty) [ − 4 , ∞ ) . Since 5 ≥ − 4 5 \geq -4 5 ≥ − 4 , f − 1 ( 5 ) f^{-1}(5) f − 1 ( 5 ) exists.
Set ( x + 2 ) 2 − 4 = 5 ⟹ ( x + 2 ) 2 = 9 ⟹ x + 2 = 3 (x+2)^2 - 4 = 5 \implies (x+2)^2 = 9 \implies x + 2 = 3 ( x + 2 ) 2 − 4 = 5 ⟹ ( x + 2 ) 2 = 9 ⟹ x + 2 = 3 (positive root).
x = 1 x = 1 x = 1
f − 1 ( 5 ) = 1 f^{-1}(5) = 1 f − 1 ( 5 ) = 1 . Verification: f ( 1 ) = 1 + 4 = 5 f(1) = 1 + 4 = 5 f ( 1 ) = 1 + 4 = 5 . Correct.
Problem 4. Describe fully the sequence of transformations mapping y = x 2 y = x^2 y = x 2 to y = 2 ( 3 − x ) 2 + 1 y = 2(3-x)^2 + 1 y = 2 ( 3 − x ) 2 + 1 .
Solution y = 2 ( 3 − x ) 2 + 1 = 2 [ − ( x − 3 ) ] 2 + 1 = 2 ( x − 3 ) 2 + 1 y = 2(3-x)^2 + 1 = 2[-(x-3)]^2 + 1 = 2(x-3)^2 + 1 y = 2 ( 3 − x ) 2 + 1 = 2 [ − ( x − 3 ) ] 2 + 1 = 2 ( x − 3 ) 2 + 1 .
Translate right by 3 3 3 units: y = ( x − 3 ) 2 y = (x-3)^2 y = ( x − 3 ) 2 .
Vertical stretch by factor 2 2 2 : y = 2 ( x − 3 ) 2 y = 2(x-3)^2 y = 2 ( x − 3 ) 2 .
Translate up by 1 1 1 unit: y = 2 ( x − 3 ) 2 + 1 y = 2(x-3)^2 + 1 y = 2 ( x − 3 ) 2 + 1 .
The vertex moves from ( 0 , 0 ) (0, 0) ( 0 , 0 ) to ( 3 , 1 ) (3, 1) ( 3 , 1 ) . The parabola opens upward in both cases.
Problem 5. Let f ( x ) = 1 x + 1 f(x) = \dfrac{1}{x+1} f ( x ) = x + 1 1 (x ≠ − 1 x \neq -1 x = − 1 ) and g ( x ) = x 2 g(x) = x^2 g ( x ) = x 2 . Find ( f ∘ g ∘ f ) ( x ) (f \circ g \circ f)(x) ( f ∘ g ∘ f ) ( x ) and its domain.
Solution First, ( g ∘ f ) ( x ) = g ( f ( x ) ) = ( 1 x + 1 ) 2 = 1 ( x + 1 ) 2 (g \circ f)(x) = g(f(x)) = \left(\dfrac{1}{x+1}\right)^2 = \dfrac{1}{(x+1)^2} ( g ∘ f ) ( x ) = g ( f ( x )) = ( x + 1 1 ) 2 = ( x + 1 ) 2 1 .
Then:
( f ∘ g ∘ f ) ( x ) = f ( 1 ( x + 1 ) 2 ) = 1 1 ( x + 1 ) 2 + 1 = ( x + 1 ) 2 ( x + 1 ) 2 + 1 = ( x + 1 ) 2 x 2 + 2 x + 2 (f \circ g \circ f)(x) = f\!\left(\frac{1}{(x+1)^2}\right) = \frac{1}{\dfrac{1}{(x+1)^2} + 1} = \frac{(x+1)^2}{(x+1)^2 + 1} = \frac{(x+1)^2}{x^2 + 2x + 2} ( f ∘ g ∘ f ) ( x ) = f ( ( x + 1 ) 2 1 ) = ( x + 1 ) 2 1 + 1 1 = ( x + 1 ) 2 + 1 ( x + 1 ) 2 = x 2 + 2 x + 2 ( x + 1 ) 2
Domain: need x + 1 ≠ 0 ⟹ x ≠ − 1 x + 1 \neq 0 \implies x \neq -1 x + 1 = 0 ⟹ x = − 1 , and 1 ( x + 1 ) 2 + 1 ≠ 0 \dfrac{1}{(x+1)^2} + 1 \neq 0 ( x + 1 ) 2 1 + 1 = 0 .
Since 1 ( x + 1 ) 2 ≥ 0 \dfrac{1}{(x+1)^2} \geq 0 ( x + 1 ) 2 1 ≥ 0 for all x ≠ − 1 x \neq -1 x = − 1 , the second expression is always at least 1 > 0 1 > 0 1 > 0 .
d o m ( f ∘ g ∘ f ) = ′ { ′ R ′ } ′ ∖ { − 1 } \mathrm{dom}(f \circ g \circ f) = \mathbb{'\{'}R{'\}'} \setminus \{-1\} dom ( f ∘ g ∘ f ) = ′ { ′ R ′ } ′ ∖ { − 1 } .
Problem 6. Given f ( x ) = ∣ 2 x − 1 ∣ + ∣ x + 3 ∣ f(x) = |2x - 1| + |x + 3| f ( x ) = ∣2 x − 1∣ + ∣ x + 3∣ , find the minimum value of f f f .
Solution Critical points: 2 x − 1 = 0 ⟹ x = 1 2 2x - 1 = 0 \implies x = \dfrac{1}{2} 2 x − 1 = 0 ⟹ x = 2 1 , and x + 3 = 0 ⟹ x = − 3 x + 3 = 0 \implies x = -3 x + 3 = 0 ⟹ x = − 3 .
For x < − 3 x \lt -3 x < − 3 : f ( x ) = − ( 2 x − 1 ) + − ( x + 3 ) = − 3 x − 2 f(x) = -(2x-1) + -(x+3) = -3x - 2 f ( x ) = − ( 2 x − 1 ) + − ( x + 3 ) = − 3 x − 2 (decreasing as x x x increases).
For − 3 ≤ x < 1 2 -3 \leq x \lt \dfrac{1}{2} − 3 ≤ x < 2 1 : f ( x ) = − ( 2 x − 1 ) + ( x + 3 ) = − x + 4 f(x) = -(2x-1) + (x+3) = -x + 4 f ( x ) = − ( 2 x − 1 ) + ( x + 3 ) = − x + 4 (decreasing).
For x ≥ 1 2 x \geq \dfrac{1}{2} x ≥ 2 1 : f ( x ) = ( 2 x − 1 ) + ( x + 3 ) = 3 x + 2 f(x) = (2x-1) + (x+3) = 3x + 2 f ( x ) = ( 2 x − 1 ) + ( x + 3 ) = 3 x + 2 (increasing).
The minimum occurs at the transition from decreasing to increasing, i.e., at x = 1 2 x = \dfrac{1}{2} x = 2 1 :
f ( 1 2 ) = 3 ( 1 2 ) + 2 = 7 2 f\!\left(\frac{1}{2}\right) = 3\!\left(\frac{1}{2}\right) + 2 = \frac{7}{2} f ( 2 1 ) = 3 ( 2 1 ) + 2 = 2 7
Minimum value: 7 2 \dfrac{7}{2} 2 7 , attained at x = 1 2 x = \dfrac{1}{2} x = 2 1 .
Problem 7. If f ( x ) = x x 2 + 1 f(x) = \dfrac{x}{x^2 + 1} f ( x ) = x 2 + 1 x , find the range of f f f .
Solution Let y = x x 2 + 1 y = \dfrac{x}{x^2 + 1} y = x 2 + 1 x . Then y x 2 + y = x ⟹ y x 2 − x + y = 0 yx^2 + y = x \implies yx^2 - x + y = 0 y x 2 + y = x ⟹ y x 2 − x + y = 0 .
For real x x x , this quadratic in x x x must have Δ ≥ 0 \Delta \geq 0 Δ ≥ 0 :
Δ = 1 − 4 y 2 ≥ 0 ⟹ y 2 ≤ 1 4 ⟹ − 1 2 ≤ y ≤ 1 2 \Delta = 1 - 4y^2 \geq 0 \implies y^2 \leq \frac{1}{4} \implies -\frac{1}{2} \leq y \leq \frac{1}{2} Δ = 1 − 4 y 2 ≥ 0 ⟹ y 2 ≤ 4 1 ⟹ − 2 1 ≤ y ≤ 2 1
When y = 1 2 y = \dfrac{1}{2} y = 2 1 : 1 2 x 2 − x + 1 2 = 0 ⟹ ( x − 1 ) 2 = 0 ⟹ x = 1 \dfrac{1}{2}x^2 - x + \dfrac{1}{2} = 0 \implies (x-1)^2 = 0 \implies x = 1 2 1 x 2 − x + 2 1 = 0 ⟹ ( x − 1 ) 2 = 0 ⟹ x = 1 . Attainable.
When y = − 1 2 y = -\dfrac{1}{2} y = − 2 1 : 1 2 x 2 + x + 1 2 = 0 ⟹ ( x + 1 ) 2 = 0 ⟹ x = − 1 \dfrac{1}{2}x^2 + x + \dfrac{1}{2} = 0 \implies (x+1)^2 = 0 \implies x = -1 2 1 x 2 + x + 2 1 = 0 ⟹ ( x + 1 ) 2 = 0 ⟹ x = − 1 . Attainable.
Range: [ − 1 2 , 1 2 ] \left[-\dfrac{1}{2},\; \dfrac{1}{2}\right] [ − 2 1 , 2 1 ] .
Problem 8. If f ( x ) = 2 x − 1 f(x) = 2x - 1 f ( x ) = 2 x − 1 and g ( x ) = x + 3 g(x) = x + 3 g ( x ) = x + 3 , find the linear function h ( x ) h(x) h ( x ) such that ( f ∘ h ) ( x ) = ( g ∘ f ) ( x ) (f \circ h)(x) = (g \circ f)(x) ( f ∘ h ) ( x ) = ( g ∘ f ) ( x ) for all x x x .
Solution ( g ∘ f ) ( x ) = g ( 2 x − 1 ) = 2 x − 1 + 3 = 2 x + 2 (g \circ f)(x) = g(2x - 1) = 2x - 1 + 3 = 2x + 2 ( g ∘ f ) ( x ) = g ( 2 x − 1 ) = 2 x − 1 + 3 = 2 x + 2 .
( f ∘ h ) ( x ) = f ( h ( x ) ) = 2 h ( x ) − 1 (f \circ h)(x) = f(h(x)) = 2h(x) - 1 ( f ∘ h ) ( x ) = f ( h ( x )) = 2 h ( x ) − 1 .
Setting equal: 2 h ( x ) − 1 = 2 x + 2 ⟹ h ( x ) = x + 3 2 2h(x) - 1 = 2x + 2 \implies h(x) = x + \dfrac{3}{2} 2 h ( x ) − 1 = 2 x + 2 ⟹ h ( x ) = x + 2 3 .
Verification: ( f ∘ h ) ( x ) = 2 ( x + 3 2 ) − 1 = 2 x + 2 (f \circ h)(x) = 2\!\left(x + \dfrac{3}{2}\right) - 1 = 2x + 2 ( f ∘ h ) ( x ) = 2 ( x + 2 3 ) − 1 = 2 x + 2 . Correct.
Cross-References
Basic Functions: Foundational definitions and notation are in functions.md ).
Quadratics: Quadratic functions feature heavily in inverse function problems. See quadratics.md ).
Inequalities: Domain restrictions often involve solving inequalities. See the inequalities notes.
Coordinate Geometry: Graphical interpretations of functions and transformations. See coordinate-geometry.md ).
Diagnostic Test
Ready to test your understanding of Functions (Advanced) ? The diagnostic test contains the hardest questions within the DSE specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Functions (Advanced) with other DSE mathematics topics to test synthesis under exam conditions.
See Diagnostic Guide for instructions on self-marking and building a personal test matrix.
DSE Exam Technique
Showing Working
For function problems in DSE Paper 1:
When finding the domain of a composite function, explicitly state d o m ( g ) \mathrm{dom}(g) dom ( g ) and the condition g ( x ) ∈ d o m ( f ) g(x) \in \mathrm{dom}(f) g ( x ) ∈ dom ( f ) .
When finding an inverse, write y = f ( x ) y = f(x) y = f ( x ) , solve for x x x , and then interchange.
When checking invertibility, verify that the function is one-to-one (strictly increasing or decreasing on the domain).
For transformation problems, clearly identify the sequence of transformations from inside out.
Coordinate answers should be exact where possible. Decimal answers to 3 significant figures.
Common DSE Question Types
Domain of composite functions (especially with square roots and rational functions).
Finding inverse functions (restricted quadratics, rational functions).
Transformation of points (tracking specific points through a series of transformations).
Self-inverse verification (show f − 1 = f f^{-1} = f f − 1 = f ).
Range finding (using the discriminant method for rational functions).
Additional Worked Examples
Worked Example 13: Domain with nested functions
Let f ( x ) = 1 x − 2 f(x) = \dfrac{1}{\sqrt{x - 2}} f ( x ) = x − 2 1 and g ( x ) = x 2 + 1 g(x) = x^2 + 1 g ( x ) = x 2 + 1 . Find d o m ( f ∘ g ) \mathrm{dom}(f \circ g) dom ( f ∘ g ) and d o m ( g ∘ f ) \mathrm{dom}(g \circ f) dom ( g ∘ f ) .
Solution d o m ( f ) = ( 2 , ∞ ) \mathrm{dom}(f) = (2, \infty) dom ( f ) = ( 2 , ∞ ) (need x − 2 > 0 x - 2 > 0 x − 2 > 0 ). d o m ( g ) = ′ { ′ R ′ } ′ \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} dom ( g ) = ′ { ′ R ′ } ′ .
f ∘ g f \circ g f ∘ g : Need g ( x ) ∈ d o m ( f ) g(x) \in \mathrm{dom}(f) g ( x ) ∈ dom ( f ) , i.e., x 2 + 1 > 2 ⟹ x 2 > 1 ⟹ x < − 1 x^2 + 1 > 2 \implies x^2 > 1 \implies x < -1 x 2 + 1 > 2 ⟹ x 2 > 1 ⟹ x < − 1 or x > 1 x > 1 x > 1 .
d o m ( f ∘ g ) = ( − ∞ , − 1 ) ∪ ( 1 , ∞ ) \mathrm{dom}(f \circ g) = (-\infty, -1) \cup (1, \infty) dom ( f ∘ g ) = ( − ∞ , − 1 ) ∪ ( 1 , ∞ ) .
g ∘ f g \circ f g ∘ f : Need x ∈ d o m ( f ) = ( 2 , ∞ ) x \in \mathrm{dom}(f) = (2, \infty) x ∈ dom ( f ) = ( 2 , ∞ ) .
d o m ( g ∘ f ) = ( 2 , ∞ ) \mathrm{dom}(g \circ f) = (2, \infty) dom ( g ∘ f ) = ( 2 , ∞ ) .
Worked Example 14: Inverse of a restricted rational function
Let f ( x ) = 2 x x − 3 f(x) = \dfrac{2x}{x - 3} f ( x ) = x − 3 2 x for x > 3 x > 3 x > 3 . Find f − 1 f^{-1} f − 1 .
Solution First, check one-to-one: f ( x ) = 2 + 6 x − 3 f(x) = 2 + \dfrac{6}{x - 3} f ( x ) = 2 + x − 3 6 . For x > 3 x > 3 x > 3 , x − 3 > 0 x - 3 > 0 x − 3 > 0 , so 6 x − 3 > 0 \dfrac{6}{x-3} > 0 x − 3 6 > 0 and is strictly decreasing. Therefore f f f is strictly decreasing and hence one-to-one on ( 3 , ∞ ) (3, \infty) ( 3 , ∞ ) .
Set y = 2 x x − 3 y = \dfrac{2x}{x - 3} y = x − 3 2 x :
y ( x − 3 ) = 2 x ⟹ y x − 3 y = 2 x ⟹ x ( y − 2 ) = 3 y y(x - 3) = 2x \implies yx - 3y = 2x \implies x(y - 2) = 3y y ( x − 3 ) = 2 x ⟹ y x − 3 y = 2 x ⟹ x ( y − 2 ) = 3 y
x = 3 y y − 2 x = \frac{3y}{y - 2} x = y − 2 3 y
f − 1 ( x ) = 3 x x − 2 f^{-1}(x) = \frac{3x}{x - 2} f − 1 ( x ) = x − 2 3 x
To find the domain of f − 1 f^{-1} f − 1 : since r a n g e ( f ) \mathrm{range}(f) range ( f ) must equal d o m ( f − 1 ) \mathrm{dom}(f^{-1}) dom ( f − 1 ) .
As x → 3 + x \to 3^+ x → 3 + , f ( x ) → + ∞ f(x) \to +\infty f ( x ) → + ∞ . As x → + ∞ x \to +\infty x → + ∞ , f ( x ) → 2 + f(x) \to 2^+ f ( x ) → 2 + .
r a n g e ( f ) = ( 2 , ∞ ) \mathrm{range}(f) = (2, \infty) range ( f ) = ( 2 , ∞ ) , so d o m ( f − 1 ) = ( 2 , ∞ ) \mathrm{dom}(f^{-1}) = (2, \infty) dom ( f − 1 ) = ( 2 , ∞ ) .
Worked Example 15: Even and odd functions
Determine whether f ( x ) = x x 2 + 1 f(x) = \dfrac{x}{x^2 + 1} f ( x ) = x 2 + 1 x is even, odd, or neither.
Solution f ( − x ) = − x ( − x ) 2 + 1 = − x x 2 + 1 = − f ( x ) f(-x) = \frac{-x}{(-x)^2 + 1} = \frac{-x}{x^2 + 1} = -f(x) f ( − x ) = ( − x ) 2 + 1 − x = x 2 + 1 − x = − f ( x )
Since f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) for all real x x x , f f f is an odd function.
Worked Example 16: Range using discriminant
Find the range of f ( x ) = x 2 − x + 1 x 2 + x + 1 f(x) = \dfrac{x^2 - x + 1}{x^2 + x + 1} f ( x ) = x 2 + x + 1 x 2 − x + 1 .
Solution Let y = x 2 − x + 1 x 2 + x + 1 y = \dfrac{x^2 - x + 1}{x^2 + x + 1} y = x 2 + x + 1 x 2 − x + 1 . Since x 2 + x + 1 = ( x + 1 2 ) 2 + 3 4 > 0 x^2 + x + 1 = \left(x + \dfrac{1}{2}\right)^2 + \dfrac{3}{4} > 0 x 2 + x + 1 = ( x + 2 1 ) 2 + 4 3 > 0 for all x x x :
y ( x 2 + x + 1 ) = x 2 − x + 1 ⟹ ( y − 1 ) x 2 + ( y + 1 ) x + ( y − 1 ) = 0 y(x^2 + x + 1) = x^2 - x + 1 \implies (y - 1)x^2 + (y + 1)x + (y - 1) = 0 y ( x 2 + x + 1 ) = x 2 − x + 1 ⟹ ( y − 1 ) x 2 + ( y + 1 ) x + ( y − 1 ) = 0
For real x x x , Δ ≥ 0 \Delta \geq 0 Δ ≥ 0 :
( y + 1 ) 2 − 4 ( y − 1 ) 2 ≥ 0 ⟹ ( y + 1 − 2 y + 2 ) ( y + 1 + 2 y − 2 ) ≥ 0 (y + 1)^2 - 4(y - 1)^2 \geq 0 \implies (y + 1 - 2y + 2)(y + 1 + 2y - 2) \geq 0 ( y + 1 ) 2 − 4 ( y − 1 ) 2 ≥ 0 ⟹ ( y + 1 − 2 y + 2 ) ( y + 1 + 2 y − 2 ) ≥ 0
( − y + 3 ) ( 3 y − 1 ) ≥ 0 ⟹ ( y − 3 ) ( 3 y − 1 ) ≤ 0 ⟹ 1 3 ≤ y ≤ 3 (-y + 3)(3y - 1) \geq 0 \implies (y - 3)(3y - 1) \leq 0 \implies \frac{1}{3} \leq y \leq 3 ( − y + 3 ) ( 3 y − 1 ) ≥ 0 ⟹ ( y − 3 ) ( 3 y − 1 ) ≤ 0 ⟹ 3 1 ≤ y ≤ 3
Range: [ 1 3 , 3 ] \left[\dfrac{1}{3},\; 3\right] [ 3 1 , 3 ] .
DSE Exam-Style Questions
DSE Practice 1. Let f ( x ) = 3 x − 1 x + 2 f(x) = \dfrac{3x - 1}{x + 2} f ( x ) = x + 2 3 x − 1 and g ( x ) = x + 1 x − 1 g(x) = \dfrac{x + 1}{x - 1} g ( x ) = x − 1 x + 1 . Find ( g ∘ f ) ( 2 ) (g \circ f)(2) ( g ∘ f ) ( 2 ) .
Solution f ( 2 ) = 6 − 1 2 + 2 = 5 4 f(2) = \dfrac{6 - 1}{2 + 2} = \dfrac{5}{4} f ( 2 ) = 2 + 2 6 − 1 = 4 5 .
( g ∘ f ) ( 2 ) = g ( 5 4 ) = 5 / 4 + 1 5 / 4 − 1 = 9 / 4 1 / 4 = 9 (g \circ f)(2) = g\!\left(\dfrac{5}{4}\right) = \dfrac{5/4 + 1}{5/4 - 1} = \dfrac{9/4}{1/4} = 9 ( g ∘ f ) ( 2 ) = g ( 4 5 ) = 5/4 − 1 5/4 + 1 = 1/4 9/4 = 9 .
DSE Practice 2. The function f f f is defined by f ( x ) = 2 x 2 − 8 x + 5 f(x) = 2x^2 - 8x + 5 f ( x ) = 2 x 2 − 8 x + 5 for x ≥ 2 x \geq 2 x ≥ 2 . Find the range of f f f and the value of x x x for which f ( x ) = 1 f(x) = 1 f ( x ) = 1 .
Solution f ( x ) = 2 ( x − 2 ) 2 − 3 f(x) = 2(x - 2)^2 - 3 f ( x ) = 2 ( x − 2 ) 2 − 3 . Since x ≥ 2 x \geq 2 x ≥ 2 and the vertex is at x = 2 x = 2 x = 2 : range is [ − 3 , ∞ ) [-3, \infty) [ − 3 , ∞ ) .
2 ( x − 2 ) 2 − 3 = 1 ⟹ ( x − 2 ) 2 = 2 ⟹ x = 2 + 2 2(x - 2)^2 - 3 = 1 \implies (x - 2)^2 = 2 \implies x = 2 + \sqrt{2} 2 ( x − 2 ) 2 − 3 = 1 ⟹ ( x − 2 ) 2 = 2 ⟹ x = 2 + 2 (positive root since x ≥ 2 x \geq 2 x ≥ 2 ).
DSE Practice 3. The graph of y = f ( x ) y = f(x) y = f ( x ) passes through ( 0 , − 1 ) (0, -1) ( 0 , − 1 ) and has a local maximum at ( 3 , 4 ) (3, 4) ( 3 , 4 ) . Find the coordinates of the corresponding points on y = − f ( 2 x + 1 ) + 3 y = -f(2x + 1) + 3 y = − f ( 2 x + 1 ) + 3 .
Solution For ( 0 , − 1 ) (0, -1) ( 0 , − 1 ) : 2 x + 1 = 0 ⟹ x = − 1 2 2x + 1 = 0 \implies x = -\dfrac{1}{2} 2 x + 1 = 0 ⟹ x = − 2 1 . y = − ( − 1 ) + 3 = 4 y = -(-1) + 3 = 4 y = − ( − 1 ) + 3 = 4 . Point: ( − 1 2 , 4 ) \left(-\dfrac{1}{2},\; 4\right) ( − 2 1 , 4 ) .
For the maximum at ( 3 , 4 ) (3, 4) ( 3 , 4 ) : 2 x + 1 = 3 ⟹ x = 1 2x + 1 = 3 \implies x = 1 2 x + 1 = 3 ⟹ x = 1 . y = − ( 4 ) + 3 = − 1 y = -(4) + 3 = -1 y = − ( 4 ) + 3 = − 1 . The maximum becomes a minimum at ( 1 , − 1 ) \left(1,\; -1\right) ( 1 , − 1 ) .
DSE Practice 4. Let f ( x ) = x 3 − 3 x f(x) = x^3 - 3x f ( x ) = x 3 − 3 x . Show that f f f is not one-to-one on ′ { ′ R ′ } ′ \mathbb{'\{'}R{'\}'} ′ { ′ R ′ } ′ , but is one-to-one on [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) . Find f − 1 ( 0 ) f^{-1}(0) f − 1 ( 0 ) .
Solution f ( 0 ) = 0 f(0) = 0 f ( 0 ) = 0 , f ( 3 ) = 3 3 − 3 3 = 0 f(\sqrt{3}) = 3\sqrt{3} - 3\sqrt{3} = 0 f ( 3 ) = 3 3 − 3 3 = 0 , f ( − 3 ) = 0 f(-\sqrt{3}) = 0 f ( − 3 ) = 0 . Since f f f takes the same value at three different points, it is not one-to-one on ′ { ′ R ′ } ′ \mathbb{'\{'}R{'\}'} ′ { ′ R ′ } ′ .
For x ≥ 1 x \geq 1 x ≥ 1 : f ′ ( x ) = 3 x 2 − 3 = 3 ( x 2 − 1 ) ≥ 0 f'(x) = 3x^2 - 3 = 3(x^2 - 1) \geq 0 f ′ ( x ) = 3 x 2 − 3 = 3 ( x 2 − 1 ) ≥ 0 (with equality only at x = 1 x = 1 x = 1 ). So f f f is strictly increasing on [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) and hence one-to-one.
f − 1 ( 0 ) f^{-1}(0) f − 1 ( 0 ) : solve x 3 − 3 x = 0 ⟹ x ( x 2 − 3 ) = 0 x^3 - 3x = 0 \implies x(x^2 - 3) = 0 x 3 − 3 x = 0 ⟹ x ( x 2 − 3 ) = 0 . On [ 1 , ∞ ) [1, \infty) [ 1 , ∞ ) : x = 3 x = \sqrt{3} x = 3 . So f − 1 ( 0 ) = 3 f^{-1}(0) = \sqrt{3} f − 1 ( 0 ) = 3 .
DSE Practice 5. Let h ( x ) = f ( x ) + g ( x ) h(x) = f(x) + g(x) h ( x ) = f ( x ) + g ( x ) where f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 and g ( x ) = 1 x − 1 g(x) = \dfrac{1}{x - 1} g ( x ) = x − 1 1 . Find the domain of h h h .
Solution d o m ( f ) = ′ { ′ R ′ } ′ \mathrm{dom}(f) = \mathbb{'\{'}R{'\}'} dom ( f ) = ′ { ′ R ′ } ′ , d o m ( g ) = ′ { ′ R ′ } ′ ∖ { 1 } \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} \setminus \{1\} dom ( g ) = ′ { ′ R ′ } ′ ∖ { 1 } .
d o m ( h ) = d o m ( f ) ∩ d o m ( g ) = ′ { ′ R ′ } ′ ∖ { 1 } \mathrm{dom}(h) = \mathrm{dom}(f) \cap \mathrm{dom}(g) = \mathbb{'\{'}R{'\}'} \setminus \{1\} dom ( h ) = dom ( f ) ∩ dom ( g ) = ′ { ′ R ′ } ′ ∖ { 1 } .
DSE Practice 6. Given f ( x ) = x x + 1 f(x) = \dfrac{x}{x + 1} f ( x ) = x + 1 x for x ≠ − 1 x \neq -1 x = − 1 , find f − 1 f^{-1} f − 1 and solve f ( x ) = f − 1 ( x ) f(x) = f^{-1}(x) f ( x ) = f − 1 ( x ) .
Solution y = x x + 1 ⟹ y ( x + 1 ) = x ⟹ y x + y = x ⟹ x ( 1 − y ) = − y ⟹ x = y y − 1 y = \dfrac{x}{x + 1} \implies y(x + 1) = x \implies yx + y = x \implies x(1 - y) = -y \implies x = \dfrac{y}{y - 1} y = x + 1 x ⟹ y ( x + 1 ) = x ⟹ y x + y = x ⟹ x ( 1 − y ) = − y ⟹ x = y − 1 y .
f − 1 ( x ) = x x − 1 f^{-1}(x) = \dfrac{x}{x - 1} f − 1 ( x ) = x − 1 x .
f ( x ) = f − 1 ( x ) f(x) = f^{-1}(x) f ( x ) = f − 1 ( x ) : x x + 1 = x x − 1 \dfrac{x}{x + 1} = \dfrac{x}{x - 1} x + 1 x = x − 1 x .
If x = 0 x = 0 x = 0 : both sides equal 0 0 0 . So x = 0 x = 0 x = 0 is a solution.
If x ≠ 0 x \neq 0 x = 0 : 1 x + 1 = 1 x − 1 ⟹ x − 1 = x + 1 ⟹ − 1 = 1 \dfrac{1}{x + 1} = \dfrac{1}{x - 1} \implies x - 1 = x + 1 \implies -1 = 1 x + 1 1 = x − 1 1 ⟹ x − 1 = x + 1 ⟹ − 1 = 1 , contradiction.
Solution: x = 0 x = 0 x = 0 .