lesson

Function Analysis · High School

Transformations of Functions

Predict and justify how changes inside and outside a function alter its graph, key points, domain, range, and scale.

A function accepts an input and produces an output. A graph records all ordered pairs that make this relationship true. A transformation changes what input the function receives, what happens to its output, or both. Those two locations in an expression create different geometric effects. Understanding the input–output chain makes the rules predictable.

Expressions outside the function act on outputs after evaluation. Expressions inside the function alter which original input is sampled. This timing explains why vertical changes often look direct while horizontal changes appear reversed or reciprocal. The apparent reversal is not a trick. It follows from solving for the new input location.

This lesson derives translations, reflections, stretches, compressions, and combined mappings. It also tracks key points, domains, ranges, intercepts, asymptotes, and periodic features. Diagrams connect algebraic location with geometric motion. Worked examples retain exact horizontal fractions. The goal is to reason from function meaning rather than memorize a chart.

Learning goals and an opening comparison

You should distinguish an inside change from an outside change. You should predict graph movement from equations and derive horizontal effects. You should map key points through combined transformations. You should update domain, range, intercept, and asymptote information. You should also identify when transformation order changes the final function.

Compare g(x)=f(x)+3g(x)=f(x)+3 with h(x)=f(x+3)h(x)=f(x+3). The first adds three after ff produces an output. Every output therefore rises by three. The second asks ff to evaluate an input three greater than the displayed xx. Existing features appear three units earlier, so the graph shifts left.

This contrast is the central puzzle. The same visible +3+3 produces different effects because it occupies a different place in the input–output process. Predict the changed coordinate before using a rule. Then verify with one known point. A test point often exposes a reversed horizontal interpretation.

A graph is a set of input–output pairs

If (u,v)(u,v) lies on the graph of ff, then v=f(u)v=f(u). The symbol uu represents an original input. The symbol vv represents its original output. Transformations can map this pair to a new pair. Point mapping provides a general derivation method.

Suppose f(2)=5f(2)=5. Then (2,5)(2,5) belongs to the graph. For g(x)=f(x)+4g(x)=f(x)+4, substituting x=2x=2 gives g(2)=9g(2)=9. The input stays two while the output changes to nine. The point maps from (2,5)(2,5) to (2,9)(2,9).

For h(x)=f(x3)h(x)=f(x-3), find the new input that feeds the old value 22 into ff. Solve x3=2x-3=2, giving x=5x=5. Therefore h(5)=f(2)=5h(5)=f(2)=5. The old point (2,5)(2,5) maps to (5,5)(5,5). Its output remains unchanged during this horizontal translation.

Outside addition translates outputs vertically

For g(x)=f(x)+Dg(x)=f(x)+D, constant DD is added to every output. The input is unchanged. If (u,v)(u,v) lies on ff, then (u,v+D)(u,v+D) lies on gg. Positive DD shifts upward. Negative DD shifts downward.

The letter DD can represent any real constant. In g(x)=f(x)6g(x)=f(x)-6, write D=6D=-6. Every yy coordinate decreases by six. Vertical distances between graph points remain unchanged. The graph’s shape and orientation are preserved.

Vertical translation changes range values by DD. It usually changes a horizontal asymptote y=Ly=L into y=L+Dy=L+D. Domain stays unchanged because the function receives the same inputs. Vertical intercepts may change. Horizontal intercepts usually require solving a new equation.

Outside multiplication scales and reflects outputs

For g(x)=Af(x)g(x)=Af(x), every output is multiplied by AA. A point (u,v)(u,v) maps to (u,Av)(u,Av). If A>1|A|>1, vertical distances from the xx axis grow. If 0<A<10<|A|<1, those distances shrink. Absolute value A|A| gives the vertical scale factor.

If A<0A<0, output signs reverse. The graph reflects across the xx axis in addition to scaling by A|A|. A point above the axis moves below it. Points on the xx axis remain fixed because zero multiplied by AA is zero. The order “scale then reflect” or “reflect then scale” gives the same result for this origin-centered output operation.

