Quarry School

Put everything together: factor first, then move points

Subject: MathematicsLeans on: Factoring every inside termLeans on: Dividing by a signed fractionLeans on: Outside arithmetic orderLeans on: The square root restrictionLeans on: Extracting a square factor
Level 2 · BuildingAbout 19 min read8 new termsKeystone idea. Later lessons build on this one.
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

    Think of moving a printed map after changing its size on a copier.

    Rule

    For g(x) = a·f(b(x − h)) + k with b ≠ 0, the Point rule is (u, v) to (ub + h, a·v + k). Factor first; scale or reflect each coordinate before shifting that coordinate.

    Step

    1. 1. Recognize f and its domain, range, and landmarks.

    2. 2. Factor the entire input into b(x − h). Distribute it back out to verify the factoring.

    3. 3. Label a, b, h, and k, keeping every sign.

    4. 4. For each old point (u, v), compute new x = u ÷ b + h.

    5. 5. Compute new y = a·v + k. Multiply before adding because that is the outside formula's order.

    6. 6. Move at least three points and any asymptotes or endpoints; draw the transformed shape.

    7. 7. Find the new domain from b(x − h) belonging to the old domain, and the new range from a·v + k over old range values.

    8. 8. Substitute a moved point into the original unfactored formula as a second check.

    Question

    Let f(x) = 12x2 − 2x, defined for all real numbers. Its graph is an upward-opening parabola with vertex (2, −2) that passes through the five points (−2, 6), (0, 0), (2, −2), (4, 0) and (6, 6). Let g(x) = −12·f(−2x + 8) + 1. (a) Factor the input −2x + 8 into the form b(x − h), and state a, b, h and k. (b) Find the five points on the graph of g that correspond to the five given points of f. (c) Give the vertex of g, say which way its graph opens, and state the domain and range of g. (d) Check one of your new points by substituting it into the original formula g(x) = −12·f(−2x + 8) + 1.

    Answer

    (a) −2x + 8 = −2(x − 4), so a = −12, b = −2, h = 4, k = 1. (b) (−2, 6) → (5, −2), (0, 0) → (4, 1), (2, −2) → (3, 2), (4, 0) → (2, 1), (6, 6) → (1, −2). (c) The vertex is (3, 2) and the graph opens downward. The domain of g is (−∞, ∞) and the range is (−∞, 2]. (d) At x = 5: −2(5) + 8 = −2, f(−2) = 6, and −12(6) + 1 = −2, so (5, −2) is on the graph of g ✓.

    Trap

    Using 6 as the final shift in f(2x − 6), or shifting a height before scaling it. Factor the input and write the two coordinate equations. For a·f(b(x − h)) + k, divide then add h horizontally, and multiply then add k vertically.

    Strategy

    1. 1. Name the original Function and its available points. Record restrictions before moving the graph so a forbidden input cannot become a supplied value.

    2. 2. Factor the inside into b(x − h), with b ≠ 0. This reveals the shift after the horizontal scale; 2x − 6 = 2(x − 3) identifies b = 2 and h = 3. Distribute to check the rewrite.

    3. 3. Solve b(X − h) = u for each old input u. This finds where its old output appears: divide by b and add h to obtain X = ub + h.

    4. 4. Compute Y = a·v + k from its matching old output v. This applies the outside scale before the final shift.

    5. 5. Move landmarks and several other points, or build the transformed table column by column. Keep every old input paired with its own old output.

    6. 6. Rebuild the Domain from the inner restrictions and the Range from the transformed heights. For −2(x − 3)2 + 4, all inputs remain allowed and the nonnegative square shows that heights cannot exceed 4; the vertex reaches 4.

    7. 7. Check using the original expression. For old point (4, 1) and g(x) = f(2x − 6), new input 5 gives g(5) = f(4) = 1, confirming the moved point.

    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

    Vertical shift

    Definition

    Adding a Constant to every Output, moving the entire Graph up or down without changing its shape.

    Term

    Horizontal shift

    Definition

    Replacing x by x − h moves the Graph right h; a negative h moves it left.

    Term

    Outside change

    Definition

    A change applied after the Function returns its Output; it changes vertical coordinates.

    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

    Vertex

    Definition

    The turning point of a quadratic U, or the corner where an absolute value V changes direction.

    Term

    Endpoint

    Definition

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

    Term

    Asymptote

    Definition

    A line a Graph approaches as Inputs approach a boundary or grow without bound. Reciprocal graphs approach their asymptotes without meeting them.

    Term

    Reflection

    Definition

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

    Term

    Even function

    Definition

    A Function with opposite Inputs allowed and equal Outputs: f(−x) = f(x). Its Graph is symmetric about the y-axis.

    Term

    Odd function

    Definition

    A Function with opposite Inputs allowed and opposite Outputs: f(−x) = −f(x). Its Graph is symmetric about the origin.

    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

    Sequence of transformations

    Definition

    The ordered changes used to redraw a Graph. Two changes on the same coordinate can give different results when reversed.

    Term

    Point rule

    Definition

    The coordinate recipe for moving each graph point through a Transformation.

    Term

    Constant

    Definition

    A fixed number that does not vary with the Input. The toolkit Constant function returns 1 for every Input.

    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

    Factoring

    Definition

    Rewriting an expression as a product without changing its value. For transformations, this exposes the actual inside shift.

    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

    Square root

    Definition

    The nonnegative number whose square equals the number inside the square root sign. A negative inside has no real Square root.

    Term

    Coefficient

    Definition

    A fixed number multiplying a letter or expression.

    Term

    Radicand

    Definition

    The whole expression inside a root sign.

    Term

    Real number

    Definition

    A number represented by a point on the number line, including negative numbers, zero, fractions, and square roots of nonnegative numbers.

    Term

    Term

    Definition

    One piece of a sum, with its attached sign.

    Term

    Substitution

    Definition

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

    Term

    Set

    Definition

    A collection of values specified together.

    Term

    Nonnegative

    Definition

    At least zero: zero and positive real numbers.

    Term

    Nonpositive

    Definition

    At most zero: zero and negative real numbers.

    1 In plain words

    Think of moving a printed map after changing its size on a copier. First you resize it around the original axes. Then you slide it to its new location. Reversing those jobs can resize the slide too, so the order matters. A Sequence of transformations is a set of changes performed in a stated order. The expression a·f(b(x − h)) + k keeps the jobs visible: resize or reflect the horizontal coordinates, slide them, resize or reflect the heights, then lift them. If the inside arrives as 2x − 6, use Factoring to rewrite it as 2(x − 3). That shows the final sideways slide is three, not six.

    2 Picture it

    (3, 4)leftvertexrightrange246−6−4−2246(3, 4)leftvertexrightrange123456−6−4−2246
    The final graph has its highest point at (3, 4) because the square's heights were reflected before the upward…

    Reminder

    Reminder: Factoring every inside term, Dividing by a signed fraction, Outside arithmetic order, The square root restriction, Extracting a square factor
    • Factoring every inside term. Divide both terms by the same coefficient: 2x − 6 = 2(x − 3). Distributing 2 back into the parentheses recovers 2x − 6.
    • Dividing by a signed fraction. For b = 12, u ÷ b = 2u. For b = −2, 4 ÷ b = −2. The signed division handles width and reflection together.
    • Outside arithmetic order. For old height 5 in −2f(x + 1) + 3, calculate −2 × 5 + 3 = −10 + 3 = −7. The final addition follows multiplication.
    • The square root restriction. A real square root requires a nonnegative inside. For −2(x + 4) ≥ 0, divide by −2 to find allowed inputs, reverse the comparison, and subtract 4: x ≤ −4. At −4, the inside is 0.
    • Extracting a square factor. Keep exact roots: 8 = 4×2 = 22, because (22)2 = 8 and 22 is nonnegative.

    3 Why

    Take an old point (u, v), so f(u) = v. To reproduce its old input inside g, solve b(x − h) = u. Divide by b and add h: x = ub + h. Then the outside gives a·v + k. Both coordinates follow from the formula. Without factoring, bx + c = u gives x = u−cb, so the final shift is −cb. Vertical order matters too: 2(v + 3) = 2v + 6 differs from 2v + 3. Horizontal and vertical changes remain independent because they act on different coordinates.

    4 The rule

    For g(x)=a·f(b(x−h))+k with b≠0, the Point rule is (u, v) to (ub+h,a·v+k).

    Factor first; scale or reflect each coordinate before shifting that coordinate.

    The same idea, five ways

    Say it

    Resize or reflect each coordinate first, then move it to its final address. Factoring makes the horizontal slide visible.

    Write it

    In g(x) = a·f(b(x − h)) + k, an old point (u, v) moves to horizontal coordinate u ÷ b + h and height a·v + k, with b ≠ 0.

    In math
    • b(X − h) = u gives X = ub + h. Y = a·v + k.
    • (u, v) becomes (ub + h, a·v + k).
    • bx + c = b(x + cb), so h = −cb, with b ≠ 0.
    • Graph words: scale or reflect horizontally, shift horizontally; scale or reflect vertically, shift vertically.
    Like

    Resize a printed map around its original axes, then slide the resized map into its final position.

    See it
    (3, 4)leftvertexright246−6−4−2246
    The moved square points show right 3, reflected double heights, and a final upward shift of 4.

    The same idea, other ways

    As a picture

    The old square graph first flips downward and doubles its heights. Then its old lowest point at (0, 0) moves to (3, 4). The new graph opens down because the coefficient of its heights is negative.

    (3, 4)vertexnew point246−8−44
    The old zero height becomes four, while an old height one becomes two after −2·1 + 4.
    As two address jobs

    Horizontal address: divide, then add. Height: multiply, then add. For old point (2, 5) and −2f(x + 1) + 3, these jobs give 2 − 1 = 1 and −2·5 + 3 = −7.

    As two address jobs

    b(X − h) = u gives X = ub + h. Y = a·v + k.

    Why it must be true

    Set the inside expression equal to old input u. The equation b(x − h) = u gives x = u ÷ b + h. Once f receives u, it produces old output v, and the remaining outside work produces av + k.

    Why it must be true

    b(X − h) = u gives X = ub + h. Y = a·v + k.

    With an order comparison

    Start with old height 1. Double and then add 3: 2·1 + 3 = 5. Add 3 and then double: 2(1 + 3) = 8. The slide is doubled in the second calculation, which is why the order cannot be swapped on the same coordinate.

    With an order comparison

    b(X − h) = u gives X = ub + h. Y = a·v + k.

    A memory device

    Factor, divide, multiply, then shift. Factoring exposes h. Divide the horizontal coordinate by b; multiply the height by a. Shift each coordinate after its scale. Keep the one-page table handy while learning and rebuild the point rule from its equation.

    A memory device

    b(X − h) = u gives X = ub + h. Y = a·v + k.

    Put on the cheat sheetCoordinate effect or check
    f(x) + k(u, v) to (u, v + k)
    f(x−h)(u, v) to (u + h, v)
    −f(x)(u, v) to (u, −v), reflection across x-axis
    f(−x)(u, v) to (−u, v), reflection across y-axis
    a·f(x), a ≠ 0Height factor |a|; reflect vertically when a < 0
    f(bx), b ≠ 0Width factor 1|b|; reflect horizontally when b < 0
    a·f(b(x−h))+k(u, v) to (ub + h, a·v + k)
    bx+c=b(x+cb)Final horizontal shift h = −cb
    Even functionSymmetric domain and f(−x) = f(x)
    Odd functionSymmetric domain and f(−x) = −f(x)
    b(x−h)Require b(x − h) ≥ 0
    1b(x−h)Require b(x − h) ≠ 0

    Part 1: Factor the inside

    Pull the multiplier on x outside the entire parentheses. Like sorting equal bundles, divide every inside term by the same number so the expression keeps its value.

    • 2x − 6 = 2(x − 3), because 2·3 = 6.
    • The final shift is right 3 when the inside is 2(x − 3).
    • In bx + c, b ≠ 0, the final horizontal shift is −cb.
    • If b = 0, the inside no longer varies with x; the usual point rule does not apply.

    2x−6=2(x−3)

    b = 2, h = 3

    new x = old x ÷ 2 + 3

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: f(2x − 6) compresses first, then moves right 6.
    Factoring gives 2(x − 3). The final shift after division by 2 is 3; old input 0 is reached at new input 3, not 6.
    ✓ Instead: Horizontal compression by 12, then right 3.

    Tips and tricks

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

    Part 2: Move the horizontal coordinate

    Recover the old input before thinking about the height. A negative divisor reverses left and right; then the shift carries the already resized coordinate to its final address.

    • New horizontal coordinate: X = ub + h.
    • When b < 0, divide with its sign and then add h.
    • The alternative unfactored equation bx + c = u gives the same X.
    • Do not add h before dividing unless you have correctly adjusted the formula.
    =2X − 64do the same thing to both sides
    Matching old input four fixes the new horizontal coordinate without guessing the direction.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Old point (4, 1) becomes (7, 1) on f(2x − 6).
    At new input 7 the inside is 8, not the supplied old input 4. Solving 2X − 6 = 4 gives X = 5.
    ✓ Instead: (5, 1).

    Tips and tricks

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

    Part 3: Move the vertical coordinate

    After the old function gives its height, the outside operations finish the job. Multiply that height, including any sign, and then add the final lift.

    • New vertical coordinate: Y = a·v + k.
    • If a < 0, reflect vertically and scale by |a| before shifting.
    • If a = 0, every permitted input has output k; this is a collapse, not an ordinary stretch.
    • The domain of the expression still requires its inner function to be defined.
    5multiply by −2add 3firstsecond−10−7
    The old height is multiplied first, then shifted upward by three.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: For old height 5 in −2f(x + 1) + 3, add 3 first and then multiply: −2(5 + 3) = −16.
    The written outside operations multiply before adding. Compute −2 × 5 + 3 = −10 + 3 = −7.
    ✓ Instead: New height: −7.

    Tips and tricks

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

    Part 4: Build and sketch the whole graph

    Choose landmarks from a familiar shape, move them using both coordinate jobs, and keep the original connections. A shifted endpoint or corner gives the graph an anchor.

    • The vertex of a·(x − h)2 + k is (h, k) when a ≠ 0.
    • Positive a opens the quadratic up; negative a opens it down.
    • For a < 0, the largest quadratic height is k, so its range is y ≤ k.
    • Horizontal and vertical work can be interleaved, as long as each coordinate keeps its own scale-before-shift order.
    (3, 4)leftvertexrightrange246−6−4−2246
    The three moved landmarks anchor a downward-opening quadratic with highest height four.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The graph −2(x − 3)2 + 4 has its lowest point at (3, 4) and opens upward.
    The negative outside coefficient turns all nonzero square heights downward. Its vertex is the highest point, and the side heights at inputs 2 and 4 are 2, below 4.
    ✓ Instead: Points: (2, 2), (3, 4), (4, 2).
    Vertex: (3, 4).

    Tips and tricks

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

    5 How

    1. Recognize f and its domain, range, and landmarks.
    2. Factor the entire input into b(x − h). Distribute it back out to verify the factoring.
    3. Label a, b, h, and k, keeping every sign.
    4. For each old point (u, v), compute new x = u ÷ b + h.
    5. Compute new y = a·v + k. Multiply before adding because that is the outside formula's order.
    6. Move at least three points and any asymptotes or endpoints; draw the transformed shape.
    7. Find the new domain from b(x − h) belonging to the old domain, and the new range from a·v + k over old range values.
    8. Substitute a moved point into the original unfactored formula as a second check.

    Factor and transform a whole graph or table

    1
    Is the inside already written as b(x − h)?
    YesRead b and h with their signs.
    NoFactor the nonzero coefficient on x out of every term, then distribute to check it.
    ↓
    2
    Is b nonzero?
    YesFor each known old input, divide by b and then add h.
    NoThe usual point rule is unavailable. Determine whether the constant inside is accepted by f before evaluating the formula.
    ↓
    3
    Is an outside multiplier present?
    YesMultiply the old signed height by a, then add k.
    NoUse a = 1 and add only the outside shift k.
    ↓
    4
    Does the original function have an endpoint or a forbidden input?
    YesTransform that landmark and solve the inner restriction to find the new Domain.
    NoUse the original allowed-input information and the inner equation to determine the new Domain.
    ↓
    5
    Is a complete original graph supplied?
    YesMove its landmarks and keep its original connections.
    NoReport the transformed known entries and leave unavailable heights undetermined.
    1. Name the original Function and its available points. Record restrictions before moving the graph so a forbidden input cannot become a supplied value.
    2. Factor the inside into b(x − h), with b ≠ 0. This reveals the shift after the horizontal scale; 2x − 6 = 2(x − 3) identifies b = 2 and h = 3. Distribute to check the rewrite.
    3. Solve b(X − h) = u for each old input u. This finds where its old output appears: divide by b and add h to obtain X = ub + h.
    4. Compute Y = a·v + k from its matching old output v. This applies the outside scale before the final shift.
    5. Move landmarks and several other points, or build the transformed table column by column. Keep every old input paired with its own old output.
    6. Rebuild the Domain from the inner restrictions and the Range from the transformed heights. For −2(x − 3)2 + 4, all inputs remain allowed and the nonnegative square shows that heights cannot exceed 4; the vertex reaches 4.
    7. Check using the original expression. For old point (4, 1) and g(x) = f(2x − 6), new input 5 gives g(5) = f(4) = 1, confirming the moved point.

    6 Worked example

    Worked example

    Factor −2x + 8 first, then move five points of a parabola

    Let f(x) = 12x2 − 2x, defined for all real numbers. Its graph is an upward-opening parabola with vertex (2, −2) that passes through the five points (−2, 6), (0, 0), (2, −2), (4, 0) and (6, 6). Let g(x) = −12·f(−2x + 8) + 1. (a) Factor the input −2x + 8 into the form b(x − h), and state a, b, h and k. (b) Find the five points on the graph of g that correspond to the five given points of f. (c) Give the vertex of g, say which way its graph opens, and state the domain and range of g. (d) Check one of your new points by substituting it into the original formula g(x) = −12·f(−2x + 8) + 1.

    (−2, 6)(0, 0)(2, −2)(4, 0)(6, 6)−4−22468−4−22468
    Graph of f(x) = 12x2 − 2x.
    Show the steps and the answer
    1. Recognize f. Complete the square: f(x)=12(x2−4x)=12(x2−4x+4)−2=12(x−2)2−2. So f is an upward-opening parabola with vertex (2,−2). Its domain is (−∞,∞) and its range is [−2,∞). Its landmarks are the vertex (2,−2), the x-intercepts (0, 0) and (4, 0), and the matching pair (−2,6) and (6, 6). It has no asymptotes or endpoints.Every point of g is built from a point of f, so f's points, domain and range are what we move. The leading coefficient 12 is positive, so the vertex is the lowest point and −2 is the smallest output.
    2. Factor the entire input by pulling out the coefficient of x, sign included: −2x+8=−2(x−4). Distribute it back out to verify: −2·x+(−2)·(−4)=−2x+8✓.The Point rule reads h from the form b(x − h), not from the constant term. The shift is 4, not 8. Writing −2(x + 4), or using 8 or −8 as the shift, would send every point to the wrong place. Distributing back out proves the factored input equals the original one.
    3. Rewrite g(x)=−12·f(−2(x−4))+1 and match it to a·f(b(x−h))+k: a=−12,b=−2,h=4,k=1. The Point rule becomes (u,v)→(u−2+4,−12·v+1).Every sign changes the picture. a = −12 reflects across the x-axis and compresses vertically by a factor of 12. b = −2 reflects across the y-axis and compresses horizontally by a factor of 12. h = 4 shifts right 4, and k = 1 shifts up 1. Dropping any one sign gives a different graph.
    4. Compute new x=u−2+4 for each old x: u=−2 gives 1+4=5; u=0 gives 0+4=4; u=2 gives −1+4=3; u=4 gives −2+4=2; u=6 gives −3+4=1.The point of g at x uses f's value at u = −2(x − 4). Solving −2(x − 4) = u for x gives x = u−2 + 4. So each x is divided by b (reflected and compressed) before h is added. Shifting first would give −2+4−2 = −1 instead of 5 for u = −2.
    5. Compute new y=−12·v+1 for each old y: v=6 gives −3+1=−2; v=0 gives 0+1=1; v=−2 gives 1+1=2; v=0 gives 1; v=6 gives −2.Outside f, the formula multiplies f's output by a and then adds k. So the y-coordinate is reflected and compressed before it is shifted. Adding first would give −12·(6 + 1) = −72 instead of −2.
    6. Pair the coordinates: (−2,6)→(5,−2); (0,0)→(4,1); (2,−2)→(3,2); (4,0)→(2,1); (6,6)→(1,−2). A parabola has no asymptotes or endpoints to move. Plot the five new points and draw a downward-opening parabola through them with vertex (3, 2). Its axis of symmetry is x=3, because the old axis x=2 moves to 2−2+4=3.Five points, including the vertex, pin down the parabola. The points come out in reverse left-to-right order because b is negative. The graph opens downward because a is negative, so f's lowest point (2, −2) becomes g's highest point (3, 2).
    7. Domain: g(x) is defined when −2(x−4) lies in f's domain, (−∞,∞). Every real x makes −2(x−4) a real number, so the domain of g is (−∞,∞). Range: the outputs of f satisfy v≥−2. Multiplying by −12 reverses the inequality, giving −12v≤1. Adding 1 gives −12v+1≤2. Since v takes every value in [−2,∞), the range of g is (−∞,2].The inputs of g are exactly the x-values that give f an allowed input. The outputs of g are exactly the values a·v + k for outputs v of f. Multiplying by a negative a flips the inequality, so f's minimum −2 becomes g's maximum 2.
    8. Substitute the moved point (5,−2) into the unfactored formula g(x)=−12·f(−2x+8)+1. The input is −2(5)+8=−2,f(−2)=12(4)−2(−2)=2+4=6, and −12(6)+1=−3+1=−2✓. The vertex also agrees: −2(3)+8=2,f(2)=2−4=−2, and −12(−2)+1=1+1=2✓.The unfactored formula is the definition of g and does not use the Point rule. Getting the same outputs confirms both the factoring and the multiply-then-add order.
    Answer
    (a) −2x + 8 = −2(x − 4), so a = −12, b = −2, h = 4, k = 1. (b) (−2, 6) → (5, −2), (0, 0) → (4, 1), (2, −2) → (3, 2), (4, 0) → (2, 1), (6, 6) → (1, −2). (c) The vertex is (3, 2) and the graph opens downward. The domain of g is (−∞, ∞) and the range is (−∞, 2]. (d) At x = 5: −2(5) + 8 = −2, f(−2) = 6, and −12(6) + 1 = −2, so (5, −2) is on the graph of g ✓.
    Double-check Expand the definition directly. f(−2x + 8) = 12(−2x + 8)2 − 2(−2x + 8) = (2x2 − 16x + 32) + (4x − 16) = 2x2 − 12x + 16. So g(x) = −12(2x2 − 12x + 16) + 1 = −x2 + 6x − 8 + 1 = −x2 + 6x − 7 = −(x − 3)2 + 2. This is a downward-opening parabola with vertex (3, 2), domain (−∞, ∞) and range (−∞, 2]. Its values g(1) = −2, g(2) = 1, g(3) = 2, g(4) = 1 and g(5) = −2 match all five moved points.

    Work to write

    1. −2x + 8 = −2(x − 4); check: −2(x − 4) = −2x + 8
    2. a=−12,b=−2,h=4,k=1
    3. (u,v)→(u−2+4,−12·v+1)
    4. (−2,6)→(5,−2)
    5. (0, 0) → (4, 1)
    6. (2,−2)→(3,2)
    7. (4, 0) → (2, 1)
    8. (6,6)→(1,−2)
    9. Vertex (3, 2); the graph opens downward
    10. Domain of g: (−∞, ∞)
    11. v ≥ −2, so −12v + 1 ≤ 2; range of g: (−∞, 2]
    12. Check: −2(5) + 8 = −2, f(−2) = 6, −12(6) + 1 = −2 ✓

    Ladder: from easy to exam-hard

    Try each rung before you open its steps.

    Rung 1 of 3

    Transform a complete table

    OpenStax problem

    Create the table for g(x) = 2f(3x) + 1. Use the original f table displayed beside this question.
    This asks you to attach each known output to its transformed input and calculate any requested new height.

    input xoutput f(x)610121418152417
    x: 6, 12, 18, 24; f(x): 10, 14, 15, 17.
    Show the steps and the answer
    input xoutput f(x)610121418152417
    The same picture again: x: 6, 12, 18, 24; f(x): 10, 14, 15, 17.
    input xoutput f(3x)210414615817
    Read each column as one x input paired with its f(3x) output.
    input xoutput 2f(3x)220428630834
    Read each column as one x input paired with its 2f(3x) output.
    input xoutput g(x)221429631835
    x: 2, 4, 6, 8; g(x): 21, 29, 31, 35.
    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. Divide inputs by 3: 2, 4, 6, 8.3X must equal each old input.
    3. Double outputs: 20, 28, 30, 34.The outside coefficient 2 stretches the old heights.
    4. Add 1 to the doubled outputs: 21, 29, 31, 35.The final vertical shift follows the stretch.
    Answer
    • Use the displayed transformed table
    • each column records one new input and its corresponding output.
    Double-check g(6) = 2f(18) + 1 = 2·15 + 1 = 31, checking a full inside-to-outside calculation.

    Rung 2 of 3

    Stretch, slide left, and lower a graph

    OpenStax problem

    The graph of f contains (0, 2) and (2, 0). Move these points to g(x) = f(12x + 1) − 3.
    This asks you to find the new address or height of the given graph information.

    Horizontal stretch by 2, then left 2, then down 3.

    (0, 2) becomes (−2, −1).

    (2, 0) becomes (2, −3).

    Show the steps and the answer
    1. Factor 12x+1=12(x+2).Multiplying 12 by 2 returns the original constant 1.
    2. Use b=12,h=−2,a=1,k=−3.x + 2 is x − (−2).
    3. Stretch horizontal coordinates by 2: (0, 2) stays (0, 2), while (2, 0) becomes (4, 0).Divide old inputs by 12.
    4. Shift left 2: the points become (−2,2) and (2, 0).Add h = −2 after the horizontal scaling.
    5. Shift down 3: the points become (−2,−1) and (2,−3).Subtract 3 from the heights after the horizontal work.
    Answer
    • Horizontal stretch by 2, then left 2, then down 3.
    • (0, 2) becomes (−2, −1).
    • (2, 0) becomes (2, −3).
    Double-check g(−2) = f(0) − 3 = 2 − 3 = −1 and g(2) = f(2) − 3 = −3. No missing graph shape is assumed from these two points.

    Rung 3 of 3

    Negative inside, negative outside, and exact fractions

    Starting from f(x) = x, graph g(x) = −3−2(x+4) + 5. Move old points (0, 0), (1, 1), (4, 2), and (8, 22). State its domain and range.
    This asks you to find the new address or height of the given graph information.

    endpointnewnewdomainrange−10−6−2−44
    The endpoint is (−4, 5), and the curve extends leftward and downward.
    Show the steps and the answer
    1. Read a=−3,b=−2,h=−4, and k=5.x + 4 equals x − (−4), so the factored input already exposes the shift.
    2. Use X=u÷(−2)−4 and Y=−3v+5.The point rule divides and shifts the horizontal coordinate, then multiplies and shifts the height.
    3. Move (0, 0) to (−4,5). Move (1, 1) to (−92,2).0 ÷ (−2) − 4 = −4; 1 ÷ (−2) − 4 = −12 − 82 = −92. Heights are 5 and 2.
    4. Move (4, 2) to (−6,−1) and (8,22) to (−8,5−62).4 ÷ (−2) − 4 = −6 and 8 ÷ (−2) − 4 = −8. Apply −3v + 5 to each old height.
    5. Solve −2(x+4)≥0. Dividing by −2 reverses the inequality: x+4≤0, so x≤−4.The radicand must be nonnegative, and multiplying an inequality by a negative reverses its order.
    6. The range is y≤5.The nonnegative root is multiplied by −3, producing nonpositive values, then raised by 5; unbounded roots give arbitrarily low heights.
    Answer
    • Endpoint: (−4, 5).
    • Other points: (−92, 2), (−6, −1), (−8, 5 − 62).
    • Domain: (−∞, −4].
    • Range: (−∞, 5].
    Double-check At X = −6 the inside is −2(−6 + 4) = 4, so g(−6) = −3·2 + 5 = −1. At X = −8 the inside is 8, whose exact root is 22, giving the stated exact height.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The graph of f(2x − 6) is compressed horizontally and then shifted right 6.
    The inside constant is still part of the multiplier's expression. Factoring gives 2(x − 3), so the final shift after dividing coordinates by 2 is 3.
    ✓ Instead: Compress by 12, then move right 3. Old point (4, 1) becomes (5, 1), and 2 × 5 − 6 = 4 checks its new input.
    ✗ Not this: Move the old input right 3 and then halve it for f(2(x − 3)).
    This would compute (u + 3) ÷ 2. Solving the actual input equation 2(X − 3) = u gives X = u2 + 3, so the coordinate division comes first.
    ✓ Instead: For old input 4, halve 4 to get 2 and then add 3 to get 5. Shifting first would give 72, whose inside 2(72 − 3) = 1 fails to recover old input 4.
    ✗ Not this: The outside expression 2f(x) + 3 permits adding 3 to the old height before doubling.
    Doubling a shifted height also doubles the shift. For old height 1, 2(1 + 3) = 8, while the given expression gives 2 × 1 + 3 = 5.
    ✓ Instead: Multiply each old height by 2, then add 3. Order matters for a scale and a shift on the same coordinate.

    Tips and tricks

    • Write a, b, h, and k beside the factored formula before moving any point. Include each negative sign.
    • Use two lines for the point work: new x = old x ÷ b + h, and new y = a·old y + k.
    • Factor, divide, multiply, then shift is a memory cue. Keep each coordinate's scaling before its shift; horizontal and vertical work can be done independently.
    • Check a moved point in the original unfactored input. This can catch both a factoring error and a reversed transformation order.
    • Track a corner, endpoint, or asymptote and more than one other point. A few supplied dots determine those dots' new positions, while a complete sketch also requires the original graph's shape.

    7 The trap

    Using 6 as the final shift in f(2x − 6), or shifting a height before scaling it. Factor the input and write the two coordinate equations. For a·f(b(x − h)) + k, divide then add h horizontally, and multiply then add k vertically.

    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.