Algebra › Section I · Quadratic equations and functions › Topic I.7

Graphing with transformations

Almost every graph you will meet is a familiar shape that has been shifted, stretched, or flipped. Learn the small grammar of these moves once, and a complicated equation becomes a parent graph plus travel instructions.

Parent graphs

The transformation method starts from a short gallery of parent shapes: the line \(y = x\), the parabola \(y = x^2\) with vertex at the origin, the cubic \(y = x^3\), the square root \(y = \sqrt{x}\) starting at the origin and rising rightward, the absolute value \(y = |x|\) with its corner at the origin, and the reciprocal \(y = \frac{1}{x}\) with its two branches in the first and third quadrants. Every transformed graph is one of these - or another familiar function - after a sequence of moves. The method's promise: know six shapes and a handful of rules, and you can sketch hundreds of functions without plotting a single table.

Vertical shifts

Adding a constant outside the function slides the whole graph vertically: \(y = f(x) + k\) moves it up \(k\) units when \(k > 0\) and down when \(k < 0\). Every point moves the same distance, so the shape is untouched - only its address changes. The parabola \(y = x^2 - 6\) is the parent parabola dropped 6 units, its vertex relocated to \((0, -6)\). Outside additions are the well-behaved shifts: the sign says what it means, and y-intercepts move exactly as you would expect.

Horizontal shifts

Adding a constant inside the function slides the graph sideways - and the sign works backwards: \(y = f(x - h)\) shifts right \(h\) units, so \(y = f(x + h)\) shifts left. The parabola \(y = (x - 4)^2\) has its vertex at \((4, 0)\), and \(y = |x + 4|\) has its corner at \((-4, 0)\). Why the reversal: the inside expression answers "what input goes here?" - for the shifted graph to show the parent's value at 0, the input must be \(x = 4\), which pushes the graph right. This sign surprise is the single most-missed fact in the entire topic, so treat every inside constant with suspicion until the direction is confirmed.

Reflections

A negative sign outside flips the graph across the x-axis: \(y = -f(x)\) turns \(y = x^2\) into a downward-opening parabola and \(y = \sqrt{x}\) into a curve descending below the axis. A negative sign inside flips across the y-axis: \(y = f(-x)\) sends \(y = \sqrt{x}\) leftward, since positive outputs now answer negative inputs. The two reflections are easy to tell apart: outside negatives change the outputs (y flips sign), inside negatives change the inputs (x flips sign). A graph with any point off the x-axis that is its own x-axis reflection fails the vertical line test - but y-axis self-reflection is exactly the even-function symmetry of the next card.

Stretches and compressions

Multiplying outside rescales the outputs: \(y = a f(x)\) with \(|a| > 1\) stretches the graph vertically, pulling points away from the x-axis, while \(0 < |a| < 1\) compresses it toward the axis. So \(y = 3x^2\) is a taller, narrower-looking parabola and \(y = \frac{1}{3}x^2\) a flatter, wider one - same vertex, different climb rate. Multiplying inside rescales the inputs: \(y = f(bx)\) with \(b > 1\) compresses the graph horizontally by a factor of \(b\), squeezing the x-coordinates. The outside multiplier moves y-values; the inside multiplier squeezes x-values - and the inside one divides, another counterintuitive member of the inside-the-function family.

Worked example: reading a combination

Describe \(g(x) = -2(x + 3)^2 + 5\) starting from \(y = x^2\). Inside first: \(x + 3\) shifts the graph left 3, vertex to \((-3, 0)\). Multiplier next: the 2 stretches vertically, and the negative flips the parabola to open downward. Outside last: the \(+5\) raises everything 5 units. Result: a downward parabola with vertex \((-3, 5)\), twice as steep as the parent. Checking by point-tracking: the parent's vertex \((0, 0)\) maps to \((-3, 5)\), and the parent's point \((1, 1)\) maps to \((-2, 3)\); verify \(g(-2) = -2(-2 + 3)^2 + 5 = -2 + 5 = 3\). Certified by tracking points, not vibes.

