Affine Transform Form: Parameters of a Transformed Function

By Vegard Gjerde Based on Masterful Learning 12 min read
affine-transform-form math functions learning-strategies

Affine Transform Form writes a transformed function as g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d, where aa scales and reflects the output, bb scales and reflects the input, cc shifts the input horizontally, and dd shifts the output vertically. This single representation unifies all four standard transformations of a base function ff, provided a0a\neq 0 and b0b\neq 0. It is the foundation for reading, writing, and evaluating transformed functions in the Unisium Study System.

Unisium hero image titled Affine Transform Form showing the principle equation g(x) = a f(b(x-c)) + d and a conditions card.
The Affine Transform Form g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d with conditions a0a\neq 0 and b0b\neq 0.

On this page: The Principle | Conditions | Misconceptions | EE Questions | Retrieval Practice | Worked Example | Solve a Problem | FAQ


The Principle

Statement

A function gg is in affine transform form when it takes the shape g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d, where ff is a known base function and the four real-number parameters describe every standard transformation of ff‘s graph. The parameter cc controls the horizontal shift, bb controls horizontal scaling and reflection, aa controls vertical scaling and reflection, and dd controls the vertical shift. Any function formed by applying an affine map to the input and an affine map to the output of ff can be written in this form, provided a0a\neq 0 and b0b\neq 0.

Mathematical Form

g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d

Where:

  • gg = transformed function built from ff
  • ff = base function
  • aa = output scale factor; a|a| stretches or compresses vertically; a<0a < 0 reflects over the xx-axis; a0a\neq 0
  • bb = input scale factor; b|b| compresses or stretches horizontally; b<0b < 0 reflects over the yy-axis; b0b\neq 0
  • cc = horizontal shift; positive cc shifts right, negative cc shifts left
  • dd = vertical shift; positive dd shifts up, negative dd shifts down

Alternative Form

Expanding the inner expression b(xc)=bxbcb(x-c)=bx-bc gives the equivalent form g(x)=af(bxh)+dg(x)=a\,f(bx-h)+d where h=bch=bc. This notation appears in many textbooks, but it hides the horizontal shift: to recover cc from hh, divide by bb, giving c=h/bc=h/b.


Conditions of Applicability

Condition: a0a\neq 0; b0b\neq 0

Practical modeling notes

  • If a=0a=0, the output of ff is multiplied by zero and gg collapses to the constant dd, discarding all information about ff.
  • If b=0b=0, the input to ff is frozen at f(0)f(0) for every xx, again collapsing gg to a constant.
  • When b<0b < 0, the input is scaled and reflected simultaneously; these effects cannot be separated within the formula.
  • For a restricted-domain base function ff, verify that the transformed input b(xc)b(x-c) lands inside dom(f)\mathrm{dom}(f) for every xx you intend to evaluate.

When It Doesn’t Apply

Affine transform form describes gg in terms of a single base function ff. It does not cover:

  • Sums or products of two distinct functions: p(x)=f(x)+h(x)p(x)=f(x)+h(x) cannot be written as a single af(b(xc))+da\,f(b(x-c))+d unless hh is also a scaled/shifted copy of ff.
  • Compositions beyond one outer function: g(x)=f(f(x))g(x)=f(f(x)) is not in affine transform form because no single input affine map produces the nesting.

Want the complete framework behind this guide? Read Masterful Learning.


Common Misconceptions

Misconception 1: “The sign of cc gives the shift direction directly from the written expression”

The truth: The shift direction is opposite to the sign visible in the written formula. Because the form is f(b(xc))f(b(x-c)), a formula written as f(x+3)f(x+3) equals f(x(3))f(x-(-3)), so c=3c=-3 and the graph shifts left, not right.

Why this matters: Mixing up shift direction is the most common parameter-reading error. Always rewrite the inner expression as b(xc)b(x-c) before reading cc.