For g(x)=2f(x)g(x)=-2f(x), point (3,4)(3,-4) maps to (3,8)(3,8). Multiplication gives (2)(4)=8(-2)(-4)=8. Its distance from the xx axis doubles. Its side of the axis reverses. This one point confirms both effects.

An output-machine diagram shows vertical scaling by A and translation by D after the parent function produces a value.

Inside translation changes sampled inputs

Consider h(x)=f(xC)h(x)=f(x-C). To reproduce the old output f(u)f(u), require xC=ux-C=u. Solving gives x=u+Cx=u+C. Therefore old point (u,v)(u,v) maps to (u+C,v)(u+C,v). Positive CC shifts the graph right.

Expression f(x+4)f(x+4) can be written f[x(4)]f[x-(-4)]. Here C=4C=-4, so the graph shifts left four. The visible sign appears opposite the geometric direction because the equation is solved for the new coordinate. Calling this a “backward rule” hides the reason. Input matching explains it.

Check with the parent point f(0)=0f(0)=0 for f(x)=x2f(x)=x^2. In h(x)=(x3)2h(x)=(x-3)^2, the zero output occurs when x3=0x-3=0, so x=3x=3. The vertex moves from (0,0)(0,0) to (3,0)(3,0). Direct substitution verifies the rightward shift. The test point makes the direction unambiguous.

Inside multiplication uses a reciprocal scale

For h(x)=f(Bx)h(x)=f(Bx), reproduce old input uu by solving Bx=uBx=u. The new coordinate is x=uBx=\frac{u}{B}. Thus (u,v)(u,v) maps to (uB,v)\left(\frac{u}{B},v\right). Horizontal coordinates are divided by BB. The scale magnitude is 1B\frac{1}{|B|}.

If B>1|B|>1, coordinates move closer to the yy axis, creating horizontal compression. If 0<B<10<|B|<1, coordinates move farther away, creating horizontal stretch. This reciprocal behavior comes from input matching. The graph changes which displayed input reaches each old function value. It is not the same as multiplying output.

For h(x)=f(2x)h(x)=f(2x), an old point at input 66 appears at new input 62=3\frac{6}{2}=3. The graph is horizontally compressed by 12\frac{1}{2}. For h(x)=f(x3)h(x)=f\left(\frac{x}{3}\right), solve x3=u\frac{x}{3}=u to get x=3ux=3u. That graph stretches horizontally by three. Both outcomes follow from matching the parent input.

Negative inside factors reflect across the y-axis

For h(x)=f(x)h(x)=f(-x), old input uu occurs when x=u-x=u. Therefore x=ux=-u. Point (u,v)(u,v) maps to (u,v)(-u,v). Horizontal signs reverse while outputs stay the same. This is reflection across the yy axis.

For general f(Bx)f(Bx) with B<0B<0, two effects occur. Division by B|B| gives horizontal scaling. The negative sign reverses horizontal direction. A point on the yy axis remains fixed. The combined map is still x=uBx=\frac{u}{B}.

Even functions satisfy f(x)=f(x)f(-x)=f(x), so a yy-axis reflection leaves their graph unchanged. Odd functions satisfy f(x)=f(x)f(-x)=-f(x), linking horizontal and vertical reflection. Symmetry can hide a transformation visually. Algebraic comparison confirms whether two formulas are equivalent. An unchanged picture does not mean no transformation was applied.

Combined transformation form

A useful general form is g(x)=Af[B(xC)]+Dg(x)=Af[B(x-C)]+D. Inside constants BB and CC alter inputs. Outside constants AA and DD alter outputs. The parent function ff supplies the original graph. Brackets show the full input expression.

To map old point (u,v)(u,v), solve B(xC)=uB(x-C)=u. Dividing by BB gives xC=uBx-C=\frac{u}{B}. Adding CC gives x=C+uBx=C+\frac{u}{B}. The new output is y=Av+Dy=Av+D. This derivation assumes B0B\ne0.

Therefore the point map is (u,v)(C+uB,Av+D)\left(u,v\right)\mapsto\left(C+\frac{u}{B},Av+D\right). This single relationship handles translations, reflections, and scaling. It also preserves the difference between input and output changes. Substitution back into gg verifies the map. Every parent point is processed by the same coordinate rule.

