Tests edge cases, boundary conditions, and common misconceptions for functions.
UT-1: Domain of Composite f∘g
Question:
Let f(x)=x−1 and g(x)=x+21.
Find the domain of f∘g.
Solution:
We need the range of g to fall within the domain of f.
dom(g)=x∈R:x=−2.
ran(g)=y∈R:y=0 since g(x)=x+21 can take any non-zero real value.
dom(f)=x∈R:x≥1.
For f∘g to be defined, we need g(x)≥1:
x+21≥1
Case 1:x+2>0 (i.e. x>−2):
1≥x+2⟹x≤−1
Combined with x>−2: −2<x≤−1.
Case 2:x+2<0 (i.e. x<−2):
1≤x+2⟹x≥−1
This contradicts x<−2. No solutions in this case.
Therefore dom(f∘g)=(−2,−1].
UT-2: Inverse is Not Reciprocal
Question:
Let f(x)=x−12x+3, x=1. Which of the following equals f−1(5)?
(A)f(5)1(B)f(5)(C)Neither
Find the correct value.
Solution:
f−1(5) is the value of x such that f(x)=5:
x−12x+3=5
2x+3=5x−5
3x=8
x=38
Check option (A): f(5)1=4131=134=38.
Check option (B): f(5)=413=38.
The answer is (C) Neither. The inverse function evaluated at a point is NOT the reciprocal of the function at that point, nor is it the function itself. f−1(5)=38.
UT-3: Horizontal Shift Direction
Question:
The graph of y=f(x) passes through the point (2,7). Which transformation maps this point to (5,7)?
(A)y=f(x+3)(B)y=f(x−3)
Solution:
For y=f(x−3)The graph shifts right by 3 units. The point (2,7) on y=f(x) moves to (5,7).
For y=f(x+3)The graph shifts left by 3 units. The point (2,7) moves to (−1,7).
The answer is (B).
A common mistake is choosing (A) because ”+3 looks like moving in the positive direction.” In fact, replacing x with x−h shifts the graph right by hWhich is the opposite direction to the sign.
UT-4: Injectivity and Inverse Existence
Question:
Let f(x)=x2−4x+3, x∈R.
(a) Show that f is not injective. (b) Restrict the domain so that f−1 exists and find f−1(x).
Solution:
(a) f(0)=3 and f(4)=3. Since f(0)=f(4) but 0=4, f is not injective.
(b) We need to restrict to a domain where f is strictly monotonic.
f(x)=(x−2)2−1 has vertex at (2,−1)Opening upward.
Restricting to dom(f)=[2,∞) makes f strictly increasing.
For y=(x−2)2−1:
y+1=(x−2)2
x−2=y+1(since x≥2)
x=2+y+1
Therefore f−1(x)=2+x+1 with dom(f−1)=[−1,∞).
UT-5: Range of a Composite with Quadratic Inner Function
Question:
Let f(x)=2x−1 and g(x)=x2+4x+5. Find the range of g∘f.
Solution:
g∘f=g(f(x))=(2x−1)2+4(2x−1)+5.
Expanding:
=4x2−4x+1+8x−4+5=4x2+4x+2
Complete the square:
=4(x2+x)+2=4(x+21)2−1+2=4(x+21)2+1
Since 4(x+21)2≥0 for all x∈R:
ran(g∘f)=[1,∞)
Integration Tests
Tests synthesis of functions with other topics.
IT-1: Functions and Quadratics (with Quadratics)
Question:
Let f(x)=ax2+bx+c where a>0. The function f has a minimum value of −5 at x=3. Given that f(1)=3Find a, bAnd cAnd hence find the range of f−1.
Solution:
Since the minimum is −5 at x=3We can write:
f(x)=a(x−3)2−5
Using f(1)=3:
a(1−3)2−5=3
4a−5=3⟹a=2
So f(x)=2(x−3)2−5=2x2−12x+13.
Therefore a = 2$$b = -12$$c = 13.
Since f has minimum value −5 and opens upward, ran(f)=[−5,∞).
Therefore dom(f−1)=[−5,∞)And so ran(f−1)=[3,∞) (the restricted domain where f is injective, to the right of the vertex).
IT-2: Functions and Logarithms (with Logarithms)
Question:
Let f(x) = \log_2(x + 1)$$x > -1. Find f−1(x) and solve f(x)=f−1(x).
Solution:
y=log2(x+1)⟹2y=x+1⟹x=2y−1.
So f−1(x)=2x−1 with dom(f−1)=R.
Solving f(x)=f−1(x):
log2(x+1)=2x−1
Let y=x+1 (so y>0):
log2y=2y−1−1
By inspection: y=2 gives log22=1 and 21−1=1. Check.
So x+1=2⟹x=1.
Also y=1 gives log21=0 and 20−1=0. Check.
So x+1=1⟹x=0.
The solutions are x=0 and x=1.
IT-3: Functions and Coordinate Geometry (with Coordinate Geometry)
Question:
The function f(x) = \dfrac{k}{x}$$x > 0Represents a rectangular hyperbola. The line y=mx+c is tangent to the curve at the point (2,4). Find k$$mAnd c.
Solution:
Since (2,4) lies on the hyperbola:
4=2k⟹k=8
So f(x)=x8.
Since (2,4) lies on the tangent line:
4 = 2m + c \tag{1}
The tangent has the same gradient as the curve at x=2:
f"(x)=−x28⟹f′(2)=−48=−2
So m=−2.
From equation (1): c=4−2(−2)=8.
Therefore k = 8$$m = -2$$c = 8And the tangent line is y=−2x+8.
Worked Examples
WE-1: Domain and Range of a Rational Function
Question:
Find the domain and range of f(x)=x2+12.
Solution:
Domain: x2+1=0 for all real x (since x2≥0).
dom(f)=R
Range: x2+1≥1 for all xSo 0<x2+12≤2.
Maximum value 2 occurs at x=0. The function approaches 0 as ∣x∣→∞.
ran(f)=(0,2]
WE-2: Composite Function Evaluation
Question:
Let f(x)=2x+1 and g(x)=x2−3. Find:
(a) f∘g(2) (b) g∘f(2) (c) f∘f(x)
Solution:
(a) g(2)=4−3=1. f∘g(2)=f(1)=3.
(b) f(2)=5. g∘f(2)=g(5)=25−3=22.
Note: f∘g(2)=g∘f(2)Confirming that composition is not commutative.
(c) f∘f(x)=f(f(x))=f(2x+1)=2(2x+1)+1=4x+3.
WE-3: Finding the Inverse of a Quadratic
Question:
Let f(x)=2x2+4x−1 for x≥−1. Find f−1(x).
Solution:
y=2x2+4x−1=2(x2+2x)−1=2(x+1)2−2−1=2(x+1)2−3.
For x≥−1: y+3=2(x+1)2≥0.
x+1=2y+3
x=2y+3−1
f−1(x)=2x+3−1
dom(f−1)=ran(f)=[−3,∞).
ran(f−1)=dom(f)=[−1,∞).
WE-4: Graph Transformation
Question:
The graph of y=f(x) passes through (2,5) and has a minimum at (3,1). State the corresponding points on the graph of:
(a) y=f(2x) (b) y=−f(x)+3 (c) y=f(x−1)+2
Solution:
(a) y=f(2x): horizontal compression by factor 21.
(2,5)→(1,5) and (3,1)→(23,1).
(b) y=−f(x)+3: reflection in x-axis, then shift up 3.
(2,5)→(2,−5)→(2,−2) and (3,1)→(3,−1)→(3,2).
(c) y=f(x−1)+2: shift right 1, then up 2.
(2,5)→(3,7) and (3,1)→(4,3).
WE-5: Piecewise Function
Question:
Define f(x)=⎩⎨⎧x22x+17if x<0if 0≤x≤3if x>3.
Find f(-2)$$f(0)$$f(3)And f(5).
Solution:
f(−2)=(−2)2=4.
f(0)=2(0)+1=1.
f(3)=2(3)+1=7.
f(5)=7.
WE-6: Even and Odd Functions
Question:
Determine whether each function is even, odd, or neither:
(a) f(x)=x3−x (b) g(x)=x4+2x2 (c) h(x)=x3+1
Solution:
(a) f(−x)=(−x)3−(−x)=−x3+x=−(x3−x)=−f(x). Odd.
(b) g(−x)=(−x)4+2(−x)2=x4+2x2=g(x). Even.
(c) h(−x)=(−x)3+1=−x3+1=h(x) and h(−x)=−h(x). Neither.
WE-7: Function Composition with Domain Restrictions
Question:
Let f(x)=x and g(x)=x−4. Find f∘g and its domain.
Solution:
f∘g(x)=f(g(x))=f(x−4)=x−4.
Domain of f∘g: we need x−4≥0I.e. x≥4.
dom(f∘g)=[4,∞)
Note: g(x)=x−4 is defined for all x∈RBut the range of g must fall within the domain of f (which is [0,∞)), so g(x)≥0⟹x≥4.
WE-8: Injectivity Test
Question:
Determine whether f(x)=x−12x+3 is injective.
Solution:
Suppose f(a)=f(b):
a−12a+3=b−12b+3
(2a+3)(b−1)=(2b+3)(a−1)
2ab−2a+3b−3=2ab−2b+3a−3
−2a+3b=−2b+3a
5b=5a
a=b
Since f(a)=f(b)⟹a=bThe function is injective.
Common Pitfalls
Confusing f−1 with the reciprocal f1. The notation f−1 denotes the inverse function, NOT the reciprocal. f−1(x) is the value of y such that f(y)=xWhich is completely different from f(x)1.
Incorrect domain of composite functions. The domain of f∘g is NOT dom(g). It is the set of all x in dom(g) such that g(x)∈dom(f). You must check both conditions.
Wrong direction for horizontal shifts.f(x−h) shifts the graph RIGHT by h units, not left. The transformation is counterintuitive: replacing x with x−h moves the graph in the positive x-direction.
Forgetting to restrict the domain when finding the inverse of a non-injective function. If f is not one-to-one on its entire domain, you must restrict the domain before finding the inverse. Always state the restricted domain explicitly.
Assuming f∘g=g∘f. Function composition is generally NOT commutative. Always compute f∘g and g∘f separately unless you have proven they are equal.
DSE Exam-Style Questions
DSE-1
Let f(x) = \dfrac{3x - 1}{x + 2}$$x \neq -2.
(a) Find f−1(x). (3 marks) (b) Find the domain and range of f−1. (2 marks) (c) Solve f(x)=x. (3 marks)
Solution:
(a) y=x+23x−1.
y(x+2)=3x−1⟹yx+2y=3x−1⟹yx−3x=−1−2y.
x(y−3)=−1−2y.
x=y−3−1−2y=3−y2y+1.
f−1(x)=3−x2x+1
(b) dom(f−1)=ran(f). Since f(x)=x+23x−1=3−x+27 and x+27 takes all non-zero real values, ran(f)=R∖{3}.
dom(f−1)={x∈R:x=3}.
ran(f−1)=dom(f)={x∈R:x=−2}.
(c) x+23x−1=x⟹3x−1=x2+2x⟹x2−x+1=0.
Δ=1−4=−3<0. No real solutions.
DSE-2
Let f(x)=x2−6x+5 and g(x)=2x−3.
(a) Express f(x) in the form (x−a)2+b. (2 marks) (b) Find the range of f. (1 mark) (c) Find f∘g(x) and g∘f(x). (4 marks) (d) Solve f∘g(x)=0. (2 marks)
(d) 4x2−24x+32=0⟹x2−6x+8=0⟹(x−2)(x−4)=0⟹x=2 or x=4.
DSE-3
The function f is defined by f(x)=x2−41.
(a) Find the domain of f. (1 mark) (b) Find the range of f. (3 marks) (c) Solve f(x)=51. (2 marks)
Solution:
(a) x2−4=0⟹x=±2.
dom(f)={x∈R:x=−2 and x=2}
(b) Let y=x2−41. Then x2−4=y1So x2=4+y1=y4y+1.
For x2≥0: y4y+1≥0.
Critical values: y=0 (asymptote) and y=−41.
y4y+1≥0⟹y<−41 or y>0.
ran(f)=(−∞,−41)∪(0,∞)
(c) x2−41=51⟹x2−4=5⟹x2=9⟹x=±3.
DSE-4
Let f(x)=2x and g(x)=log2x.
(a) Find f∘g(x) and simplify. (2 marks) (b) Find g∘f(x) and simplify. (2 marks) (c) Explain the relationship between f and g. (1 mark)
Solution:
(a) f∘g(x)=f(log2x)=2log2x=xFor x>0.
(b) g∘f(x)=g(2x)=log2(2x)=xFor all x∈R.
(c) f and g are inverse functions of each other. f∘g=id on (0,∞) and g∘f=id on R.
DSE-5
The graph of y=f(x) is shown. It passes through (-2, 0)$$(0, 4)$$(2, 0)And has a maximum at (0,4).
(a) Sketch the graph of y=f(x+1). (2 marks) (b) Sketch the graph of y=f(−x). (2 marks) (c) The graph of y=f(x) is transformed to the graph of y=−f(x)+2. Describe this transformation in words. (2 marks)
Solution:
(a) y=f(x+1) shifts the graph left by 1 unit. New key points: (-3, 0)$$(-1, 4)$$(1, 0). Maximum at (−1,4).
(b) y=f(−x) reflects the graph in the y-axis. New key points: (2, 0)$$(0, 4)$$(-2, 0). Maximum at (0,4).
(c) y=−f(x)+2: reflect in the x-axis (all y-values change sign), then translate up by 2 units. New maximum at (0,−4+2)=(0,−2). New x-intercepts at (−2,2) and (2,2) (which are not on the x-axis anymore).