Put everything together: factor first, then move points
Quick review (2 minutes)
Think of moving a printed map after changing its size on a copier.
For g(x) = a·f(b(x − h)) + k with b ≠ 0, the Point rule is (u, v) to ( + h, a·v + k). Factor first; scale or reflect each coordinate before shifting that coordinate.
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.
Let f(x) = − 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) = −·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) = −·f(−2x + 8) + 1.
(a) −2x + 8 = −2(x − 4), so a = −, 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 −(6) + 1 = −2, so (5, −2) is on the graph of g ✓.
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.
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 = + 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 + 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.
Transformation
A change to a Function that moves, flips, stretches, or compresses its Graph.
Function
A rule that gives exactly one Output for every accepted Input.
Input
The value you give a Function before its rule runs, usually labeled x.
Output
The result returned by a Function, written f(x) or y.
Graph
A picture of a Function's accepted Input and Output pairs, plotted as points (x, f(x)).
Vertical shift
Adding a Constant to every Output, moving the entire Graph up or down without changing its shape.
Horizontal shift
Replacing x by x − h moves the Graph right h; a negative h moves it left.
Outside change
A change applied after the Function returns its Output; it changes vertical coordinates.
Domain
All Inputs a Function accepts without an invalid calculation.
Range
All Outputs a Function can actually produce from its accepted Inputs.
Vertex
The turning point of a quadratic U, or the corner where an absolute value V changes direction.
Endpoint
A boundary point where a graph or interval starts or stops.
Asymptote
A line a Graph approaches as Inputs approach a boundary or grow without bound. Reciprocal graphs approach their asymptotes without meeting them.
Reflection
A flip across a line that places each point the same distance on the opposite side.
Even function
A Function with opposite Inputs allowed and equal Outputs: f(−x) = f(x). Its Graph is symmetric about the y-axis.
Odd function
A Function with opposite Inputs allowed and opposite Outputs: f(−x) = −f(x). Its Graph is symmetric about the origin.
Horizontal stretch
Multiplying sideways distances by a factor greater than 1. In f(bx), use 0 < |b| < 1; a negative b also reflects.
Horizontal compression
Multiplying sideways distances by a factor between 0 and 1. In f(bx), use |b| > 1; a negative b also reflects.
Sequence of transformations
The ordered changes used to redraw a Graph. Two changes on the same coordinate can give different results when reversed.
Point rule
The coordinate recipe for moving each graph point through a Transformation.
Constant
A fixed number that does not vary with the Input. The toolkit Constant function returns 1 for every Input.
Axis
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.
Factoring
Rewriting an expression as a product without changing its value. For transformations, this exposes the actual inside shift.
Coordinate
One number in a point's address. In (x, y), x measures sideways position and y measures height from the Origin.
Square root
The nonnegative number whose square equals the number inside the square root sign. A negative inside has no real Square root.
Coefficient
A fixed number multiplying a letter or expression.
Radicand
The whole expression inside a root sign.
Real number
A number represented by a point on the number line, including negative numbers, zero, fractions, and square roots of nonnegative numbers.
Term
One piece of a sum, with its attached sign.
Substitution
Replacing every occurrence of a letter by a chosen value or expression.
Set
A collection of values specified together.
Nonnegative
At least zero: zero and positive real numbers.
Nonpositive
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
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 = , 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: = = 2, because (2 = 8 and 2 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 = + h. Then the outside gives a·v + k. Both coordinates follow from the formula. Without factoring, bx + c = u gives x = , so the final shift is −. 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 with , the Point rule is (u, v) to .
Factor first; scale or reflect each coordinate before shifting that coordinate.
The same idea, five ways
Resize or reflect each coordinate first, then move it to its final address. Factoring makes the horizontal slide visible.
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.
- b(X − h) = u gives X = + h. Y = a·v + k.
- (u, v) becomes ( + h, a·v + k).
- bx + c = b(x + ), so h = −, with b ≠ 0.
- Graph words: scale or reflect horizontally, shift horizontally; scale or reflect vertically, shift vertically.
Resize a printed map around its original axes, then slide the resized map into its final position.
The same idea, other ways
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.
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 = + h. Y = a·v + k.
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 = + h. Y = a·v + k.
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 = + h. Y = a·v + k.
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 = + h. Y = a·v + k.
| Put on the cheat sheet | Coordinate effect or check |
|---|---|
| f(x) + k | (u, v) to (u, v + k) |
| (u, v) to (u + h, v) | |
| (u, v) to (u, −v), reflection across x-axis | |
| (u, v) to (−u, v), reflection across y-axis | |
| a·f(x), a ≠ 0 | Height factor |a|; reflect vertically when a < 0 |
| f(bx), b ≠ 0 | Width factor ; reflect horizontally when b < 0 |
| (u, v) to ( + h, a·v + k) | |
| Final horizontal shift h = − | |
| Even function | Symmetric domain and f(−x) = f(x) |
| Odd function | Symmetric domain and f(−x) = −f(x) |
| Require b(x − h) ≥ 0 | |
| 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 −.
- If b = 0, the inside no longer varies with x; the usual point rule does not apply.
b = 2, h = 3
new x = old x ÷ 2 + 3
Counterexamples
What it is not, and the tempting wrong moves.
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 = + 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.
Counterexamples
What it is not, and the tempting wrong moves.
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.
Counterexamples
What it is not, and the tempting wrong moves.
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 + 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.
Counterexamples
What it is not, and the tempting wrong moves.
Vertex: (3, 4).
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
5 How
- Recognize f and its domain, range, and landmarks.
- Factor the entire input into b(x − h). Distribute it back out to verify the factoring.
- Label a, b, h, and k, keeping every sign.
- For each old point (u, v), compute new x = u ÷ b + h.
- Compute new y = a·v + k. Multiply before adding because that is the outside formula's order.
- Move at least three points and any asymptotes or endpoints; draw the transformed shape.
- 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.
- Substitute a moved point into the original unfactored formula as a second check.
Factor and transform a whole graph or table
- Name the original Function and its available points. Record restrictions before moving the graph so a forbidden input cannot become a supplied value.
- 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.
- 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 = + h.
- Compute Y = a·v + k from its matching old output v. This applies the outside scale before the final shift.
- Move landmarks and several other points, or build the transformed table column by column. Keep every old input paired with its own old output.
- Rebuild the Domain from the inner restrictions and the Range from the transformed heights. For −2(x − 3 + 4, all inputs remain allowed and the nonnegative square shows that heights cannot exceed 4; the vertex reaches 4.
- 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) = − 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) = −·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) = −·f(−2x + 8) + 1.
Show the steps and the answer
- Recognize f. Complete the square: . So f is an upward-opening parabola with vertex . Its domain is and its range is . Its landmarks are the vertex , the x-intercepts (0, 0) and (4, 0), and the matching pair 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 is positive, so the vertex is the lowest point and −2 is the smallest output.
- Factor the entire input by pulling out the coefficient of x, sign included: . Distribute it back out to verify: .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.
- Rewrite and match it to : . The Point rule becomes .Every sign changes the picture. a = − reflects across the x-axis and compresses vertically by a factor of . b = −2 reflects across the y-axis and compresses horizontally by a factor of . h = 4 shifts right 4, and k = 1 shifts up 1. Dropping any one sign gives a different graph.
- Compute new for each old x: gives ; gives ; gives ; gives ; gives .The point of g at x uses f's value at u = −2(x − 4). Solving −2(x − 4) = u for x gives x = + 4. So each x is divided by b (reflected and compressed) before h is added. Shifting first would give = −1 instead of 5 for u = −2.
- Compute new for each old y: gives ; gives ; gives ; gives 1; gives .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 −·(6 + 1) = − instead of −2.
- Pair the coordinates: ; ; ; ; . 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 , because the old axis moves to .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).
- Domain: g(x) is defined when lies in f's domain, . Every real x makes a real number, so the domain of g is . Range: the outputs of f satisfy . Multiplying by reverses the inequality, giving . Adding 1 gives . Since v takes every value in , the range of g is .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.
- Substitute the moved point into the unfactored formula . The input is , and . The vertex also agrees: , and .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.
Work to write
- −2x + 8 = −2(x − 4); check: −2(x − 4) = −2x + 8
- (0, 0) → (4, 1)
- (4, 0) → (2, 1)
- Vertex (3, 2); the graph opens downward
- Domain of g: (−∞, ∞)
- v ≥ −2, so −v + 1 ≤ 2; range of g: (−∞, 2]
- Check: −2(5) + 8 = −2, f(−2) = 6, −(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
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.
Show the steps and the answer
- 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.
- Divide inputs by 3: 2, 4, 6, 8.3X must equal each old input.
- Double outputs: 20, 28, 30, 34.The outside coefficient 2 stretches the old heights.
- Add 1 to the doubled outputs: 21, 29, 31, 35.The final vertical shift follows the stretch.
- Use the displayed transformed table
- each column records one new input and its corresponding output.
Rung 2 of 3
Stretch, slide left, and lower a graph
The graph of f contains (0, 2) and (2, 0). Move these points to g(x) = f(x + 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
- Factor .Multiplying by 2 returns the original constant 1.
- Use .x + 2 is x − (−2).
- Stretch horizontal coordinates by 2: (0, 2) stays (0, 2), while (2, 0) becomes (4, 0).Divide old inputs by .
- Shift left 2: the points become and (2, 0).Add h = −2 after the horizontal scaling.
- Shift down 3: the points become and .Subtract 3 from the heights after the horizontal work.
- Horizontal stretch by 2, then left 2, then down 3.
- (0, 2) becomes (−2, −1).
- (2, 0) becomes (2, −3).
Rung 3 of 3
Negative inside, negative outside, and exact fractions
Starting from f(x) = , graph g(x) = −3 + 5. Move old points (0, 0), (1, 1), (4, 2), and (8, 2). State its domain and range.
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- Read , and .x + 4 equals x − (−4), so the factored input already exposes the shift.
- Use and .The point rule divides and shifts the horizontal coordinate, then multiplies and shifts the height.
- Move (0, 0) to . Move (1, 1) to .0 ÷ (−2) − 4 = −4; 1 ÷ (−2) − 4 = − − = −. Heights are 5 and 2.
- Move (4, 2) to and to .4 ÷ (−2) − 4 = −6 and 8 ÷ (−2) − 4 = −8. Apply −3v + 5 to each old height.
- Solve . Dividing by reverses the inequality: , so .The radicand must be nonnegative, and multiplying an inequality by a negative reverses its order.
- The range is .The nonnegative root is multiplied by −3, producing nonpositive values, then raised by 5; unbounded roots give arbitrarily low heights.
- Endpoint: (−4, 5).
- Other points: (−, 2), (−6, −1), (−8, 5 − 6).
- Domain: (−∞, −4].
- Range: (−∞, 5].
Counterexamples
What it is not, and the tempting wrong moves.
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.