A coordinate point map sends an original point through horizontal input changes and vertical output changes.

Worked example with a parabola

Start with parent f(x)=x2f(x)=x^2 and consider g(x)=2(x3)2+5g(x)=-2(x-3)^2+5. Match it to Af[B(xC)]+DAf[B(x-C)]+D. Here A=2A=-2, B=1B=1, C=3C=3, and D=5D=5. The vertex parent point is (0,0)(0,0). Mapping gives (3,5)(3,5).

The positive C=3C=3 shifts right three. Magnitude A=2|A|=2 stretches vertically by two. Negative AA reflects across the xx axis. Constant D=5D=5 shifts up five. No horizontal scale or reflection occurs because B=1B=1.

The parent range is [0,)[0,\infty). Multiplication by 2-2 reverses it to (,0](-\infty,0]. Addition of five produces (,5](-\infty,5]. Domain remains all real numbers. The mapped vertex and range agree with a downward-opening parabola.

Mapping several key points

One point establishes a feature but not an entire curve. Choose a small parent table with distinctive inputs. For f(x)=x2f(x)=x^2, useful points include (2,4)(-2,4), (1,1)(-1,1), (0,0)(0,0), (1,1)(1,1), and (2,4)(2,4). Transform each using the same map. Plot the mapped points before sketching.

For g(x)=2(x3)2+5g(x)=-2(x-3)^2+5, map (1,1)(1,1) to (4,3)(4,3). Map (1,1)(-1,1) to (2,3)(2,3). These symmetric points confirm the axis x=3x=3. Map (2,4)(2,4) to (5,3)(5,-3). Map (2,4)(-2,4) to (1,3)(1,-3).

The mapped table preserves connections among points. It also reveals vertical scale and reflection numerically. Avoid applying a different verbal sequence to each point. One algebraic map controls them all. A smooth curve should pass through the transformed points while retaining the parent’s qualitative structure.

Domain transforms through the input condition

If parent ff has domain set SS, then f[B(xC)]f[B(x-C)] is defined when B(xC)SB(x-C)\in S. This membership statement means the transformed input must be an allowed parent input. Outside multiplication and addition do not usually change domain. Inside changes can translate, scale, or reflect it. Solve the condition algebraically.

For g(x)=2(x4)g(x)=\sqrt{2(x-4)}, the square-root input must satisfy 2(x4)02(x-4)\geq0. Division by positive two gives x40x-4\geq0. Therefore x4x\geq4. The domain is [4,)[4,\infty). Bracket notation includes the endpoint because zero has a defined square root.

For h(x)=13xh(x)=\frac{1}{3-x}, the denominator cannot equal zero. Solve 3x03-x\ne0, giving x3x\ne3. The negative inside coefficient reflects and shifts the parent reciprocal graph. Algebraic restriction identifies the excluded input exactly. A sketch should confirm rather than replace the condition.

Range transforms through outputs

If parent range is set RR, then transformed outputs have form Ay+DAy+D for yRy\in R. A positive AA preserves range order. A negative AA reverses inequalities. Constant DD shifts all range values. The input transformation does not change which parent output values occur when its input map covers the parent domain.

Suppose ff has range [2,)[2,\infty) and g(x)=3f(x)+1g(x)=-3f(x)+1. Multiplying by 3-3 turns values into (,6](-\infty,-6]. Adding one gives (,5](-\infty,-5]. The endpoint 22 maps to 3(2)+1=5-3(2)+1=-5. The inequality direction changes because the scale factor is negative.

For restricted domains, an inside transformation can indirectly affect realized outputs if not every parent input remains available. The general set condition should then be used carefully. Do not update range by a slogan alone. Identify what outputs actually occur. Mapping critical points helps.

Intercepts require separate checks

The yy intercept occurs at displayed input x=0x=0. For g(x)=Af[B(xC)]+Dg(x)=Af[B(x-C)]+D, compute g(0)=Af(BC)+Dg(0)=Af(-BC)+D. It is not generally obtained by shifting the old yy intercept alone because inside transformations move which parent input lies on the yy axis. Direct substitution is reliable. The resulting point has coordinate form (0,g(0))(0,g(0)).

