Quarry School

Vertical stretch and compression: multiply the heights

Subject: MathematicsLeans on: Signed multiplicationLeans on: Exact fractionsLeans on: Order of operations
Level 2 · BuildingAbout 21 min read9 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Imagine a drawing on a rubber sheet fastened along a horizontal line.

    Rule

    For g(x) = a·f(x), (u, v) becomes (u, a·v). If |a| > 1, stretch vertically; if 0 < |a| < 1, compress vertically.
    If a < 0, also reflect across the x-axis. If a = 0, all defined outputs become zero; this is a collapse, not an ordinary stretch or compression.

    Step

    1. 1. Find the multiplier a outside the function. Its magnitude |a| sets the size change, and its sign tells you whether to reflect.

    2. 2. Keep every input coordinate. Multiply each entire signed output by a, including outputs below zero.

    3. 3. If a shift is added outside afterward, multiply the original height first and then add the shift. The shifted graph is scaled relative to the line y = k in a·f(x) + k.

    4. 4. Keep the original domain. Multiply the original range values by a, reversing their order when a is negative.

    5. 5. Check a transformed point by substituting its unchanged input into the new formula.

    Question

    Let f(x) = x+4 − 2. Its domain is [−4, ∞) and its range is [−2, ∞). The table lists five points on the graph of f: (−4, −2), (−3, −1), (0, 0), (5, 1) and (12, 2). Let g(x) = −3·f(x). (a) Identify the multiplier and describe how the graph of g is obtained from the graph of f. (b) Find the five corresponding points on the graph of g, and write g(x) as a formula in x. (c) State the domain and range of g. (d) Let h(x) = −3·f(x) + 1. Find the point on the graph of h that comes from (12, 2), and state the range of h.

    Answer

    (a) a = −3: a vertical stretch by a factor of 3 and a reflection across the x-axis. (b) (−4, 6), (−3, 3), (0, 0), (5, −3), (12, −6); g(x) = −3x+4 + 6. (c) Domain [−4, ∞), range (−∞, 6]. (d) The point is (12, −5); the range of h is (−∞, 7].

    Trap

    Saying a stretch moves every point upward. A positive scale larger than 1 sends positive outputs up and negative outputs down, increasing distance from the x-axis. Also keep a·f(x) separate from f(ax): the bottom two table rows preview the horizontal-coordinate changes explained in lesson 7.

    Strategy

    1. 1. Identify the outside factor a. Its magnitude gives the distance change and its sign gives the reflection.

    2. 2. Keep each known input and multiply its output by a. This finds the new height at that same address; for (2, 5) and a = 3, the new height is 3 × 5 = 15.

    3. 3. If there is a final outside shift k, add it to the scaled height. This finishes the change in the written order; for old height 5 in −2f(x) + 3, compute −10 + 3 = −7.

    4. 4. Keep the original Domain and apply the same height calculation to the Range. A negative multiplier reverses ordered endpoints; [1, 5] scaled by −2 becomes [−10, −2].

    5. 5. Substitute an unchanged input into the transformed formula to check its output. For c(x) = 12f(x) and f(2) = 5, c(2) = 52, and doubling this result recovers 5.

    Term

    Transformation

    Definition

    A change to a Function that moves, flips, stretches, or compresses its Graph.

    Term

    Function

    Definition

    A rule that gives exactly one Output for every accepted Input.

    Term

    Input

    Definition

    The value you give a Function before its rule runs, usually labeled x.

    Term

    Output

    Definition

    The result returned by a Function, written f(x) or y.

    Term

    Graph

    Definition

    A picture of a Function's accepted Input and Output pairs, plotted as points (x, f(x)).

    Term

    Domain

    Definition

    All Inputs a Function accepts without an invalid calculation.

    Term

    Range

    Definition

    All Outputs a Function can actually produce from its accepted Inputs.

    Term

    Endpoint

    Definition

    A boundary point where a graph or interval starts or stops.

    Term

    Vertical reflection

    Definition

    Taking the opposite of every Output, so the Graph flips across the x-axis.

    Term

    Reflection

    Definition

    A flip across a line that places each point the same distance on the opposite side.

    Term

    Vertical stretch

    Definition

    Multiplying every height by a factor greater than 1 in magnitude, increasing distances from the x-axis. A negative factor also reflects.

    Term

    Vertical compression

    Definition

    Multiplying heights by a nonzero factor smaller than 1 in magnitude, reducing distances from the x-axis. A negative factor also reflects.

    Term

    Horizontal stretch

    Definition

    Multiplying sideways distances by a factor greater than 1. In f(bx), use 0 < |b| < 1; a negative b also reflects.

    Term

    Horizontal compression

    Definition

    Multiplying sideways distances by a factor between 0 and 1. In f(bx), use |b| > 1; a negative b also reflects.

    Term

    Scale factor

    Definition

    The positive multiplier describing how distances change. Vertical distance scales by |a|; horizontal distance scales by the Reciprocal of |b|.

    Term

    Identity function

    Definition

    The Function f(x) = x, which returns its Input unchanged.

    Term

    Cubic function

    Definition

    A Function built from a nonzero x3 term and optional lower powers. The toolkit example is f(x) = x3.

    Term

    Axis

    Definition

    One of the two reference number lines on a graph. The x-axis is horizontal; the y-axis is vertical. Together they are called axes.

    Term

    Reference point

    Definition

    A recognizable point you track to identify or sketch a Transformation.

    Term

    Order of operations

    Definition

    The agreed sequence for reading arithmetic: parentheses, powers, multiplication and division, then addition and subtraction; tied operations go left to right.

    Term

    Coordinate

    Definition

    One number in a point's address. In (x, y), x measures sideways position and y measures height from the Origin.

    Term

    Identity

    Definition

    An equation true for every allowed input, rather than a single numerical coincidence.

    Term

    Magnitude

    Definition

    The size of a number without its sign, measured as distance from zero.

    Term

    Substitution

    Definition

    Replacing every occurrence of a letter by a chosen value or expression.

    Term

    Denominator

    Definition

    The bottom of a fraction, naming the divisor. It cannot be zero.

    Term

    Nonnegative

    Definition

    At least zero: zero and positive real numbers.

    Term

    Nonpositive

    Definition

    At most zero: zero and negative real numbers.

    Term

    Ratio

    Definition

    A comparison made by dividing one quantity by another nonzero quantity.

    Term

    x-intercept

    Definition

    A graph point on the x-axis, where its output is zero.

    1 In plain words

    Imagine a drawing on a rubber sheet fastened along a horizontal line. Pull the sheet vertically so every dot is twice as far from that line. Dots above it move higher, dots below it move lower, and dots on it stay put. A Vertical stretch multiplies every signed height by a number larger than 1. A Vertical compression multiplies those heights by a positive fraction smaller than 1, bringing dots closer to the x-axis. The Scale factor says how much the distance changes. Keep each dot's horizontal address. A negative multiplier also flips the drawing across the x-axis.

    2 Picture it

    height doubledheight doubled−222610height doubledheight doubled−3−2−11232610
    Multiplying x2 by 2 doubles each height while keeping the same horizontal coordinate.

    Reminder

    Reminder: Signed multiplication, Exact fractions, Order of operations
    • Signed multiplication. A positive factor keeps a height's sign: 12 × (−6) = −3. A negative factor reverses it: (−2) × 5 = −10.
    • Exact fractions. One half of 5 is 52 = 2.5 exactly. Multiplying the new height by 2 recovers 5.
    • Order of operations. Multiply before adding: −3 × 2 + 2 = −6 + 2 = −4. Parentheses change the job: −3(2 + 2) = −12.

    3 Why

    If f(u) = v, then a·f(u) = a·v, so a point moves from (u, v) to (u, a·v). Its distance from the x-axis changes from |v| to |a|·|v|. This explains why multiplying a negative height by 2 sends it farther downward, rather than upward. A negative a reverses the sign as well as changing the distance. The same original input is still evaluated, so vertical scaling preserves the domain and multiplies the range values.

    4 The rule

    For g(x)=a·f(x), (u, v) becomes (u,a·v).

    If |a| > 1, stretch vertically; if 0 < |a| < 1, compress vertically.
    If a < 0, also reflect across the x-axis. If a=0, all defined outputs become zero; this is a collapse, not an ordinary stretch or compression.

    The same idea, five ways

    Say it

    A vertical scale changes how far each height lies from the x-axis. A negative factor also puts it on the opposite side.

    Write it

    Multiply every old output by the outside factor a while keeping its input coordinate fixed.

    In math
    • g(x) = a·f(x); (u, v) becomes (u, a·v).
    • |a| > 1: Vertical stretch. 0 < |a| < 1: Vertical compression.
    • a < 0: also a Vertical reflection. |a| = 1: no size change.
    • a = 0: defined heights collapse to 0, with the original Domain retained.
    Like

    Pull a rubber drawing away from the horizontal axis or press it closer while holding each sideways address fixed.

    See it
    halved heighthalved height−6−4−2246−6−4−2246
    Halving signed heights brings both sides of y = x closer to the x-axis.

    The same idea, other ways

    As distance from a mirror line

    A stretch by 2 doubles distance from the x-axis. Old height 4 becomes 8, old height −4 becomes −8, and zero stays zero. The sign tells which side of the line contains the point; the magnitude tells the distance.

    As distance from a mirror line

    g(x) = a·f(x); (u, v) becomes (u, a·v).

    As a worker after the machine

    The old function gives height 5. A worker multiplying by 3 changes it to 15 and leaves the input 2 untouched. A worker multiplying by 12 changes it to 52. Both jobs happen after f has returned its answer.

    old output 5multiply by 3inputoutputnew height 15
    The vertical multiplier acts on the completed answer.
    As a comparison with a shift

    For x2, a scale by 2 keeps the zero height at zero and sends height 4 to 8. Adding 3 instead sends zero to 3 and 4 to 7. Scaling changes distances proportionally; shifting adds the same amount to every height.

    As a comparison with a shift

    g(x) = a·f(x); (u, v) becomes (u, a·v).

    FormulaEffectA point (u, v) goes to
    a·f(x), a > 1Vertical stretch by a(u, a·v)
    a·f(x), 0 < a < 1Vertical compression by a(u, a·v)
    f(bx), b > 1Horizontal compression by 1b(ub,v)
    f(bx), 0 < b < 1Horizontal stretch by 1b(ub,v)

    Part 1: Vertical stretch

    Think of a graph drawn on a sheet that you pull away from the x-axis. Multiplying its heights by 2 doubles their distances from that axis. You do not move the points left or right, and a zero height stays zero. In a population model, twice as large means twice the population at the same time. It does not mean that the population reaches its stages sooner.

    • Formula: g(x) = a·f(x), with a > 1 for a positive Vertical stretch. The point (u, v) becomes (u, a·v).
    • The Domain stays the same. Multiply every Range value, including negative ones, by a.
    • An x-intercept is a point on the x-axis, where the output is 0. The x-intercepts stay fixed for any nonzero vertical multiplier because a × 0 = 0. For x2, the point (0, 0) therefore stays fixed.
    • For a < 0, the magnitude |a| determines the stretch or compression and the sign adds a Vertical reflection.
    (−2, 8)(1, 2)−222610
    For 2x2, each original height doubles and the point at height zero remains fixed.

    Worked example

    Double a quadratic's heights

    Start with f(x) = x2. Write its vertical stretch by 2 and move the original points (1, 1) and (−2, 4).
    This asks you to find the new address or height of the given graph information.

    newnew−222610
    Multiplying outside by 2 doubles heights at fixed inputs.
    Show the steps and the answer
    1. Write g(x)=2f(x)=2x2.The requested vertical scale multiplies the function's output after it is calculated.
    2. (1, 1) becomes (1,2×1)=(1,2).The input stays 1 and its height doubles.
    3. (−2,4) becomes (−2,2×4)=(−2,8).The negative input also stays fixed; the multiplier acts on its output 4.
    Answer
    • g(x)=2x2.
    • New points: (1, 2) and (−2, 8).
    • Domain: (−∞, ∞).
    • Range: [0, ∞).
    Double-check g(−2) = 2(−2)2 = 2 × 4 = 8. The original height 4 and the new height 8 have ratio 2.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A vertical stretch by 2 turns x2 into (2x)2.
    That changes the input and gives 4x2. The stated outside stretch is 2x2. At input 1 its correct height is 2, rather than 4.
    ✓ Instead: g(x) = 2x2.
    New points: (1, 2) and (−2, 8).
    Domain: (−∞, ∞).
    Range: [0, ∞).

    Tips and tricks

    • Use the displayed landmark or known column as a check before drawing any additional points.

    Part 2: Vertical compression

    Imagine lowering every shelf to half its signed height from the floor line on a drawing. A shelf at height 6 goes to 3, while a mark at height −6 goes to −3. Both are closer to the line. A Vertical compression keeps the horizontal address and multiplies the entire answer by a positive fraction below 1. It changes the distance from the axis, rather than subtracting a fixed amount.

    • Formula: c(x) = a·f(x), with 0 < a < 1. The point (u, v) becomes (u, a·v).
    • Multiplying by 12 is dividing the whole output by 2. The same operation applies to every table entry.
    • Compression keeps the original Domain. If the original Range is [−6, 10], multiplication by 12 gives [−3, 5].
    • The identity multiplier a = 1 leaves all heights unchanged. The multiplier a = 0 collapses every defined height to zero while retaining the original domain.
    (−4, −2)(4, 2)−6−4−2246−6−4−2246
    Halving y = x brings both positive and negative heights closer to the x-axis.

    Worked example

    Compress a negative output too

    If f(4) = 6 and f(−4) = −6, find the corresponding points on c(x) = 12f(x).
    This asks you to find the new address or height of the given graph information.

    input xoutput f(x)−4−646
    x:−4,4;f(x):−6,6.
    Show the steps and the answer
    input xoutput f(x)−4−646
    The same picture again: x: −4, 4; f(x): −6, 6.
    input xoutput c(x)−4−343
    x:−4,4;c(x):−3,3.
    1. At input 4, c(4)=12×6=3.One half of six is three, and vertical scaling keeps the input fixed.
    2. At input −4,c(−4)=12×(−6)=−3.A positive times a negative is negative, and half the distance six is three.
    3. The new points are (4, 3) and (−4,−3).Each unchanged input is paired with its newly halved output.
    Answer
    • (4, 6) becomes (4, 3).
    • (−4, −6) becomes (−4, −3).
    Double-check Doubling the new outputs 3 and −3 recovers 6 and −6. Their distances from the x-axis both fell from 6 to 3.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Compressing old height −6 by 12 produces −12.
    Compression brings the height closer to zero. Multiply −6 by one half to get −3; doubling it instead is a stretch.
    ✓ Instead: (4, 6) becomes (4, 3).
    (−4, −6) becomes (−4, −3).

    Tips and tricks

    • Use the displayed landmark or known column as a check before drawing any additional points.

    Part 3: Negative vertical scale

    A negative scale does two jobs. Its size stretches or compresses the drawing, and its minus sign reflects the drawing across the x-axis. Think of pulling a dot to twice its distance from a mirror line and then placing it on the other side. A factor of −2 therefore doubles distance and reverses the height's sign. A factor of −12 halves distance and reverses the sign.

    • Write a = −|a| when a < 0. The factor |a| gives the size change; the remaining minus gives the reflection.
    • If a = −1, the transformation is a reflection with no size change. If a = 0, it is a collapse, not a reflection or ordinary scale.
    • For g(x) = a·f(x) + k, scale the old height first and add k afterward. The final distance from y = k is |a| times the original distance from the x-axis.
    • A negative multiplier reverses ordered range endpoints: if f has range [1, 5], −2f has range [−10, −2].
    (2, −2)fixed−22−448
    The graph −12x2 has half the distance from the x-axis and the opposite sign of x2.

    Worked example

    Compress and reflect a quadratic

    Describe g(x) = −12x2 relative to f(x) = x2. Move the original point (2, 4) and give the domain and range.
    This asks you to change the coordinate named by each mirror move and keep the other coordinate.

    Show the steps and the answer
    newrange−4−224−448
    Half the distance and opposite signs give new point (2, −2).
    1. The multiplier is a=−12, whose magnitude is 12.The magnitude measures distance change without its direction.
    2. Compress vertically by 12, then reflect across the x-axis.The magnitude lies between 0 and 1, and the negative sign reverses output signs.
    3. Keep input 2. The new output is −12×4=−2, so the point becomes (2,−2).The outside factor acts on the whole old height.
    4. Domain: all real numbers. Range: (−∞,0].Squaring still accepts all real inputs; every nonnegative square now becomes nonpositive, and arbitrarily large squares give arbitrarily negative heights.
    Answer
    • Vertical compression by 12 and reflection across the x-axis.
    • (2, 4) becomes (2, −2).
    • Domain: (−∞, ∞).
    • Range: (−∞, 0].
    Double-check g(2) = −12 × 22 = −12 × 4 = −2. Its distance from the x-axis is 2, half the original distance 4.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The minus in −12x2 makes the new point from (2, 4) equal (−2, 2).
    The multiplier is outside, so input 2 stays fixed. It halves height 4 to 2 and reverses that height to −2.
    ✓ Instead: Vertical compression by 12 and reflection across the x-axis.
    (2, 4) becomes (2, −2).
    Domain: (−∞, ∞).
    Range: (−∞, 0].

    Tips and tricks

    • Use the displayed landmark or known column as a check before drawing any additional points.

    5 How

    1. Find the multiplier a outside the function. Its magnitude |a| sets the size change, and its sign tells you whether to reflect.
    2. Keep every input coordinate. Multiply each entire signed output by a, including outputs below zero.
    3. If a shift is added outside afterward, multiply the original height first and then add the shift. The shifted graph is scaled relative to the line y = k in a·f(x) + k.
    4. Keep the original domain. Multiply the original range values by a, reversing their order when a is negative.
    5. Check a transformed point by substituting its unchanged input into the new formula.

    Read an outside factor and move heights

    1
    Is a = 0?
    YesEvery permitted input has output 0 before any final shift. Keep the original Domain.
    NoUse |a| to identify the size change.
    ↓
    2
    Is |a| > 1?
    YesStretch vertically by |a|.
    NoIf 0 < |a| < 1, compress vertically by |a|. If |a| = 1, there is no size change.
    ↓
    3
    Is a negative?
    YesAlso reflect across the x-axis by reversing every output sign.
    NoKeep every output sign during the positive scale.
    ↓
    4
    Is a final outside shift added?
    YesAdd the shift after multiplying each old output.
    NoThe scaled signed output is the final height.
    1. Identify the outside factor a. Its magnitude gives the distance change and its sign gives the reflection.
    2. Keep each known input and multiply its output by a. This finds the new height at that same address; for (2, 5) and a = 3, the new height is 3 × 5 = 15.
    3. If there is a final outside shift k, add it to the scaled height. This finishes the change in the written order; for old height 5 in −2f(x) + 3, compute −10 + 3 = −7.
    4. Keep the original Domain and apply the same height calculation to the Range. A negative multiplier reverses ordered endpoints; [1, 5] scaled by −2 becomes [−10, −2].
    5. Substitute an unchanged input into the transformed formula to check its output. For c(x) = 12f(x) and f(2) = 5, c(2) = 52, and doubling this result recovers 5.

    6 Worked example

    Worked example

    Stretch and reflect a square-root graph: g(x) = −3·f(x)

    Let f(x) = x+4 − 2. Its domain is [−4, ∞) and its range is [−2, ∞). The table lists five points on the graph of f: (−4, −2), (−3, −1), (0, 0), (5, 1) and (12, 2). Let g(x) = −3·f(x). (a) Identify the multiplier and describe how the graph of g is obtained from the graph of f. (b) Find the five corresponding points on the graph of g, and write g(x) as a formula in x. (c) State the domain and range of g. (d) Let h(x) = −3·f(x) + 1. Find the point on the graph of h that comes from (12, 2), and state the range of h.

    input xoutput f(x)−4−2−3−10051122
    x:−4,−3,0,5,12;f(x):−2,−1,0,1,2.
    Show the steps and the answer
    input xoutput f(x)−4−2−3−10051122↓ evaluate: input given, read the output below it
    Table of the five given points on f(x) = x+4 − 2: inputs −4, −3, 0, 5, 12 with outputs −2, −1, 0, 1, 2.
    1. Read the multiplier outside f: g(x)=−3·f(x), so a=−3. Since |a|=3>1, the graph is stretched vertically by a factor of 3. Since a < 0, it is also reflected across the x-axis.The −3 multiplies the output f(x), not the input x, so it changes heights only. Its size 3 triples each point's distance from the x-axis, and its negative sign puts each point on the opposite side of the axis.
    2. Keep each input and multiply each whole signed output by −3: (−4,−2)→(−4,6),(−3,−1)→(−3,3),(0,0)→(0,0),(5,1)→(5,−3),(12,2)→(12,−6).If (u, v) is on f, then g(u) = −3·f(u) = −3v, so the point over input u moves from height v to height −3v. Heights below zero are multiplied too and land above the axis (−2 becomes 6). Heights above zero land below it (2 becomes −6). A height of 0 stays 0, so the x-intercept (0, 0) does not move.
    3. Write the formula: g(x)=−3(x+4−2)=−3x+4+6.The multiplier acts on the entire output of f, including its −2, which becomes +6. Multiplying only the root, as in −3x+4 − 2, would leave the endpoint at (−4, −2) instead of moving it to (−4, 6).
    4. Keep the domain: g has domain [−4,∞). Multiply the range of f, [−2,∞), by −3. The endpoint −2 becomes 6, and the outputs that increase without bound now decrease without bound. The order reverses, so g has range (−∞,6].Scaling heights changes no input, so the allowed inputs are still those with x + 4 ≥ 0. Multiplying by a negative number reverses an inequality: f(x) ≥ −2 gives −3·f(x) ≤ 6. The value 6 is reached at x = −4, so the bracket at 6 is closed.
    5. For h(x)=−3·f(x)+1, multiply first and then add. From (12, 2), −3·2=−6 and −6+1=−5, so the point is (12,−5). Since h(x)=g(x)+1, every output of g rises by 1. The top value 6 becomes 7, so h has range (−∞,7].In −3·f(x) + 1 the multiplication comes before the addition. Adding first would give −3·(2 + 1) = −9, which is a point of the different function −3·f(x) − 3. Equivalently, h is scaled relative to the line y = 1: the point that was 2 above the x-axis ends up 3·2 = 6 below y = 1, at y = −5.
    6. Check (5, −3) by substituting its unchanged input into the new formula: g(5)=−35+4+6=−3·3+6=−3.A transformed point keeps its input, so the new formula at that input must return the new height. It returns −3, the height found in step 2.
    Answer
    • (a) a = −3: a vertical stretch by a factor of 3 and a reflection across the x-axis. (b) (−4, 6), (−3, 3), (0, 0), (5, −3), (12, −6)
    • g(x) = −3x+4 + 6. (c) Domain [−4, ∞), range (−∞, 6]. (d) The point is (12, −5)
    • the range of h is (−∞, 7].
    Double-check g(5) = −39 + 6 = −9 + 6 = −3, which matches (5, −3). g(−4) = −30 + 6 = 6. Since −3x+4 is never positive, 6 is the largest output, which matches the range (−∞, 6]. Also h(x) = −3x+4 + 7, and h(12) = −316 + 7 = −12 + 7 = −5, which matches (12, −5).

    Work to write

    1. a = −3: |a| = 3 > 1, so vertical stretch by a factor of 3; a < 0, so reflect across the x-axis
    2. (u,v)→(u,−3v):(−4,6),(−3,3),(0,0),(5,−3),(12,−6)
    3. g(x)=−3(x+4−2)=−3x+4+6
    4. Domain of g: [−4, ∞)
    5. f(x) ≥ −2, so −3·f(x) ≤ 6; range of g: (−∞, 6]
    6. h: multiply first, then add: −3·2 + 1 = −5, so (12, 2) → (12, −5)
    7. Range of h: (−∞, 6] shifted up 1 gives (−∞, 7]
    8. Check: g(5) = −39 + 6 = −3, matching (5, −3)

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 6

    Halve a whole table

    OpenStax problem

    Use the original f table shown beside this question. List the corresponding known points on c(x) = 12f(x).
    This asks you to attach each known output to its transformed input and calculate any requested new height.

    input xoutput f(x)214367811
    x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
    Show the steps and the answer
    input xoutput f(x)214367811
    The same picture again: x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
    input xoutput c(x)21/243/267/2811/2
    x:2,4,6,8;c(x):12,32,72,112.
    1. Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
    2. Copy inputs 2, 4, 6, 8 without changing them.A vertical compression multiplies outputs, not input coordinates.
    3. Halve each output: 1÷2=12,3÷2=32,7÷2=72, and 11÷2=112.The same scale factor applies to every original height.
    4. The exact decimal forms are 0.5, 1.5, 3.5, and 5.5.Each denominator is 2, so dividing produces a terminating decimal without rounding.
    Answer
    • (2,12)=(2,0.5).
    • (4,32)=(4,1.5).
    • (6,72)=(6,3.5).
    • (8,112)=(8,5.5).
    Double-check At input 6, c(6) = 12 × 7 = 72. Doubling every new output recovers the original row 1, 3, 7, 11.

    Rung 2 of 6

    A different table compressed by one quarter

    Use the second textbook practice table shown beside this question. For this original transformation, make the table for c(x) = 14f(x). This asks you to keep each input and quarter its output.

    input xoutput f(x)21241662080
    x: 2, 4, 6, 8; f(x): 12, 16, 20, 0.
    Show the steps and the answer
    input xoutput f(x)21241662080
    The same picture again: x: 2, 4, 6, 8; f(x): 12, 16, 20, 0.
    input xoutput c(x)23446580
    x: 2, 4, 6, 8; c(x): 3, 4, 5, 0.
    1. Read f(2)=12,f(4)=16,f(6)=20, and f(8)=0 from the four displayed columns.The input and output in the same column belong together.
    2. Divide the first three heights by 4: 12÷4=3,16÷4=4,20÷4=5.Multiplication by 14 quarters the entire output.
    3. The last height stays 0 because 14×0=0; keep inputs 2, 4, 6, 8.A vertical compression changes heights only, and multiplying zero still gives zero.
    Answer
    • c: use the displayed compressed table.
    • At input 8 the output is still 0.
    Double-check c(6) = 14f(6) = 14 × 20 = 5. Multiplying the complete new output row by 4 restores the original row.

    Rung 3 of 6

    Twice the population at the same time

    OpenStax problem

    A fruit-fly population graph has reference points (0, 1), (3, 3), (6, 2), and (7, 0). A second population is twice as large at every time. Give its formula in terms of f and its corresponding points.
    This asks you to attach each known output to its transformed input and calculate any requested new height.

    input toutput f(t)01336270
    t: 0, 3, 6, 7; f(t): 1, 3, 2, 0.
    Show the steps and the answer
    input toutput f(t)01336270
    Read each column as one t input paired with its f(t) output.
    input toutput P(t)02366470
    Read each column as one t input paired with its P(t) output.
    1. Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
    2. Write P(t)=2f(t).Twice as large describes an output change at the same time input t.
    3. Keep times 0, 3, 6, 7. Multiply heights 1, 3, 2, 0 by 2 to get 2, 6, 4, 0.The population doubles at each unchanged time, including zero population.
    4. Plot (0, 2), (3, 6), (6, 4), and (7, 0), following the same time pattern with doubled heights.These are the original reference points after vertical scaling. Their horizontal coordinates remain unchanged.
    Answer
    • P(t) = 2f(t).
    • New points: (0, 2), (3, 6), (6, 4), (7, 0).
    Double-check P(3) = 2f(3) = 2 × 3 = 6, and P(7) = 2 × 0 = 0. The known reference point at time 3 keeps that time. The four supplied points alone do not establish a greatest population.

    Rung 4 of 6

    Recognize a cubic scale from graph points

    In this original graph example, the function is known to have the form g(x) = a·x3 and contains (1, 4) and (2, 32). Find a and describe the transformation.
    This asks you to find the new address or height of the given graph information.

    givengiven−22−32−161632
    The supplied points agree with the stated family g(x) = 4x3.
    Show the steps and the answer
    1. For the Cubic function f(x)=x3,f(1)=13=1.To find a vertical scale, compare the new and old heights at the same nonzero-output input.
    2. Use g(1)=a×1=4, so a=4.Dividing the new height 4 by the old height 1 gives the multiplier.
    3. Write g(x)=4x3, a vertical stretch by 4.The positive multiplier 4 is greater than 1, so it increases distances from the x-axis without reflection.
    4. Check the other supplied point: 4×23=4×8=32.A second known point must agree with the candidate scale. The assumed form g(x) = a·x3 is what makes one nonzero height sufficient to determine a.
    Answer
    • a = 4.
    • g(x)=4x3.
    • Vertical stretch by 4.
    Double-check The original cubic gives −1 at x = −1, so the new formula predicts −4 there. The signed height is multiplied by the same factor as the positive heights. The second supplied point independently confirms a = 4.

    Rung 5 of 6

    Stretch the identity function, then shift

    OpenStax problem

    Write the formula obtained by stretching the Identity function f(x) = x vertically by 3, then shifting it down by 2.
    This asks you to find the new address or height of the given graph information.

    newnew−4−224−448
    The stretched and lowered line passes through (0, −2) and (1, 1).
    Show the steps and the answer
    1. Start with f(x)=x. A vertical stretch by 3 gives 3f(x)=3x.The identity function returns the same number it receives, and the outside multiplier triples that output.
    2. Subtract 2 afterward: g(x)=3x−2.The instruction says to shift the stretched graph down, so the subtraction follows the multiplication.
    3. At input 0, the original height 0 becomes −2. At input 1, the original height 1 becomes 3×1−2=1.These two points show the shift and the tripled change in height between neighboring inputs.
    Answer
    • g(x)=3x−2.
    • Points: (0, −2) and (1, 1).
    • Domain and range: (−∞, ∞).
    Double-check At input 2, g(2) = 6 − 2 = 4. Starting with the original point (2, 2), tripling its height gives 6 and shifting down 2 gives 4. Reversing the order would give 3(x − 2) = 3x − 6, a different function.

    Rung 6 of 6

    A negative scale followed by a shift

    Describe g(x) = −2x + 5 relative to f(x) = x. Find two points and the domain and range.
    This asks you to find the new address or height of the given graph information.

    endpointnewdomainrange246810−2246
    The endpoint stays at input 0 and moves to height 5; the curve falls below it.
    Show the steps and the answer
    1. The factor −2 stretches vertically by 2 and reflects across the x-axis; +5 then shifts up 5.The magnitude gives the size change, the minus reverses signed outputs, and the added number acts after multiplication.
    2. The original point (0, 0) becomes (0,−2×0+5)=(0,5).Keep the input and apply the outside operations to its original height.
    3. The original point (4, 2) becomes (4,−2×2+5)=(4,1).Multiplication precedes addition: −4 + 5 = 1.
    4. Domain: [0,∞). Range: (−∞,5].The root still needs x ≥ 0. Its outputs start at 0 and grow without bound, so −2x + 5 starts at 5 and decreases without bound.
    Answer
    • Stretch vertically by 2, reflect across the x-axis, then shift up 5.
    • Points: (0, 5) and (4, 1).
    • Domain: [0, ∞).
    • Range: (−∞, 5].
    Double-check g(4) = −24 + 5 = −4 + 5 = 1. Its distance from the new line y = 5 is 4, twice the original distance 2 from the x-axis.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A vertical stretch by 2 moves every point up 2.
    A stretch multiplies the signed height. Old height 1 becomes 2, old height 4 becomes 8, and old height 0 stays 0. These changes are not one fixed upward distance.
    ✓ Instead: Write g(x) = 2f(x) and multiply outputs. For f(x) = x2, (1, 1) becomes (1, 2) and (−2, 4) becomes (−2, 8).
    ✗ Not this: Compressing height −6 by 12 makes it −12 because it moves downward.
    Compression reduces distance from the x-axis. A positive factor preserves the height's sign, and half of six is three.
    ✓ Instead: The new signed height is 12 × (−6) = −3. It moves closer to the x-axis.
    ✗ Not this: Stretch by 3, then move down 2 means g(x) = 3(f(x) − 2).
    That expression subtracts 2 first and then triples the shifted height, giving 3f(x) − 6. It also scales the downward shift.
    ✓ Instead: The stated order gives g(x) = 3f(x) − 2. For the Identity function and input 0, the correct height is −2, while the tempting expression gives −6.

    Tips and tricks

    • Outside multiply, heights multiply. Keep the input fixed and apply the factor to the entire signed output.
    • Say farther from the x-axis for a stretch and closer to the x-axis for a compression. This works for positive and negative heights.
    • Split a negative multiplier into its magnitude and its sign. For −12, halve the distance and reverse the height's sign.
    • With a final +k, multiply the old height first, then add k. Check your new point in the formula after both actions.

    7 The trap

    Saying a stretch moves every point upward. A positive scale larger than 1 sends positive outputs up and negative outputs down, increasing distance from the x-axis. Also keep a·f(x) separate from f(ax): the bottom two table rows preview the horizontal-coordinate changes explained in lesson 7.

    Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.