Skip to content
  1. IB Question Bank
  2. Maths AI
  3. Functions
Topic 2.07 · HL only

Composite & inverse functions: notes and practice questions

Summary
  • A composite function (f∘g)(x)(f \circ g)(x) or f(g(x))f(g(x)) applies one function to the output of another; the function closest to xx is applied first.
  • For (f∘g)(x)(f \circ g)(x) to be valid, the range of g(x)g(x) must be within the domain of f(x)f(x).
  • An inverse function f−1(x)f^{-1}(x) reverses the effect of f(x)f(x) ; f−1(x)≠1f(x)f^{-1}(x) \neq \frac{1}{f(x)}.
  • Only one-to-one functions (pass the horizontal line test) have inverses.
  • The identity property: (f∘f−1)(x)=x(f \circ f^{-1})(x) = x and (f−1∘f)(x)=x(f^{-1} \circ f)(x) = x.
  • The domain of f(x)f(x) is the range of f−1(x)f^{-1}(x), and the range of f(x)f(x) is the domain of f−1(x)f^{-1}(x).
  • The graph of y=f−1(x)y = f^{-1}(x) is a reflection of y=f(x)y = f(x) across the line y=xy = x.
  • To find intersections of f(x)f(x) and f−1(x)f^{-1}(x), solve f(x)=xf(x) = x.
  • To find f−1(x)f^{-1}(x) algebraically:

1. Replace f(x)f(x) with yy.
2. Swap xx and yy.
3. Rearrange to make the new yy the subject.
4. Replace the new yy with f−1(x)f^{-1}(x).
5. For restricted domains, choose the correct root (e.g., positive or negative).

  • GDC can evaluate composites directly (e.g., Y1(Y2(5))Y_1(Y_2(5))) and graph them (e.g., Y3=Y1(Y2(X))Y_3 = Y_1(Y_2(X))).
  • Use GDC to check inverses by plotting f(x)f(x), f−1(x)f^{-1}(x), and y=xy = x to verify reflection.
  • Example: For f(x)=x+4f(x) = \sqrt{x + 4} and g(x)=3+2xg(x) = 3 + 2x, (g∘f)(12)=11(g \circ f)(12) = 11.
  • Example: For f(x)=x+4f(x) = \sqrt{x + 4} and g(x)=3+2xg(x) = 3 + 2x, (f∘g)(x)=2x+7(f \circ g)(x) = \sqrt{2x + 7}.
  • Example: For f(x)=(x−2)2+5f(x) = (x - 2)^2 + 5 with domain x≤2x \le 2, f−1(x)=2−x−5f^{-1}(x) = 2 - \sqrt{x - 5} with domain x≥5x \ge 5.

How it is examined

The phrase "in context" is doing work: an AI composite function question is normally two real processes chained, a conversion followed by a cost, rather than an abstract f∘gf \circ g. Finding an inverse means rearranging, which is one of the few places this course asks for algebra. Domain restriction is the marking point that separates a full answer from a partial one, and students routinely give the inverse without saying which branch they kept.

Key ideas
  • Composite functions in context.
  • The notation (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)).
  • The inverse function f−1f^{-1}, including domain restriction.
  • Finding an inverse function.

Linking questions

  • The guide lists no connections for AHL 2.7.

Practice questions

25 questions · 22 medium · 3 hard
Showing 20 of 20

Question 1

MediumPaper 1 · calculator5 marks
(a)

A new fertilizer is being tested on a specific plant species. The concentration of a key nutrient, C C , in the plant (in mg/L) is modelled by the function C(x)=5−30x−2 C(x) = 5 - \frac{30}{x-2} , where x x is the amount of fertilizer added (in grams). The amount of fertilizer used is restricted to −4≤x≤8 -4 \le x \le 8 , where x≠2 x \neq 2 (due to experimental constraints).

Find the range of the nutrient concentration C(x) C(x) .

[3]
(b)

Determine the amount of fertilizer x x that results in a nutrient concentration of −1 -1 mg/L. Give your answer in the form C−1(−1) C^{-1}(-1) .

[2]

Question 2

HardPaper 2 · calculator11 marks
(a)

In a controlled chemical experiment, the initial temperature, xx (in degrees Celsius), of a reactant mixture is adjusted before a reaction begins. The adjusted temperature, f(x)f(x), is then used to determine the reaction rate, g(f(x))g(f(x) ).

