Vertical & Horizontal Translations (College Board AP® Precalculus): Revision Note

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Vertical translations

What are graph translations?

  • When you alter a function in certain ways, the effects on the graph of the function can be described by geometrical transformations

  • With a translation the shape, size, and orientation of the graph remain unchanged

    • the graph is merely shifted (up or down, left or right) in the xy plane

Graph of sine waves intersecting at origin on x and y axes, with arrows indicating vertical and horizontal shifts of the central black wave.
Translations of a graph

What is a vertical translation?

  • If you start with a function space f left parenthesis x right parenthesis and add a constant bold italic k to the output

    • the new function g(x) = f(x) + k is called an additive transformation of space f

  • The effect on the graph is a vertical translation (shift)

    • every point on the graph moves up or down by k units

      • If k > 0, the graph shifts up by k units

      • If k < 0, the graph shifts down by |k| units

  • The shape of the graph does not change

    • it is simply moved vertically

  • E.g. for a function space f left parenthesis x right parenthesis

    • g left parenthesis x right parenthesis equals f open parentheses x close parentheses plus 1 shifts the entire graph of space f up by 1 unit

    • h left parenthesis x right parenthesis equals f open parentheses x close parentheses minus 4 shifts it down by 4 units

Graph showing a vertical translation of a parabola. Original curve y = f(x) , point (2, -3); translated curve  y = f(x) + 1 , point (2, -2).
Example of a vertical translation

How does a vertical translation affect key features?

  • Every output value changes by bold italic k, so

    • bold space bold italic y-intercept

      • changes by k

    • Local maxima and minima

      • their y-values shift by k

      • but the x-values where they occur stay the same

    • Horizontal asymptotes

      • shift by k

        • e.g. if the original asymptote is y = 0, the new one is y = k

    • Zeros (x-intercepts)

      • generally change, because the outputs for each x value are different

  • Features that depend only on bold italic x-values are not affected:

    • Vertical asymptotes stay in the same place

    • Intervals of increase/decrease stay the same

    • Concavity intervals (and the concavity on them) stay the same

How do I find the analytical form of a vertical translation?

  • space f left parenthesis x right parenthesis plus k means 'add bold italic k to the entire function'

    • So if you have an expression for space f open parentheses x close parentheses, simply add k to it to get the analytical form of the transformed function

    • Simplify if necessary

  • E.g. if space f open parentheses x close parentheses equals x squared minus 3 x plus 4

    • Then to find g open parentheses x close parentheses equals f open parentheses x close parentheses plus 2

      • space g open parentheses x close parentheses equals x squared minus 3 x plus 4 plus 2 equals x squared minus 3 x plus 6

Horizontal translations

What is a horizontal translation?

  • If you start with a function space f left parenthesis x right parenthesis and add a constant bold italic h to the input before the function is applied

    • the new function g(x) = f(x + h) is also called an additive transformation of space f

      • i.e., vertical and horizontal translations are both types of additive transformation

  • The effect on the graph is a horizontal translation (shift)

    • every point on the graph moves left or right

      • If h > 0, the graph shifts to the left by h units

      • If h < 0, the graph shifts to the right by |h| units

    • Note the counterintuitive direction

      • adding a positive number inside the function moves the graph to the left, not the right

  • The shape of the graph does not change

    • it is simply moved horizontally

  • E.g. for a function space f left parenthesis x right parenthesis

    • g left parenthesis x right parenthesis equals f open parentheses x plus 3 close parentheses shifts the entire graph of space f left by 3 units

    • h left parenthesis x right parenthesis equals f left parenthesis x minus 2 right parenthesis shifts it right by 2 units

Graph showing horizontal translation of a parabola y=f(x) right 2 units to y=f(x−2), moving vertex from (2,−3) to (4,−3), x-coordinates shift.
Example of a horizontal translation

Examiner Tips and Tricks

The most common error with horizontal translations is getting the direction wrong. Remember: space f left parenthesis x plus h right parenthesis shifts the graph by -h units (i.e. in the opposite direction to the sign of h). So space f left parenthesis x plus 3 right parenthesis shifts left by 3, and space f left parenthesis x minus 2 right parenthesis shifts right by 2.

How does a horizontal translation affect key features?

  • Every input value is shifted, so features that depend on x-values move:

    • Zeros (x-intercepts)

      • shift left or right by the same amount as the graph

    • Local maxima and minima

      • their x-values shift, but the y-values stay the same

    • Vertical asymptotes

      • shift horizontally the same way as the rest of the graph

      • e.g. if the original asymptote is x equals 0, the new one is x equals negative h

    • Intervals of increase/decrease

      • shift horizontally (same pattern, different x-values)

    • Concavity intervals

      • shift horizontally (same pattern, different x-values)

      • though the concavity on those intervals stays the same

  • Features that depend only on the overall shape or on the bold space bold italic y-values are not affected:

    • Horizontal asymptotes stay at the same y-value