An xx intercept satisfies g(x)=0g(x)=0. Solve Af[B(xC)]+D=0Af[B(x-C)]+D=0. If A0A\ne0, this requires f[B(xC)]=DAf[B(x-C)]=-\frac{D}{A}. The transformed zeros may therefore come from parent points whose output is not zero. Vertical translation changes zero locations.

In contrast, if D=0D=0 and A0A\ne0, outside scaling alone preserves the parent zeros. Inside changes relocate them through the input map. Distinguish a zero from a yy intercept. Both are intercepts, but they solve different conditions. Label axes and equations.

Asymptotes and discontinuities transform too

A vertical asymptote at parent input u=au=a maps through B(xC)=aB(x-C)=a. Its new location is x=C+aBx=C+\frac{a}{B}. Vertical scaling and translation do not change that input location. The graph’s behavior on each side may reflect. Domain exclusions map by the same rule.

A horizontal asymptote y=Ly=L maps to y=AL+Dy=AL+D. Inside transformations usually do not change its output level. Negative AA reflects its approach direction. Vertical translation shifts it. This result follows by transforming outputs near the asymptote.

Holes and endpoints should be mapped as points. Open or closed status is preserved unless the new formula changes the defined value through cancellation or piecewise rules. Algebraic simplification can obscure excluded inputs. Track the original domain condition. Graph features carry logical information, not only visual style.

A feature-routing guide sends input-based features through the horizontal map and output-based features through the vertical map.

Periodic functions and frequency

If ff has period PP, then f(Bx)f(Bx) has period PB\frac{P}{|B|} for nonzero BB. A period is a positive input length over which outputs repeat. The reciprocal follows from solving B(x+T)=Bx+PB(x+T)=Bx+P. This gives BT=PBT=P and T=PBT=\frac{P}{B} in magnitude. Negative BB also reflects horizontally.

For g(x)=sin(3x)g(x)=\sin(3x) with angles in radians, parent sine period is 2π2\pi. The transformed period is 2π3\frac{2\pi}{3}. Its graph completes three cycles over an interval of length 2π2\pi. Calling 33 a horizontal stretch would contradict the increased cycle count. More rapid input sampling creates compression.

For h(x)=2cos[14(xπ)]1h(x)=2\cos\left[\frac{1}{4}(x-\pi)\right]-1, amplitude is 22. Period is 2π14=8π\frac{2\pi}{\frac{1}{4}}=8\pi. Phase translation is right by π\pi. Midline is y=1y=-1. Each parameter follows from a different part of the expression.

Order of operations can change the transformation

Outside scaling then translation gives Af(x)+DAf(x)+D. Translating output first and then scaling gives A[f(x)+D]=Af(x)+ADA[f(x)+D]=Af(x)+AD. These are equal only in special cases. For A=2A=2 and D=3D=3, the first adds three while the second adds six after expansion. Operation order changes the result.

Inside operations also require factoring. Expression f(2x6)f(2x-6) should be written f[2(x3)]f[2(x-3)]. It shifts right three and horizontally compresses by 12\frac{1}{2} under the combined map. Reading the un-factored 6-6 as a right shift of six is incorrect. Factor the inside coefficient before identifying CC.

Some operations commute. Vertical scaling and reflection across the xx axis can be represented by one signed factor. Horizontal and vertical transformations act on different coordinates and often yield the same final mapping regardless of verbal order. Algebra determines equivalence. Do not assume every list can be rearranged.

Equivalent formulas can describe one graph

Algebraically different expressions can define the same function. For example, (x2)2+4-(x-2)^2+4 and x2+4x-x^2+4x are equivalent after expansion. The first exposes transformations and vertex. The second exposes polynomial coefficients. Representation choice changes what is easy to see.

Factoring can reveal a hidden inside transformation. Expression f(2x+8)f(-2x+8) becomes f[2(x4)]f[-2(x-4)]. This form shows right translation by four, horizontal compression by 12\frac{1}{2}, and yy-axis reflection. The point map remains x=4u2x=4-\frac{u}{2}. Substitution verifies it.

