TOPIC

Transformations of functions: Vertical translations

MY PROGRESS

Pug Score

0%

Study Points

+0

Overview

Watch

Read

Next Steps


Get Started

Get unlimited access to all videos, practice problems, and study tools.

Unlimited practice
Full videos

Back to Menu

Topic Progress

Pug Score

0%

Videos Watched

0/0

Read

Not viewed


Study Points

+0

Read

Transformations of Functions: Vertical Translations

A clear guide to vertical translations of functions: what f(x) plus k and f(x) minus k do to a graph, how the shift affects range but not domain, and worked examples with graphs.

What is a vertical translation?

A vertical translation (also called a vertical shift) takes the graph of a function and slides it straight up or down, without stretching, flipping, or changing its shape in any way. Every single point on the graph moves the same distance in the same direction.

If you already know the graph of \(f(x)\), a vertical translation is one of the easiest transformations to apply, because it only affects the \(y\)-values of the function, not the \(x\)-values.

The rule for vertical translations

Given a function \(f(x)\) and a constant \(k > 0\), a vertical translation is written as:

\( g(x) = f(x) + k \) — shifts the graph of \(f(x)\) up by \(k\) units.

\( g(x) = f(x) - k \) — shifts the graph of \(f(x)\) down by \(k\) units.

In other words, every point \((x, y)\) on the original graph becomes \((x, \; y + k)\) on the translated graph. Notice that the constant is added or subtracted outside the function, after \(f(x)\) has already been evaluated. This is what tells you the shift is vertical, not horizontal. If the constant were added or subtracted inside the parentheses instead, you would be looking at a horizontal translation of the graph left or right.

Example 1: Shifting a parabola upward

Start with the parent function \(f(x) = x^2\). Its graph is a parabola with vertex at the origin \((0, 0)\).

Graph of f(x) = x squared Plot of y = x**2 for x in [-4, 4] -4 -2 0 2 4 0 5 10 15 x f(x) vertex (0, 0)
Graph of f(x) = x squared, with vertex at the origin.

Now consider \(g(x) = f(x) + 3 = x^2 + 3\). Every \(y\)-value of \(f(x)\) increases by 3, so the entire parabola moves up 3 units and the vertex lands at \((0, 3)\).

Graph of g(x) = x squared plus 3 Plot of y = x**2 + 3 for x in [-4, 4] -4 -2 0 2 4 5 10 15 20 x g(x) vertex (0, 3)
Graph of g(x) = x squared plus 3, shifted up from f(x) = x squared.

Because the shape of the curve does not change, the domain of \(g(x)\) is still all real numbers, exactly like \(f(x)\). But the range changes: \(f(x) = x^2\) has range \(y \ge 0\), while \(g(x) = x^2 + 3\) has range \(y \ge 3\). If you want a refresher on describing these outputs precisely, see how to write domain and range.

Example 2: Shifting a square root graph downward

Now take \(f(x) = \sqrt{x}\), which starts at the origin and increases as \(x\) grows. Consider \(h(x) = f(x) - 2 = \sqrt{x} - 2\).

Graph of h(x) = square root of x minus 2 Plot of y = sqrt(x) - 2 for x in [0, 9] 0 2 4 6 8 -2 -1 0 1 x h(x) start (0, -2)
Graph of h(x) = square root of x minus 2, shifted down 2 units from the origin.

Here, \(k = 2\) is subtracted outside the square root, so the whole curve moves down 2 units. The starting point moves from \((0, 0)\) to \((0, -2)\). The domain stays \(x \ge 0\), since we are still only allowed to take the square root of non-negative numbers, but the range shifts from \(y \ge 0\) to \(y \ge -2\).

Vertical translations vs. other transformations

Vertical translations only reposition a graph up or down; they never flip it or change its width. This makes them different from reflections, which flip a graph across an axis, such as a reflection across the x axis, or from horizontal translations, which shift a graph left or right. When a function is written with several transformations combined, it helps to identify the vertical shift term (the constant added or subtracted outside the main expression) separately from any stretch, reflection, or horizontal shift, and apply it last, after the shape and left/right position are set.

Quick check: identifying k

To find the vertical shift in a transformed function, isolate the constant that sits completely outside the function's main operation.

  • \(y = x^2 + 5\): shifted up 5 units (\(k = 5\))
  • \(y = |x| - 7\): shifted down 7 units (\(k = -7\))
  • \(y = 2^x + 1\): shifted up 1 unit (\(k = 1\))
  • \(y = \sqrt{x}\): no vertical shift (\(k = 0\))

In each case, the value of \(k\) tells you exactly how far, and in which direction, the graph has moved compared to its parent function.

Related lessons