The adjustment function is given by f(x)=x−3f(x) = x - 3, for x∈Rx \in \mathbb{R}.

State the range of f(x)f(x).

[1]
(b)

The overall reaction rate, gf(x)gf(x), as a function of the initial temperature xx, is modelled by gf(x)=4x2−24x+30gf(x) = 4x^2 - 24x + 30, for x∈Rx \in \mathbb{R}.

State the range of gf(x)gf(x).

[1]
(c)

The experiment is designed to achieve a specific 'target state' when the adjusted reaction rate f(gf(x))f(gf(x) ) equals 0. Solve the equation fgf(x)=0fgf(x) = 0.

[3]
(d)

Determine the function g(x)g(x).

[6]

Question 3

MediumPaper 1 · calculator7 marks
(a)

Let the function C(w)C(w) represent the cost in dollars per display stand, where ww is the width of the stand in meters.

C(w)=500w2+1.2C(w) = \frac{500}{w^2} + 1.2 for 5≤w≤155 \le w \le 15.

Find the range of CC.

[3]
(b)(i)

The function C−1C^{-1} is the inverse function of CC.

Find C−1(15)C^{-1}(15).

[2]
(b)(ii)

In the context of the question, interpret your answer to part (b)(i).

[1]
(b)(iii)

Write down the range of C−1C^{-1}.

[1]

Question 4

HardPaper 2 · calculator14 marks
(a)

(a) A manufacturing company uses a specialized machine to produce custom parts. The number of units produced, NN, in one day is modelled by

N=40ln⁡(3t+1)N = 40 \ln(3t+1), for 0≤t≤100 \le t \le 10

where tt is the time the machine operates, in hours, on that day.

Find the time, in hours, it takes for the machine to produce 80 units in one day.

[2]
(b)

(b) The daily profit, PP, in thousands of dollars, from producing NN units is given by

P=150(1−e−0.008N)P = 150(1-e^{-0.008N}), for P∈RP \in \mathbb{R}.

Find the profit, in thousands of dollars, the company earns for producing 80 units.

[1]
(c)

(c) Find an expression for PP as a function of tt, giving your answer in the form

P=150(1−1(3t+1)n)P=150(1-\frac{1}{(3t+1)^n})

where nn is a number to be determined.

[4]
(d)

(d) Hence or otherwise, find the profit, in thousands of dollars, the company earns by operating the machine for 4 hours.

[1]
(e)

(e) Find the greatest profit, in thousands of dollars, the company can earn in one day.

[2]
(f)

(f) The company introduces a weekly bonus profit, BB, in thousands of dollars, for the total units produced in one week, DtotalD_{total}, using

B=100(1−1Dtotal+1)B=100(1-\frac{1}{D_{total}+1})

The company decides to operate the machine for the same length of time, TT hours, each day for 5 days a week.

They want to achieve a total weekly profit of 580 thousand dollars.

Find the value of TT.

[4]

Question 5

MediumPaper 1 · calculator7 marks
(a)

A scientist is modeling the concentration of a certain chemical in a solution over time. The concentration, CC, in mg/L, is given by the function C(t)=4+18t−3C(t) = 4 + \frac{18}{t-3}, where tt is the time in hours. The model is valid for 1≤t≤91 \leq t \leq 9, but the chemical reaction causes a singularity at t=3t=3 hours, so t≠3t \neq 3.

(a) Find the range of CC.

[3]
(b)

(b) Find an expression for the inverse function C−1(t)C^{-1}(t). The domain is not required.

[3]
(c)

(c) Write down the range of C−1(t)C^{-1}(t).

[1]

Question 6

HardPaper 3 · calculator9 marks
(a)(i)

Two geometric transformations, H and K, are defined on points (x,y)(x, y) in a Cartesian plane. The transformations are given by the functions h,k:R2→R2h, k: ℝ^2 → ℝ^2 defined by:

h((x,y))=(x−2y,2x+y)h((x, y)) = (x - 2y, 2x + y)

k((x,y))=(y,−x)k((x, y)) = (y, -x)

(a) (i) Find the composite transformation (h∘k)((x,y))(h ∘ k)((x, y)).

[3]
(a)(ii)

(ii) Find the composite transformation (k∘h)((x,y))(k ∘ h)((x, y)).

[2]
(b)

(b) The order in which transformations are applied can be important. Determine, with a reason, whether the transformations H and K are commutative.

[1]
(c)

