Function transformations calculator: shifts and reflections

Replacing x with x-p shifts right by p, adding q shifts up by q, and a minus sign reflects the graph.

Try the sliders

Sliders

Features of this equation

Equation 1: exponential function

  • Horizontal asymptote y=0
  • Range y>0
  • increasing
  • y-intercept 1
  • No x-intercept

Equation 2: exponential function

  • Horizontal asymptote y=2
  • Range y<2
  • decreasing
  • y-intercept 1.5
  • x-intercept 2
Open this equation in the grapher

Shifts: x-p moves the other way

Putting x-p in place of x moves the graph right by p. The sign in the formula and the direction look opposite.

A term q added outside moves the graph up by q, and the horizontal asymptote moves with it.

Reflections: see where the minus sign sits

A minus on the whole expression reflects over the x-axis. A minus on x reflects over the y-axis.

A reflection over the x-axis flips the range of an exponential from positive to negative.

Practice problems

Answers are computed from the equation. Solve first, then check.

  1. y=2^(x-1)+3

    What is the horizontal asymptote?

    Show answer

    Answer: y=3

  2. y=-2^x

    What is the range?

    Show answer

    Answer: y<0

  3. y=2^(-x)

    What is the y-intercept?

    Show answer

    Answer: 1

Note

The notes are short summaries for checking a graph's shape, not a textbook. See your textbook for definitions and proofs.

Updated: 2026-11-14