Function Transformations

⚡ Key Takeaways

Function transformations modify a function's graph through translations, reflections, stretches, and compressions by altering its input or output. Key result: changes outside the function (af(x)+kaf(x)+k) affect outputs vertically, while changes inside (f(bx+c)f(bx+c)) affect inputs horizontally and behave "backwards." They apply anywhere graphs of functions appear — physics, signal processing, statistics, computer graphics. Systematized in modern form through 19th–20th-century function theory and standardized in 20th-century algebra curricula.

💡 The Core Insight

Every transformation is either an output operation (applied to the whole function f(x)f(x), affecting yy-values, behaving intuitively) or an input operation (applied to xx before ff acts, affecting xx-values, behaving inversely). Master that single inside/outside distinction and every rule follows. The general transformed function

1
g(x)=a f ⁣(b(x−h))+k\quad g(x) = a\,f\!\big(b(x - h)\big) + k

Derivation hint: Compose the parent ff with an inner linear map on the input and an outer linear map on the output; each constant a,b,h,ka,b,h,k controls exactly one geometric effect. contains all standard transformations as special cases.

Formal Statement

DefinitionThe Four Transformation Families

Let ff be a function ("parent") and let a,b,h,ka, b, h, k be real constants. The transformed function g(x)=a f ⁣(b(x−h))+kg(x) = a\,f\!\big(b(x-h)\big) + k decomposes as follows, where each symbol controls one geometric action:

  • kk — vertical translation: shifts the graph up (k>0k>0) or down (k<0k<0) by ∣k∣|k| units.
  • hh — horizontal translation: shifts the graph right (h>0h>0) or left (h<0h<0) by ∣h∣|h| units.
  • aa — vertical scaling: stretches (∣a∣>1|a|>1) or compresses (0<∣a∣<10<|a|<1) vertically by factor ∣a∣|a|; reflects across the xx-axis if a<0a<0.
  • bb — horizontal scaling: compresses (∣b∣>1|b|>1) or stretches (0<∣b∣<10<|b|<1) horizontally by factor 1/∣b∣1/|b|; reflects across the yy-axis if b<0b<0.

The individual rules, isolated:

2
g(x)=f(x)+k⟹(x, y)↦(x, y+k)\quad g(x) = f(x) + k \quad\Longrightarrow\quad (x,\,y)\mapsto(x,\,y+k)

Derivation hint: Adding kk outside changes every output by the same amount, leaving inputs untouched.

3
g(x)=f(x−h)⟹(x, y)↦(x+h, y)\quad g(x) = f(x - h) \quad\Longrightarrow\quad (x,\,y)\mapsto(x+h,\,y)

Derivation hint: A point reaches the same output value y=f(x0)y=f(x_0) only when the new input satisfies x−h=x0x-h=x_0, i.e. x=x0+hx=x_0+h, so the graph moves +h+h.

4
g(x)=a f(x)⟹(x, y)↦(x, ay)\quad g(x) = a\,f(x) \quad\Longrightarrow\quad (x,\,y)\mapsto(x,\,a y)

Derivation hint: Multiplying outputs by aa scales vertical distances from the xx-axis by aa; negative aa flips the sign, reflecting across the xx-axis.

5
g(x)=f(bx)⟹(x, y)↦(xb, y)\quad g(x) = f(b x) \quad\Longrightarrow\quad (x,\,y)\mapsto\left(\tfrac{x}{b},\,y\right)

Derivation hint: To feed ff the same internal value x0x_0, set bx=x0bx=x_0, so x=x0/bx=x_0/b; inputs scale by 1/b1/b, the inverse of the multiplier.

TheoremOrder of Composition

For the general form g(x)=a f ⁣(b(x−h))+kg(x)=a\,f\!\big(b(x-h)\big)+k, applying transformations to a point (x0,f(x0))(x_0, f(x_0)) in the order that respects function composition gives the image point

6
(x0b+h,  a f(x0)+k).\quad \left(\frac{x_0}{b} + h,\ \ a\,f(x_0) + k\right).

Derivation hint: Read the formula from the inside out for inputs (horizontal scale 1/b1/b, then shift +h+h) and from outside in for outputs (vertical scale aa, then shift +k+k); horizontal and vertical chains are independent.

⚠️ Order Matters Within an Axis

Along a single axis, scaling and shifting do not commute. Because hh sits inside the scaling in form [1], the correct horizontal procedure is: scale by 1/b1/b first, then translate by hh. If a problem is written as f(bx−c)f(bx - c), you must factor it as f(b(x−c/b))f\big(b(x - c/b)\big) before reading off the shift — the shift is c/bc/b, not cc.