(c) Find the inverse transformation h−1h⁻¹.

[3]

Question 7

MediumPaper 1 · calculator7 marks
(a)

A company produces custom-sized square display screens. The production cost, C(s)C(s), in dollars, for a screen with side length ss cm is modelled by the function:

C(s)=1500s+25C(s) = \frac{1500}{s} + 25, for 15≤s≤7515 \le s \le 75.

Find the range of C(s)C(s).

[3]
(b)(i)

The function C−1C^{-1} is the inverse function of CC.

Find C−1(70)C^{-1}(70).

[2]
(b)(ii)

In the context of the question, interpret your answer to part (b)(i).

[1]
(b)(iii)

Write down the range of C−1C^{-1}.

[1]

Question 8

MediumPaper 1 · calculator5 marks
(a)

A new automated packaging machine's efficiency, EE, is modelled by a function of the number of hours, tt, it has been operating since its last maintenance. The efficiency score is given by E(t)=3t+1+2E(t) = \frac{3}{\sqrt{t+1}} + 2, where tt is in hours and t>0t > 0.

(a) Calculate the number of hours, tt, for which the machine's efficiency score is 3.

[2]
(b)

(b) Determine the domain of the inverse function E−1(x)E^{-1}(x).

[3]

Question 9

MediumPaper 1 · calculator5 marks
(a)

A biologist is studying the population growth of a certain species of algae in a pond. The population, PP, in thousands of cells per millilitre, tt days after the start of the study, is modelled by the function P(t)=2et−3P(t) = 2e^t - 3, for t≥0t \ge 0.

Find an expression for the inverse function, P−1(t)P^{-1}(t). You are not required to state a domain.

[3]
(b)

The biologist is interested in the specific time(s) when the numerical value of the population (in thousands of cells per millilitre) is equal to the numerical value of the time (in days).

Solve P(t)=P−1(t)P(t) = P^{-1}(t).

[2]

Question 10

MediumPaper 1 · calculator4 marks
(a)

A chemical reaction's rate, RR, in mol/L per minute, depends on the time, tt, in minutes since the reaction started. The relationship is modelled by the function:

R(t)=6t+3−1, for t≥0R(t) = \frac{6}{\sqrt{t+3}} - 1, \text{ for } t \ge 0

Calculate the time (in minutes) when the reaction rate is 2 mol/L per minute2 \text{ mol/L per minute}.

[2]
(b)

Determine the range of possible reaction rates for this model, and hence state the domain of R−1(x)R^{-1}(x).

[2]

Question 11

MediumPaper 1 · calculator6 marks
(a)(i)

(a) The formula for converting daily steps, SS, to a fitness score, FF, is given by F=0.05S+10F = 0.05S + 10.

(i) Find a formula for converting a fitness score, FF, back to daily steps, SS.

[2]
(a)(ii)

(ii) A user achieved a fitness score of 75. Calculate the number of daily steps they took.

[1]
(b)(i)

(b) Over a month, the mean daily steps recorded by a group of users was 8500 steps with a standard deviation of 1200 steps.

For the same group, find

(i) the mean daily fitness score.

[1]
(b)(ii)

(ii) the standard deviation of the daily fitness scores.

[2]

Question 12

MediumPaper 1 · calculator5 marks
(a)

A patient is administered a dose of a certain medication. The concentration of the drug in their bloodstream, CC, measured in mg/L, tt hours after administration, can be modelled by the function:

C(t)=120e−0.15t+5C(t) = 120 e^{-0.15t} + 5, t≥0t \ge 0

Find the concentration of the drug in the bloodstream 8 hours after administration.

[2]
(b)

State the long-term concentration of the drug in the bloodstream.

[1]
(c)

The drug is considered effective as long as its concentration is at least 30 mg/L. Determine the time, in hours, when the drug concentration first drops to 30 mg/L.

[2]

Question 13

MediumPaper 1 · calculator7 marks
(a)

The total cost, C(m)C(m), in US dollars (USD), to subscribe to 'StreamVerse Premium' for mm months is given by the function C(m)=18m+25C(m) = 18m + 25, where m≥2m \ge 2 and m∈Zm \in \mathbb{Z}.

The total cost includes a one-time activation fee.

State, in context, what the values 18 and 25 represent.

[2]
(b)

Calculate the cost of subscribing to StreamVerse Premium for 7 months.

[2]
(c)

