Skip to main content

Graph Transformations

How much of a new graph can you sketch from an old one? We will transform a familiar function, keep track of what happens to each point, and use the same method to follow a domain.

  • Graph transformation: Moving or rescaling points of a graph through a change to inputs or outputs.

Core ideas​

Horizontal and vertical shifts​

Adding to the output moves the graph up. Replacing xx by x−hx-h shifts it right by hh when h>0h>0. The vertex of y=(x−2)2+3y=(x-2)^2+3 is (2,3)(2,3).

Reflections and scaling​

The graph of −f(x)-f(x) reflects across the horizontal axis, and f(−x)f(-x) reflects across the vertical axis. Multiplying the output by 22 doubles its signed vertical distance from the axis.

Tracking a point​

If f(1)=4f(1)=4, then g(x)=2f(x−3)+1g(x)=2f(x-3)+1 satisfies g(4)=9g(4)=9. Tracking one point makes each change visible.

Map a point from the original graph​

Use xx as the horizontal coordinate and yy as the vertical coordinate, with unitless values. If (u,v)(u,v) lies on y=f(x)y=f(x), then v=f(u)v=f(u). For the transformed rule g(x)=af(b(x−h))+kg(x)=a f(b(x-h))+k with a,b≠0a,b\ne0, set the new input so that the expression inside ff equals uu. This gives

(u,v)⟼(h+ub, av+k).(u,v)\longmapsto\left(h+\frac{u}{b},\,av+k\right).

The input scale appears as division by bb because the equation is b(x−h)=ub(x-h)=u. The output scale acts directly on vv. A negative bb reverses horizontal order, while a negative aa reverses vertical order.

Essential example​

Use f(x)=x2f(x)=x^2 and g(x)=−2f(x−2)+3g(x)=-2f(x-2)+3. The point (0,0)(0,0) maps to (2,3)(2,3). The points (−1,1)(-1,1) and (1,1)(1,1) map to (1,1)(1,1) and (3,1)(3,1). The new vertex is (2,3)(2,3), the symmetry line is x=2x=2, and the negative output scale makes the curve open downward. The graph passes through both calculated points symmetrically.

A parent parabola and a shifted downward parabola with three corresponding points
Track the vertex and one point on each side to separate horizontal shifts from vertical scaling and reflection.

Transform an endpoint​

For f(x)=xf(x)=\sqrt{x}, the original domain starts at zero. If g(x)=2(x−3)+1g(x)=\sqrt{2(x-3)}+1, require 2(x−3)≥02(x-3)\ge0, so the new domain is x≥3x\ge3. The endpoint moves to (3,1)(3,1), while (4,2)(4,2) on the original graph maps to (5,3)(5,3). Following the point and checking the domain tell the same story.

Compare two horizontal operations​

For f(x)=x2f(x)=x^2, compare g(x)=f(2x−4)g(x)=f(2x-4) with j(x)=f(2(x−4))j(x)=f(2(x-4)). The vertex of gg occurs when 2x−4=02x-4=0, at x=2x=2. The vertex of jj occurs when 2(x−4)=02(x-4)=0, at x=4x=4. In both rules, a one-unit change in the original input takes only half a unit in the new graph. Factoring the inner expression into b(x−h)b(x-h) separates the horizontal scaling from the shift.

Keep and continue​

Keep the point-mapping rule and the endpoint check. Next, graph functions whose formula changes when the input crosses a boundary.

Course outline

Next: Absolute-Value and Piecewise Functions