Skip to content
  1. Home
  2. IB Question Bank
  3. Math AA
  4. Functions
  5. Functions, domain, range
Topic 2.02 · SL and HL · 11 min read

IB Math AA Functions, domain, range practice questions and question bank

Notes on what Functions, domain, range covers and how it is examined, then 74 IB-style practice questions with hints.

Jump to 20 questions
  • Aligned to the current IB syllabus
  • Marked mark by mark, IB-style
  • Free to start, no card needed
Sample question · from the bank
Paper 1FunctionsMedium
  • (a)

    A function g is defined by g(x)=−x2+4x+1g(x) = -x^2 + 4x + 1, for x≤kx \le k, where k∈Rk \in \mathbb{R}.

    Find the greatest possible value of kk for which gg is a one-to-one function.

    [3 marks]
  • (b)

    For this value of kk, find an expression for g−1(x)g^{-1}(x).

    [3 marks]
  • (c)

    State the domain and range of g−1(x)g^{-1}(x).

    [2 marks]
AI Examiner ready

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).

Practice questions

74 questions · 7 easy · 47 medium · 20 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 1 · no calculator10 marks
(a)

A company is building a pipeline from a refinery at point A to a storage tank at point C. The path from A to a point P is along a straight, flat shoreline. The path from P to C is over hilly terrain.

The refinery at A and a point B on the shoreline are 10 km apart. The storage tank C is 3 km from the shoreline, such that BC is perpendicular to the shoreline AB. The point P lies on the line segment AB.

This is shown in the following diagram.

Diagram showing a horizontal line segment AB of length 10km. Point C is located 3km directly above point B, forming a right angle at B. A point P lies on AB. The pipeline path is from A to P, then from P to C. The angle CPB is labelled as theta.

The cost of laying the pipeline is 200,000perkmalongtheshorelineand200,000 per km along the shoreline and 300,000 per km over the hilly terrain.

The angle CPB is denoted by θ\theta, where 0<θ≤π20 < \theta \leq \frac{\pi}{2}.

It is given that the length of the hilly section is PC=3csc⁡θ\text{PC} = 3 \csc \theta and the length of the shoreline section is AP=10−3cot⁡θ\text{AP} = 10 - 3 \cot \theta.

The total cost, in thousands of dollars, is given by KK.

(a) Show that K=2000−600cot⁡θ+900csc⁡θK = 2000 - 600 \cot \theta + 900 \csc \theta.

[2]
(b)

(b) Find dKdθ\frac{\mathrm{d}K}{\mathrm{d}\theta}.

[3]
(c)

(c) The company chooses the position of P to minimize the total cost. You may assume that K has exactly one minimum value.

Show that the minimum cost of the pipeline is (2000+3005)(2000 + 300\sqrt{5}) thousand dollars.

[5]

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 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 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 · 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 19

EasyPaper 1 · no calculator5 marks
(a)

Consider the function h(x)=−5(x−2)(x−k)h(x) = -5(x - 2)(x - k), where x∈Rx \in \mathbb{R} and kk is a real constant.

The axis of symmetry of the graph of hh has equation x=−1x = -1.

Show that k=−4k = -4.

[2]
(b)

Find the coordinates of the vertex of the graph of hh.

[2]
(c)

Hence, write down the range of hh.

[1]

Question 20

MediumPaper 1 · no calculator12 marks
(a)

A road tunnel is being designed with a semi-circular cross-section. The semi-circle can be modelled by the equation x2+y2=25x^2 + y^2 = 25, for y≥0y \ge 0, where distances are measured in metres. The base of the tunnel lies on the x-axis.

A rectangular opening is to be constructed within this cross-section for large vehicles. The base of the rectangle lies on the x-axis and is centred at the origin. The top two vertices of the rectangle lie on the semi-circular arch. Let (x,y)(x, y) be the coordinates of the vertex in the first quadrant.

Diagram of a semi-circle in the upper half-plane, centered at the origin with radius 5. A rectangle is inscribed with its base on the x-axis and its upper vertices on the semi-circle.

(a) Show that the height of the rectangular opening is given by y=25−x2y = \sqrt{25-x^2}.

[1]
(b)

(b) Find an expression for AA, the area of the rectangular opening, in terms of xx.

[2]
(c)

(c) Show that dAdx=50−4x225−x2\frac{\text{d}A}{\text{d}x} = \frac{50 - 4x^2}{\sqrt{25 - x^2}}.

[4]
(d)

(d) Hence, find the exact width and height of the rectangular opening that will maximize its area.

[5]

1,129 more IB Math AA 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".

Links to other topics and subjects

  • Other contexts: temperature and currency conversions.
  • Links to other subjects: currency conversions and cost functions (economics and business management); projectile motion (physics).
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 74 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.