A user wants to subscribe to StreamVerse Premium.

Write down the minimum number of months they can subscribe for.

[1]
(d)

Given that C−1(385)=kC^{-1}(385) = k, find the value of kk.

[2]

Question 14

MediumPaper 1 · calculator8 marks
(a)

The graph of the function ff is shown in the following diagram, representing the concentration of a certain chemical in a solution over time xx (in minutes).

Graph of chemical concentration over time. The x-axis is labelled 'Time (minutes)' from 0 to 4. The y-axis is labelled 'Concentration' from 0 to 4. The graph starts at (0,0), goes linearly up to (2,4), and then linearly down to (4,2). The grid lines are at integer values.

(a) Write down the concentration of the chemical at time x=1x=1 minute.

[1]
(b)

(b) On the same axes, sketch the graph of y=f−1(x)y = f^{-1}(x), representing the time required to reach a certain concentration.

[2]
(c)

A different chemical's concentration, h(x)h(x), is modeled by the function h(x)=2x−3h(x) = 2x - 3, where xx is time in minutes.

(c) Find an expression for h−1(x)h^{-1}(x).

[2]
(d)

(d) Find a value of xx where f−1(x)=h−1(x)f^{-1}(x) = h^{-1}(x).

[3]

Question 15

MediumPaper 1 · calculator11 marks
(a)

A company's monthly revenue, RR (in thousands of dollars), is modelled by a linear function of the number of units, xx (in hundreds), sold. The function is given by R(x)=ax+bR(x) = ax + b.

When 200 units are sold, the revenue is 1000.When500unitsaresold,therevenueis1000. When 500 units are sold, the revenue is 7000.

(a) Determine the value of aa and the value of bb.

[2]
(b)

(b) Find an expression for R−1(x)R^{-1}(x).

[4]
(c)

(c) Solve the equation R(x)=R−1(x)R(x) = R^{-1}(x), giving your answer in an exact form.

[3]
(d)

(d) Explain why, for any function h(x)h(x), the equation h(x)=h−1(x)h(x) = h^{-1}(x) will have the same solution(s) as the equation h(x)=xh(x) = x.

[2]

Question 16

MediumPaper 2 · calculator12 marks
(a)

The two graphs illustrate relationships within a specialized coffee roasting company.

Graph 1: Coffee beans used (kg) vs. Batch size (number of bags) with points (0, 0) and (50, 20)
Graph 2: Roasting time (minutes) vs. Coffee beans used (kg) with points (0, 10) and (100, 160)

Write down which graph represents direct variation, with a reason.

[2]
(b)

(b) Find and interpret the gradient of each graph in context.

[6]
(c)

(c) Find an equation for the roasting time TT (in minutes) as a function of the batch size, SS (in number of bags), and use it to predict how long the roasting process will be for a batch of 15001500 bags.

[4]

Question 17

MediumPaper 1 · calculator10 marks
(a)

A local delivery service charges for deliveries based on the distance, xx km, from the origin. The cost, C(x)C(x) in dollars, is modelled by the piecewise function:

C(x)={1.5x+50≤x≤102xx>10C(x) = \begin{cases} 1.5x + 5 & 0 \le x \le 10 \\ 2x & x > 10 \end{cases}

(a) Find the inverse function, C−1(x)C^{-1}(x), and state its domain and range.

[7]
(b)

A different data plan charges users based on the amount of data, xx GB, consumed. The cost, P(x)P(x) in dollars, is given by:

P(x)={5x+100≤x≤5−2x+45x>5P(x) = \begin{cases} 5x + 10 & 0 \le x \le 5 \\ -2x + 45 & x > 5 \end{cases}

(b) Show that the function P(x)P(x) is not invertible.

[3]

Question 18

MediumPaper 1 · calculator8 marks
(a)

A company's daily profit, P(n)P(n) (in thousands of dollars), depends on the number of units, nn (in hundreds), it sells. The profit function is given by P(n)=4n−5P(n) = 4n - 5.

On a particular day, the company's profit was between 2323 thousand dollars and 7575 thousand dollars (exclusive). Find the possible range for the number of units sold, nn.

[4]
(b)

Determine the inverse function, P−1(n)P^{-1}(n).

[2]
(c)

State the range of the inverse function P−1(n)P^{-1}(n).

[2]

Question 19

MediumPaper 2 · calculator12 marks
(a)(i)

A function ff is defined by f(x)=ex+1f(x) = e^x + 1. Let gg be the inverse function of ff.

(a) (i) State the yy-intercept of the graph of y=f(x)y = f(x).

[1]
(a)(ii)

(ii) State the coordinates of the point where the graph of y=g(x)y = g(x) cuts the xx-axis.

[1]
(b)

(b) Determine an equation for g(x)g(x) in the form y=g(x)y = g(x).

[4]
(c)(i)

(c) (i) Write down the equation of the horizontal asymptote to the graph of y=f(x)y = f(x).

[1]
(c)(ii)

(ii) Write down the equation of the vertical asymptote to the graph of y=g(x)y = g(x).

[1]
(d)

(d) Hence state the domain of gg.

[1]
(e)

(e) Solve the equation f(x)+g(x)=0f(x) + g(x) = 0.

[3]

Question 20

MediumPaper 1 · calculator10 marks
(a)(i)

(a) A travel agency, GlobalVoyages, offers various package deals. For flight packages priced over $1000, they apply a 15% discount.

Another travel agency, WorldExplorer, offers a fixed reduction of 200onallhotelpackagespricedover200 on all hotel packages priced over 1000.

Given that xx is the original price of a travel package and x>1000x > 1000,

(i) write down a function f(x)f(x) that models the final price of a flight package at GlobalVoyages, after the discount is applied.

[2]
(a)(ii)

(ii) write down a function g(x)g(x) that models the final price of a hotel package at WorldExplorer, after the reduction is applied.

[2]
(b)

(b) A third agency, GrandTour, decides to offer both a 15% discount and a 200reductiononalltheirtravelpackagespricedover200 reduction on all their travel packages priced over 1000.

Describe the meaning of (f∘g)(x)(f \circ g)(x), in context.

[2]
(c)

(c) State, with justification, whether (f∘g)(x)(f \circ g)(x) or (g∘f)(x)(g \circ f)(x) is better for the customer when they buy a travel package with an original price of $1800.

[4]

5 more Composite & inverse functions questions in the app

Every answer is marked mark by mark, IB-style, and the AI tutor helps when you are stuck.

Where marks are lost

  • Using your own wrong value after failing a "show that." All follow through is withdrawn for the rest of that question.
Free. Every IB subject.
No card, no trial that runs out. Just a free account.
  • 50 marked answers a month
    Marked mark by mark, IB-style
  • Hints and mark schemes
    On every part of every question
  • 3,000+ questions
    All 6 subjects, SL and HL, mapped to the syllabus
  • Progress that adapts
    Your Study Profile picks what to practise next

Practise this topic as a session

Pick a difficulty and paper, and FourtyFive tracks your progress on this topic as you go.

or with email
FAQ

Questions,
answered.

Can't find what you're looking for? Email our student team.

What does Composite & inverse functions cover in IB Maths AI?

A composite function (f ° g)(x) or f(g(x)) applies one function to the output of another; the function closest to x is applied first. For (f ° g)(x) to be valid, the range of g(x) must be within the domain of f(x). An inverse function f^-1(x) reverses the effect of f(x) ; f^-1(x) ≠ (1)/(f(x)).

Is Composite & inverse functions SL or HL?

Composite & inverse functions is HL only. SL students are not examined on it.

How do I revise Composite & inverse functions for IB Maths AI?

Start from the core idea: a composite function (f ° g)(x) or f(g(x)) applies one function to the output of another; the function closest to x is applied first. In the exam: the phrase "in context" is doing work: an AI composite function question is normally two real processes chained, a conversion followed by a cost, rather than an abstract f ° g. Finding an inverse means rearranging, which is one of the few places this course asks for algebra. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Composite & inverse functions?

FourtyFive has 25 Composite & inverse functions questions. Every answer you write is marked mark by mark, IB-style, and you see where each mark was won or lost. Every part has a hint, the AI tutor helps you through the step you are stuck on, and your Study Profile picks what to practise next.

Is FourtyFive free for Composite & inverse functions practice?

Yes. A free account gives you 50 marked answers a month, and you do not need a card to sign up.

Can I handwrite Composite & inverse functions answers on an iPad?

Yes. In the FourtyFive iPad app you write your working by hand with Apple Pencil, the way you would on paper, and it is marked the same way.

Start with the IB question
bank built for you.

Free to start, no card needed. Thousands of syllabus-mapped questions, AI Examiner marking, your weakest topics first.