Misconception 2: ”bb stretches the graph horizontally by a factor of bb

The truth: The horizontal scale factor is 1/b1/|b|. When b=2b=2, the input is doubled before entering ff, which compresses the graph horizontally by a factor of 22 (width is halved). A stretch by 22 requires b=12b=\tfrac{1}{2}.

Why this matters: Confusing the reciprocal relationship leads to inverted stretch/compression conclusions whenever b1b\neq 1.

Misconception 3: “The expanded form af(bxh)+da\,f(bx-h)+d has horizontal shift hh

The truth: In the expanded form, the horizontal shift is h/bh/b, not hh. Only the factored form af(b(xc))+da\,f(b(x-c))+d lets you read cc directly.

Why this matters: Switching between factored and expanded forms without dividing by bb produces the wrong shift by a factor of bb.


Elaborative Encoding

Use these questions to build deep understanding. (See Elaborative Encoding for the full method.)

Within the Principle

  • What role does each of the four parameters play in the formula? Which parameters act on the input before ff is applied, and which act on the output after?
  • If you double a|a| while keeping bb, cc, dd fixed, what happens to the graph of gg? What if you double b|b| instead?

For the Principle

  • Given a formula g(x)=5f(3(x2))+1g(x)=5f(-3(x-2))+1, how do you decide which symbol plays the role of aa, bb, cc, dd before reading parameters? What structural check confirms the formula is already in canonical form?
  • If the condition b0b\neq 0 fails, why can you no longer call the result a transformation of ff?

Between Principles

  • Composition Definition states (f)(x)=f((x))(f\circ\ell)(x)=f(\ell(x)) for any inner function \ell. How does Affine Transform Form relate to this when you choose (x)=b(xc)\ell(x)=b(x-c)? What extra structure does Affine Transform Form add beyond composition in general?

Generate an Example

  • Describe in words what happens to g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d when you replace cc with c+1c+1 while holding aa, bb, dd fixed. Does the answer change depending on whether bb is positive or negative?

Retrieval Practice

Answer from memory, then click to reveal and check. (See Retrieval Practice for the full method.)

State the principle in words: _____A transformed function g is expressed as g(x) = a f(b(x-c)) + d, where a scales and reflects output, b scales and reflects input, c shifts input horizontally, and d shifts output vertically.
Write the canonical equation: _____g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d
State the canonical condition: _____a0;b0a\neq 0; b\neq 0

Worked Example

Use this worked example to practice Self-Explanation.

Problem

Given g(x)=2f(3x6)+5g(x)=-2f(3x-6)+5, write gg in canonical affine transform form and identify the parameters aa, bb, cc, dd.

Step 1: Verbal Decoding

Target: aa, bb, cc, dd
Given: gg
Constraints: inner expression 3x63x-6 is in expanded form; factor to match b(xc)b(x-c); outer expression directly yields aa and dd

Step 2: Visual Decoding

Draw a function pipeline with three labeled stages: input xx, inner map 3x63x-6, base function ff, outer map 2()+5-2(\cdot)+5, output g(x)g(x). Label the expanded inner expression bxbcbx-bc and mark the outer multiplier and additive constant. (The inner expression is in expanded form; factoring it will expose the canonical bb and cc.)

Step 3: Mathematical Modeling

  1. g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d

Step 4: Mathematical Procedures

  1. 3x6=3(x2)3x-6=3(x-2)
  2. g(x)=2f(3(x2))+5g(x)=-2f(3(x-2))+5
  3. a=2,b=3,c=2,d=5\underline{a=-2,\quad b=3,\quad c=2,\quad d=5}

Step 5: Reflection

  • Verification: a=20a=-2\neq 0 and b=30b=3\neq 0 — both conditions for affine transform form hold.
  • Connection to concept: the shift c=2c=2 emerges only after factoring; reading cc directly from the unexpanded constant 6-6 (getting c=6c=6) is the most common error here.
  • Graphical meaning: b=3b=3 compresses the graph of ff horizontally by a factor of 13\tfrac{1}{3}; a=2a=-2 reflects it over the xx-axis and stretches it vertically by 22.