Equivalent transformation descriptions may use different sequences. If their final algebraic formulas agree for every domain value, their graphs agree. Test symbolic equivalence before deciding they conflict. One or two numerical checks can find a mismatch but cannot prove equality alone. Algebra supplies the proof.

Modeling parameters have units

Transformations often calibrate models. Suppose ff accepts time in seconds and outputs position in metres. Outside constant DD must have metres to be added to output. Scale AA may be dimensionless or may carry conversion units depending on the model. Inside expression must have the input unit expected by ff.

If ff expects seconds, then B(xC)B(x-C) must be measured in seconds. When xx is seconds, CC is seconds and BB is dimensionless in a simple rescaling. A time offset cannot be added to a position output. Dimensional consistency constrains permissible transformations. It also clarifies parameter meaning.

Data-fitting software may report transformed parameters without context. A negative amplitude can be rewritten as a phase shift for some periodic models. Multiple parameter sets may represent the same curve. Units, domain, and identifiability matter. Graph transformations help interpret but do not replace model validation.

Common misconceptions and repairs

One misconception reads every visible plus sign as a rightward or upward shift. Location inside or outside the function determines the affected coordinate. Derive a mapped point. For f(x+4)f(x+4), solve x+4=ux+4=u and get x=u4x=u-4. The graph shifts left.

Another misconception uses horizontal factor BB instead of reciprocal 1B\frac{1}{B}. Inputs must be divided by BB to reproduce old samples. Test an old feature at u=6u=6 under f(2x)f(2x). It appears at x=3x=3. The example makes compression visible.

A third misconception transforms shape but ignores domain, range, or asymptotes. These features are part of the function. Map inputs for domain restrictions and outputs for range limits. Recalculate intercept conditions. A complete transformation includes both graph and defining information.

A reliable analysis routine

Identify the parent function and its key features. Rewrite the formula as Af[B(xC)]+DAf[B(x-C)]+D when possible. Factor the entire inside expression to expose BB and CC. Record signs and zero values. Avoid verbal conclusions until the structure is clear.

Derive or apply the point map (u,v)(C+uB,Av+D)\left(u,v\right)\mapsto\left(C+\frac{u}{B},Av+D\right). Transform several key points. Map input restrictions and vertical asymptotes through the horizontal coordinate rule. Map range endpoints and horizontal asymptotes through the output rule. Calculate intercepts directly.

Check one mapped point by substitution. Verify reciprocal horizontal scale and reflection directions. Confirm domain and range with algebra. Attach units when parameters model physical quantities. Finish by describing the transformed function in words.

Practice and connection forward

Consider g(x)=3f[2(x+1)]4g(x)=3f[-2(x+1)]-4. Here A=3A=3, B=2B=-2, C=1C=-1, and D=4D=-4. The graph shifts left one, compresses horizontally by 12\frac{1}{2}, and reflects across the yy axis. It stretches vertically by three and shifts down four. Each effect follows from the signed map.

Map old point (6,1)(6,-1). Its new input is 1+62=4-1+\frac{6}{-2}=-4. Its new output is 3(1)4=73(-1)-4=-7. Therefore the mapped point is (4,7)(-4,-7). Substitution into the general map verifies both coordinates.

Find the domain of 52x\sqrt{5-2x}. Require 52x05-2x\geq0, so x52x\leq\frac{5}{2}. Without looking back, derive why f(Bx)f(Bx) uses reciprocal horizontal scale. Inverse functions will reverse input–output roles and reflect graphs across y=xy=x. Later modeling will use transformations to interpret fitted parameters.

Knowledge Map

Where this lesson fits

Prerequisites

PolynomialsQuadratic FunctionsTrigonometric FunctionsTrigonometric Graphs

Next lessons

Function AnalysisInverse FunctionsFunction AnalysisPolynomial and Rational Behavior

Continue exploring

Connections

Related lessons

FunctionsFunctions and Function NotationFunction AnalysisInverse FunctionsFunction AnalysisPolynomial and Rational Behavior

Applications

  • model calibration
  • signal processing
  • graph interpretation