Can one function feed another?
Practice questions
Questions 1–6 · Section 1 of 2
Practice questions
Jump to a question · 6
Follow the order and the reached range
For f(x)=2x+1 and g(x)=x2−3, both on R, can you find gf(2)? Next let f(x)=x2 on {3,4,5} and g(x)=x+2 on {2,3}. What is the rule of fg? State its domain and range. Finally, state the condition for gf to exist.
CJC · Functions · Composition activities
Identity rules can have different domains
Let f be a one-to-one function defined by f:x↦2x+1, x∈R, x>0. Define (a) the inverse function f−1, (b) the function f−1f, and (c) the function ff−1. Is f−1f=ff−1?
CJC · Functions · Example 10
A self-inverse map and a restricted modulus inverse
A function f is said to be self-inverse if f(x)=f−1(x) for all x in its domain. The functions are defined by f:x↦3−x7−3x, x∈R, x=3, and g:x↦∣(2−x)(1+x)∣, x∈R, x≤−1. (i) Explain why f−1 exists and show that f is self-inverse. Hence, or otherwise, evaluate f2003(5). (ii) Find an expression for g−1(x). (iii) Sketch g and g−1 on the same diagram, illustrating their relationship and labelling axial intercepts, if any. Write down the set of values of x satisfying gg−1(x)=x. (iv) Show that fg−1 exists and find its exact range.
2017/NJC/II/2
CJC · Functions · Example 13
Why one order works and the other does not
Open questionThe functions f and g are defined as
f(x)=1−x2, x∈R, −1≤x≤1,
g(x)=x+2, x∈R, x≥0.
(i) Show that the function gf exists.
(ii) Define the function gf and sketch the graph of gf, stating the range of gf.
(iii) Explain why fg does not exist.
CJC · Functions · Example 9 · 2025
An absolute-value restriction and a composite range
Functions f, g and h are defined by
f:x↦∣x2−6x+5∣ for x∈R, 2≤x≤6,
g:x↦ln(x2) for x∈R, x=0,
h:x↦2−x1 for x∈R, x≤23.
(i) Give a reason why f does not have an inverse.
(ii) State the longest possible interval in the domain of f, to which the restriction of f would have an inverse. Hence, define f−1 in similar form for function f restricted to this interval.
(iii) Show that the composite function gh exists.
(iv) Determine the exact range of function gh.
[2008/ACJC/II/4 (modified)]
CJC · Functions · Discussion 3 · 2025
A rational function that is its own inverse
The function f is defined by f:x↦bx−aax for x∈R, x=ba, where a and b are non-zero constants.
(i) Find f−1(x). Hence or otherwise find f2(x) and state the range of f2.
(ii) The function g is defined by g:x↦x1 for all real non-zero x.
State whether the composite function fg exists, justifying your answer.
(iii) Solve the equation f−1(x)=x.
[2009/II/3]
CJC · Functions · Discussion 4 · 2025