Why It Holds / Derivation

ProofThe Inside/Outside Principle

We justify the inverse behavior of horizontal transformations, the single most error-prone rule.

Step 1. Let (x0,y0)(x_0, y_0) be a point on the parent graph, so y0=f(x0)y_0 = f(x_0).

Step 2. Consider g(x)=f(x−h)g(x) = f(x - h). We ask: for which input xx does gg output the same height y0y_0?

Step 3. We need f(x−h)=f(x0)f(x - h) = f(x_0), which holds when the internal argument matches: x−h=x0x - h = x_0.

Step 4. Solving gives x=x0+hx = x_0 + h. So the point that had xx-coordinate x0x_0 on the parent now sits at x0+hx_0 + h on gg — the graph shifted right by hh (for h>0h>0). This is why f(x−h)f(x-h), which looks like subtraction, moves the graph in the positive direction.

Step 5. For scaling g(x)=f(bx)g(x)=f(bx): matching internal arguments bx=x0bx=x_0 gives x=x0/bx=x_0/b. Each xx-coordinate is divided by bb, so a multiplier b>1b>1 pulls points toward the yy-axis (compression). ■\blacksquare

∎
🧠 Intuition

Think of the parent graph as already "decided" what output it gives for each internal value. Outside operations (a,ka, k) edit the answer after the function speaks — so they behave exactly as written. Inside operations (b,hb, h) edit the question before the function hears it — so to keep the same answer, xx must compensate in the opposite direction. The function is "deaf to delay": to make it respond at a new place, you feed it the old internal value, and the algebra inverts.

mathematician · Joseph Fourier | 1768–1830

While transformations as a pedagogical unit are recent, Fourier's analysis of heat conduction (1822) made scaling and shifting of functions a central computational tool. Decomposing signals as sums of stretched and shifted sinusoids — Asin⁡(b(x−h))+kA\sin(b(x-h))+k — turned function transformations from graphical curiosities into the workhorse of physics and engineering, embedding amplitude AA, frequency bb, phase shift hh, and vertical offset kk as the four parameters every student now meets.

Building Intuition

Figure
The four transformations of the parent parabola f(x)=x2f(x)=x^2
x y f(x)=x² f(x)+k f(x−h) −f(x) Gold = parent; dashes = transformed copies

Worked Examples

ExampleTransforming a Square-Root Function

Given: Parent f(x)=xf(x) = \sqrt{x}. Find g(x)=−2x−3+1g(x) = -2\sqrt{x - 3} + 1 and describe its transformations and the image of the parent's start point (0,0)(0,0).

Identify constants: a=−2a=-2, b=1b=1, h=3h=3, k=1k=1.

Step 1 — Vertical scale & reflect: a=−2a=-2 stretches vertically by factor 22 and reflects across the xx-axis.

Step 2 — Horizontal shift: h=3h=3 moves the graph right 33 units.

Step 3 — Vertical shift: k=1k=1 moves the graph up 11 unit.

Step 4 — Track the start point (0,0)(0,0) using formula [6] with b=1b=1:

x: 0/1+3=3,y: −2(0)+1=1.x: \ 0/1 + 3 = 3, \qquad y: \ -2(0) + 1 = 1.

Answer:

g(x)=−2x−3+1;start point (0,0)→(3, 1)\boxed{g(x) = -2\sqrt{x-3}+1;\quad \text{start point } (0,0)\to(3,\,1)}

The new curve begins at (3,1)(3,1) and falls to the right (opening downward due to reflection).

ExampleA Sinusoid with All Four Parameters

Given: Parent f(x)=sin⁡xf(x)=\sin x. Analyze g(x)=3sin⁡(2x−π2)+4g(x)=3\sin\big(2x - \tfrac{\pi}{2}\big)+4.

Step 1 — Factor inside for the true shift: rewrite the argument as 2(x−π4)2\big(x - \tfrac{\pi}{4}\big). So b=2b=2, h=π4h=\tfrac{\pi}{4}.

Step 2 — Read constants: a=3a=3 (amplitude), b=2b=2, h=π4h=\tfrac{\pi}{4} (phase shift right), k=4k=4 (midline).

Step 3 — Compute features:

  • Amplitude =∣a∣=3=|a|=3.
  • Period =2π∣b∣=2π2=π=\dfrac{2\pi}{|b|}=\dfrac{2\pi}{2}=\pi.
  • Phase shift =π4=\tfrac{\pi}{4} to the right.
  • Midline y=4y=4; range [4−3, 4+3]=[1,7][4-3,\ 4+3]=[1,7].

Step 4 — Image of the parent peak (π2,1)\left(\tfrac{\pi}{2},1\right) via [6]:

x: π/22+π4=π4+π4=π2,y: 3(1)+4=7.x:\ \tfrac{\pi/2}{2}+\tfrac{\pi}{4}=\tfrac{\pi}{4}+\tfrac{\pi}{4}=\tfrac{\pi}{2},\qquad y:\ 3(1)+4=7.

Answer:

Amplitude 3, period π, phase shift π4 right, midline y=4; peak at (π2,7)\boxed{\text{Amplitude }3,\ \text{period }\pi,\ \text{phase shift }\tfrac{\pi}{4}\text{ right},\ \text{midline }y=4;\ \text{peak at }\left(\tfrac{\pi}{2},7\right)}

Common Misconceptions

⚠️ The Five Classic Errors

1. Direction of horizontal shift: f(x+3)f(x+3) shifts left, f(x−3)f(x-3) shifts right — opposite to the sign you "see." 2. Forgetting to factor: In f(2x−6)f(2x-6) the horizontal shift is 33 (factor to f(2(x−3))f(2(x-3))), not 66. 3. Confusing stretch and compression horizontally: f(2x)f(2x) compresses by factor 12\tfrac12; f(x2)f(\tfrac{x}{2}) stretches by factor 22 — again inverted. 4. Mixing up which factor is vertical: aa (outside) is vertical; bb (inside) is horizontal. 5. Wrong order within an axis: scale before shifting horizontally when the form is af(b(x−h))+ka f(b(x-h))+k.

CounterexampleStretch ≠ Shift Equivalence

A student claims g(x)=(2x)2g(x)=(2x)^2 is "the parabola x2x^2 shifted." It is not a shift at all — it equals 4x24x^2, a vertical stretch by 4 (equivalently a horizontal compression by 12\tfrac12). Test points confirm: parent at x=1x=1 gives 11; g(1)=4g(1)=4, but a horizontal shift would preserve the output value 11 somewhere. No translation can change the height of a vertex while keeping it on the axis — only scaling does that. This shows scaling and translation are genuinely distinct operations, not interchangeable.

Connections

connection

Function transformations sit at a crossroads of several topics. They are the graphical face of Function Composition — every transformation is ff composed with linear maps inside and out. The horizontal/vertical inversion is illuminated by Inverse Functions, where reflecting across y=xy=x swaps the roles of input and output transformations entirely. In trigonometry, transformations parameterize the general Sinusoidal Functions via amplitude, period, and phase. They also prefigure Linear Transformations in linear algebra, where scaling and shifting generalize to matrices and vectors, and they underlie the study of Even and Odd Functions, whose symmetry is precisely invariance under reflection transformations.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- c. 1637 — Descartes' La Géométrie introduces coordinate geometry, making it possible to graph algebraic relations and thus to compare transformed curves.
- 1748 — Euler's Introductio in analysin infinitorum establishes the modern concept of a function as the object that can be transformed.
- 1822 — Fourier represents heat distributions as sums of scaled, shifted sinusoids, embedding the four parameters into physics.
- 1872 — Felix Klein's Erlangen Program recasts geometry as the study of figures invariant under transformation groups, giving transformations a unifying theoretical home.
- 1893 — Sophus Lie's work on continuous transformation groups formalizes scaling and translation as group actions.
- 1900s–1920s — Standardized secondary-school algebra texts in the US and Europe begin presenting translations and reflections of conics explicitly.
- 1950s–1960s — The "New Math" movement and function-centered curricula (influenced by Bourbaki) make y=af(b(x−h))+ky=af(b(x-h))+k a standard classroom template.
- 1989 — NCTM Curriculum and Evaluation Standards in the US enshrines transformations of parent functions as core content, cementing today's textbook treatment.

Subtleties & Limits

open-problem · Where the Simple Rules Strain

The clean four-parameter model assumes transformations act on a single variable independently. Subtleties arise when: (1) non-affine inner functions appear — e.g. f(x2)f(x^2) is not a simple shift/scale and warps the domain nonuniformly; (2) transformations interact with domain restrictions — shifting ln⁡(x)\ln(x) left can push part of the graph into undefined territory; (3) multivariable generalizations require matrix transformations where scaling and rotation no longer commute and "horizontal vs. vertical" loses meaning. The deeper question — which transformations preserve which structural properties of a function (continuity, periodicity, symmetry, integrability) — opens into functional analysis and the theory of operators, where "transformation" becomes a linear operator on infinite-dimensional function spaces, far beyond the introductory picture.

See Also

Parent Functions · Function Composition · Sinusoidal Functions · Even and Odd Functions · Inverse Functions · Linear Transformations · Conic Sections · Graphing in the Coordinate Plane