Graph showing translations of y=f(x), with shifts down by 2 units and left by 3 units. Asymptote and point changes depicted with annotated arrows.
Effects of vertical and horizontal translations

How do I find the analytical form of a horizontal translation?

  • f left parenthesis x plus h right parenthesis means 'replace bold italic x everywhere in Error converting from MathML to accessible text.with bold italic x bold plus bold italic h'

    • So if you have an expression for space f open parentheses x close parentheses, simply put x plus h everywhere that xis to get the analytical form of the transformed function

    • Simplify if necessary

  • E.g. if space f open parentheses x close parentheses equals x squared minus 3 x plus 4

    • Then to find g open parentheses x close parentheses equals f open parentheses x plus 2 close parentheses

      • table row cell g open parentheses x close parentheses end cell equals cell open parentheses x plus 2 close parentheses squared minus 3 open parentheses x plus 2 close parentheses plus 4 equals x squared plus 4 x plus 4 minus 3 x minus 6 plus 4 equals x squared plus x plus 2 end cell end table

How can you tell vertical and horizontal translations apart?

  • Vertical translation g(x) = f(x) + k

    • the constant k is added outside the function

      • it changes the output

  • Horizontal translation g(x) = f(x + h)

    • the constant h is added inside the function (to the input)

      • it changes which input produces each output

  • A common mistake is to confuse the two

    • If you see a constant being added to space f left parenthesis x right parenthesis, that's vertical

    • If you see a constant being added to x inside space f, that's horizontal

Worked Example

The function space f is given by space f open parentheses x close parentheses equals negative 3 x squared plus 2 x minus 5. The graph of which of the following functions is the image of the graph of space f after a horizontal translation of the graph of space f by 2 units?

(A) space p open parentheses x close parentheses equals negative 3 x squared plus 2 x minus 3, because this is an additive transformation of space f that results from adding 2 to space f open parentheses x close parentheses.

(B) space q open parentheses x close parentheses equals negative 3 x squared minus 10 x minus 13, because this is an additive transformation of space f that results from adding 2 to each input value x.

(C) space r open parentheses x close parentheses equals negative 3 x squared plus 2 x minus 7, because this is an additive transformation of space f that results from subtracting 2 from space f open parentheses x close parentheses.

(D) space s open parentheses x close parentheses equals negative 3 x squared plus 14 x minus 21, because this is an additive transformation of space f that results from subtracting 2 from each input value x.

Answer:

'A horizontal translation of the graph of space f by 2 units' means a translation in the positive x direction; i.e., 'to the right'

Adding or subtracting a constant from space f open parentheses x close parentheses causes a vertical translation, not a horizontal one

  • So you can rule out (A), which is a vertical translation up by 2 units

  • and also (C), which is a vertical translation down by 2 units

Adding 2 to each input value gives

table row cell negative 3 open parentheses x plus 2 close parentheses squared plus 2 open parentheses x plus 2 close parentheses minus 5 end cell equals cell negative 3 open parentheses x squared plus 4 x plus 4 close parentheses plus 2 x plus 4 minus 5 end cell row blank equals cell negative 3 x squared minus 12 x minus 12 plus 2 x plus 4 minus 5 end cell row blank equals cell negative 3 x squared minus 10 x minus 13 end cell end table

  • That is function q in option (B)

  • But adding 2 to each input value causes a horizontal translation by -2 units (i.e., to the left)

Subtracting 2 from each input value gives

table row cell negative 3 open parentheses x minus 2 close parentheses squared plus 2 open parentheses x minus 2 close parentheses minus 5 end cell equals cell negative 3 open parentheses x squared minus 4 x plus 4 close parentheses plus 2 x minus 4 minus 5 end cell row blank equals cell negative 3 x squared plus 12 x minus 12 plus 2 x minus 4 minus 5 end cell row blank equals cell negative 3 x squared plus 14 x minus 21 end cell end table

  • That is function s in option (D)

  • And indeed subtracting 2 from each input value (i.e., adding -2) causes a horizontal translation by negative left parenthesis negative 2 right parenthesis equals 2 units

(D) space s open parentheses x close parentheses equals negative 3 x squared plus 14 x minus 21, because this is an additive transformation
of space f that results from subtracting 2 from each input value x

Examiner Tips and Tricks

On the exam, you may be given a function and asked which of several expressions represents a particular translation. Be careful to distinguish between adding a constant to the output (vertical shift) versus adding it to the input (horizontal shift).

  • The incorrect answer options are often designed to test exactly this confusion

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Roger B

Author: Roger B

Expertise: Maths Content Creator

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.