Before moving on: self-explain the model

Try explaining Step 3 out loud (or in writing): why the canonical form af(b(xc))+da\,f(b(x-c))+d is the model you are matching, what the factoring step in Step 4 achieves, and how you would read cc incorrectly if you skipped factoring.

Mathematical model with explanation

Principle: Affine Transform Form — g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d.

Conditions: a=20a=-2\neq 0, b=30b=3\neq 0 — both canonical conditions hold after factoring.

Relevance: The formula is given in expanded inner form 2f(3x6)+5-2f(3x-6)+5; the canonical form requires factoring the inner expression to expose cc directly.

Description: Factoring 3x6=3(x2)3x-6=3(x-2) rewrites the inner expression from the pattern bxbcbx-bc to b(xc)b(x-c). With the canonical form in place, each parameter is read by direct comparison: outer multiplier 2-2 gives aa, inner scale 33 gives bb, inner shift 22 gives cc, and additive constant 55 gives dd.

Goal: Identify the four affine-transform parameters by converting the inner expression from expanded form to the canonical b(xc)b(x-c) factored form.


Solve a Problem

Apply what you’ve learned with Problem Solving.

Problem

Let f(1)=6f(-1)=6. Given h(x)=2f((x3))+1h(x)=2f(-(x-3))+1, identify the parameters aa, bb, cc, dd and compute h(4)h(4).

Hint (if needed): Read parameters directly from the formula, then trace x=4x=4 through the input pipeline.

Show Solution

Step 1: Verbal Decoding

Target: aa, bb, cc, dd; h(4)h(4)
Given: ff, hh
Constraints: hh is already in canonical affine transform form; the value of ff at input 1-1 is given as 66; bb is negative

Step 2: Visual Decoding

Draw a function pipeline with three labeled stages: input xx, inner map (x3)-(x-3), base function ff, outer map 2()+12(\cdot)+1, output h(x)h(x). Mark the reference point c=3c=3 on the input axis and label the remaining pipeline slots. (The inner expression is already in factored form b(xc)b(x-c); parameters can be read by direct comparison.)

Step 3: Mathematical Modeling

  1. h(x)=af(b(xc))+dh(x)=a\,f(b(x-c))+d
  2. h(4)=2f((43))+1h(4)=2f(-(4-3))+1

Step 4: Mathematical Procedures

  1. a=2,b=1,c=3,d=1a=2,\quad b=-1,\quad c=3,\quad d=1
  2. h(4)=2f(1)+1h(4)=2f(-1)+1
  3. h(4)=2(6)+1h(4)=2(6)+1
  4. h(4)=12+1h(4)=12+1
  5. a=2,  b=1,  c=3,  d=1;h(4)=13\underline{a=2,\; b=-1,\; c=3,\; d=1;\quad h(4)=13}

Step 5: Reflection

  • Verification: (43)=1-(4-3)=-1; f(1)=6f(-1)=6; 2(6)+1=132(6)+1=13 ✓; a=20a=2\neq 0, b=10b=-1\neq 0
  • Graphical meaning: b=1b=-1 reflects the input gap around c=3c=3; at x=4x=4 the gap is +1+1 but the reflected inner input is 1-1, matching the given ff-value.
  • Connection to concept: a negative bb causes horizontal reflection; recognizing this prevents confusing (x3)-(x-3) with a simple leftward shift.

PrincipleRelationship to Affine Transform Form
Function Rule DefinitionFoundation: affine transform form gives an explicit rule for gg from ff; once written, gg is itself a well-defined function rule
Composition DefinitionStructural prerequisite: affine transform form is a composition of ff with the inner linear map (x)=b(xc)\ell(x)=b(x-c)
Evaluate by SubstitutionOperational successor: to compute g(x0)g(x_0) in affine form, evaluate the transformed input first, then substitute through the base rule and outer scaling

