Skip to content
  1. IB Question Bank
  2. Maths AA
  3. Functions
Topic 2.02 · SL and HL

Functions, domain, range: notes and practice questions

Summary
  • A function maps each input to exactly one output.
  • Domain: The set of all possible input values (xx) for which the function is defined.
  • Range: The set of all possible output values (f(x)f(x)) the function can produce.
  • Important types: linear, quadratic, exponential, logarithmic, etc.
  • Use set notation (e.g., {x∈R:x>0}\{x \in \mathbb{R} : x > 0\}) or interval notation (e.g., (0,∞)(0, \infty)) to define domain and range. Key concepts:
  • Vertical line test to determine if a graph represents a function.
  • Restrictions on the domain, e.g., division by zero (f(x)=1xf(x) = \frac{1}{x}) or square roots (f(x)=xf(x) = \sqrt{x}).

How it is examined

Range is the harder half and it is where marks are lost. Set and interval notation is assessable: {x∣x≤2}\{x \mid x \le 2\}, ]a,b[]a, b[ for the open interval (the IB uses reversed brackets, not parentheses). `State`, `Write down`, `Find`. 1 to 4 marks.

Key ideas
  • Concept of a function, domain, range and graph.
  • Function notation, for example f(x)f(x), v(t)v(t), C(n)C(n).
  • The concept of a function as a mathematical model.
  • Informal concept that an inverse function reverses or undoes the effect of a function.
At HL

Extended at AHL 2.14 (domain restriction, self-inverse functions).

Linking questions

  • Other contexts: temperature and currency conversions.
  • Links to other subjects: currency conversions and cost functions (economics and business management); projectile motion (physics).

Practice questions

62 questions · 6 easy · 38 medium · 18 hard
Showing 20 of 20

Question 1

EasyPaper 2 · calculator4 marks
(a)

A tech startup's daily operational costs are modeled by two functions based on the number of new user sign-ups, xx. Let C1(x)C_1(x) be the cost for server maintenance and C2(x)C_2(x) be the cost for customer support. xx represents the deviation from the average number of sign-ups, where positive xx means more than average and negative xx means fewer than average.

(a) The server maintenance cost function is given by C1(x)=3x+5C_1(x) = 3x + 5, where x∈Zx \in \mathbb{Z}. Find C1(−3)C_1(-3).

[2]
(b)

(b) The customer support cost function is given by C2(x)=2x2−5x+7C_2(x) = 2x^2 - 5x + 7, where x∈Zx \in \mathbb{Z}. Find C2(−3)C_2(-3).

[2]

Question 2

MediumPaper 1 · no calculator8 marks
(a)

Consider the function g(x)=ax2+x+kx−4g(x) = \frac{ax^2+x+k}{x-4}.

The graph of y=g(x) y=g(x) passes through the point (1,−2) (1, -2) and has an oblique asymptote with equation y=−3x−11 y = -3x-11 .

(a) Write down the equation of the vertical asymptote.

[1]
(b)(i)

(b) Find the value of:

(i) aa

[2]
(b)(ii)

(ii) kk

[2]
(c)

(c) Hence, find the exact coordinates of any points where the graph of y=g(x)y=g(x) intersects the x-axis.

[3]

Question 3

HardPaper 1 · no calculator14 marks
(a)

A rectangle is inscribed in an ellipse with equation x225+y29=1\frac{x^2}{25} + \frac{y^2}{9} = 1. The sides of the rectangle are parallel to the coordinate axes. The vertices of the rectangle are located at (±x,±y)(\pm x, \pm y), where x>0x > 0 and y>0y > 0.

Diagram of an ellipse with an inscribed rectangle

(a) Show that the area of the rectangle, AA, can be expressed as A=12x525−x2A = \frac{12x}{5}\sqrt{25-x^2}.

[4]
(b)

(b) Show that dAdx=12(25−2x2)525−x2\frac{dA}{dx} = \frac{12(25-2x^2)}{5\sqrt{25-x^2}}.

[4]
(c)

(c) Hence, find the exact dimensions of the rectangle with the maximum possible area.

[6]

Question 4

EasyPaper 1 · no calculator2 marks

Consider the function g(x)=5−3xx−2g(x) = \frac{5-3x}{x-2}, x≠2x \ne 2.

State the range of gg.

Question 5

MediumPaper 1 · no calculator7 marks
(a)

The function ff is defined for all x∈Rx \in \mathbb{R}. The line with equation y=−2x+9y = -2x + 9 is the tangent to the graph of ff at x=3x = 3.

(a) Write down the value of f′(3)f'(3).

[1]
(b)

(b) Find f(3)f(3).

[1]
(c)

The function gg is defined for all x∈Rx \in \mathbb{R} where g(x)=x2−1g(x) = x^2 - 1 and h(x)=f(g(x))h(x) = f(g(x) ).

(c) Find h(2)h(2).

[2]
(d)

(d) Hence, find the equation of the tangent to the graph of hh at x=2x = 2.

[3]

Question 6

HardPaper 1 · no calculator15 marks
(a)

A drone takes off from a platform. Its height, hh metres, above the platform after tt seconds is given by h(t)=6t−t2h(t) = 6t - t^2, for 0≤t≤80 \le t \le 8. This is shown in the following diagram.

Graph of height h versus time t for the drone, showing a parabola opening downwards with vertex in the first quadrant and passing through the origin

The drone lands back on the platform when t=pt=p.

Find the value of pp.

[2]
(b)(i)

The drone reaches its maximum height when t=qt=q.

Find the value of qq.

[3]
(b)(ii)

Find the drone's maximum height above the platform.

[2]
(c)

Find the drone's vertical distance from the platform when t=8t=8.

[2]
(d)

The total vertical distance travelled by the drone in the first 8 seconds is given by dd.

Find the value of dd.

[2]
(e)

A second drone, Drone B, takes off from the same platform. Its velocity is given by vB(t)=8−2tv_B(t) = 8 - 2t, for t≥0t \ge 0.

When t=kt = k, the total vertical distance travelled by Drone B is equal to dd.

Find the value of kk.

[4]

Question 7

EasyPaper 1 · no calculator4 marks
(a)

Consider the function h(x)=8−2xx+1h(x) = \frac{8-2x}{x+1}.

(a) State the largest possible domain for the function hh.

[1]
(b)

(b) State the largest possible range for the function hh.

[1]
(c)

(c) Find the coordinates of any points where the curve y=h(x)y = h(x) intersects the xx and yy-axes.

[2]

Question 8

MediumPaper 1 · no calculator13 marks
(a)

A function, gg, has its derivative given by g′(x)=−2x2+8x+kg'(x) = -2x^2 + 8x + k, where k∈Rk \in \mathbb{R}. The following diagram shows part of the graph of g′g'.

Graph of g' showing a parabola opening downwards, with vertex in the first quadrant.

The graph of g′g' has an axis of symmetry x=qx = q.

(a) Find the value of qq.

[2]
(b)

(b) The vertex of the graph of g′g' has a y-coordinate of 10. Find the value of kk.

[3]
(c)

(c) Find the equation of the tangent to the graph of g′g' at x=0x = 0.

[4]
(d)(i)

The graph of gg has a point of inflexion at x=cx = c.

(d) (i) Find the value of cc.

[2]
(d)(ii)

(ii) Find the values of xx for which the graph of gg is concave-up. Justify your answer.

[2]

Question 9

HardPaper 1 · no calculator14 marks
(a)

Consider the function f(x)=axf(x) = a^x where x,a∈Rx, a \in \mathbb{R} and a>1a > 1. The graph of ff contains the point (32,27)(\frac{3}{2}, 27).

(a) Show that a=9a = 9.

[2]
(b)

(b) Write down an expression for f−1(x)f^{-1}(x).

[1]
(c)

(c) Find the value of f−1(181)f^{-1}(\frac{1}{81}).

[3]
(d)(i)

Consider the arithmetic sequence log⁡98,log⁡9p,log⁡9q,log⁡927\log_9 8, \log_9 p, \log_9 q, \log_9 27, where p>1p > 1 and q>1q > 1.

(i) Show that 8,p,q8, p, q and 2727 are four consecutive terms in a geometric sequence.

[4]
(d)(ii)

Consider the arithmetic sequence log⁡98,log⁡9p,log⁡9q,log⁡927\log_9 8, \log_9 p, \log_9 q, \log_9 27, where p>1p > 1 and q>1q > 1.

(ii) Find the value of pp and the value of qq.

[4]

Question 10

EasyPaper 1 · no calculator8 marks
(a)

For each of the following functions, write down its greatest possible domain and range.

(a) f(x)=52x−8f(x) = \frac{5}{2x-8}

[2]
(b)

(b) g(x)=10x−12x−8g(x) = \frac{10x-1}{2x-8}

[2]
(c)

(c) h(x)=10x−12xh(x) = \frac{10x-1}{2x}

[2]
(d)

(d) p(x)=52xp(x) = \frac{5}{2x}

[2]

Question 11

MediumPaper 1 · no calculator5 marks
(a)

Solve the inequality 3x2+5x−2>03x^2 + 5x - 2 > 0.

[3]
(b)

The function gg is defined by g(x)=3x2+5x−2g(x) = \sqrt{3x^2 + 5x - 2}, where x∈R,x≥kx \in \mathbb{R}, x \ge k.

Find the least value of kk for which g−1g^{-1} exists, justifying your answer.

[2]

Question 12

HardPaper 2 · calculator15 marks
(a)(i)

A landscape architect is designing a section of a garden path. The shape of one edge of the path can be modelled by the function h(x)=14x2+12h(x) = \frac{1}{4}x^2 + \frac{1}{2} for x≥0x \ge 0, where xx and h(x)h(x) are measured in metres.

(a) (i) Find h−1(x)h^{-1}(x), the inverse of h(x)h(x), and state its domain.

[4]
(a)(ii)

(ii) Write down the range of h−1(x)h^{-1}(x).

[1]
(b)

(b) The graph of hh intersects the graph of h−1h^{-1} at two points. Find the xx -coordinates of these two points.

[3]
(c)

(c) Find the area enclosed by the graph of hh and the graph of h−1h^{-1}.

[2]
(d)

(d) Find h′(x)h'(x).

[2]
(e)

(e) Find the value of xx for which the graph of hh and the graph of h−1h^{-1} have the same gradient.

[3]

Question 13

EasyPaper 1 · no calculator5 marks
(a)

A function is defined by f(x)=ax+bx+df(x) = \frac{ax+b}{x+d}.

(a) The asymptotes of the graph of y=f(x)y=f(x) are a vertical line and a horizontal line which intersect at the point (−2,4)(-2, 4). Find the value of aa and the value of dd.

[3]
(b)

(b) The graph of y=f(x)y=f(x) passes through the point (0,−3)(0, -3). Find the value of bb.

[2]

Question 14

MediumPaper 1 · no calculator7 marks
(a)

Consider the function g(x)=csc⁡(x+π3)g(x) = \csc\left(x+\frac{\pi}{3}\right), for 0≤x≤π30\le x\le \frac{\pi}{3}.

Determine the range of gg.

[3]
(b)

The region bounded by the graph of y=g(x)y = g(x), the xx-axis and the lines x=0x = 0 and x=π3x = \frac{\pi}{3} is rotated 2π2\pi radians about the xx-axis.

Find the volume of the solid generated.

[4]

Question 15

HardPaper 2 · calculator15 marks
(a)(i)

A team of engineers is testing two autonomous robots, Alpha and Beta, on a straight track. Their positions are measured as the distance from a fixed starting point. The experiment runs for 10 minutes.

The position of Robot Alpha, PAP_A metres, at time tt minutes can be modelled by the function PA(t)=3sin⁡(2t+5)+14t+20P_A(t) = 3\sin(2t + 5) + 14t + 20, where 0≤t≤100 \le t \le 10.

The position of Robot Beta, PBP_B metres, at time tt minutes can be modelled by the function PB(t)=12t+25P_B(t) = 12t + 25, where 0≤t≤100 \le t \le 10.

Use the engineers' models to find the initial position of

(i) Robot Beta;

[1]
(a)(ii)

(ii) Robot Alpha correct to three significant figures.

[2]
(b)

Find the values of tt when Robot Alpha and Robot Beta are at the same position. Give your answers correct to three significant figures.

[3]
(c)

For t>5t > 5, prove that Robot Alpha was always ahead of Robot Beta.

[3]
(d)

For 0≤t≤100 \le t \le 10, find the total amount of time when the speed of Robot Beta was greater than the speed of Robot Alpha. Give your answer correct to three significant figures.

[6]

Question 16

EasyPaper 1 · no calculator5 marks
(a)

Consider the function g(x)=−2(x+1)(x−p)g(x) = -2(x + 1)(x - p), where x∈Rx \in \mathbb{R} and pp is a real constant.

The axis of symmetry of the graph of gg has equation x=3x = 3.

Show that p=7p = 7.

[2]
(b)

Find the coordinates of the vertex of the graph of gg.

[2]
(c)

Hence, write down the range of gg.

[1]

Question 17

MediumPaper 2 · calculator6 marks
(a)

A tech company's daily profit, PP, in thousands of dollars, from producing xx units of a new gadget is modelled by the function f(x)=−2x2+16x+468f(x) = -2x^2 + 16x + 468, for x∈Rx \in \mathbb{R}.

(a) Find the range of the company's daily profit.

[2]
(b)

Due to new environmental regulations, the company faces a levy that adjusts its profit. The adjusted profit, AA, is given by the function g(P)=P+kg(P) = P + k, where k∈Rk \in \mathbb{R} is a constant representing the levy's impact.

Given that the adjusted profit (g∘f)(x)(g \circ f)(x) must be non-positive for all x∈Rx \in \mathbb{R}, determine the set of possible values for kk.

[4]

Question 18

HardPaper 2 · calculator20 marks
(a)

A designer is creating a decorative glass container shaped like a dome. The outer profile of the container can be modelled by the function f(x)=9−x2f(x) = \sqrt{9-x^2}, where 0≤x≤30 \le x \le 3 and xx and yy are measured in metres.

Sketch the curve y=f(x)y = f(x), clearly indicating the coordinates of the endpoints.

[2]
(b)(i)

Show that the inverse function of ff is given by f−1(x)=9−x2f^{-1}(x) = \sqrt{9-x^2}.

[3]
(b)(ii)

State the domain and range of f−1f^{-1}.

[2]
(c)(i)

The container is formed by rotating the curve y=f(x)y = f(x) by 2π2\pi about the y-axis. Show that the volume, V m3V \text{ m}^3, of liquid in the container when it is filled to a height of hh metres is given by V=π(9h−13h3)V = \pi \left( 9h - \frac{1}{3}h^3 \right).

[3]
(c)(ii)

Hence, determine the maximum volume of the container.

[2]
(d)

At t=0t = 0, the container is empty. Liquid is then added to the container at a constant rate of 0.5 m3s−10.5 \text{ m}^3\text{s}^{-1}.

Find the time it takes to fill the container to its maximum volume.

[2]
(e)

Find the rate of change of the height of the liquid when the container is filled to half its maximum volume.

[6]

Question 19

MediumPaper 2 · calculator6 marks
(a)

The population, PP, in hundreds of plants, xx years after the study began, is modeled by the function f(x)=−2x2+8x+5f(x) = -2x^2 + 8x + 5, for x∈Rx \in \mathbb{R}.

(a) Find the range of ff.

[2]
(b)

Due to environmental changes, a new invasive plant species is introduced. The impact of this invasive species on the orchid's population is modeled by a function g(P)=−P+kg(P) = -P + k, where PP is the current orchid population (in hundreds of plants) and kk is a constant representing the environmental resilience. For the orchid species to survive and thrive, the combined effect (g∘f)(x)(g \circ f)(x) must always be non-negative (i.e., (g∘f)(x)≥0(g \circ f)(x) \ge 0) for all x∈Rx \in \mathbb{R}. Determine the set of possible values for kk.

[4]

Question 20

HardPaper 1 · no calculator12 marks
(a)

Consider the functions f(x)=5−x2f(x) = 5 - x^2, g(x)=3x−2g(x) = \frac{3}{x-2}, and h(x)=ex+1h(x) = e^x + 1.

(a) Find the range of f(x)f(x).

[1]
(b)

(b) Find the range of g(x)g(x).

[1]
(c)

(c) Find the range of h(x)h(x).

[1]
(d)

(d) Find an expression for (g∘f)(x)(g \circ f)(x).

[2]
(e)

(e) Solve the equation (g∘f)(x)=−1(g \circ f)(x) = -1.

[2]
(f)

(f) Solve the inequality (h∘f)(x)<e+1(h \circ f)(x) < e+1.

[5]

42 more Functions, domain, range 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".
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 Functions, domain, range cover in IB Maths AA?

A function maps each input to exactly one output. Domain: The set of all possible input values (x) for which the function is defined. Range: The set of all possible output values (f(x)) the function can produce.

Is Functions, domain, range SL or HL?

Both. SL and HL students study Functions, domain, range, and HL goes further: Extended at AHL 2.14 (domain restriction, self-inverse functions).

How do I revise Functions, domain, range for IB Maths AA?

Start from the core idea: a function maps each input to exactly one output. In the exam: range is the harder half and it is where marks are lost. Set and interval notation is assessable: \x mid x ≤ 2\, ]a, b[ for the open interval (the IB uses reversed brackets, not parentheses). Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Functions, domain, range?

FourtyFive has 62 Functions, domain, range 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 Functions, domain, range 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 Functions, domain, range 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.