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

Transformations of graphs (translation, reflections, stretches): notes and practice questions

Summary
  • Translation: Shifts the graph vertically (f(x)+kf(x) + k) or horizontally (f(x−h)f(x - h)).
  • Reflections: Across the x-axis (−f(x)-f(x)) or y-axis (f(−x)f(-x)).
  • Stretches:
  • Vertical stretch/compression: af(x)af(x).
  • Horizontal stretch/compression: f(kx)f(kx) (compression if k>1k > 1, stretch if 0<k<10 < k < 1).

How it is examined

Describing a transformation in words is marked strictly: "a translation by the vector (20)\binom{2}{0}" or "a translation of 2 units in the positive xx-direction", not "moved right". Order matters when a stretch and a translation are combined, and that is the standard trap. `Describe`, `State`, `Sketch`. 3 to 6 marks.

Key ideas
  • Transformations of graphs.
  • Translations: y=f(x)+by = f(x) + b; y=f(x−a)y = f(x-a).
  • Reflections (in both axes): y=−f(x)y = -f(x); y=f(−x)y = f(-x).
  • Vertical stretch with scale factor pp: y=p f(x)y = p\,f(x).
Not assessed

Not required at SL: transformations of the form f(ax+b)f(ax+b).

At HL

y=f(ax+b)y = f(ax+b) arrives at AHL 2.16.

Linking questions

  • Links to other subjects: shift in supply and demand curves (economics); induced emf and simple harmonic motion (physics).

Practice questions

26 questions · 2 easy · 20 medium · 4 hard
Showing 20 of 20

Question 1

EasyPaper 1 · no calculator3 marks

The function f(x)=sin⁡xf(x) = \sin x is transformed to the function g(x)g(x) by a horizontal stretch with a scale factor of 2, followed by a translation by the vector (0−4)\begin{pmatrix} 0 \\ -4 \end{pmatrix}. Find the equation of the function g(x)g(x).

Question 2

MediumPaper 1 · no calculator7 marks
(a)

Consider the functions f(x)=−3cos⁡x+5f(x) = -3\cos x + 5 and g(x)=−3cos⁡(x+π2)+5−kg(x) = -3\cos\left(x+\frac{\pi}{2}\right) + 5 - k, where x∈Rx \in \mathbb{R} and k>0k > 0.

The graph of gg is obtained by two transformations of the graph of ff.

Describe these two transformations.

[2]
(b)

The yy-intercept of the graph of gg is at (0,p)(0, p).

Given that the maximum value of g(x)g(x) is less than or equal to 1, find the largest possible value of pp.

[5]

Question 3

HardPaper 1 · no calculator16 marks
(a)

The following diagram shows the graph of y=arctan⁡(x−32)−π4y = \arctan\left(\frac{x-3}{2}\right) -\frac{\pi}{4} for x∈Rx \in \mathbb{R}, with asymptotes at y=−3π4y = -\frac{3\pi}{4} and y=π4y = \frac{\pi}{4}.

Graph of y = arctan((x-3)/2) - pi/4 with asymptotes

Describe a sequence of transformations that transforms the graph of y=arctan⁡xy = \arctan x to the graph of y=arctan⁡(x−32)−π4y = \arctan\left(\frac{x-3}{2}\right) -\frac{\pi}{4} for x∈Rx \in \mathbb{R}.

[3]
(b)

Show that arctan⁡p+arctan⁡q=arctan⁡(p+q1−pq)\arctan p + \arctan q = \arctan\left(\frac{p+q}{1-pq}\right) where p,q>0p, q > 0 and pq<1pq < 1.

[4]
(c)

Using mathematical induction and the result from part (b), prove that

∑r=1narctan⁡(1r2+r+1)=arctan⁡(nn+2)\sum_{r=1}^{n} \arctan\left(\frac{1}{r^2+r+1}\right) = \arctan\left(\frac{n}{n+2}\right) for n∈Z+n \in \mathbb{Z}^+.

[9]

Question 4

EasyPaper 1 · no calculator5 marks
(a)

Consider the function f(x)=e2x−ln⁡(x)f(x) = e^{2x} - \ln(x) and the function g(x)g(x) which is obtained through horizontally translating f(x)f(x) 1 unit to the right also vertically translating it by 2 units downwards.

aa Find g(x)g(x).

[3]
(b)

bb The function g(x)g(x) has a minimum at x=ax = a. Find aa.

[2]

Question 5

MediumPaper 1 · no calculator8 marks
(a)

