Translating a parabola

Translate the parabola y=x2y = x^2 by 22 in the xx-direction and 11 in the yy-direction. Replacing xx with x2x - 2 and adding 11 gives y=(x2)2+1y = (x - 2)^2 + 1.

Why moving right means subtracting

The puzzling part is that moving +2+2 to the right requires subtracting 22 inside the formula. Let (x,y)(x, y) be a point on the translated graph. It came from a point of the original graph moved 22 right and 11 up, so the original point was (x2, y1)(x - 2,\ y - 1). That point lies on y=x2y = x^2.

y1=(x2)2y=(x2)2+1\begin{align*} y - 1 &= (x - 2)^2 \\ y &= (x - 2)^2 + 1 \end{align*}

Subtracting inside the formula is just undoing the move: it takes the new coordinates back to the old ones.

Vertex form

In general, shifting y=x2y = x^2 by pp horizontally and qq vertically yields y=(xp)2+qy = (x - p)^2 + q, moving the vertex from the origin to (p,q)(p, q). This is called the vertex form, and its virtue is that the vertex can be read straight off. The horizontal and vertical shifts are independent, and applying them in either order gives the same result.

Shape is unchanged

A translation does not change the shape of the parabola. The coefficient of x2x^2 is still 11, so the opening and the orientation are untouched; only the position differs, and the figure is congruent to the one we started with.

FormExpressionWhat it shows
Vertex form(x2)2+1(x - 2)^2 + 1the vertex (2,1)(2, 1)
General formx24x+5x^2 - 4x + 5the coefficients

Any quadratic in general form can be put into vertex form by completing the square, which reveals exactly how far y=x2y = x^2 has been moved, and when the leading coefficient is not 11, how far it has been stretched vertically as well.

The same rule for every function

The rule is not peculiar to parabolas. For any function, y=f(xp)+qy = f(x - p) + q is the graph shifted pp right and qq up.

  • Circles
  • Sine curves
  • The V of an absolute value

All of them translate by exactly the same recipe. Here the vertex moves from the origin to (2,1)(2, 1); the large dots mark the two vertices.