Transformation of functions: crash course
about 41 min to listen8 lessons15 questions to tryUnit 5 of 17
Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.
You need first
1 Vertical shifts: move every height by the same amount
The rule
sends (u, v) to .
Positive k moves up; negative k moves down. The domain stays the same; every range value gains k.
How
- Find the number added outside f. Include its sign, because −4 is a shift of k = −4.
- Keep every horizontal coordinate, because the input sent into f has not changed.
- Add k to every height, because g outputs the old height plus k.
- Move several recognizable points and connect them with the original shape.
- Substitute a point into the new formula to check its new height.
Worked example
Worked example
Moving a downward parabola 6 units down
The graph of f(x) = −(x + 1 + 4 is a downward-opening parabola with vertex (−1, 4). It passes through the five points (−3, 0), (−2, 3), (−1, 4), (0, 3) and (1, 0). Let g(x) = f(x) − 6. (a) Find the five corresponding points on the graph of g and sketch g. (b) Give the vertex of g and write g(x) in vertex form. (c) State the domain and range of f and of g.
Show the steps and the answer
- Find k. Rewrite as , so .The −6 sits outside f and acts on its output, not on x, so it is a vertical shift. Keeping its sign shows the graph moves 6 units down. (f(x − 6) would instead move the graph 6 units right.)
- Keep every x-coordinate: the new points still have , 0 and 1.g sends the same input x into f, so nothing moves sideways; only the outputs change.
- Add to every height, : .Each output of g is the old height f(u) plus k, so every y-value drops by exactly 6.
- Plot the five new points and join them with the same downward-opening parabola. The vertex moves from to , so .A vertical shift slides the whole curve straight down without changing it. The shape, the opening direction and the axis of symmetry x = −1 stay the same; only the vertex height changes, from 4 to 4 + (−6) = −2.
- State the domain and range. f and g both have domain all real numbers. The range of f is , so the range of g is .The inputs are untouched, so the domain stays the same. Every output value, including the maximum height 4, gains k = −6.
- Check a point in the new formula: , which matches the moved point .The substitution confirms the new height is the old height 3 plus k = −6, so the shift was applied to the output and with the correct sign.
- (a) (−3, −6), (−2, −3), (−1, −2), (0, −3), (1, −6). The graph of g is the graph of f moved 6 units down: the same downward-opening parabola, drawn through these points. (b) Vertex (−1, −2)
- g(x) = −(x + 1 − 2. (c) f: domain all real numbers, range (−∞, 4]. g: domain all real numbers, range (−∞, −2].
Work to write
- g(x) = f(x) + (−6), so k = −6: shift 6 units down
- x-coordinates unchanged: (u, v) → (u, v − 6)
- vertex of g: (−1, −2); g(x) = −(x + 1 − 2
- domain of f and of g: all real numbers
- range of f: (−∞, 4]; range of g: (−∞, −2]
- check: g(0) = −(0 + 1 − 2 = −3, matching (0, −3)
The trap
Changing x when the added number is outside. For f(x) + 3, finish finding the old height first and then add 3; the left-to-right address stays put.
Quick check
Try it before you open its steps. It is question 2 of 3 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 3
Shifting a table of values down by 3
A function f is defined on the interval [−2, 3] and has range [−2, 5]. The table gives four of its points: f(−2) = 5, f(0) = 1, f(1) = −2, f(3) = 4. Let g(x) = f(x) − 3. (a) Find the four corresponding points on the graph of g. (b) State the domain and the range of g.
Show the steps and the answer
- Read the number added outside f in . It is .The −3 is added after f is evaluated, so it changes outputs, not inputs. Its sign is negative, so the graph moves down 3 units.
- Keep the x-values , 0, 1 and 3 unchanged.g still sends the same x into f, so no point moves left or right.
- Add to each height: . The new points are and (3, 1).Each output of g is the old height f(x) plus k, and the rule sends (u, v) to (u, v + k).
- Plot and (3, 1). Join them with the same shape as f, placed 3 units lower.Every point of f moves down by the same 3 units, so the shape does not stretch or tilt.
- The domain of g is . The range is .A vertical shift does not change the domain. Each range value gains k = −3, so the lowest and highest heights both drop by 3.
Work to write
- k = −3, so the graph shifts down 3 units
- x-values stay the same: −2, 0, 1, 3
- Points: (−2, 2), (0, −2), (1, −5), (3, 1)
- Domain of g: [−2, 3]
- Range of g: [−5, 2]
- Check: g(1) = f(1) − 3 = −2 − 3 = −5
2 Horizontal shifts: why the inside acts in the opposite direction
The rule
sends (u, v) to .
Positive h moves right; negative h moves left. Solve new input old input whenever the sign feels uncertain.
How
- Find the expression inside f; it is the input the old function receives.
- Set that expression equal to a known old input u, because this asks where the same old height appears.
- Solve for the new input x. Add when the expression subtracts, and subtract when it adds.
- Keep the old height v, because the function receives the same old input u.
- Move several points and substitute their new inputs into g to check.
Worked example
Worked example
Shifting a parabola when the inside adds 3
Let f(x) = − 4. Four points on the graph of f are (−2, 0), (0, −4), (1, −3) and (2, 0). Let g(x) = f(x + 3). (a) Find the four corresponding points on the graph of g. (b) State the direction and distance of the shift, and give the vertex of g.
Show the steps and the answer
- The expression inside f is . Write , so .The expression inside f is the input the old function receives. Matching it to x − h shows the sign of h.
- For the point , set .This asks which new input x feeds the old input −2 into f, so that the same old height appears.
- Solve: . In the same way, gives . gives . gives .The expression adds 3, so we subtract 3 to undo it. Each new input is the old input minus 3.
- Keep the heights: .At each new input, f receives the same old input u, so it returns the same old height v.
- The shift is 3 units left. The vertex of f moves to .With h = −3 the rule (u, v) → (u + h, v) moves every point 3 units left. This is the opposite of the + sign inside.
Work to write
- g(x) = f(x + 3) = f(x − (−3)), so h = −3
- Solve x + 3 = u, so x = u − 3
- Shift 3 units left; vertex (−3, −4)
- Check: g(−3) = (0 − 4 = −4
The trap
Reading f(x + 3) as right 3. Set x + 3 equal to an old input: x = old input − 3, so the graph moves left. The equation explains the direction when a memorized slogan feels unreliable.
Quick check
Try it before you open its steps. It is question 2 of 3 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 3
Shift every known table input
The table of f pairs the inputs 2, 4, 6 and 8 with the outputs 1, 3, 7 and 11. List the known points of g(x) = f(x − 3).
Show the steps and the answer
- Read the f table column by column: (2, 1), (4, 3), (6, 7), (8, 11).Each column is one point of f, an input with the output directly below it.
- Add 3 to each old input: .g reaches the old input u when x − 3 = u, so the new input is x = u + 3.
- Keep each output with its column: (5, 1), (7, 3), (9, 7), (11, 11).A shift inside f moves the inputs only; every height stays where it was.
3 Combine shifts and read the domain and range
The rule
sends (u, v) to .
These shifts commute, meaning either order gives the same graph, because each changes a different coordinate.
How
- Recognize the original toolkit shape before changing it.
- Read h from x − h. If you see x + 2, write h = −2.
- Read k from the addition outside the function.
- Move the landmark and at least two other points by (h, k).
- Check allowed inputs using the original function's restrictions, then translate the heights to obtain the range.
- Substitute a new point into the formula and compare with its transformed height.
Worked example
Worked example
Describe a V moved right 2 and down 4
Describe how g(x) = |x − 2| − 4 comes from f(x) = |x|, and sketch it.
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- Identify from .The new input x = u + 2 compensates for subtracting 2 inside.
- Identify .The subtraction after absolute value lowers every height by 4.
- Move the corner (0, 0) to .Add 2 to its horizontal coordinate and subtract 4 from its height.
- Move to and (1, 1) to .Every point receives the same two shifts.
- Join these points in a V opening upward.Shifts preserve the original V shape.
- Right 2 and down 4.
- Corner: (2, −4).
- Domain: (−∞, ∞).
- Range: [−4, ∞).
The trap
Moving the corner correctly but leaving the old domain and range. For + 3, the allowed inputs start at −2 and the heights start at 3. Check the inside restriction and the lowest height separately.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
Identify the shifted corner
Find the corner and shifts for |x − 2| − 4.
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- Solve to find .The old corner uses input zero.
- Use height .The outside shift lowers zero by four.
- Right 2 and down 4.
- Corner: (2, −4).
4 Reflections: the minus sign tells you which coordinate changes
The rule
Vertical reflection: , with (u, v) becoming .
Horizontal reflection: , with (u, v) becoming .
How
- Locate the minus sign. Outside the function means negate the output; inside with x means negate the input coordinate.
- Choose points on the original graph. Change only the coordinate named by the reflection.
- Check the Domain, the allowed inputs, and the Range, the resulting outputs. A horizontal reflection negates the domain values; a vertical reflection negates the range values.
- Substitute a transformed point into the new formula. Confirm that it gives the transformed height.
Worked example
Worked example
Two reflections of s(t) = 2
Write the vertical and horizontal reflections of s(t) = 2. Give each 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
- The original function accepts and returns .A real square root needs a nonnegative number inside it, and doubling a nonnegative root keeps it nonnegative.
- For the vertical reflection, write .The minus sign goes outside because every original output must change sign.
- V has domain and range . The point (4, 4) becomes .The inputs stay the same, while every nonnegative output becomes nonpositive: −2 = −2 · 2 = −4.
- For the horizontal reflection, write .The minus sign goes inside because each original input coordinate changes sign.
- Require , so . H has domain and range . The point (4, 4) becomes .Multiplying the inequality by −1 reverses its direction. The reflected input gives H(−4) = 2 = 4.
- domain [0, ∞)
- range (−∞, 0].
- domain (−∞, 0], meaning t ≤ 0
- range [0, ∞).
The trap
Choosing the mirror axis from the coordinate that changes. A vertical reflection changes y but reflects across the x-axis. A horizontal reflection changes x but reflects across the y-axis. Name the mirror line and the moving coordinate separately.
Quick check
Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 5
Reflect a table without inventing values
Use the original f table shown beside this question. List the corresponding known points on V(x) = −f(x) and H(x) = f(−x).
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.
- For V, keep inputs 2, 4, 6, 8 and negate outputs 1, 3, 7, 11 to get .The outside minus acts on the output row.
- For H, negate inputs 2, 4, 6, 8 to get , and keep outputs 1, 3, 7, 11.At a reflected input −u, the expression −x equals the original known input u.
- Do not assign a value to H(2) from this table.H(2) requires f(−2), and the table supplies no value for f(−2).
- H(2): not determined by the supplied table.
5 Even, odd, or neither: test the whole formula
The rule
On a domain symmetric about zero: even means ; odd means , for every allowed x.
If neither identity holds for all allowed inputs, the function is neither. The zero-valued function on a symmetric domain satisfies both identities.
How
- Check that every allowed input x has its opposite −x in the domain. A domain that fails this condition rules out both symmetries.
- Replace every x in the formula with (−x), including x inside powers and multiplied terms.
- Simplify. For an even power, the minus signs cancel in pairs. For an odd power, one minus sign remains.
- Compare the entire result with f(x). If they match for every allowed input, the function is even.
- Separately write −f(x), distributing its minus to every term. If f(−x) matches this expression for every allowed input, the function is odd. If only the even comparison succeeded, it is even. If neither comparison succeeded, it is neither. If both succeed, it is both; the zero function on a symmetric domain does this.
Worked example
Worked example
Even, odd, or neither: one matching pair of outputs is not proof
Let f(x) = + 2 − 2x + 5, defined for all real numbers. A student evaluates f(1) = 6 and f(−1) = 6, sees that the two outputs match, and concludes that f is even. (a) Test the whole formula to decide whether f is even, odd, or neither. (b) Find every real x for which f(−x) = f(x), and use the result to explain why the student's check did not settle the question.
Show the steps and the answer
- Check the domain. f is a polynomial, so every real number is an allowed input. For every real x, its opposite is also real, so the domain is symmetric about 0.Both identities compare the outputs at x and at −x, so −x must be allowed whenever x is. A domain that failed this would rule out both symmetries. This one passes, so the test continues.
- Replace every x with (−x): .f(−x) is the same rule applied to the input −x, so every x changes. That includes the x inside each power and the x in the multiplied term −2x. The parentheses keep the minus sign inside the power, and (−x is not the same as −. The constant 5 contains no x, so it stays.
- Simplify term by term: ; ; . So .(−x has four minus signs, which cancel in pairs, so it equals . (−x has three minus signs. Two cancel and one remains, so the term changes sign. In −2(−x), a negative times a negative is positive.
- Compare with . The terms match and the constants match. The terms ( and ) have opposite signs, and so do the x terms ( and ). So , which is not 0 for every x. At : , but .Even requires f(−x) = f(x) for every allowed x, so one input where the outputs differ rules it out. Since 9 ≠ 33, f is not even.
- Write , distributing the minus to every term: . Compare it with . Now the and x terms match, but and differ, and so do and . At : , but .Odd requires f(−x) = −f(x) for every allowed x. Here f(−x) + f(x) = 2 + 10. That sum is at least 10 and never 0, so the odd identity fails at every input. At x = 0, for instance, the identity would force f(0) = −f(0), that is f(0) = 0. But f(0) = 5, so f is not odd.
- Conclude: f is neither even nor odd.The even comparison failed in step 4 and the odd comparison failed in step 5. By the rule, a function for which neither identity holds for all allowed inputs is neither.
- For part (b), use the difference from step 4. exactly when , that is . So or , giving , 0 or 1. The student's input is one of only these three values, so is a coincidence.Even is a claim about every allowed input, so agreement at one input, or at a few, cannot prove it. Only the whole-formula result f(−x) = f(x) can prove it, and that failed here. The sign-changing part of f, 2 − 2x, happens to equal 0 at x = −1, 0 and 1, so at those three inputs the asymmetry is invisible.
Work to write
- Domain: all real numbers, which is symmetric about 0.
- f(−x) ≠ f(x): the and x terms have opposite signs; f(−2) = 9 but f(2) = 33, so f is not even.
- −f(x) = − − 2 + 2x − 5 ≠ f(−x): the and constant terms differ; f(−2) = 9 but −f(2) = −33, so f is not odd.
- f is neither even nor odd.
- f(−x) = f(x) only when 4 − 4x = 0, that is x = −1, 0 or 1, so the match at x = 1 does not prove f is even.
The trap
Calling a function odd because some terms change sign. Odd means the entire output changes sign, including its constant term. Compare with −f(x) written in full. A few matching number pairs can check a proof, but cannot replace an identity that covers every input.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
The formula does not erase a domain restriction
A function has formula r(x) = but accepts only x ≥ 0. Is it even, odd, or neither?
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.
Show the steps and the answer
- The domain is , so 1 is allowed and is not.The restriction is part of the function, not an optional detail of its formula.
- The domain is not symmetric about zero.At least one allowed input lacks its opposite partner.
- The function is neither even nor odd on this domain.Both definitions require the paired opposite input. Writing (−x = does not make a forbidden input allowed.
6 Vertical stretch and compression: multiply the heights
The rule
For , (u, v) becomes .
If |a| > 1, stretch vertically; if 0 < |a| < 1, compress vertically.
If a < 0, also reflect across the x-axis. If , all defined outputs become zero; this is a collapse, not an ordinary stretch or compression.
How
- Find the multiplier a outside the function. Its magnitude |a| sets the size change, and its sign tells you whether to reflect.
- Keep every input coordinate. Multiply each entire signed output by a, including outputs below zero.
- 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.
- Keep the original domain. Multiply the original range values by a, reversing their order when a is negative.
- Check a transformed point by substituting its unchanged input into the new formula.
Worked example
Worked example
Stretch and reflect a square-root graph: g(x) = −3·f(x)
Let f(x) = − 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.
Show the steps and the answer
- Read the multiplier outside f: , so . Since , 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.
- Keep each input and multiply each whole signed output by : .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.
- Write the formula: .The multiplier acts on the entire output of f, including its −2, which becomes +6. Multiplying only the root, as in −3 − 2, would leave the endpoint at (−4, −2) instead of moving it to (−4, 6).
- Keep the domain: g has domain . Multiply the range of f, , by . The endpoint becomes 6, and the outputs that increase without bound now decrease without bound. The order reverses, so g has range .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.
- For , multiply first and then add. From (12, 2), and , so the point is . Since , every output of g rises by 1. The top value 6 becomes 7, so h has range .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.
- Check (5, −3) by substituting its unchanged input into the new formula: .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.
- (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) = −3 + 6. (c) Domain [−4, ∞), range (−∞, 6]. (d) The point is (12, −5)
- the range of h is (−∞, 7].
Work to write
- a = −3: |a| = 3 > 1, so vertical stretch by a factor of 3; a < 0, so reflect across the x-axis
- Domain of g: [−4, ∞)
- f(x) ≥ −2, so −3·f(x) ≤ 6; range of g: (−∞, 6]
- h: multiply first, then add: −3·2 + 1 = −5, so (12, 2) → (12, −5)
- Range of h: (−∞, 6] shifted up 1 gives (−∞, 7]
- Check: g(5) = −3 + 6 = −3, matching (5, −3)
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.
Quick check
Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 6
Twice the population at the same time
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.
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.
- Write .Twice as large describes an output change at the same time input t.
- 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.
- 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.
- P(t) = 2f(t).
- New points: (0, 2), (3, 6), (6, 4), (7, 0).
7 Horizontal stretch and compression: divide the input coordinates
The rule
, sends (u, v) to .
|b| > 1 compresses horizontally; 0 < |b| < 1 stretches horizontally. If b < 0, also reflect across the y-axis.
How
- Find b, the multiplier of the input before f receives it.
- Set bx = u for each known old input u, because this recreates its old height.
- Divide the old input by b, including the sign. A fractional b calls for division by a fraction.
- Keep the old height unless an outside change is also present.
- Move endpoints, corners, and several other points before drawing the curve.
- Substitute the new input into bx to check that it returns u.
Worked example
Worked example
Stretching and reflecting a parabola: g(x) = f(−x)
The graph of f(x) = (x + 2 − 3, shown in the figure, is an upward-opening parabola with vertex (−2, −3). It passes through the five points (−6, 1), (−4, −2), (−2, −3), (0, −2) and (2, 1). Let g(x) = f(−x). (a) Find b and describe how the graph of f changes. Say whether it is stretched or compressed horizontally, by what factor, and whether it is reflected. (b) Find the five corresponding points on the graph of g. (c) Give the vertex and the axis of symmetry of g, and explain why one of the five points does not move.
Show the steps and the answer
- Find b. In , the input x is multiplied by before f receives it, so .b is the multiplier of the input inside f. Nothing is added inside f and nothing is done to its output, so b is the only change to the graph.
- Classify the change. lies between 0 and 1, so the graph is stretched horizontally away from the y-axis by the factor . Since b < 0, the graph is also reflected across the y-axis.For −x to equal an old input u, x must be times as far from 0 as u, which spreads the points away from the y-axis. The minus sign forces x and u to have opposite signs, so each point off the y-axis lands on the opposite side of it.
- Set for each old input. For the vertex , solve .Since g(x) = f(−x), g gives the old height −3 exactly when −x hands f the old input −2.
- Divide the old input by b, including the sign: . For every point, .Dividing by a fraction means multiplying by its reciprocal. The reciprocal of − is −, and the minus sign is kept. Multiplying u by − instead would pull the points toward the y-axis. That is a compression, the opposite of what f(−x) does.
- Keep each old height and move all five points: ; ; ; ; .Only the input changed. There is no multiplier or shift outside f, so each output v carries over unchanged.
- Read off the features of g. The vertex moves from to , so the axis of symmetry moves from to . The y-intercept stays where it is.The vertex is a point of the graph, so it follows the same rule as the others. For u = 0, x = 0 ÷ b = 0 whatever b is, so a point on the y-axis is fixed by any horizontal stretch, compression or reflection.
- Plot and (9, 1), then draw a smooth upward-opening parabola through them.Moving the vertex and points on both sides of it before drawing fixes the position and the width. The result is wider than f. The reflection has also reversed the left-to-right order: (−6, 1), the leftmost of the five points on f, became (9, 1), the rightmost on g.
- Check each new input in bx: .Each new input gives back its old input u, so g(x) = f(u) = v and every point carries the correct height.
Work to write
- |b| = < 1: horizontal stretch by a factor of ; b < 0: reflection across the y-axis
- new x = u ÷ (−) = −u, heights unchanged
- vertex of g: (3, −3); axis of symmetry: x = 3
- (0, −2) is fixed because 0 ÷ b = 0
- check: −·3 = −2, so g(3) = f(−2) = −3
The trap
Calling f(2x) a horizontal stretch because 2 is bigger than 1. The multiplier is bigger, but the coordinate must be smaller: 2x = u gives x = u ÷ 2. Also, f(2x) and 2f(x) generally give different graphs.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
A horizontal stretch by a factor of four
For this separate original point example, suppose F(3) = 7. Write a horizontal stretch by 4 and find where that known point appears. This asks you to spread each input address to four times its old value while keeping its matched height.
Show the steps and the answer
- Use inside coefficient , giving .The horizontal distance factor is the reciprocal of the inside coefficient: 1 ÷ = 4.
- Solve by multiplying both sides by 4: .This finds the new input that sends old input 3 into F. At X = 12, the inside × 12 is 3.
- Keep the known old height 7, so (3, 7) becomes (12, 7).No outside operation changes the output. The separate function name F distinguishes this illustration from the earlier supplied table.
- Horizontal stretch by 4.
- (3, 7) becomes (12, 7).
8 Put everything together: factor first, then move points
The rule
For with , the Point rule is (u, v) to .
Factor first; scale or reflect each coordinate before shifting that coordinate.
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.
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 ✓
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.
Quick check
Try it before you open its steps. It is question 2 of 3 in the full lesson, where they run from easy to exam-hard.
Try it · level 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).
9 Quick checks for the whole unit
Quick check 1 of 7
Write shifted down 4.
Show the steps and the answer
Quick check 2 of 7
Write shifted left 5.
Show the steps and the answer
Quick check 3 of 7
Write reflected across the y-axis.
Show the steps and the answer
Quick check 4 of 7
(3, −2) is on f. Where is it on g(x) = f(x − 6) + 3?
Show the steps and the answer
Quick check 5 of 7
Is x⁵ − x even, odd, or neither?
Show the steps and the answer
Quick check 6 of 7
Is |x| + 2 even, odd, or neither?
Show the steps and the answer
Quick check 7 of 7
Is + x even, odd, or neither?