Worked example: tracking a specific point

Describe \(f(x) = \sqrt{x - 1} + 2\). From the parent \(y = \sqrt{x}\): inside \(x - 1\) shifts right 1, outside \(+2\) shifts up 2. The parent's starting point \((0, 0)\) relocates to \((1, 2)\), so the domain is \(x \ge 1\) and the range \(y \ge 2\). The parent's point \((4, 2)\) moves to \((5, 4)\); verify \(f(5) = \sqrt{4} + 2 = 4\). And an interesting non-event: \(f\) has no x-intercept, because \(\sqrt{x - 1} + 2 = 0\) would require a square root to equal \(-2\). Point-tracking is the self-check of this topic - pick a parent point, apply the moves, confirm the new graph passes through it.

Vertex form as a transformation receipt

The parabola's vertex form \(y = a(x - h)^2 + k\) is a transformation instruction sheet for \(y = x^2\): shift right \(h\), stretch by \(|a|\) (flip if \(a < 0\)), shift up \(k\), ending at vertex \((h, k)\). This is why completing the square matters for graphing, not just solving: \(y = x^2 + 6x + 11\) becomes \(y = (x + 3)^2 + 2\), and the rewritten form says immediately - shift left 3, up 2, vertex \((-3, 2)\) - what the standard form hid. One method's algebra is another method's graph.

Symmetry: the self-reflecting graphs

Reflections give vocabulary for two special symmetries. A function is even when \(f(-x) = f(x)\) for every input - its graph is its own mirror image across the y-axis, like \(x^2\) and \(|x|\). A function is odd when \(f(-x) = -f(x)\) - its graph maps onto itself under a 180-degree rotation about the origin, like \(x^3\) and \(\frac{1}{x}\). Testing is one substitution: for \(f(x) = x^2 + x\), \(f(-x) = x^2 - x\), which is neither \(f(x)\) nor \(-f(x)\) - most functions are neither. Symmetry, when present, halves every graphing job: sketch one side, reflect for free.

Common mistakes to avoid

First, reading \(f(x + h)\) as a right shift - inside constants act opposite their sign, always. Second, multiplying when you meant to shift: \(f(2x)\) is a horizontal compression, not a vertical stretch. Third, applying the vertical shift before the stretch - the order inside, then multiply, then outside matters, since \(2(x^2 + 5)\) is not \(2x^2 + 5\). Fourth, flipping only part of the graph: \(-f(x)\) negates every output, not just the negative ones. Fifth, claiming symmetry without the substitution test - eyeballing a rough sketch is not evidence.

Key takeaways

Graph complicated functions as parent shapes plus moves. Outside changes act on outputs: \(f(x) + k\) shifts vertically (with the sign), \(a f(x)\) stretches or flips vertically. Inside changes act on inputs and work opposite: \(f(x - h)\) shifts right \(h\), \(f(bx)\) compresses horizontally when \(b > 1\), \(f(-x)\) reflects across the y-axis while \(-f(x)\) reflects across the x-axis. Combine inside-out: inside shifts, then stretches and reflections, then vertical shifts - and verify by tracking a parent point. Vertex form \(a(x - h)^2 + k\) is the transformation receipt for every parabola, and even and odd functions are the graphs that reflect onto themselves.

Flashcards

Flashcard

Parent graph

The base shape

x^2, root x, |x|, x^3, 1/x.

Test your understanding

Question 1 of 5

How does y = (x - 4)^2 compare with y = x^2?

Question 2 of 5

What is the vertex of g(x) = -2(x + 3)^2 + 5?

Question 3 of 5

How does y = -root(x) compare with y = root(x)?

Question 4 of 5

Which function is even?

Question 5 of 5

Describe f(x) = root(x - 1) + 2 as transformations of y = root(x).

← Previous topicNext topic →