See Principle Structures for how these relationships fit hierarchically.


FAQ

What is the affine transform form of a function?

The affine transform form writes a transformed function as g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d, where ff is the base function and aa, bb, cc, dd are real parameters that control vertical scaling, horizontal scaling, horizontal shift, and vertical shift respectively.

What do the four parameters in g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d do?

cc shifts the graph horizontally (c>0c > 0 right, c<0c < 0 left). bb scales and/or reflects horizontally (horizontal scale is 1/b1/|b|; b<0b < 0 adds a horizontal reflection). aa scales and/or reflects vertically (a|a| is the vertical scale; a<0a < 0 reflects over the xx-axis). dd shifts the graph vertically.

Why must a0a\neq 0 and b0b\neq 0?

If a=0a=0, the entire ff-term vanishes and gg becomes the constant dd, dropping all dependence on ff. If b=0b=0, the input to ff is always 00 regardless of xx, again reducing gg to a constant. Neither represents a genuine transformation of ff.

How is affine transform form different from the expanded form af(bxh)+da\,f(bx-h)+d?

The two forms are algebraically equivalent when h=bch=bc, but they read differently. In the factored canonical form af(b(xc))+da\,f(b(x-c))+d, the horizontal shift cc is directly visible. In the expanded form af(bxh)+da\,f(bx-h)+d, the shift is h/bh/b—you must divide by bb to recover it. When reading parameters, always factor first.

Why is the horizontal scale factor 1/b1/|b| rather than b|b|?

When b=2b=2, the input to ff receives a doubled value: evaluating g(x)=f(2x)g(x)=f(2x) at x=1x=1 gives f(2)f(2), not f(1)f(1). The feature that used to appear at input 22 in ff now appears at input 11 in gg—the graph is compressed by 12\tfrac{1}{2}. The general rule: horizontal scale is 1/b1/|b|, so larger b|b| compresses the graph and b|b| close to 00 stretches it.

How do I read the parameters when the formula isn’t yet in canonical form?

Factor the inner expression into b(xc)b(x-c): if written as f(2x6)f(2x-6), rewrite as f(2(x3))f(2(x-3)) to see b=2b=2, c=3c=3. Then match the outer expression to a()+da\,(\cdots)+d.


  • Functions Subdomain Map — Return to the functions hub to see where transformed-function form sits relative to rule definition, evaluation, and composition
  • Principle Structures — See how affine transform form sits in the functions hierarchy alongside composition and evaluation
  • Self-Explanation — Practice explaining each parameter’s role while working through transformed-function problems
  • Retrieval Practice — Build instant recall of the four-parameter form before exams
  • Problem Solving — Apply the Five-Step Strategy to evaluate transformed functions systematically

How This Fits in Unisium

Within the functions subdomain, Unisium structures the affine transform form as a representational principle: g(x)=af(b(xc))+dg(x)=a\,f(b(x-c))+d is the object form you identify and write, and tracing the inner and outer parameters is the procedure. The platform surfaces this principle in elaborative encoding exercises that probe each parameter’s meaning, retrieval prompts that strengthen recall of the canonical formula, and problem sets that require Evaluate by Substitution on transformed inputs. Because this form underpins graph transformations across all function families—polynomial, exponential, trigonometric—it reappears in nearly every functions topic that follows.

Ready to master the affine transform form? Start practicing with Unisium or explore the full learning framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The study system for physics, math, & programming that works: retrieval, connection, explanation, problem solving, and more.

Read the book (opens in new tab) ISBN 979-8-2652-9642-9

Ready to apply this strategy?

Join Unisium and start implementing these evidence-based learning techniques.

Start Learning with Unisium Read More Guides

Want the complete framework? This guide is from Masterful Learning.

Learn about the book →