The following diagram shows the graph of y=f(x)y = f(x), where f(x)=Cx+Dx+2f(x) = \frac{Cx + D}{x+2}, for x∈Rx \in \mathbb{R}, x≠−2x \neq -2 and C,D∈ZC, D \in \mathbb{Z}.

The graph has a y-intercept at (0,−3)(0, -3) and an x-intercept at (3,0)(3, 0).

Graph of a rational function with a vertical asymptote at x=-2 and a horizontal asymptote at y=2. The graph passes through the y-axis at (0,-3) and the x-axis at (3,0).

(a) Find the value of CC and the value of DD.

[3]
(b)

(b) Describe a sequence of transformations that maps the graph of g(x)=1xg(x) = \frac{1}{x} onto the graph of y=f(x)y = f(x).

[5]

Question 6

HardPaper 1 · no calculator7 marks
(a)

Consider the functions f(x)=−2cos⁡(x)+5f(x) = -2\cos(x) + 5 and g(x)=−2cos⁡(x−π4)+5−kg(x) = -2\cos(x - \frac{\pi}{4}) + 5 - k, where x∈Rx \in \mathbb{R} and k>0k > 0.

The graph of gg is obtained by two transformations of the graph of ff.

(a) Describe these two transformations.

[2]
(b)

The yy-intercept of the graph of gg is at (0,s)(0, s).

(b) Given that the maximum value of g(x)g(x) is 1, find the value of ss.

[5]

Question 7

MediumPaper 2 · calculator14 marks
(a)

The daily temperature, in degrees Celsius, in a coastal city is modelled by the function T(t)=asin⁡(b(t−c))+dT(t) = a \sin(b (t - c) ) + d, where tt is the number of hours after midnight, and a,b,ca, b, c and dd are constants, where a>0a > 0, b>0b > 0 and c>0c > 0.

The following graph shows the temperature for a 24-hour period, starting at midnight.

graph of temperature T(t) vs time t

The first peak temperature occurs at 14:00 (2 PM) and the next peak temperature occurs 24 hours later. Throughout the day, the temperature fluctuates between 14.5 °C and 28.5 °C.

All temperatures are given correct to one decimal place.

Show that b=π12b = \frac{\pi}{12}.

[1]
(b)

(b) Find the value of aa.

[2]
(c)

(c) Find the value of dd.

[2]
(d)

(d) Find the smallest possible value of cc.

[3]
(e)

(e) Find the temperature at 06:00 (6 AM).

[2]
(f)

(f) Determine the number of hours, over a 24-hour period, for which the temperature is higher than 25 °C.

[4]

Question 8

HardPaper 2 · calculator16 marks
(a)(i)

A company models the efficiency of a new production line by the function f(x)=2x+3x+2f(x) = \frac{2x+3}{x+2}, where f(x)f(x) represents the output rate (in units per hour) after xx hours of operation. For mathematical analysis, we consider the function over its natural domain x∈Rx \in \mathbb{R}, x≠−2x \ne -2.

For the graph of f,

write down the equation of the vertical asymptote;

[1]
(a)(ii)

find the equation of the horizontal asymptote.

[2]
(b)(i)

Find f−1(x)f^{-1}(x).

[4]
(b)(ii)

Using an algebraic approach, show that the graph of f−1f^{-1} is obtained by a reflection of the graph of f in the y-axis followed by a reflection in the x-axis.

[4]
(c)(i)

The graphs of f and f−1f^{-1} intersect at x=px = p and x=qx = q, where p<qp < q.

Find the value of p and the value of q.

[2]
(c)(ii)

Hence, find the area enclosed by the graph of f and the graph of f−1f^{-1}.

[3]

Question 9

MediumPaper 2 · calculator5 marks
(a)

Consider the function f(x)=ex−3x−6f(x) = e^x - 3x - 6.

On the following axes, sketch the graph of ff for −3≤x≤3-3 \le x \le 3.

Graph axes with x-axis from -3 to 3 and y-axis from -8 to 8, with gridlines and labels.
[3]
(b)

The function gg is defined by g(x)=e2x−6x−10g(x) = e^{2x} - 6x - 10.

The graph of gg is obtained from the graph of ff (from part a) by a horizontal stretch with scale factor kk, followed by a vertical translation of cc units.

Find the value of kk and the value of cc.

[2]

Question 10

HardPaper 1 · no calculator10 marks
(a)

Describe the sequence of transformations that maps the graph of y=g(x)y = g(x) onto the graph of y=g(x+1)−4y = g(x+1) - 4.

