How to Move a Cubic Function to the Right: Horizontal Shifts

To move a cubic function to the right, you subtract a value from x inside the parentheses. If you want to shift the parent function y = x³ to the right by h units, the new equation becomes y = (x – h)³. The subtraction is key: even though you’re moving in the positive direction, you use a minus sign inside the function.

The Horizontal Shift Rule

Horizontal translations work the same way for every type of function, but the sign feels backwards at first. To shift any function to the right by c units, you replace x with (x – c). To shift it to the left by c units, you replace x with (x + c). This is the opposite of what most people expect, and it’s the single biggest source of confusion with horizontal shifts.

The reason the sign is “backwards” comes down to what’s happening inside the function. When you write y = (x – 3)³, the output at x = 3 now equals what the original function produced at x = 0. Every point on the curve needs a larger x-value to produce the same y-value it used to, which slides the entire graph to the right.

The Transformation Form of a Cubic

The general transformation form of a cubic function is:

f(x) = a(x – h)³ + k

Each letter controls a different transformation. The value of h is the horizontal shift: positive h moves the graph right, negative h moves it left. The value of k is the vertical shift: positive k moves it up, negative k moves it down. The value of a controls the stretch and whether the curve is flipped upside down.

For a pure rightward shift with no other changes, a = 1 and k = 0, which simplifies the equation to y = (x – h)³. The center point of the standard cubic, originally sitting at (0, 0), moves to (h, 0). This center point is technically called the inflection point, the spot where the curve changes from bending one direction to bending the other. After a horizontal shift of h units to the right, the inflection point lands at (h, k), or simply (h, 0) if there’s no vertical shift.

A Worked Example

Start with the parent cubic function: f(x) = x³. To shift it 3 units to the right, replace every x with (x – 3):

g(x) = (x – 3)³

You can verify this by plugging in a few points. On the original curve, when x = 0, y = 0. On the shifted curve, that same y-value of 0 now occurs at x = 3, because (3 – 3)³ = 0. Similarly, the original curve passes through (1, 1). The shifted curve passes through (4, 1), because (4 – 3)³ = 1. Every point has moved exactly 3 units to the right.

If you wanted to shift 5 units to the right instead, the function becomes g(x) = (x – 5)³. For a shift of 1/2 unit to the right: g(x) = (x – 0.5)³. The pattern is always the same: subtract whatever distance you want from x.

Combining a Right Shift With Other Transformations

You can shift a cubic to the right and apply other transformations at the same time. For instance, f(x) = (x – 2)³ + 3 takes the standard cubic, shifts it 2 units right, and shifts it 3 units up. The inflection point moves from (0, 0) to (2, 3).

Order matters when reading the equation, but the transformations themselves are independent. The h value always controls the horizontal position, and the k value always controls the vertical position, regardless of what a is doing to the shape of the curve. So if you see y = 2(x – 4)³ – 1, the graph is shifted 4 units right and 1 unit down, with a vertical stretch that makes the curve steeper.

Why the Sign Feels Backwards

If you keep second-guessing the minus sign, think of it this way: the shift goes in the direction that makes the expression inside the parentheses equal zero. In (x – 3)³, the inside equals zero when x = 3, so the center of the curve is at x = 3. In (x + 2)³, the inside equals zero when x = -2, so the center is at x = -2, which is a leftward shift. Checking where the expression equals zero is a quick way to confirm you’ve written the equation correctly.