[2]
(b)

Describe the transformation that maps the graph of y=g(x)y = g(x) onto the graph of y=−g(x)y = -g(x).

[1]
(c)

Describe the sequence of transformations that maps the graph of y=g(x)y = g(x) onto the graph of y=g(2x)+3y = g(2x) + 3.

[2]
(d)

Describe the sequence of transformations that maps the graph of y=g(x)y = g(x) onto the graph of y=3g(−x)y = 3g(-x).

[2]
(e)

Describe the sequence of transformations that maps the graph of y=g(x)y = g(x) onto the graph of y=g(x2−1)y = g(\frac{x}{2} - 1).

[3]

Question 11

MediumPaper 2 · calculator5 marks
(a)

A scientist is studying the growth of a certain bacterial culture. The population, in thousands, at time tt hours is modeled by the function P(t)=et−4t−5P(t) = e^t - 4t - 5.

On the following axes, sketch the graph of P(t)P(t) for −2≤t≤4-2 \leq t \leq 4.

graph axes for P(t)
[3]
(b)

Another bacterial culture, observed under different conditions, has its population modeled by the function Q(t)=e2t−8t−12Q(t) = e^{2t} - 8t - 12.

The graph of Q(t)Q(t) is obtained from the graph of P(t)P(t) by a horizontal stretch with scale factor kk, followed by a vertical translation of cc units.

Find the value of kk and the value of cc.

[2]

Question 12

MediumPaper 2 · calculator7 marks
(a)

In a simulation of a rotating antenna, its orientation is modeled by a complex number ww on the Argand diagram. Initially, the antenna's orientation is given by w=cos⁡(π10)+isin⁡(π10)w = \cos \left( \frac{\pi}{10} \right) + i \sin \left( \frac{\pi}{10} \right). The antenna's controller performs a series of rotations, and after nn such operations, its orientation is required to be pointing directly upwards along the imaginary axis, represented by the complex number ii.

Find the smallest positive integer value of nn for which the antenna's orientation wnw^n is equal to ii.

[4]
(b)

Hence or otherwise, describe a single geometric transformation on the Argand diagram that maps ww to w12w^{12}.

[3]

Question 13

MediumPaper 2 · calculator5 marks
(a)

A scientist is modeling the growth of a certain bacterial colony. The population size, P(t)P(t), at time tt hours, is given by the function f(t)=2t−2t−5f(t) = 2^t - 2t - 5 for −3≤t≤4-3 \leq t \leq 4.

(a) On the following axes, sketch the graph of ff for −3≤t≤4-3 \leq t \leq 4.

Graph axes showing t-axis from -3 to 4 and P(t) -axis from -6 to 4
[3]
(b)

Another bacterial colony, under different conditions, has its population size modeled by g(t)=4t−4t−8g(t) = 4^t - 4t - 8. It is observed that the growth curve of this second colony can be obtained from the graph of ff by a horizontal stretch with scale factor kk, followed by a vertical translation of cc units.

(b) Find the value of kk and the value of cc.

[2]

Question 14

MediumPaper 1 · no calculator7 marks
(a)

The graph of the function g(x)=3x−1+2g(x) = \frac{3}{x-1} + 2 is translated by the vector (−34)\begin{pmatrix} -3 \\ 4 \end{pmatrix}.

(a) Describe this translation in words.

[2]
(b)

(b) Find the equation of the translated graph, giving your answer in the form y=ax+bcx+dy = \frac{ax+b}{cx+d}.

[3]
(c)

(c) State the equations of the vertical and horizontal asymptotes of the translated graph.

[2]

Question 15

MediumPaper 1 · no calculator4 marks

List the transformations, in order, that transform the graph of f(x)=ln⁡(x)f(x) = \ln(x) to the graph of g(x)=ln⁡(−2x−2)−5g(x) = \ln(-2x - 2) - 5.

Question 16

MediumPaper 1 · no calculator9 marks
(a)

A function ff is defined by f(x)=−2(x+3)2+8,x∈Rf(x) = -2(x + 3)^2 + 8, x \in \mathbb{R}.

(a) Write f(x)f(x) in the form ax2+bx+cax^2 + bx + c, where aa, bb and cc are constants.

[2]
(b)

(b) Find the coordinates of the vertex of the graph of ff.

[1]
(c)

(c) Find the equation of the axis of symmetry of the graph of ff.

[1]
(d)

(d) State the range of ff.

[2]
(e)

The graph of ff is translated by the vector (−15)\begin{pmatrix} -1 \\ 5 \end{pmatrix} to form a curve representing a new function g(x)g(x).

(e) Find g(x)g(x) in the form px2+qx+rpx^2 + qx + r, where pp, qq and rr are constants.

[3]

Question 17

MediumPaper 1 · no calculator7 marks
(a)

A function ff is defined by f(x)=−3x2+6x+5f(x) = -3x^2 + 6x + 5 for x∈Rx \in \mathbb{R}.

(a) Express f(x)f(x) in the form f(x)=a(x−h)2+kf(x) = a(x-h)^2+k.

[3]
(b)

(b) The graph of y=f(x)y=f(x) is obtained from the graph of y=x2y=x^2 by a sequence of transformations. Describe fully this sequence of transformations.

[4]

Question 18

MediumPaper 1 · no calculator8 marks
(a)

The graph of a function y=g(x)y = g(x) has a local maximum at P(2,8)(2, 8), a local minimum at Q(−4,−6)(-4, -6), a y-intercept at R(0,5)(0, 5) and an x-intercept at S(5,0)(5, 0).

(a) The graph of g(x)g(x) is transformed to the graph of y=g(x−3)−2y = g(x-3) - 2. Write down the coordinates of the images of the points P, Q, R, and S.

[4]
(b)

(b) The graph of g(x)g(x) is transformed to the graph of y=−g(x2)y = -g(\frac{x}{2}). Write down the coordinates of the images of the points P, Q, R, and S.

[4]

Question 19

MediumPaper 1 · no calculator6 marks
(a)

A function is defined by f(x)=−2x2+12x−11f(x) = -2x^2 + 12x - 11.

(a) Express f(x)f(x) in the form f(x)=a(x−h)2+kf(x) = a(x-h)^2 + k, where a,h,ka, h, k are integers.

[3]
(b)

(b) Write down the coordinates of the vertex of the graph of y=f(x)y=f(x).

[1]
(c)

(c) The graph of a function gg is obtained from the graph of ff by a translation of (−41)\begin{pmatrix} -4 \\ 1 \end{pmatrix}. Find the coordinates of the vertex of the graph of y=g(x)y=g(x).

[2]

Question 20

MediumPaper 2 · calculator9 marks
(a)

(a) A scientist is studying the population sizes of two bacterial cultures, A and B, in a controlled environment. The population sizes, in thousands, are modelled by the functions f(x)=ln⁡(x+1)f(x) = \ln(x+1) and g(x)=ln⁡(5−x)g(x) = \ln(5-x) respectively, where xx is the time in hours. Sketch the graphs of f(x)f(x) and g(x)g(x) on the same set of axes for x∈Rx \in \mathbb{R}. Clearly indicate any asymptotes and axis intercepts.

[4]
(b)

(b) Write down the equation of the vertical asymptote of the graph of g(x)g(x).

[1]
(c)

(c) Describe a single transformation that maps the graph of f(x)f(x) onto the graph of g(x)g(x).

[2]
(d)

(d) Use your sketch to find the time, xx, when the populations of culture A and culture B are equal.

[2]

6 more Transformations of graphs (translation, reflections, stretches) 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 Transformations of graphs (translation, reflections, stretches) cover in IB Maths AA?

Translation: Shifts the graph vertically (f(x) + k) or horizontally (f(x - h)). Reflections: Across the x-axis (-f(x)) or y-axis (f(-x)). Stretches:.

Is Transformations of graphs (translation, reflections, stretches) SL or HL?

Both. SL and HL students study Transformations of graphs (translation, reflections, stretches), and HL goes further: y = f(ax+b) arrives at AHL 2.16.

How do I revise Transformations of graphs (translation, reflections, stretches) for IB Maths AA?

Start from the core idea: translation: Shifts the graph vertically (f(x) + k) or horizontally (f(x - h)). In the exam: describing a transformation in words is marked strictly: "a translation by the vector binom20" or "a translation of 2 units in the positive x-direction", not "moved right". Order matters when a stretch and a translation are combined, and that is the standard trap. Then practise exam-style questions, easiest first, writing out every step of your working before you check it.

How does FourtyFive help me practise Transformations of graphs (translation, reflections, stretches)?

FourtyFive has 26 Transformations of graphs (translation, reflections, stretches) 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 Transformations of graphs (translation, reflections, stretches) 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 Transformations of graphs (translation, reflections, stretches) 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.