Quarry School

College Algebra / Transformation of functions

Transformation of functions

Subject: Mathematics

All 8 lessons, in order.

The unit at a glance

  1. Vertical shifts: move every height by the same amount

    Picture a graph drawn on a clear sheet laid over a map.

  2. Horizontal shifts: why the inside acts in the opposite direction

    Imagine a bus timetable.

  3. Combine shifts and read the domain and range

    Take the same clear drawing and slide it sideways, then raise or lower it.

  4. Reflections: the minus sign tells you which coordinate changes

    Imagine tracing a drawing on clear plastic and turning it over along one edge.

  5. Even, odd, or neither: test the whole formula

    Think of folding a paper drawing along its vertical center line.

  6. Vertical stretch and compression: multiply the heights

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

  7. Horizontal stretch and compression: divide the input coordinates

    Imagine playing a recording at double speed.

  8. Put everything together: factor first, then move points

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

Rules (8)
Recipes (8)
  • Vertical shifts: move every height by the same amount
    1. 1. Find the number added outside f. Include its sign, because −4 is a shift of k = −4.
    2. 2. Keep every horizontal coordinate, because the input sent into f has not changed.
    3. 3. Add k to every height, because g outputs the old height plus k.
    4. 4. Move several recognizable points and connect them with the original shape.
    5. 5. Substitute a point into the new formula to check its new height.
  • Horizontal shifts: why the inside acts in the opposite direction
    1. 1. Find the expression inside f; it is the input the old function receives.
    2. 2. Set that expression equal to a known old input u, because this asks where the same old height appears.
    3. 3. Solve for the new input x. Add when the expression subtracts, and subtract when it adds.
    4. 4. Keep the old height v, because the function receives the same old input u.
    5. 5. Move several points and substitute their new inputs into g to check.
  • Combine shifts and read the domain and range
    1. 1. Recognize the original toolkit shape before changing it.
    2. 2. Read h from x − h. If you see x + 2, write h = −2.
    3. 3. Read k from the addition outside the function.
    4. 4. Move the landmark and at least two other points by (h, k).
    5. 5. Check allowed inputs using the original function's restrictions, then translate the heights to obtain the range.
    6. 6. Substitute a new point into the formula and compare with its transformed height.
  • Reflections: the minus sign tells you which coordinate changes
    1. 1. Locate the minus sign. Outside the function means negate the output; inside with x means negate the input coordinate.
    2. 2. Choose points on the original graph. Change only the coordinate named by the reflection.
    3. 3. 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.
    4. 4. Substitute a transformed point into the new formula. Confirm that it gives the transformed height.
  • Even, odd, or neither: test the whole formula
    1. 1. Check that every allowed input x has its opposite −x in the domain. A domain that fails this condition rules out both symmetries.
    2. 2. Replace every x in the formula with (−x), including x inside powers and multiplied terms.
    3. 3. Simplify. For an even power, the minus signs cancel in pairs. For an odd power, one minus sign remains.
    4. 4. Compare the entire result with f(x). If they match for every allowed input, the function is even.
    5. 5. 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.
  • Vertical stretch and compression: multiply the heights
    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.
  • Horizontal stretch and compression: divide the input coordinates
    1. 1. Find b, the multiplier of the input before f receives it.
    2. 2. Set bx = u for each known old input u, because this recreates its old height.
    3. 3. Divide the old input by b, including the sign. A fractional b calls for division by a fraction.
    4. 4. Keep the old height unless an outside change is also present.
    5. 5. Move endpoints, corners, and several other points before drawing the curve.
    6. 6. Substitute the new input into bx to check that it returns u.
  • Put everything together: factor first, then move points
    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.
Traps (8)
  • Vertical shifts: move every height by the same amount

    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.

  • Horizontal shifts: why the inside acts in the opposite direction

    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.

  • Combine shifts and read the domain and range

    Moving the corner correctly but leaving the old domain and range. For x+2 + 3, the allowed inputs start at −2 and the heights start at 3. Check the inside restriction and the lowest height separately.

  • Reflections: the minus sign tells you which coordinate changes

    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.

  • Even, odd, or neither: test the whole formula

    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.

  • Vertical stretch and compression: multiply the heights

    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.

  • Horizontal stretch and compression: divide the input coordinates

    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.

  • Put everything together: factor first, then move points

    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.

Lesson 1 of 8

Vertical shifts: move every height by the same amount

Subject: MathematicsLeans on: Function notation and coordinatesLeans on: Adding signed numbersLeans on: Domain and RangeOpen this lesson
Leans on 1Comes back in 0

1 In plain words

Picture a graph drawn on a clear sheet laid over a map. You can lift the sheet three squares without changing the drawing. Each dot stays over the same left-to-right address, but its height rises three squares. A Transformation changes a graph by moving, reflecting, or scaling it. This particular move is a Vertical shift. In a function, the input is your left-to-right address and the output is your height. Adding a number after the function finishes changes the output. That is an Outside change. You can use the same idea on a formula, a drawing, a table, or a measurement such as the area of an open vent.

2 Picture it

(0, 3)(−1, 4)(1, 4)range−222468(0, 3)(−1, 4)(1, 4)range−3−2−11232468
The shifted graph lies three units above the old graph at every shared input.

Reminder

Reminder: Function notation and coordinates, Adding signed numbers, Domain and Range
  • Function notation and coordinates. f(−1) = 1 means the graph contains (−1, 1): input first, output second. In g(−1) = f(−1) + 3, use that known old output before adding.
  • Adding signed numbers. Adding a negative lowers the height: 1 + (−3) = −2. Adding a positive raises it: −5 + 3 = −2.
  • Domain and Range. Domain means allowed inputs; Range means actual outputs. x2 accepts every real x and produces y ≥ 0. Thus x2 + 3 still accepts every x and produces y ≥ 3.

3 Why

Suppose a point (u, v) is on the original graph. That means f(u) = v. If g(x) = f(x) + k, substituting u gives g(u) = v + k. The input u has not changed, and the output has increased by the same k as every other output. Therefore every dot moves the same vertical distance. Negative k moves downward because adding a negative number lowers the height. The graph keeps its shape because differences between any two heights stay the same.

4 The rule

g(x)=f(x)+k sends (u, v) to (u,v+k).

Positive k moves up; negative k moves down. The domain stays the same; every range value gains k.

The same idea, five ways

Say it

the new height is the old height plus k, at the same input.

Write it

A Vertical shift adds one fixed number to every output and leaves each input unchanged.

In math
  • g(x) = f(x) + k
  • Old point (u, v); new point (u, v + k).
  • For x2 + 3: Range y ≥ 3, or [3, ∞), or {y | y ≥ 3}.
  • Graph words: lift or lower the entire drawing by the same number of units.
Like

Lift a clear map without sliding it sideways. Every landmark keeps its street address and gains the same height.

See it
(0, 3)(−1, 4)(1, 4)range−222468
Every old height increases by three while its horizontal address stays fixed.

The same idea, other ways

As a picture

Lift the entire clear sheet. A dot that was two squares above the horizontal axis becomes five squares above it after an upward shift of three.

newold−222468
The lowest point rises from height 0 to height 3 without moving sideways.
As a machine

The old machine gives its answer first. A second worker adds three to that answer. The worker never touches the number that went into the machine.

2squareadd 3firstsecond47
The extra three is added after the original function has produced four.
With numbers

If f(−2) = 4, then g(−2) = f(−2) + 3 = 7. The point (−2, 4) becomes (−2, 7). Keeping the first coordinate is the signature of a vertical shift.

With numbers

g(x) = f(x) + k

A memory device with a reason

Remember: outside tells the truth. Outside +3 adds three to the height, so the graph goes up three. You can rebuild this by substituting any known input; there is no hidden change to x.

A memory device with a reason

g(x) = f(x) + k

You seeIt does when h and k are positive
f(x) + kUp k
f(x)−kDown k
f(x−h)Right h, explained in the next lesson
f(x + h)Left h, explained in the next lesson

Part 1: Shift up

You raise every dot by the same number of squares. Even a dot below the axis rises; it does not have to cross the axis.

  • Formula: g(x) = f(x) + k with k > 0.
  • Point: (u, v) becomes (u, v + k).
  • Domain: unchanged. Range: every allowed output gains k.
new center−8−448−224
The Cube root function keeps its bent shape while every height gains two.

Worked example

A cube root moved up

Find the new height at x = 8 for g(x) = x3 + 2.
This asks for the new output at the stated input after the outside height change.

Show the steps and the answer
newold−8−448−224
At input 8 the new height is 4, two above the original height.
  1. 83=2.23 = 8, so the cube root returns 2.
  2. g(8)=2+2=4.The outside addition raises the old height by 2.
Answer
The old point (8, 2) becomes (8, 4).
Double-check Undo the shift: 4 − 2 = 2, the old cube root height.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For x3 + 2, move the old point (8, 2) to (10, 2).
That changes the input. The +2 comes after the cube root and therefore changes its height: 2 + 2 = 4.
✓ Instead: The old point (8, 2) becomes (8, 4).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Shift down

Lower the whole drawing. The minus sign changes the height after the function has finished; it does not move the input.

  • Formula: g(x) = f(x) − k for a positive downward distance k.
  • Point: (u, v) becomes (u, v − k).
  • A negative new height is allowed whenever the old function and shift produce one.
(0, −3)−4−224−4−224
The Absolute value function's corner moves from height zero to height −3.

Worked example

Lower an absolute value height

Find g(1) when g(x) = |x| − 3.
The number in parentheses is the supplied input. This asks for the output produced at that input.

Show the steps and the answer
new−4−224−448
At input 1 the new height is −2, three below 1.
  1. |1|=1.Absolute value is distance from zero.
  2. g(1)=1−3=−2.The downward shift subtracts 3 from the height.
Answer
(1, 1) becomes (1, −2).
Double-check Adding 3 back to −2 gives the original height 1.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For |x| − 3 at input 1, calculate |1 − 3| = 2.
That puts the subtraction inside absolute value and changes the function. The stated rule first returns |1| = 1 and then subtracts 3 to give −2.
✓ Instead: (1, 1) becomes (1, −2).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Read and transform an output row

A table stores dots in columns. For a vertical shift, change the output row and keep the input row paired with it.

  • Change outputs, not inputs.
  • A vertical shift uses addition, not multiplication.
  • If an output is zero, it also gains the shift.
input xoutput g(x)2−2406488
x:2,4,6,8;g(x):−2,0,4,8.

Worked example

Raising a table of outputs by 5

A function f is defined on the interval [−4, 2] and has range [−3, 6]. The table gives four of its points: f(−4) = −1, f(−1) = 6, f(0) = 2, f(2) = −3. Let g(x) = f(x) + 5. (a) Find the four corresponding points on the graph of g. (b) State the domain and range of g. (c) Check one point by substituting into the formula for g.

input xoutput f(x)−4−1−16022−3
x:−4,−1,0,2;f(x):−1,6,2,−3.
Show the steps and the answer
input xoutput f(x)−4−1−16022−3↓ evaluate: input given, read the output below it
The table of f: f(−4) = −1, f(−1) = 6, f(0) = 2 and f(2) = −3. Each output rises by 5 for g(x) = f(x) + 5.
  1. Read the number added outside f in g(x)=f(x)+5. The shift is k=+5.The 5 is added after f produces its output, so it changes heights only. Its sign is positive, so the graph moves up 5 units.
  2. Keep the inputs −4,−1, 0 and 2 unchanged.g sends the same x into f, so every horizontal coordinate stays where it was.
  3. Add 5 to each height: (−4,−1)→(−4,−1+5)=(−4,4); (−1,6)→(−1,11); (0,2)→(0,7); (2,−3)→(2,2).g outputs the old height plus k, so (u, v) goes to (u, v + 5).
  4. Connect the moved points with the same shape as f. The whole graph is the graph of f lifted 5 units.Every point moves by the same amount, so the shape is unchanged.
  5. Domain of g: [−4,2]. Range of g: [−3+5,6+5]=[2,11].The x-values are unchanged, so the domain stays the same. Every output gains 5, so each endpoint of the range gains 5.
  6. Check: g(−1)=f(−1)+5=6+5=11, which matches the point (−1,11).Substituting a point into the new formula confirms its new height.
Answer
(a) The points on g are (−4, 4), (−1, 11), (0, 7) and (2, 2). (b) The domain is [−4, 2] and the range is [2, 11]. (c) g(−1) = 6 + 5 = 11.
Double-check Each new height minus the old height is 5: 4 − (−1) = 5, 11 − 6 = 5, 7 − 2 = 5 and 2 − (−3) = 5. The lowest point (2, −3) becomes (2, 2) and the highest point (−1, 6) becomes (−1, 11). These agree with the range [2, 11].

Work to write

  1. k = +5, so the graph shifts up 5
  2. (−4,4),(−1,11),(0,7),(2,2)
  3. Domain of g: [−4, 2]
  4. Range of g: [2, 11]
  5. g(−1)=f(−1)+5=11
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For f(x) − 3, change the table input 6 to 3 and keep its height 7.
The subtraction is outside f. The input stays 6, and the known height 7 becomes 7 − 3 = 4.
✓ Instead: g(6) = 4.
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

5 How

  1. Find the number added outside f. Include its sign, because −4 is a shift of k = −4.
  2. Keep every horizontal coordinate, because the input sent into f has not changed.
  3. Add k to every height, because g outputs the old height plus k.
  4. Move several recognizable points and connect them with the original shape.
  5. Substitute a point into the new formula to check its new height.

Move a graph vertically from a formula or a known point

1
Is the added outside number positive?
YesMove every height up by that number.
NoCheck whether it is negative or zero.
↓
2
Is the added outside number negative?
YesMove every height down by its positive distance. For k = −3, calculate v − 3.
NoIf k = 0, every point stays in place.
↓
3
Is a table entry the only information you have about f?
YesTransform that known entry and the other supplied entries; leave missing outputs undetermined.
NoUse the known formula or familiar graph to select and check several points.
  1. Find the added number after f finishes. Write it as k, including a minus sign.
  2. Translate the request: you need the old height at the same input, followed by the outside addition.
  3. For each old point (u, v), leave u alone and calculate v + k.
  4. Move the whole familiar shape through the new points. Add k to its old range values; keep its domain.
  5. Check by substituting u into g, or subtract k from the new height to recover v.

6 Worked example

Worked example

Moving a downward parabola 6 units down

The graph of f(x) = −(x + 1)2 + 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
(−3, 0)(−2, 3)(−1, 4)(0, 3)(1, 0)−4−22−44
The graph of f(x) = −(x + 1)2 + 4, a downward-opening parabola with vertex (−1, 4).
  1. Find k. Rewrite g(x)=f(x)−6 as g(x)=f(x)+(−6), so k=−6.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.)
  2. Keep every x-coordinate: the new points still have x=−3,−2,−1, 0 and 1.g sends the same input x into f, so nothing moves sideways; only the outputs change.
  3. Add k=−6 to every height, (u,v)→(u,v−6): (−3,0)→(−3,−6),(−2,3)→(−2,−3),(−1,4)→(−1,−2),(0,3)→(0,−3),(1,0)→(1,−6).Each output of g is the old height f(u) plus k, so every y-value drops by exactly 6.
  4. Plot the five new points and join them with the same downward-opening parabola. The vertex moves from (−1,4) to (−1,−2), so g(x)=−(x+1)2+4−6=−(x+1)2−2.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.
  5. State the domain and range. f and g both have domain all real numbers. The range of f is (−∞,4], so the range of g is (−∞,4−6]=(−∞,−2].The inputs are untouched, so the domain stays the same. Every output value, including the maximum height 4, gains k = −6.
  6. Check a point in the new formula: g(0)=−(0+1)2−2=−1−2=−3, which matches the moved point (0,−3).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.
Answer
  • (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 − 2. (c) f: domain all real numbers, range (−∞, 4]. g: domain all real numbers, range (−∞, −2].
Double-check Test a different point two ways. g(1) = f(1) − 6 = 0 − 6 = −6, and the vertex form gives −(1 + 1)2 − 2 = −4 − 2 = −6, so (1, −6) lies on g. Its mirror point across x = −1 agrees: −(−3 + 1)2 − 2 = −4 − 2 = −6, giving (−3, −6). Every new point keeps its x-coordinate and sits exactly 6 below its original point, and the maximum value falls from 4 to −2.

Work to write

  1. g(x) = f(x) + (−6), so k = −6: shift 6 units down
  2. x-coordinates unchanged: (u, v) → (u, v − 6)
  3. (−3,0)→(−3,−6),(−2,3)→(−2,−3),(−1,4)→(−1,−2),(0,3)→(0,−3),(1,0)→(1,−6)
  4. vertex of g: (−1, −2); g(x) = −(x + 1)2 − 2
  5. domain of f and of g: all real numbers
  6. range of f: (−∞, 4]; range of g: (−∞, −2]
  7. check: g(0) = −(0 + 1)2 − 2 = −3, matching (0, −3)

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Move one dot up

If f(4) = 2, find g(4) for g(x) = f(x) + 5.
This asks you to find the new address or height of the given graph information.

(4, 2) becomes (4, 7).

Show the steps and the answer
  1. g(4)=f(4)+5=2+5.Keep the input and use its known output.
  2. g(4)=7.The old height 2 rises by 5.
Answer
(4, 2) becomes (4, 7).
Double-check 7 − 2 = 5, the requested upward distance.

Rung 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.

input xoutput f(x)−25011−234
x:−2,0,1,3;f(x):5,1,−2,4.
Show the steps and the answer
input xoutput f(x)−25011−234↓ evaluate: input given, read the output below it
Table of f: f(−2) = 5, f(0) = 1, f(1) = −2, f(3) = 4.
  1. Read the number added outside f in g(x)=f(x)−3. It is k=−3.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.
  2. Keep the x-values −2, 0, 1 and 3 unchanged.g still sends the same x into f, so no point moves left or right.
  3. Add −3 to each height: 5+(−3)=2,1+(−3)=−2,−2+(−3)=−5,4+(−3)=1. The new points are (−2,2),(0,−2),(1,−5) 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).
  4. Plot (−2,2),(0,−2),(1,−5) 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.
  5. The domain of g is [−2,3]. The range is [−2−3,5−3]=[−5,2].A vertical shift does not change the domain. Each range value gains k = −3, so the lowest and highest heights both drop by 3.
Answer
(a) (−2, 2), (0, −2), (1, −5), (3, 1). (b) The domain of g is [−2, 3] and the range of g is [−5, 2].
Double-check Substitute x = 1 into the new formula: g(1) = f(1) − 3 = −2 − 3 = −5. This matches the point (1, −5). Substitute x = 3: g(3) = f(3) − 3 = 4 − 3 = 1. This matches the point (3, 1).

Work to write

  1. k = −3, so the graph shifts down 3 units
  2. x-values stay the same: −2, 0, 1, 3
  3. g(−2)=2,g(0)=−2,g(1)=−5,g(3)=1
  4. Points: (−2, 2), (0, −2), (1, −5), (3, 1)
  5. Domain of g: [−2, 3]
  6. Range of g: [−5, 2]
  7. Check: g(1) = f(1) − 3 = −2 − 3 = −5

Rung 3 of 3

Move a physical starting height

For an original practice model, h(t) = 14t − 5t2 is a ball's height in meters t seconds after launch from the ground. Use the same motion from a 10-meter platform. Find H(t) and H(2).
This asks you to find the new address or height of the given graph information.

platformH(2)22610141822
The two height formulas differ by 10 at the same time; the point shown is H(2) = 18.
Show the steps and the answer
  1. Write H(t)=h(t)+10.At the same time the ball is 10 meters higher when its starting platform is 10 meters higher.
  2. Substitute the old formula: H(t)=14t−5t2+10.The extra starting height is added to the output, not to the time.
  3. H(2)=14·2−5·22+10=28−20+10=18.Square 2 first, then multiply, then combine the height terms.
Answer
  • H(t)=14t−5t2+10.
  • H(2) = 18 meters.
Double-check The ground-launched model gives h(2) = 8 meters, so 18 − 8 = 10 meters. The physical model is used only while the ball remains airborne.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For g(x) = f(x) + 3, move old point (−1, 1) to (2, 1).
That adds 3 to the input coordinate. Here the old function finishes first, and the +3 changes its output.
✓ Instead: Keep the input −1. Add 3 to height 1: 1 + 3 = 4. The new point is (−1, 4).
✗ Not this: An upward shift cannot leave a point below the x-axis.
An upward shift adds the same amount to every signed height. A height can increase and still be negative.
✓ Instead: The old height −5 shifted up 3 becomes −5 + 3 = −2. It has risen by 3, while remaining below zero.

Tips and tricks

  • Write outside +3 beside an upward arrow, then keep the first coordinate unchanged in every moved point.
  • A vertical shift adds a fixed amount. Check new height minus old height: it must equal k at every input.
  • Check one point above and one point below the x-axis when a graph has both. An upward shift raises each signed height.

7 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.

Lesson 2 of 8

Horizontal shifts: why the inside acts in the opposite direction

Subject: MathematicsLeans on: Solving a linear equationLeans on: Subtracting a negativeLeans on: Known function valuesOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Imagine a bus timetable. A stop that used to happen at eight now happens at six because the driver starts the whole route two hours earlier. At six, the new schedule must look up what the old schedule said for eight. That is why adding two inside a function moves the event earlier, toward the left. A Horizontal shift moves the graph sideways. An Inside change changes the input before the old function uses it. To locate the new dot, you ask which new input will feed the machine its old input. You solve that question backward. The sign in the formula describes what the machine does, while the graph shows where you must stand to undo it.

2 Picture it

(3, 0)old vertexnew vertexsame old height 1−22462468(3, 0)old vertexnew vertexsame old height 1−2−11234562468
Subtracting three inside means every old height is reached at an input three greater.
input xoutput f(x)214367811
x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput g(x)5173971111
x: 5, 7, 9, 11; g(x): 1, 3, 7, 11.

Reminder

Reminder: Solving a linear equation, Subtracting a negative, Known function values
  • Solving a linear equation. Do the same undoing operation on both sides. x − 3 = 4 becomes x = 7 after adding 3; check 7 − 3 = 4.
  • Subtracting a negative. Adding 3 can be written as subtracting −3: x + 3 = x − (−3). In x − h, that means h = −3.
  • Known function values. If f(6) = 7, use it only when the inside expression equals 6. Thus f(9 − 3) = 7, while f(6 − 3) asks for an unspecified f(3).

3 Why

Let f(u) = v. For g(x) = f(x − h), we want the input inside f to be u again so the old output v returns. Solve x − h = u by adding h to both sides: x = u + h. That is the new horizontal coordinate. Subtracting h inside therefore moves the dot right by h. For f(x + h), solve x + h = u to get x = u − h, a move left. The opposite direction comes from undoing the input change, not from an arbitrary memory rule.

4 The rule

g(x)=f(x−h) sends (u, v) to (u+h,v).

Positive h moves right; negative h moves left. Solve new input −h= old input whenever the sign feels uncertain.

The same idea, five ways

Say it

the new function at x uses the old function at x minus h. To keep the old height, move its input right h.

Write it

A Horizontal shift changes the input address at which each old height appears.

In math
  • g(x)=f(x−h)
  • x − h = u, so x = u + h.
  • Old point (u, v); new point (u + h, v).
  • For (x − 3)2: vertex (3, 0). For (x + 3)2: vertex (−3, 0).
  • Graph words: slide right when h > 0, left when h < 0, and keep all old heights.
Like

On a schedule that starts two hours earlier, new time 6 looks up old time 8. You add 2 before consulting the old timetable.

See it
(3, 0)old vertexnew vertexsame old height 1−22462468
The same old heights appear three units farther right because the new input must undo the inside subtraction.

The same idea, other ways

As a picture

The bottom of x2 occurs when its input is zero. The bottom of (x − 3)2 occurs when x − 3 is zero, which happens at x = 3. The whole curve follows that bottom to the right.

(3, 0)−2246246810
The new curve reaches its old lowest height three units later.
As a machine

A subtract-three worker stands before the old function. To feed the old function 2, give the worker 5. The worker subtracts 3 and hands the machine 2. The old point's address therefore changes from 2 to 5.

5subtract 3ffirstsecond2f(2)
A bigger starting input compensates for the subtraction before f.
As a schedule

Starting a vent schedule two hours earlier gives g(t) = f(t + 2). At new time 6, this looks up old time 8. Adding inside produces an earlier event because you need two fewer hours on the new clock.

As a schedule

g(x)=f(x−h)

As an equation

The dot with old input u must satisfy x − h = u. Adding h gives x = u + h. This works for positive and negative u and h, so it explains every dot, not only the lowest point.

As an equation

g(x)=f(x−h)

A memory device you can rebuild

Inside lies, outside tells the truth is a reminder about direction. The inside really tells the truth about the machine's input operation. You undo that operation to get the graph's position. Write the old-input equation whenever memory fails.

A memory device you can rebuild

g(x)=f(x−h)

Old input uOld output f(u)New input u + 3g(u + 3) for g(x) = f(x − 3)
2151
4373
6797
8111111

Part 1: Shift right

An inside subtraction delays every old event. You must move farther right to give the old function its original input.

  • Formula: g(x) = f(x − h), h > 0.
  • Point: (u, v) becomes (u + h, v).
  • Range: unchanged, because all the same old heights still appear.
(3, 0)−2246246
The corner appears at x = 3 because 3 − 3 feeds zero to absolute value.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The corner of |x − 3| is (−3, 0).
The corner needs zero inside. At −3, the inside is −3 − 3 = −6 and the height is 6. At 3, the inside is 3 − 3 = 0.
✓ Instead: Corner: (3, 0).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Shift left

An inside addition advances every old event. You start with a smaller input to cancel the addition before f receives it.

  • Formula: g(x) = f(x + h), h > 0.
  • Point: (u, v) becomes (u − h, v).
  • Domain: the allowed input addresses move left by h.
(−3, 0)−6−4−22246810
Adding three inside puts the lowest point three units left of zero.

Worked example

An old point appears earlier

If f(1) = 6, locate that height on g(x) = f(x + 3).
This asks you to find the new address or height of the given graph information.

The point (1, 6) becomes (−2, 6).

Show the steps and the answer
  1. Set x+3=1.f must receive the old input 1 to produce the known height 6.
  2. Subtract 3 to get x=−2.Subtraction undoes the inside addition.
Answer
The point (1, 6) becomes (−2, 6).
Double-check g(−2)=f(−2+3)=f(1)=6.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For f(x + 3), move the old point (1, 6) right to (4, 6).
At 4 the inside is 7, not the known old input 1. Solving x + 3 = 1 gives x = −2; its inside is −2 + 3 = 1.
✓ Instead: The point (1, 6) becomes (−2, 6).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Transform an input row

Keep each height and give it a new address. Do not invent a height for an input that your table never supplied.

  • For g(x) = f(x − 3), add 3 to known input coordinates.
  • The new input is what you give g. The old input is what g passes into f.
  • The output row is unchanged.
input xoutput g(x)5173971111
The same picture again: x: 5, 7, 9, 11; g(x): 1, 3, 7, 11.

Worked example

Use a table without guessing

OpenStax problem

A table gives f(4) = 3. Find a known point on g(x) = f(x − 3).
This asks you to attach each known output to its transformed input and calculate any requested new height.

input xoutput f(x)214367811
The same picture again: 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 a third time: x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput g(x)5173971111
The same picture a third time: x: 5, 7, 9, 11; g(x): 1, 3, 7, 11.
  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. Solve x−3=4 to get x=7.The required height 3 belongs to old input 4.
  3. g(7)=f(4)=3.At x = 7 the inside expression is the known old input.
Answer
Known point: (7, 3).
Double-check Subtracting 3 from the new input 7 recovers old input 4.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Knowing f(4) = 3 lets you conclude g(4) = 3 for g(x) = f(x − 3).
g(4) requires f(1), which is not supplied by this table. The known height 3 appears at input 7 because 7 − 3 = 4.
✓ Instead: Known point: (7, 3).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 4: Interpret the units

Read the labels like a receipt. Adding to a gallons answer means extra gallons. Adding to a miles input means extra miles before you calculate gallons.

  • If f(x) is gallons for x miles, f(x) + 10 adds 10 gallons.
  • f(x + 10) asks for gallons for a trip 10 miles longer.
  • The mathematical left shift describes where the same output occurs; the context describes what quantity the formula changes.
x + 10 milesf: miles to gallonsinputoutputf(x + 10) gallons
The ten is measured in miles because it enters before the miles-to-gallons machine.

Worked example

Separate gallons from miles

OpenStax problem

Interpret f(x) + 10 and f(x + 10) when f converts trip miles to gallons used.
This asks what the added number measures: more gallons after finding fuel use, or more miles before finding fuel use.

Show the steps and the answer
x milesadd 10 milesffirstsecondx + 10 milesf(x + 10) gallons
Adding before f changes miles; adding after f changes gallons.
  1. f(x)+10 is fuel for x miles plus 10 gallons.The addition is attached to the output, measured in gallons.
  2. f(x+10) is fuel for x+10 miles.The addition changes the input, measured in miles.
Answer
  • f(x) + 10: vertical shift up 10 gallons.
  • f(x + 10): horizontal shift left 10 miles on the mathematical graph.
Double-check With an original model f(x) = x25, the formulas become x25 + 10 and x+1025. Extra 10 miles uses 25 gallon, which differs from 10 extra gallons.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: If f converts miles into gallons, f(x) + 10 asks for a trip 10 miles longer.
f(x) is already the finished gallons answer. Adding outside adds 10 gallons. A longer trip instead changes the input before f: f(x + 10).
✓ Instead: f(x) + 10: vertical shift up 10 gallons.
f(x + 10): horizontal shift left 10 miles on the mathematical graph.
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

5 How

  1. Find the expression inside f; it is the input the old function receives.
  2. Set that expression equal to a known old input u, because this asks where the same old height appears.
  3. Solve for the new input x. Add when the expression subtracts, and subtract when it adds.
  4. Keep the old height v, because the function receives the same old input u.
  5. Move several points and substitute their new inputs into g to check.

Find where a known old height appears after a sideways shift

1
Are you moving a known old point?
YesSet the inside expression equal to that point's old input, then solve for the new input.
NoFor evaluation at a supplied new input, compute the inside expression first.
↓
2
Does the input expression subtract a positive number?
YesAdd that number to the old coordinate. This moves its point right.
NoIf it adds a positive number, subtract that number from the old coordinate. This moves its point left.
↓
3
When evaluating, is the required old input listed in the supplied table?
YesRead the output in that input's column.
NoState that the value cannot be determined from the table. Do not guess between entries.
  1. Translate the request: you know an old input and height, and need the new address for that same height.
  2. Name the old input u. Set the expression inside f equal to u.
  3. Undo the inside addition or subtraction on both sides. In x − 3 = u, add 3 to obtain x = u + 3.
  4. Keep the old height v. The new point is (u + h, v).
  5. Substitute the new input into the inside expression. It must give the original input u.
  6. If instead asked for g at a specified input, calculate its inside value first and look up f there.

6 Worked example

Worked example

Shifting a parabola when the inside adds 3

Let f(x) = x2 − 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.

(−5, 0)(−3, −4)(−2, −3)(−1, 0)−6−4−22−6−4−2246
Graph of g(x) = (x + 3)2 − 4.
Show the steps and the answer
  1. The expression inside f is x+3. Write g(x)=f(x+3)=f(x−(−3)), so h=−3.The expression inside f is the input the old function receives. Matching it to x − h shows the sign of h.
  2. For the point (−2,0), set x+3=−2.This asks which new input x feeds the old input −2 into f, so that the same old height appears.
  3. Solve: x=−2−3=−5. In the same way, x+3=0 gives x=−3. x+3=1 gives x=−2. x+3=2 gives x=−1.The expression adds 3, so we subtract 3 to undo it. Each new input is the old input minus 3.
  4. Keep the heights: (−2,0)→(−5,0),(0,−4)→(−3,−4),(1,−3)→(−2,−3),(2,0)→(−1,0).At each new input, f receives the same old input u, so it returns the same old height v.
  5. The shift is 3 units left. The vertex (0,−4) of f moves to (−3,−4).With h = −3 the rule (u, v) → (u + h, v) moves every point 3 units left. This is the opposite of the + sign inside.
Answer
(a) (−5, 0), (−3, −4), (−2, −3), (−1, 0). (b) The graph of g is the graph of f shifted 3 units left. The vertex of g is (−3, −4).
Double-check Substitute the new inputs into g(x) = (x + 3)2 − 4. g(−5) = (−2)2 − 4 = 0. g(−3) = 02 − 4 = −4. g(−2) = 12 − 4 = −3. g(−1) = 22 − 4 = 0. All four heights match.

Work to write

  1. g(x) = f(x + 3) = f(x − (−3)), so h = −3
  2. Solve x + 3 = u, so x = u − 3
  3. (−2,0)→(−5,0);(0,−4)→(−3,−4);(1,−3)→(−2,−3);(2,0)→(−1,0)
  4. Shift 3 units left; vertex (−3, −4)
  5. Check: g(−3) = (0)2 − 4 = −4

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Recover the old zero input

Where does the old point (0, 0) of x2 go on (x − 6)2?
This asks you to find the new address or height of the given graph information.

(6, 0)−448−2246810
The old zero input is reached at new input 6.
Show the steps and the answer
  1. Set x−6=0.The old height zero requires the old input zero.
  2. Add 6: x=6, with the same height 0.You undo the subtraction before squaring.
Answer
(6, 0), a shift right 6.
Double-check (6−6)2=0.

Rung 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).

input xoutput f(x)214367811
The same picture, shown 4 times now: 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, shown 5 times now: x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
  1. 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.
  2. Add 3 to each old input: 2+3=5,4+3=7,6+3=9,8+3=11.g reaches the old input u when x − 3 = u, so the new input is x = u + 3.
  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.
Answer
(5, 1), (7, 3), (9, 7), (11, 11)
Double-check g(9) = f(9 − 3) = f(6) = 7, so (9, 7) is a point of g.

Rung 3 of 3

A vent schedule starts earlier

OpenStax problem

The old vent schedule f(t) starts changing at 8 a.m. and first reaches 220 square feet at 10 a.m. Move the entire schedule two hours earlier. Give its formula and new times.
This asks you to find the new address or height of the given graph information.

input t in hoursoutput f(t) in square feet8010220
t in hours: 8, 10; f(t) in square feet: 0, 220.
input t in hoursoutput g(t) in square feet608220
t in hours: 6, 8; g(t) in square feet: 0, 220.
Show the steps and the answer
input t in hoursoutput f(t) in square feet8010220
Read each column as one t in hours input paired with its f(t) in square feet output.
input t in hoursoutput g(t) in square feet608220
Read each column as one t in hours input paired with its g(t) in square feet 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 g(t)=f(t+2).At any new time, look up what the old schedule did two hours later.
  3. Solve t + 2 = 8: t=6.The old 8 a.m. change now happens at the input that feeds 8 to f.
  4. Solve t + 2 = 10: t=8.The old 10 a.m. event moves two hours earlier as well.
Answer
  • g(t) = f(t + 2).
  • Change begins at 6 a.m.
  • The schedule first reaches 220 square feet at 8 a.m.
Double-check g(8) = f(10) = 220. A daily schedule can extend across midnight; if given only one day's data, translate the known time interval rather than assume extra entries.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: g(x) = f(x + 3) moves the graph right 3.
At a new input x, the old machine receives x + 3. To reach old input 0, solve x + 3 = 0, which gives x = −3.
✓ Instead: It moves left 3. For f(x) = x2, the old vertex (0, 0) becomes (−3, 0), and g(−3) = 0.
✗ Not this: For g(x) = f(x − 3), subtract 3 from the old table inputs 2, 4, 6, 8.
The formula subtracts 3 before f runs. The new address must be 3 larger so that this subtraction recovers each old address.
✓ Instead: Use the displayed shifted table. For example, the new column under 9 has output 7, because g(9) = f(9 − 3) = f(6) = 7. The displayed output row is unchanged.
✗ Not this: If f(4) = 3, then g(4) = 3 for g(x) = f(x − 3).
g(4) asks for f(1), which the supplied value f(4) does not tell you.
✓ Instead: The known height appears at new input 7: g(7) = f(4) = 3. g(4) remains unknown without a value for f(1).

Tips and tricks

  • Write new input expression = old input before choosing left or right. This equation explains the direction.
  • Inside lies is a memory cue about graph movement. The machine really performs the operation written inside; your new coordinate must undo it.
  • For a table, carry each old output to its new input column. Do not swap the task of moving an old point with the task of evaluating g at a specified input.

7 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.

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.

Lesson 3 of 8

Combine shifts and read the domain and range

Subject: MathematicsLeans on: Square root restrictionsLeans on: Adding to an inequalityLeans on: Division by zeroLeans on: Interval notationOpen this lesson
Leans on 1Comes back in 0

1 In plain words

Take the same clear drawing and slide it sideways, then raise or lower it. A corner of the drawing has two coordinates, like a street address and a floor number. Moving right changes the address. Moving up changes the floor. You can do those two moves in either order because neither move changes the coordinate used by the other. This is how you build a new graph from a familiar Toolkit function, a basic shape you recognize. Watch its corner, starting point, or gaps. These landmarks tell you where the whole shape goes. The Domain is the set of allowed input addresses. The Range is the set of heights the graph actually reaches.

2 Picture it

(2, −4)left pointnew cornerright pointdomainrange−2246−4−224(2, −4)left pointnew cornerright pointdomainrange−2246−4−224
The V moves right two and down four, taking its minimum height with it.

Reminder

Reminder: Square root restrictions, Adding to an inequality, Division by zero, Interval notation
  • Square root restrictions. A real square root needs a nonnegative inside and returns a nonnegative result: x+2 needs x + 2 ≥ 0, and adding 3 outside gives heights at least 3.
  • Adding to an inequality. Add or subtract the same number on both sides without reversing order: x + 2 ≥ 0 becomes x ≥ −2 after subtracting 2.
  • Division by zero. A denominator cannot be zero. For 1x−1, solve x − 1 = 0 to find the forbidden input x = 1, then substitute: 1 − 1 = 0.
  • Interval notation. A bracket includes an endpoint: x ≥ −2 is [−2, ∞). A missing input splits an interval: x ≠ 1 is (−∞, 1) ∪ (1, ∞).

3 Why

For g(x) = f(x − h) + k and a known old point (u, v), choose x = u + h. Then x − h = u, so g(u + h) = f(u) + k = v + k. The new point is (u + h, v + k). Doing the vertical move first gives the same pair because adding k to v does not touch u. Domain and range move too: a square root still needs a nonnegative inside, and its smallest old output zero becomes k.

4 The rule

g(x)=f(x−h)+k sends (u, v) to (u+h,v+k).

These shifts commute, meaning either order gives the same graph, because each changes a different coordinate.

The same idea, five ways

Say it

move each old input by h and each old height by k. Then state where inputs are allowed and what heights occur.

Write it

Combining a Horizontal shift and a Vertical shift moves both coordinates, and carries the graph's starting points and restrictions with it.

In math
  • g(x)=f(x−h)+k
  • Old point (u, v); new point (u + h, v + k).
  • For x+2 + 3: Domain x ≥ −2, [−2, ∞), {x | x ≥ −2}.
  • Range y ≥ 3, [3, ∞), {y | y ≥ 3}.
  • For 1x−1 + 1: Domain x ≠ 1; Range y ≠ 1.
  • Graph words: translate the corner, endpoint, or asymptote guide lines by the same horizontal and vertical amounts.
Like

A street address and a floor number can both change. Change the street address and the floor in either order to reach the same room.

See it
(2, −4)left pointnew cornerright pointdomainrange−2246−4−224
The same picture again: y = |x − 2| − 4, solid, beside y = |x|, dashed.

The same idea, other ways

As a map and a floor number

Treat (u, v) as a street address and a floor number. Right 2 changes only the street address; down 4 changes only the floor. Doing either move first takes (0, 0) to the same new location (2, −4).

(2, −4)left pointnew cornerright pointdomainrange−2246−4−224
The same picture a third time: y = |x − 2| − 4, solid, beside y = |x|, dashed.
As two numerical jobs

For |x − 2| − 4, the new input 2 sends 2 − 2 = 0 into absolute value. Absolute value returns |0| = 0, then subtracting 4 gives −4. That places the corner at (2, −4). The old point (1, 1) similarly becomes (3, −3).

As two numerical jobs

g(x)=f(x−h)+k

As two shadows

A graph casts one shadow onto the horizontal axis for allowed inputs and another onto the vertical axis for attainable heights. For x+2 + 3, its starting point moves to (−2, 3): the horizontal shadow begins at −2 and the vertical shadow begins at 3.

endpointdomainrange−4−22468246
The moved starting point locates both the beginning of the Domain and the beginning of the Range.

Part 1: Absolute value corner

The absolute value graph is a V. Its corner is where the inside equals zero. Moving the V moves that corner and keeps both arms attached.

  • Formula: |x − h| + k.
  • Vertex: (h, k), the corner where the two arms meet.
  • Domain: (−∞, ∞). Range: [k, ∞) when there is no vertical reflection.
(2, −4)range−2246−4−224
The corner moves right two and down four, while the arms keep their slopes.

Worked example

Use the zero inside

Find the corner of |x − 2| − 4.
This asks you to find the new address or height of the given graph information.

(2, −4)−4−2246−4−2246
The corner is (2, −4) because x − 2 becomes zero at 2.
Show the steps and the answer
  1. Solve x−2=0 to get x=2.Absolute value is smallest at old input zero.
  2. The height is |0|−4=−4.The outside shift lowers the old minimum zero by four.
Answer
Corner: (2, −4).
Double-check At inputs 1 and 3 the heights are both −3, one unit above the corner on each side.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The corner of |x − 2| − 4 is (−2, −4).
At input −2 the inside is −4 and the height is 4 − 4 = 0. The inside becomes zero at input 2, giving the true lowest height −4.
✓ Instead: Corner: (2, −4).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Square root endpoint

A square root graph begins at an Endpoint, its included starting point. The beginning moves along with the curve, and the allowed inputs begin there too.

  • Formula: x−h + k.
  • Endpoint: (h, k).
  • Domain: x ≥ h, or [h, ∞). Range: y ≥ k, or [k, ∞).
  • The square root sign means the nonnegative root.
endpointnext square-root pointnext pointdomainrange−4−22468246
The curve starts at (−2, 3), so inputs begin at −2 and heights begin at 3.

Worked example

A shifted square root from its starting point

OpenStax problem

A translated Square root function begins at (1, 2). Write its formula, domain, and range.
This asks you to find the new address or height of the given graph information.

domainrange−2246810246
The endpoint (1, 2) determines both shifts.
Show the steps and the answer
  1. The old endpoint (0, 0) moved right 1 and up 2.Subtract the old coordinates from the new coordinates to find the two shifts.
  2. Write g(x)=x−1+2.A right shift subtracts 1 inside and an upward shift adds 2 outside.
  3. Require x−1≥0, giving x≥1. The square root output is nonnegative, giving g(x)≥2.Real square roots need a nonnegative inside and return a nonnegative result.
Answer
  • g(x)=x−1+2.
  • Domain: [1, ∞).
  • Range: [2, ∞).
Double-check g(1) = 2 and g(2) = 3, agreeing with transformed old points (0, 0) and (1, 1).
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A square root beginning at (1, 2) has formula x + 2.
That formula still begins at input 0. To begin at input 1, the inside must be x − 1, which becomes zero at 1.
✓ Instead: g(x) = x−1 + 2.
Domain: [1, ∞).
Range: [2, ∞).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Reciprocal asymptotes

A reciprocal graph has two branches and a forbidden input. An Asymptote is a line the curve approaches. Shifts move those guide lines along with the branches.

  • Formula: g(x) = 1x−h + k.
  • Domain: x ≠ h, because a denominator cannot be zero.
  • Range: y ≠ k, because 1x−h never equals zero.
  • Vertical asymptote: x = h. Horizontal asymptote: y = k.
−4−2246−4−2246
The reciprocal guide lines move from the axes to x = 1 and y = 1.

Worked example

Move a reciprocal graph

OpenStax problem

Shift the Reciprocal function one unit right and one unit up.
This asks you to find the new address or height of the given graph information.

−4−224−448
The excluded lines move to x = 1 and y = 1.
Show the steps and the answer
  1. Replace x by x−1 in 1x.The right shift makes the old input appear one unit later.
  2. Add 1 after dividing: g(x)=1x−1+1.The up shift changes the completed output.
  3. Exclude x=1 and y=1.The denominator would vanish at x = 1, and a reciprocal term cannot equal zero.
Answer
  • g(x)=1x−1+1.
  • Domain: (−∞, 1) ∪ (1, ∞).
  • Range: (−∞, 1) ∪ (1, ∞).
Double-check Old point (1, 1) becomes (2, 2), and g(2) = 1 + 1 = 2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The shifted reciprocal 1x−1 + 1 excludes input 0 and output 0.
At input 0 the denominator is −1, so the formula is defined and gives −1 + 1 = 0. The forbidden input and missing height have both moved to 1.
✓ Instead: g(x) = 1x−1 + 1.
Domain: (−∞, 1) ∪ (1, ∞).
Range: (−∞, 1) ∪ (1, ∞).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

5 How

  1. Recognize the original toolkit shape before changing it.
  2. Read h from x − h. If you see x + 2, write h = −2.
  3. Read k from the addition outside the function.
  4. Move the landmark and at least two other points by (h, k).
  5. Check allowed inputs using the original function's restrictions, then translate the heights to obtain the range.
  6. Substitute a new point into the formula and compare with its transformed height.

Combine shifts, then find Domain and Range from the starting graph

1
Is the starting function a Square root function?
YesRequire x − h ≥ 0. The endpoint becomes (h, k), the Domain is [h, ∞), and the Range is [k, ∞).
NoCheck for a Reciprocal function.
↓
2
Is there a reciprocal denominator x − h?
YesExclude x = h after showing h − h = 0. Its missing range height becomes k, so exclude y = k.
NoFor the Absolute value function or Quadratic function with shifts alone, all real inputs remain allowed and the lowest output becomes k.
↓
3
Are you using only isolated supplied points?
YesMove those known points. They do not determine an unknown function's complete Domain or Range.
NoUse the known toolkit function's full Domain and Range, together with its shifts.
  1. Recognize the basic shape and recall its allowed inputs and outputs.
  2. Read h from x − h and k from the outside addition. For x + 2, h = −2.
  3. Move each old point to (u + h, v + k), including the landmark.
  4. For a square root, require its inside ≥ 0 and solve. Set the inside to 0 to find the endpoint input, then substitute it to find its height.
  5. For a reciprocal, set the denominator to 0 to find the forbidden input. Substitute that input into the denominator to show the zero, and exclude it.
  6. Translate every original range height by k. A root's lowest height 0 becomes k; a reciprocal's missing height 0 becomes k.
  7. Write each requested answer on its own line and check a moved point directly in the new formula.

6 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
(2, −4)−4−2246−4−2246
The V moves right 2 and down 4.
  1. Identify h=2 from x−2.The new input x = u + 2 compensates for subtracting 2 inside.
  2. Identify k=−4.The subtraction after absolute value lowers every height by 4.
  3. Move the corner (0, 0) to (2,−4).Add 2 to its horizontal coordinate and subtract 4 from its height.
  4. Move (−1,1) to (1,−3) and (1, 1) to (3,−3).Every point receives the same two shifts.
  5. Join these points in a V opening upward.Shifts preserve the original V shape.
Answer
  • Right 2 and down 4.
  • Corner: (2, −4).
  • Domain: (−∞, ∞).
  • Range: [−4, ∞).
Double-check g(1) = |−1| − 4 = −3 and g(3) = |1| − 4 = −3, verifying both sides of the moved corner.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Shift a known dot in two directions

(3, −2) is on f. Where is it on g(x) = f(x − 6) + 3?
This asks you to find the new address or height of the given graph information.

(9, 1).

Show the steps and the answer
  1. Solve x−6=3 to get x=9.The inside must reproduce old input 3.
  2. Raise old height −2 by 3: −2+3=1.The addition outside changes the output.
Answer
(9, 1).
Double-check g(9)=f(3)+3=−2+3=1.

Rung 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.

(2, −4)−4−2246−4−2246
The corner is (2, −4).
Show the steps and the answer
  1. Solve x−2=0 to find x=2.The old corner uses input zero.
  2. Use height |0|−4=−4.The outside shift lowers zero by four.
Answer
  • Right 2 and down 4.
  • Corner: (2, −4).
Double-check Its equal heights at x = 1 and x = 3 show the V centered at x = 2.

Rung 3 of 4

A V shifted left one and down three

OpenStax problem

Use f(x) = |x| to describe and sketch g(x) = |x + 1| − 3. This asks you to move each old sideways address one unit left and each old height three units down.

Show the steps and the answer
(−1, −3)leftcornerrightrange−4−224−4−224
The V moves left one and down three, with its corner at (−1, −3).
  1. Set x+1=0 to find where the old corner input appears. Subtract 1 to get x=−1.The new corner must send old input 0 into absolute value. This solves for its new horizontal address.
  2. At that input, g(−1)=|0|−3=−3.The outside subtraction lowers the old corner height 0 by 3.
  3. Move old points (−1,1), (0, 0), and (1, 1) to (−2,−2),(−1,−3), and (0,−2).Subtract 1 from each old input and 3 from each old output. These are separate coordinate changes.
  4. Draw the same V through those moved points. Every real input is still allowed, and the smallest output is −3.A translation preserves the V shape. Absolute value stays nonnegative before the final downward shift.
Answer
  • Shift left 1 and down 3.
  • Corner: (−1, −3).
  • Domain: (−∞, ∞).
  • Range: [−3, ∞).
Double-check g(−1) = −3 verifies the corner. g(0) = |1| − 3 = −2 agrees with old point (1, 1) moved to (0, −2). The different formula |x − 2| − 4 moves right 2 and down 4, because its corner input solves x − 2 = 0 instead.

Rung 4 of 4

Move guide lines and missing values

OpenStax problem

Shift 1x right 1 and up 1. State the new formula and the excluded input and output.
This asks you to find the new address or height of the given graph information.

−4−224−448
The graph excludes input 1 and output 1.
Show the steps and the answer
  1. Write g(x)=1x−1+1.Right subtracts inside; up adds outside.
  2. x=1 is excluded.At 1 the denominator becomes zero.
  3. y=1 is excluded.To equal 1, the reciprocal term would have to equal zero, which is impossible.
Answer
  • g(x)=1x−1+1.
  • Excluded input: 1.
  • Excluded output: 1.
  • Asymptotes: x = 1 and y = 1.
Double-check Given any y ≠ 1, solving y − 1 = 1x−1 gives x = 1 + 1y−1, so every other output occurs.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For g(x) = x+2 + 3, keep the old domain [0, ∞) and range [0, ∞).
The input addition allows the old input zero at new input −2. The outside addition changes old height zero to 3.
✓ Instead: Solve x + 2 ≥ 0 to get x ≥ −2. The root's nonnegative outputs become y ≥ 3. Domain: [−2, ∞). Range: [3, ∞).
✗ Not this: For g(x) = 1x−1 + 1, exclude input 0 and output 0 because that is what the old reciprocal excludes.
The shift moves the missing input and missing height along with the rest of the graph. At input 0, the formula is defined and gives −1 + 1 = 0.
✓ Instead: Exclude input 1 because 1 − 1 = 0 makes the denominator zero. Exclude output 1 because the reciprocal part can never be zero. The point (0, 0) is allowed.

Tips and tricks

  • Find the corner or endpoint by making its inside expression zero, then substitute that input to find its height.
  • Write Domain for allowed inputs and Range for attainable outputs on separate answer lines.
  • For reciprocal shifts, move the two asymptote guide lines and check the denominator at the proposed excluded input.
  • Commute means you may swap the order without changing the result. Here x gains h and y gains k, so neither job affects the other's number.

7 The trap

Moving the corner correctly but leaving the old domain and range. For x+2 + 3, the allowed inputs start at −2 and the heights start at 3. Check the inside restriction and the lowest height separately.

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.

Lesson 4 of 8

Reflections: the minus sign tells you which coordinate changes

Subject: MathematicsLeans on: Taking the oppositeLeans on: Replacing every inputLeans on: Reversing an inequalityLeans on: Distributing an outside minusOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Imagine tracing a drawing on clear plastic and turning it over along one edge. You get a mirror image, with each dot the same distance from that edge on the other side. A Reflection does that to a graph. A Vertical reflection flips heights across the horizontal x-axis. A Horizontal reflection flips left and right across the vertical y-axis. You can tell which flip to make by finding the minus sign. A minus outside the function changes its answer. A minus inside changes the input that reaches the old answer. The axis names describe the mirror line; vertical and horizontal describe the direction the points move.

2 Picture it

H(−4) = 2domainrange−8−448−11234H(−4) = 2domainrange−8−448−11234
Reflecting t across the vertical axis moves its allowed inputs to t ≤ 0 and keeps its heights nonnegative.
input xoutput f(x)214367811
x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput V(x)2−14−36−78−11
x:2,4,6,8;V(x):−1,−3,−7,−11.
input xoutput H(x)−21−43−67−811
x:−2,−4,−6,−8;H(x):1,3,7,11.

Reminder

Reminder: Taking the opposite, Replacing every input, Reversing an inequality, Distributing an outside minus
  • Taking the opposite. The opposite reverses the sign: −(−3) = 3 and −0 = 0. Do not subtract a fixed distance.
  • Replacing every input. For f(x) = (x − 6)2, substitute (−x) everywhere x appears: f(−x) = (−x − 6)2. The constant −6 is part of the original rule.
  • Reversing an inequality. Multiplying or dividing both sides by a negative reverses order: −x ≥ 0 becomes x ≤ 0 after multiplying by −1. For numbers, 4 > 2 becomes −4 < −2.
  • Distributing an outside minus. Negating the whole output changes every term: −(x − 4) = −x + 4 because −1 multiplies both x and −4.

3 Why

If f(u) = v, then −f(u) = −v. The same input now gives the opposite output, so (u, v) becomes (u, −v). For f(−x), solve −x = u: x = −u. At that new input the function receives u and returns v, so the point becomes (−u, v). Zero stays zero under either sign change. Distances from the mirror line stay equal because a number and its negative have the same size.

4 The rule

Vertical reflection: g(x)=−f(x), with (u, v) becoming (u,−v).

Horizontal reflection: h(x)=f(−x), with (u, v) becoming (−u,v).

The same idea, five ways

Say it

across the x-axis, keep the input and take the opposite height. Across the y-axis, take the opposite input and keep the height.

Write it

A Reflection puts each graph point the same distance from a mirror axis on the other side of that axis.

In math
  • Vertical reflection: g(x) = −f(x); old (u, v), new (u, −v).
  • Horizontal reflection: H(x) = f(−x); old (u, v), new (−u, v).
  • For −x: Domain x ≤ 0, (−∞, 0], {x | x ≤ 0}.
  • Range y ≥ 0, [0, ∞), {y | y ≥ 0}.
  • Graph words: flip heights across the horizontal axis, or flip addresses across the vertical axis.
Like

A mirror puts a dot on the opposite side at the same distance. The location of the mirror decides whether height or sideways address reverses.

See it
new (−4, 2)old (4, 2)domainrange−8−448−11234
y = (−x), solid, beside y = x, dashed.

The same idea, other ways

As a mirror

A Vertical reflection puts each height on the opposite side of the horizontal x-axis. The point (4, 4) becomes (4, −4). A Horizontal reflection uses the vertical y-axis as its mirror and sends (4, 4) to (−4, 4). Name the mirror line separately from the coordinate that moves.

reflected (4, −4)old (4, 4)−22468−44
A vertical flip negates the height and keeps its distance from the x-axis equal.
As a before-or-after machine change

For −f(x), run f first and take the opposite of its answer afterward. For f(−x), take the opposite of the input first and then run f. Take f(x) = 2x. At new input −4, f(−x) = 2−x hands f the input 4, and f returns 4. At input 4, −f(x) = −2x returns −4.

outside: −24 = −4

inside: 2−(−4) = 24 = 4

after f: change the height

before f: change the input

As opposite addresses

To keep old output f(4) = 2 in f(−x), solve −x = 4. Multiplying both sides by −1 gives x = −4. The equation therefore forces the reflected horizontal address. For −f(x), no input equation changes: keep 4 and negate the old height 2.

new (−4, 2)old (4, 2)domainrange−8−448−11234
The same picture again: y = (−x), solid, beside y = x, dashed.
Original input uOriginal output f(u)−f(u) at input uReflected input −uf(−x) at x = −u
21−1−21
43−3−43
67−7−67
811−11−811

Part 1: Vertical reflection

Picture a dot three steps below a tabletop. Its mirror image is three steps above the tabletop. A Vertical reflection works with signed heights in the same way: a negative answer becomes positive, and a positive answer becomes negative. You keep the horizontal address. This is an Outside change because it happens after the function has returned its answer.

  • Formula: g(x) = −f(x). Point rule: (u, v) becomes (u, −v).
  • The Domain stays the same. The Range contains the negatives of the original range values.
  • A point on the x-axis stays fixed because −0 = 0. A reflection is a flip, not a shift by a fixed number.
(1, 3)fixed246−6−4−2246
The line y = x − 4 reflects to y = 4 − x, and their shared point on the x-axis stays fixed.

Worked example

A negative height becomes positive

Reflect f(x) = x − 4 vertically and follow its point at x = 1.
This asks you to find the new address or height of the given graph information.

reflectedold246−6−4−2246
The point (1, −3) reflects to (1, 3).
Show the steps and the answer
  1. f(1)=1−4=−3, so the original point is (1,−3).The input is the horizontal coordinate, and the function value is the signed height.
  2. Write g(x)=−(x−4)=−x+4.Negate the whole output. Distributing −1 changes the signs of both terms.
  3. The reflected point is (1, 3).The input stays 1 and the opposite of −3 is 3.
Answer
  • g(x)=−x+4.
  • (1, −3) becomes (1, 3).
Double-check g(1) = −1 + 4 = 3. The two points are both three units from the x-axis.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The vertical reflection of f(x) = x − 4 is −x − 4.
The outside minus acts on the whole output: −(x − 4) = −x + 4. At input 1, the old height −3 becomes 3, not −5.
✓ Instead: g(x) = −x + 4.
(1, −3) becomes (1, 3).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Horizontal reflection

Picture reflecting a street map in a mirror: an address two blocks east now appears two blocks west, while its northward distance stays the same. A Horizontal reflection negates every horizontal coordinate. This is an Inside change because the function receives −x. Substitute that expression everywhere the old input appears, including inside a square or a root.

  • Formula: h(x) = f(−x). Point rule: (u, v) becomes (−u, v).
  • The Domain is reflected across zero; the Range stays the same.
  • A graph already Symmetric about the y-axis is unchanged by this reflection. For example, (−x)2 = x2, so the Quadratic function x2 looks the same after the flip.
(−6, 0)new vertex−8−448246810
The vertex of (x − 6)2 at (6, 0) moves to (−6, 0) when the horizontal coordinate changes sign.

Worked example

Reflect a shifted quadratic

Reflect f(x) = (x − 6)2 horizontally. Find the new vertex.
This asks you to change the coordinate named by each mirror move and keep the other coordinate.

Show the steps and the answer
(−6, 0)−8−448−2246810
The vertex moves from x = 6 to x = −6 when the horizontal coordinate changes sign.
  1. Replace x with (−x): h(x)=(−x−6)2.A horizontal reflection changes the input before the original function is evaluated.
  2. Factor inside the square: −x−6=−(x+6), so h(x)=(−(x+6))2=(x+6)2.Squaring a negative expression multiplies two negatives and gives the same result as squaring its positive opposite.
  3. The original vertex (6, 0) becomes (−6,0). Domain: all real numbers. Range: [0,∞).Negate the horizontal coordinate. Squares are still nonnegative, and every real input remains allowed.
Answer
  • h(x)=(x+6)2.
  • Vertex: (−6, 0).
  • Domain: (−∞, ∞).
  • Range: [0, ∞).
Double-check h(−6) = 0, and h(−7) = 1 = f(7). The point (7, 1) has moved to (−7, 1).
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Horizontally reflecting (x − 6)2 leaves its vertex at (6, 0).
Replacing every x by −x gives (−x − 6)2 = (x + 6)2, whose vertex is (−6, 0). The horizontal address reverses sign.
✓ Instead: h(x) = (x + 6)2.
Vertex: (−6, 0).
Domain: (−∞, ∞).
Range: [0, ∞).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Both reflections and a shift

Imagine flipping a paper drawing left to right, then top to bottom, and finally sliding it upward. Keep a record of each dot after each action. For L(n) = −f(−n) + 1, you negate its horizontal address, negate its height, then add 1 to that height. You can trace known points even when you do not know a formula for f.

  • Formula: L(n) = −f(−n) + 1. A point (u, v) becomes (−u, 1 − v).
  • You can trace a learning-model transformation from known points even when an original formula is not given. Here the original points are (0, 1) and (1, 2).
  • A learning model needs nonnegative practice-session inputs and an appropriate mastery scale. A transformed point at n = −1 is an algebraic point, not a physically allowed negative practice session.
  • Reflecting x3 across both axes returns its graph to the same place: the new formula −(−x)3 equals x3. The next lesson calls this matching behavior an odd function and explains the full test.

L(n)=−f(−n)+1

(0,1)→(0,1)→(0,−1)→(0,0)

(1,2)→(−1,2)→(−1,−2)→(−1,−1)

Worked example

Trace two supplied learning-model points

OpenStax problem

Given f(0) = 1 and f(1) = 2, trace their points to L(n) = −f(−n) + 1 without guessing a formula for f.
This asks you to find the new address or height of the given graph information.

(0, 1) becomes (0, 0).

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

Show the steps and the answer
  1. Horizontal reflection: (0, 1) becomes (0, 1), and (1, 2) becomes (−1,2).The inside minus negates each input coordinate; −0 = 0.
  2. Vertical reflection: those points become (0,−1) and (−1,−2).The outside minus negates the output coordinates.
  3. Shift up 1: the final points are (0, 0) and (−1,−1).Adding 1 outside gives −1 + 1 = 0 and −2 + 1 = −1.
Answer
  • (0, 1) becomes (0, 0).
  • (1, 2) becomes (−1, −1).
Double-check L(0) = −f(0) + 1 = −1 + 1 = 0. L(−1) = −f(1) + 1 = −2 + 1 = −1. These checks use only the two supplied values.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For −f(−n) + 1, the supplied point (1, 2) becomes (−1, 3).
The outside minus must negate 2 before the addition. The new height is −2 + 1 = −1, while the inside minus moves input 1 to −1.
✓ Instead: (0, 1) becomes (0, 0).
(1, 2) becomes (−1, −1).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 4: A specified learning-model equation

Treat practice like filling a progress gauge. Mastery means how much of a skill you have learned. A percentage measures an amount out of 100. This original gauge starts at 0 percent, grows with more practice, and approaches 100 percent. A formula supplies its entire curve; two isolated points could not tell you all that. Practice is continuous here, meaning every real amount, including part of a session, is allowed.

  • This practice model uses an explicitly specified old formula and a stated contextual input restriction.
  • L(n) = −f(−n) + 100 with f(x) = 3003−x gives L(n) = 100 − 300n+3.
  • With continuous nonnegative practice amounts, the contextual domain is [0, ∞) and the range is [0, 100).
  • If n counts completed whole sessions only, use only whole-number inputs, with the separate output values at those inputs.
no practicethree sessionsrange391521271133557799
y = −300/(x + 3) + 100.
Reminder
Reminder: Function substitution
  • Function substitution. Replace every old x by (−n): 3 − x becomes 3 − (−n) = 3 + n.
The same idea, five ways
Say it

mastery is one hundred minus the unfilled amount, with zero or more practice.

Write it

This original learning-model equation gives a continuous percentage that starts at zero and stays below one hundred.

In math
  • L(n)=100−300n+3
  • n ≥ 0; contextual domain [0, ∞).
  • 0 ≤ L(n) < 100; contextual range [0, 100).
Like

A progress gauge whose remaining gap keeps shrinking.

See it
no practicethree sessionsrange391521271133557799
The same picture again: y = −300/(x + 3) + 100.

Worked example

An original mastery model with both reflections and an upward shift

For this original example let f(x) = 3003−x. Write L(n) = −f(−n) + 100 and calculate L(0) and L(3). Here n is a nonnegative amount of practice measured in sessions, with partial sessions allowed, and L is a percentage of mastery. This asks you to substitute the opposite input, negate the answer, and add the final 100.

Show the steps and the answer
no practicethree sessionsrange391521271133557799
The same picture a third time: y = −300/(x + 3) + 100.
  1. Replace x by −n: f(−n)=3003−(−n)=3003+n.The inside reflection substitutes the opposite input everywhere. Subtracting a negative adds.
  2. Negate that output and shift up 100: L(n)=100−300n+3.The outside minus reflects heights and the outside addition follows it. This is a completely specified original formula.
  3. L(0)=100−3003=100−100=0.Zero practice gives the starting mastery 0 percent, and the denominator 3 is nonzero.
  4. L(3)=100−3006=100−50=50.At three sessions of practice the denominator is 6, so the reciprocal term is 50 and the mastery is 50 percent.
  5. For n≥0, the denominator n+3 is at least 3. The reciprocal term is positive and at most 100. Thus 0≤L(n)<100.As practice grows, the denominator grows and that positive term shrinks toward zero. The model approaches 100 percent without reaching it in a finite amount of practice.
Answer
  • L(n)=100−300n+3.
  • L(0) = 0 percent.
  • L(3) = 50 percent.
  • Contextual domain: [0, ∞).
  • Contextual range: [0, 100).
Double-check For any proposed mastery y with 0 ≤ y < 100, the input n = 300100−y − 3 is nonnegative and substitution returns L(n) = y. This is the reciprocal-equation method from the refresher. At y = 50 it gives n = 6 − 3 = 3. If only whole sessions were allowed, the graph would consist of the values at whole-number inputs and this continuous interval would not be its exact range.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: At three sessions the mastery is 100 percent because n is positive.
Substitution gives 100 − 300 ÷ 6 = 50. The reciprocal term stays positive at every finite allowed n, so the height cannot reach 100.
✓ Instead: L(3) = 50 percent. The upper boundary 100 is approached, not included.
Tips and tricks
  • Write the contextual input restriction before reporting a model range. Distinguish partial-session amounts from completed whole-session counts.

5 How

  1. Locate the minus sign. Outside the function means negate the output; inside with x means negate the input coordinate.
  2. Choose points on the original graph. Change only the coordinate named by the reflection.
  3. 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.
  4. Substitute a transformed point into the new formula. Confirm that it gives the transformed height.

Choose the reflection, move points, and check restrictions

1
Is the minus sign outside f?
YesNegate the entire output. Keep the input coordinate; this is reflection across the x-axis.
NoCheck whether the input sent into f is −x.
↓
2
Is the old function receiving −x?
YesNegate the horizontal coordinate. Keep the old output; this is reflection across the y-axis.
NoThat formula is not the pure inside reflection considered here.
↓
3
Are both minus signs present?
YesApply both flips, keeping a record of the point after each. Then apply any final outside shift.
NoApply the single stated flip.
↓
4
Does the reflected formula contain a real square root?
YesRequire its inside ≥ 0. An inside negative can reverse which side of the axis contains allowed inputs.
NoKeep the original function's other restrictions and reflect the relevant input or output values.
  1. Translate the request: identify the mirror line or locate the minus sign in the formula.
  2. For an outside minus, keep each old input and negate its output. For an inside minus, negate each old input and keep its output.
  3. Write the reflected formula by negating the whole original output, or by replacing every occurrence of its input with (−x).
  4. Track the original restrictions. A horizontal flip negates the allowed input addresses; a vertical flip negates the possible heights.
  5. If another outside shift follows, negate the old height first, then add the shift.
  6. Substitute a reflected point into the formula. Check both its new height and that its input is allowed.

6 Worked example

Worked example

Two reflections of s(t) = 2t

Write the vertical and horizontal reflections of s(t) = 2t. 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
old (4, 4)new (4, −4)domainrange−8−448−44
The vertical reflection reverses heights and keeps nonnegative inputs.
old (4, 4)new (−4, 4)domainrange−8−448246
The horizontal reflection reverses inputs and keeps nonnegative heights.
  1. The original function accepts t≥0 and returns s(t)≥0.A real square root needs a nonnegative number inside it, and doubling a nonnegative root keeps it nonnegative.
  2. For the vertical reflection, write V(t)=−s(t)=−2t.The minus sign goes outside because every original output must change sign.
  3. V has domain [0,∞) and range (−∞,0]. The point (4, 4) becomes (4,−4).The inputs stay the same, while every nonnegative output becomes nonpositive: −24 = −2 · 2 = −4.
  4. For the horizontal reflection, write H(t)=s(−t)=2−t.The minus sign goes inside because each original input coordinate changes sign.
  5. Require −t≥0, so t≤0. H has domain (−∞,0] and range [0,∞). The point (4, 4) becomes (−4,4).Multiplying the inequality by −1 reverses its direction. The reflected input gives H(−4) = 24 = 4.
Answer
  • V(t)=−2t
  • domain [0, ∞)
  • range (−∞, 0].
  • H(t)=2−t
  • domain (−∞, 0], meaning t ≤ 0
  • range [0, ∞).
Double-check The original point (9, 6) gives V(9) = −6 and H(−9) = 6. Each changed coordinate is the opposite of its original coordinate, while the other coordinate stays fixed.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 5

Reflect one point

The point (3, −4) is on f. Where does it move under −f(x), and under f(−x)?
This asks you to change the coordinate named by each mirror move and keep the other coordinate.

Show the steps and the answer

On −f(x): (3, 4).

On f(−x): (−3, −4).

  1. For −f(x), keep 3 and negate −4: (3, 4).A vertical reflection changes the output coordinate only.
  2. For f(−x), negate 3 and keep −4: (−3,−4).A horizontal reflection changes the input coordinate only.
Answer
  • On −f(x): (3, 4).
  • On f(−x): (−3, −4).
Double-check −f(3) = −(−4) = 4. At input −3, f(−(−3)) = f(3) = −4.

Rung 2 of 5

Reflect a shifted square root and its allowed inputs

Reflect s(t) = t−3 across each axis and track the point (7, 2).
This asks you to change the coordinate named by each mirror move and keep the other coordinate.

Show the steps and the answer
vertical−12−6612−4−224
Vertical reflection sends (7, 2) to (7, −2).
horizontal−12−6612−4−224
Horizontal reflection sends (7, 2) to (−7, 2).
  1. Across the horizontal axis: V(t)=−t−3, and (7, 2) becomes (7,−2).The output changes sign while the input stays 7.
  2. Across the vertical axis: H(t)=s(−t)=−t−3, and (7, 2) becomes (−7,2).The input changes sign while the output stays 2. Every t inside s is replaced by −t, so t − 3 becomes −t − 3.
  3. For V, require t−3≥0, so t≥3: domain [3,∞) and range (−∞,0]. For H, require −t−3≥0. Add 3 to both sides: −t≥3. Multiply by −1 and reverse the sign: t≤−3. Domain (−∞,−3] and range [0,∞).A real square root cannot accept a negative expression, and its output is nonnegative until an outside minus negates it.
Answer
  • V(t)=−t−3:(7,−2)
  • domain [3, ∞)
  • range (−∞, 0].
  • H(t)=−t−3:(−7,2)
  • domain (−∞, −3]
  • range [0, ∞).
Double-check V(7) = −4 = −2. H(−7) = 7−3 = 4 = 2. H(7) = −10 is not real, which confirms why its domain faces left.

Rung 3 of 5

Reflect a table without inventing values

OpenStax problem

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.

input xoutput f(x)214367811
The same picture again: 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 a third time: x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput V(x)2−14−36−78−11
The same picture again: x: 2, 4, 6, 8; V(x): −1, −3, −7, −11.
input xoutput H(x)−21−43−67−811
The same picture again: x: −2, −4, −6, −8; H(x): 1, 3, 7, 11.
  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. For V, keep inputs 2, 4, 6, 8 and negate outputs 1, 3, 7, 11 to get −1,−3,−7,−11.The outside minus acts on the output row.
  3. For H, negate inputs 2, 4, 6, 8 to get −2,−4,−6,−8, and keep outputs 1, 3, 7, 11.At a reflected input −u, the expression −x equals the original known input u.
  4. 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).
Answer
  • V:(2,−1),(4,−3),(6,−7),(8,−11).
  • H:(−2,1),(−4,3),(−6,7),(−8,11).
  • H(2): not determined by the supplied table.
Double-check V(6) = −f(6) = −7. H(−6) = f(6) = 7. Both use the same supplied value f(6) = 7.

Rung 4 of 5

Reflect a table that includes zero and both signs

For this original practice question, use the intact textbook table displayed beside it. Make separate tables for V(x) = −f(x) and H(x) = f(−x). This asks you to change heights for V and sideways addresses for H.

input xoutput f(x)−25010215420
x:−2,0,2,4;f(x):5,10,15,20.
input xoutput V(x)−2−50−102−154−20
x:−2,0,2,4;V(x):−5,−10,−15,−20.
Show the steps and the answer
input xoutput f(x)−25010215420
The same picture again: x: −2, 0, 2, 4; f(x): 5, 10, 15, 20.
input xoutput V(x)−2−50−102−154−20
The same picture again: x: −2, 0, 2, 4; V(x): −5, −10, −15, −20.
input xoutput H(x)25010−215−420
x:2,0,−2,−4;H(x):5,10,15,20.
  1. Read the column under −2: f(−2)=5. Read the remaining columns as f(0)=10,f(2)=15, and f(4)=20.Each column pairs one input with its given output; no formula between columns is assumed.
  2. For V, keep inputs −2, 0, 2, 4 and negate the outputs to get −5,−10,−15,−20.The outside minus reflects heights across the x-axis.
  3. For H, negate the inputs to get 2, 0, −2,−4 and keep the matched outputs 5, 10, 15, 20.At the new input −u, the inside −x returns the old input u; zero remains zero.
Answer
  • V: use the displayed output-reflection table.
  • H: use the displayed input-reflection table.
  • The zero input remains 0 in both tables; its height is −10 for V and 10 for H.
Double-check V(2) = −f(2) = −15, while H(−2) = f(2) = 15. Negating either changed row again restores the original table.

Rung 5 of 5

Combine the learning-model transformations

OpenStax problem

Using only the original points (0, 1) and (1, 2), find the corresponding points on L(n) = −f(−n) + 1. Explain what the points do and do not tell you.
This asks you to find the new address or height of the given graph information.

(0, 1) becomes (0, 0).

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

A complete learning formula and its contextual domain and range remain unspecified.

Show the steps and the answer
  1. For (0, 1), solve −n=0, so n=0. Its new height is −1+1=0.The new input must deliver the old input, and the outside operations act on the known old height.
  2. For (1, 2), solve −n=1, so n=−1. Its new height is −2+1=−1.The inside reflection negates the input coordinate, then the outside reflection and shift change the output.
  3. The known transformed points are (0, 0) and (−1,−1). No full formula, domain, range, or percentage trend follows from these two points alone.Many different original functions pass through the same two points. A learning context also needs its own restriction to physically meaningful practice sessions.
Answer
  • (0, 1) becomes (0, 0).
  • (1, 2) becomes (−1, −1).
  • A complete learning formula and its contextual domain and range remain unspecified.
Double-check Substitution gives L(0) = −f(0) + 1 = 0 and L(−1) = −f(1) + 1 = −1. No value of f beyond the supplied points was needed.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Reflection across the y-axis changes 2x to −2x.
The y-axis is the vertical mirror line. Its reflection swaps left and right, so it changes the input coordinate, not the height.
✓ Instead: Use 2−x. The old point (4, 4) becomes (−4, 4), and 2−(−4) = 24 = 4. Across the x-axis, use −2x instead.
✗ Not this: −x keeps the original square root Domain [0, ∞).
The reflected curve needs −x ≥ 0. Positive x would make the inside negative.
✓ Instead: Multiply −x ≥ 0 by −1 and reverse the inequality: x ≤ 0. Check x = −4: 4 = 2. Input 4 would require −4 and is not allowed.
✗ Not this: A vertical reflection sends an old height −3 to −6.
That subtracts a fixed amount instead of taking the opposite. A reflection keeps the same distance from its mirror line.
✓ Instead: Negate −3 to get 3. For f(1) = −3, −f(1) = −(−3) = 3, so (1, −3) becomes (1, 3).

Tips and tricks

  • Write x-axis: keep x, negate y; y-axis: negate x, keep y. The mirror axis tells you which coordinate stays fixed.
  • A point on the mirror line stays fixed because its moving coordinate is zero and −0 = 0.
  • Check the Domain after an inside minus and the Range after an outside minus.
  • For two reflections plus a shift, record one intermediate point after each operation instead of trying to do all signs mentally.

7 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.

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.

Lesson 5 of 8

Even, odd, or neither: test the whole formula

Subject: MathematicsLeans on: Powers of negative numbersLeans on: Distributing an outside minusLeans on: Domain symmetryOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Think of folding a paper drawing along its vertical center line. If the two halves match, the graph is Symmetric about the y-axis, and its function is called an Even function. Another drawing may match after you turn the paper halfway around the center point. That graph is Symmetric about the origin, and its function is called an Odd function. The Origin is the point (0, 0), where the axes cross. These names describe the whole graph, not whether an answer is an even or odd integer. To decide from a formula, compare what happens at opposite inputs. A function may be Neither even nor odd.

2 Picture it

Even: f(−x) = f(x)

Odd: f(−x) = −f(x)

Neither: neither whole-formula identity holds

First check that the domain allows opposite inputs

Reminder

Reminder: Powers of negative numbers, Distributing an outside minus, Domain symmetry
  • Powers of negative numbers. Parentheses include the negative in the power: (−2)2 = 4 and (−2)3 = −8. Pair negative factors to see which sign remains.
  • Distributing an outside minus. Negate the entire output: −(x3 + 1) = −x3 − 1. The constant changes sign too.
  • Domain symmetry. Opposite inputs must both be allowed. [−3, 3] has opposite pairs; [0, 3] permits 1 but excludes −1.

3 Why

Equal heights at opposite inputs give the paired points (x, f(x)) and (−x, f(x)), which are mirrors across the y-axis. Opposite heights at opposite inputs give (x, f(x)) and (−x, −f(x)), which match after a half turn around the origin. Both comparisons require opposite inputs to be allowed. Algebra lets you test all inputs at once: replacing every x by (−x) produces a formula that can be compared with f(x) and with the negative of its entire output.

4 The rule

On a domain symmetric about zero: even means f(−x)=f(x); odd means f(−x)=−f(x), 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.

The same idea, five ways

Say it

An even function gives the same height at opposite addresses. An odd function gives opposite heights at opposite addresses. Neither means both required pairings fail.

Write it

On a domain symmetric about zero, compare f(−x) with f(x) and with −f(x) for every allowed input.

In math
  • Even: f(−x) = f(x); graph points (u, v) and (−u, v).
  • Odd: f(−x) = −f(x); graph points (u, v) and (−u, −v).
  • Neither: neither identity holds for every allowed input, or the domain lacks opposite input pairs.
  • Both: f(x) = 0 on a symmetric domain.
Like

Even matches a fold along the vertical axis. Odd matches a half turn around the origin.

See it

Even: (2, 4) ↔ (−2, 4)

Odd: (2, 8) ↔ (−2, −8)

Neither: h(1) = 2, h(−1) = 0

Check opposite inputs in the domain first

The same idea, other ways

As two actions on a drawing

For x2, folding across the y-axis pairs (2, 4) with (−2, 4). For x3, a half turn pairs (2, 8) with (−2, −8). The first action keeps the height; the second changes both coordinate signs.

mirror partneroriginal point−222468
The equal heights at opposite inputs show the even pairing on x2.
As three complete expressions

For h(x) = x3 + 1, write h(−x) = −x3 + 1 beside h(x) = x3 + 1 and −h(x) = −x3 − 1. It matches neither. Comparing complete expressions prevents a constant from being overlooked.

As three complete expressions

Even: f(−x) = f(x); graph points (u, v) and (−u, v).

As a partner requirement

Before comparing heights, ask whether the partner address exists. The formula x2 on x ≥ 0 accepts 1 but rejects −1, so no algebra can supply the missing partner. The zero function on [−3, 3] has every partner, and zero agrees with its own opposite, so both tests hold.

As a partner requirement

Even: f(−x) = f(x); graph points (u, v) and (−u, v).

ClassificationAlgebra testPaired graph pointsPicture
Even functionf(−x)=f(x)(x, y) and (−x, y)Mirror across the y-axis
Odd functionf(−x)=−f(x)(x, y) and (−x, −y)Half turn around the origin
Neither even nor oddNeither identity holds for every inputEach symmetry has at least one missing or mismatched required pairing.Neither symmetry
Bothf(x) = 0 on a symmetric domain(x, 0) and (−x, 0)The graph matches both actions

Part 1: Even function

Imagine two seats the same distance left and right of a stage, both at the same height. An Even function pairs opposite horizontal positions with equal heights. Folding its graph along the y-axis would line up the points. The name concerns this pairing, not whether the function values are even whole numbers. The Absolute value function is another familiar example because opposite inputs have the same distance from zero.

  • Test: f(−x) = f(x) for every input, on a domain symmetric about zero.
  • Graph description: Symmetric about the y-axis. A Horizontal reflection reproduces the same graph.
  • Even-power terms and constants form an even polynomial. This is a useful recognition aid, while substitution gives the proof.
(−2, 4)(2, 4)−22246810
Opposite inputs −2 and 2 on x2 have the same height 4.

Worked example

Prove that x2 is even

Classify f(x) = x2 on all real inputs.
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.

Show the steps and the answer
leftright−4−224−448
Opposite inputs −2 and 2 have the same height 4.
  1. Every real input and its opposite are allowed.Squaring is defined for every real number, so the domain is symmetric about zero.
  2. f(−x)=(−x)2=(−x)(−x)=x2=f(x).The two minus signs multiply to a plus.
  3. The function is even. It is not odd: f(1)=1 while −f(1)=−1, and f(−1)=1.The even identity holds for every input, but the odd identity fails at input 1.
Answer
f(x) = x2 is even and is not odd.
Double-check The graph has the matching points (−2, 4) and (2, 4), which are mirror images across the y-axis.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x2 is odd because its graph includes the origin.
Passing through the origin does not establish opposite heights. Inputs 1 and −1 both give 1, while oddness would require one output to be −1.
✓ Instead: f(x) = x2 is even and is not odd.
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Odd function

Imagine a seesaw centered at the origin, with one dot right and up and another the same distance left and down. A half turn exchanges the two dots. An Odd function has that pairing throughout its graph. Opposite inputs produce opposite signed heights. Reflecting its graph across both axes gives the original graph again, because each coordinate has changed to its opposite.

  • Test: f(−x) = −f(x) for every input, on a domain symmetric about zero.
  • Graph description: Symmetric about the origin. The point (u, v) has a matching point (−u, −v).
  • If zero is in the domain of an odd function, f(0) = 0. This follows from f(0) = −f(0).
  • A symmetric domain need not contain zero. The Reciprocal function 1x is odd on the domain x ≠ 0.
(−2, −8)(2, 8)−22−8−448
A half turn around (0, 0) exchanges the two marked cubic points.

Worked example

Prove that the cubic function is odd

Classify f(x) = x3 on all real inputs.
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.

Show the steps and the answer
oppositeoriginal−22−8−448
The marked points match after a half turn around the origin.
  1. The domain is all real numbers, so it includes opposite inputs.Every real number can be multiplied by itself three times.
  2. f(−x)=(−x)3=(−x)(−x)(−x)=−x3=−f(x).Two negative factors give a positive; multiplying by the third negative factor makes the product negative.
  3. The function is odd and is not even.The odd identity holds for all inputs. The even identity fails because f(−1) = −1 differs from f(1) = 1.
Answer
The Cubic function f(x) = x3 is odd and is not even.
Double-check The points (2, 8) and (−2, −8) are opposite in both coordinates, so a half turn maps one to the other.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x3 is even because the same shape appears on both sides of the origin.
The heights must match for evenness. Inputs 1 and −1 give 1 and −1, which are opposites. A half turn, not a vertical mirror, matches the curve.
✓ Instead: The Cubic function f(x) = x3 is odd and is not even.
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Neither even nor odd

A picture can fail both the folding test and the half-turn test. That is what Neither even nor odd means. A graph may look familiar and still lose its symmetry when you move it. For example, lifting an odd graph up by a nonzero amount keeps its shape but changes the center of its half-turn symmetry. The definition of odd specifically requires the center to be the origin.

  • Neither means the even identity and the odd identity each fail for at least one allowed input, or the domain does not allow opposite inputs.
  • A mixture of nonzero even-power and odd-power polynomial terms is neither. A nonzero constant added to a nonzero odd polynomial also makes it neither.
  • Symmetry about a different line or point does not satisfy symmetry about the y-axis or the origin.
(−1, 0)(1, 2)(0, 1)−22−8−448
Lifting x3 by 1 makes the heights at opposite inputs neither equal nor opposites.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x3 + 1 is odd because its cubic term changes sign.
The constant stays +1 under input substitution, but the negative of the entire original output has constant −1. The two expressions disagree.
✓ Instead: h(x) = x3 + 1 is neither even nor odd.
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 4: Zero function and domain symmetry

Imagine drawing only along the horizontal axis, with a dot at each allowed address and every height zero. Zero is its own opposite. If the allowed addresses come in opposite pairs, that drawing matches both the fold and the half turn. The zero function can therefore be both even and odd. But choosing only addresses to the right removes the needed left-hand partners, even though the formula still says zero.

  • Domain symmetry: whenever x is allowed, −x must be allowed too. Intervals such as [−3, 3] are symmetric; [0, 3] is not.
  • On a symmetric domain, z(x) = 0 is both even and odd, because z(−x) = 0 = z(x) and z(−x) = 0 = −z(x).
  • Only a zero-valued function can be both: if f(x) = f(−x) and f(−x) = −f(x), then f(x) = −f(x), so 2f(x) = 0 and f(x) = 0 at every allowed input.
  • A nonzero Constant function on a symmetric domain is even and is not odd.

z(x) = 0 on [−3, 3]

(−2, 0) and (2, 0)

Mirror: (2, 0) → (−2, 0)

Half turn: (2, 0) → (−2, −0) = (−2, 0)

Worked example

Check zero on a symmetric domain

Classify z(x) = 0 with domain [−3, 3].
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.

Show the steps and the answer
included endincluded end−22−11
On the stated interval [−3, 3], the zero graph is unchanged by either symmetry.
  1. If −3≤x≤3, then −3≤−x≤3 too.Negating a number in this interval keeps it between the same two opposite endpoints.
  2. z(−x)=0=z(x), so z is even.Every allowed input returns the same zero height.
  3. z(−x)=0=−0=−z(x), so z is also odd.Zero is its own negative.
Answer
z is both even and odd on [−3, 3].
Double-check Its points (2, 0) and (−2, 0) satisfy both required pairings, and the algebra establishes the same result for every input in the domain.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The formula z(x) = 0 makes the function both even and odd on domain [0, 3].
Input 1 lacks its opposite −1 in that domain. Both definitions also require a symmetric domain. The example uses [−3, 3], which does have opposite partners.
✓ Instead: z is both even and odd on [−3, 3].
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

5 How

  1. Check that every allowed input x has its opposite −x in the domain. A domain that fails this condition rules out both symmetries.
  2. Replace every x in the formula with (−x), including x inside powers and multiplied terms.
  3. Simplify. For an even power, the minus signs cancel in pairs. For an odd power, one minus sign remains.
  4. Compare the entire result with f(x). If they match for every allowed input, the function is even.
  5. 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.

Classify a function by checking both symmetries

1
Does every allowed input have its opposite in the Domain?
YesCompute f(−x), f(x), and −f(x).
NoClassify the function as neither; its graph lacks a required opposite-input partner.
↓
2
Does f(−x) equal f(x) for every allowed input?
YesRecord the even property, then check the odd property too.
NoThe function is not even. Continue to the odd test.
↓
3
Does f(−x) equal −f(x) for every allowed input?
YesRecord the odd property. If the even test also passed, the function is both and every output is zero.
NoIf the even test passed, classify it as even. If it also failed, classify it as neither.
  1. Inspect the Domain to see whether every allowed x has an allowed −x. This establishes whether the symmetry tests can apply at all.
  2. Replace every x by (−x), then simplify. This computes the height at the opposite address using the same rule.
  3. Write −f(x), changing every term's sign. This gives the entire opposite output needed for the odd test.
  4. Compare f(−x) with f(x) and with −f(x) as identities. Matching only the first means even; matching only the second means odd; matching neither means neither; matching both means both.
  5. Check the result with opposite inputs, while keeping the identity as the proof. For x3 + 2x, inputs 1 and −1 give 3 and −3, confirming the odd pairing.

6 Worked example

Worked example

Even, odd, or neither: one matching pair of outputs is not proof

Let f(x) = x4 + 2x3 − 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
  1. Check the domain. f is a polynomial, so every real number is an allowed input. For every real x, its opposite −x 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.
  2. Replace every x with (−x): f(−x)=(−x)4+2(−x)3−2(−x)+5.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)4 is not the same as −x4. The constant 5 contains no x, so it stays.
  3. Simplify term by term: (−x)4=x4; 2(−x)3=2(−x3)=−2x3; −2(−x)=+2x. So f(−x)=x4−2x3+2x+5.(−x)4 has four minus signs, which cancel in pairs, so it equals x4. (−x)3 has three minus signs. Two cancel and one remains, so the x3 term changes sign. In −2(−x), a negative times a negative is positive.
  4. Compare f(−x)=x4−2x3+2x+5 with f(x)=x4+2x3−2x+5. The x4 terms match and the constants match. The x3 terms (−2x3 and +2x3) have opposite signs, and so do the x terms (+2x and −2x). So f(x)−f(−x)=4x3−4x, which is not 0 for every x. At x=2: f(2)=16+16−4+5=33, but f(−2)=16−16+4+5=9.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.
  5. Write −f(x), distributing the minus to every term: −f(x)=−x4−2x3+2x−5. Compare it with f(−x)=x4−2x3+2x+5. Now the x3 and x terms match, but x4 and −x4 differ, and so do +5 and −5. At x=2: f(−2)=9, but −f(2)=−33.Odd requires f(−x) = −f(x) for every allowed x. Here f(−x) + f(x) = 2x4 + 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.
  6. 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.
  7. For part (b), use the difference from step 4. f(−x)=f(x) exactly when 4x3−4x=0, that is 4x(x2−1)=0. So x=0 or x2=1, giving x=−1, 0 or 1. The student's input x=1 is one of only these three values, so f(1)=f(−1)=6 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, 2x3 − 2x, happens to equal 0 at x = −1, 0 and 1, so at those three inputs the asymmetry is invisible.
Answer
(a) Neither. f(−x) = x4 − 2x3 + 2x + 5. That is not identical to f(x) = x4 + 2x3 − 2x + 5, and it is not identical to −f(x) = −x4 − 2x3 + 2x − 5. For example, f(2) = 33 while f(−2) = 9, and 9 is neither 33 nor −33. (b) f(−x) = f(x) only for x = −1, 0 and 1. The matching outputs at x = 1 are a coincidence and do not show the even identity for every x.
Double-check Substitute x = 2 into the original formula: f(2) = 16 + 16 − 4 + 5 = 33 and f(−2) = 16 − 16 + 4 + 5 = 9. The simplified f(−x) = x4 − 2x3 + 2x + 5 at x = 2 also gives 16 − 16 + 4 + 5 = 9, so the algebra is right. Since 9 ≠ 33 and 9 ≠ −33, both identities fail at x = 2. The same formula at x = 1 gives 1 − 2 + 2 + 5 = 6 = f(1), which reproduces the student's matching values. Separately, write f(x) = (x4 + 5) + (2x3 − 2x). The first group is unchanged when x becomes −x, and the second changes sign. So f(−x) = f(x) would need 2x3 − 2x = 0 for every x, and f(−x) = −f(x) would need x4 + 5 = 0 for every x. Neither group is the zero function, so f is neither.

Work to write

  1. Domain: all real numbers, which is symmetric about 0.
  2. f(−x)=(−x)4+2(−x)3−2(−x)+5=x4−2x3+2x+5
  3. f(−x) ≠ f(x): the x3 and x terms have opposite signs; f(−2) = 9 but f(2) = 33, so f is not even.
  4. −f(x) = −x4 − 2x3 + 2x − 5 ≠ f(−x): the x4 and constant terms differ; f(−2) = 9 but −f(2) = −33, so f is not odd.
  5. f is neither even nor odd.
  6. f(−x) = f(x) only when 4x3 − 4x = 0, that is x = −1, 0 or 1, so the match at x = 1 does not prove f is even.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

An even power

Classify p(x) = x2 on its full domain.
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.

Show the steps and the answer
leftright−4−224246810
The paired points at −3 and 3 both have height 9.
  1. The full domain is all real numbers, which allows opposite inputs.A square is defined for any real number.
  2. p(−x)=(−x)2=x2=p(x).A negative multiplied by a negative is positive.
  3. p is even and not odd.The even identity holds for all x, while p(−1) = 1 differs from −p(1) = −1.
Answer
Even.
Double-check At −3 and 3 the outputs are both 9, matching the mirror-image point pairing.

Rung 2 of 4

The formula does not erase a domain restriction

A function has formula r(x) = x2 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
allowed24246810
The stated domain includes only the right half of x2.
  1. The domain is [0,∞), so 1 is allowed and −1 is not.The restriction is part of the function, not an optional detail of its formula.
  2. The domain is not symmetric about zero.At least one allowed input lacks its opposite partner.
  3. The function is neither even nor odd on this domain.Both definitions require the paired opposite input. Writing (−x)2 = x2 does not make a forbidden input allowed.
Answer
Neither, because the domain is not symmetric about zero.
Double-check The graph includes (1, 1) but no point at input −1. It therefore lacks both the mirror partner (−1, 1) and the half-turn partner (−1, −1).

Rung 3 of 4

Show which function can be both

Suppose f is both even and odd on a domain symmetric about zero. What must every output be?
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.

Show the steps and the answer
−4−224−11
Every height is 0, so both required point pairings coincide.
  1. Evenness gives f(−x)=f(x), and oddness gives f(−x)=−f(x).Both identities apply to every allowed input.
  2. Set the two equal expressions equal: f(x)=−f(x). Add f(x) to both sides to get 2f(x)=0.Both expressions equal f(−x). Adding the same amount to both sides preserves equality.
  3. Divide by 2: f(x)=0 at every allowed input.Zero divided by a nonzero number is zero.
  4. Conversely, a zero output satisfies both tests: 0=0 and 0=−0.This confirms the candidate actually meets both definitions on the symmetric domain.
Answer
Every output must be zero. The zero-valued function on a symmetric domain is both even and odd.
Double-check For z(x) = 0 on all real inputs, the graph is the x-axis. Reflecting it across the y-axis or rotating it halfway around the origin reproduces the same graph.

Rung 4 of 4

Read three complete graphs without starting from formulas

Classify the three supplied complete graphs A, B, and C as even, odd, or neither. Their curves continue with the same shapes outside the viewing window, and all real inputs are allowed. This asks you to test the mirror and half-turn pairings on the entire supplied curves.

(0, 2)leftright−4−2242468
Graph A has the same height on opposite sides of the y-axis.
partnerpoint−22−8−448
Graph B has opposite heights at opposite inputs throughout its complete curve.
Show the steps and the answer
(1, 0)leftright−2242610
Graph C fails both pairings at inputs −2 and 2.
  1. Graph A has matching arms across the y-axis. Its points at inputs −2 and 2 both have height 4; the same mirror pairing holds along both complete arms.An even function has equal heights at opposite inputs. Here the full V is mirrored about the y-axis.
  2. Graph B matches after a half turn around (0, 0). Its point (1, 2) has partner (−1,−2), and the entire rising curve has this opposite-coordinate pairing.An odd function pairs opposite inputs with opposite heights; the complete cubic-shaped drawing matches that half turn.
  3. Graph C has point (2, 1) but its point at the opposite input −2 has height 9.The heights 1 and 9 are neither equal nor opposites, so this one failing pair disproves each required symmetry.
Answer
  • Graph A: even.
  • Graph B: odd.
  • Graph C: neither.
Double-check Reflect the complete V left to right: it matches. Rotate the complete S halfway about the origin: it matches. For C, its vertex is at (1, 0), and the marked heights at ±2 already fail both tests. A few matching dots alone would not prove a symmetry.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: h(x) = x3 + 1 is odd because the x3 term changes sign.
The entire output must change sign. Substitution gives h(−x) = −x3 + 1, while negating the output gives −h(x) = −x3 − 1. The constants disagree.
✓ Instead: h is neither. For example, h(1) = 2 and h(−1) = 0. Those outputs are neither equal nor opposites.
✗ Not this: The formula x2 guarantees an Even function even when the Domain is x ≥ 0.
The domain is part of the function. Input 1 is allowed but −1 is forbidden, so the required partner point is missing.
✓ Instead: On [0, ∞), this function is neither. On all real inputs, x2 is even because opposite inputs exist and (−x)2 = x2.
✗ Not this: An even result at one pair of opposite inputs proves the function is even.
One pair checks only those inputs. For h(x) = x3 + 1, the pair at x = 0 matches itself, but h(1) = 2 and h(−1) = 0 fail both symmetry tests.
✓ Instead: Use a formula identity to cover every allowed input. One failing pair can disprove a proposed symmetry. Also test both identities for the zero function, which is both even and odd on a symmetric domain.

Tips and tricks

  • Remember even agrees, odd opposes. The agreement concerns outputs at opposite inputs, not whether a value is an even or odd integer.
  • Write three separate expressions on the exam: f(x), f(−x), and −f(x). Parenthesize every substituted −x and negate every term in −f(x).
  • Check the Domain before doing algebra. A missing opposite input rules out both symmetries.
  • A graph-only check uses point partners. For an even graph, (2, 4) needs (−2, 4). For an odd graph, (2, 8) needs (−2, −8). Check the whole drawing, because a few matching dots cannot establish its symmetry.

7 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.

Lesson 6 of 8

Vertical stretch and compression: multiply the heights

Subject: MathematicsLeans on: Signed multiplicationLeans on: Exact fractionsLeans on: Order of operationsOpen this lesson
Leans on 0Comes back in 0

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.

Lesson 7 of 8

Horizontal stretch and compression: divide the input coordinates

Subject: MathematicsLeans on: Dividing by a fractionLeans on: Solving for the new inputLeans on: Flipping an inequalityOpen this lesson
Leans on 0Comes back in 0

1 In plain words

Imagine playing a recording at double speed. Something that used to happen four minutes into the recording now happens at two minutes. The event has the same content, but you reach it sooner. In g(x) = f(2x), the old function runs through its input addresses twice as fast. Its graph therefore takes half the horizontal space. This is a Horizontal compression. With f(12x), the old function runs at half speed. Events need twice as much horizontal space, a Horizontal stretch. You find a dot's new position by undoing the multiplication inside. Multiplying the input expression and multiplying the dot's coordinate are different jobs. Keeping track of which job you are doing prevents the most common scaling mistake.

2 Picture it

newold24681024newold−112345678910−112345
An inside multiplier two divides the point's horizontal coordinate by two, while its height stays two.
input xoutput f(x)214367811
x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput f(2x)112337411
Halving each old input produces the corresponding known heights for f(2x).
input xoutput f(1/2x)41831271611
Doubling each old input produces the corresponding known heights for f(12x).

Reminder

Reminder: Dividing by a fraction, Solving for the new input, Flipping an inequality
  • Dividing by a fraction. Divide by 12 by multiplying by 2: 2 ÷ 12 = 4. Check by multiplying back: 12 × 4 = 2.
  • Solving for the new input. To reach old input 4 in f(2x), set 2x = 4 to find the matching address. Divide both sides by 2 to get x = 2, then check 2 × 2 = 4.
  • Flipping an inequality. A negative divisor reverses order. For −2x, solve −2x ≥ 0 to find allowed inputs: x ≤ 0. Input −2 gives inside 4, which is allowed.

3 Why

Suppose f(u) = v. For g(x) = f(bx), the same height v appears where bx = u. Dividing both sides by b gives x = ub. Thus the new horizontal coordinate is the old one divided by b. If b = 2, the coordinate is halved. If b = 12, division by a half doubles it. A negative b also changes the coordinate's sign, reflecting left and right. The size factor is 1|b|, the reciprocal of the coefficient's magnitude. You cannot divide by b = 0, so this point rule requires b ≠ 0.

4 The rule

g(x)=f(bx),b≠0, sends (u, v) to (ub,v).

|b| > 1 compresses horizontally; 0 < |b| < 1 stretches horizontally. If b < 0, also reflect across the y-axis.

The same idea, five ways

Say it

An inside multiplier changes where an old height appears. Faster input changes squeeze the graph; slower input changes spread it out.

Write it

For g(x) = f(bx), divide each old horizontal coordinate by the nonzero coefficient b and keep the old height.

In math
  • bx = u gives x = ub, with b ≠ 0.
  • (u, v) becomes (ub, v). Width factor: 1|b|.
  • |b| > 1: Horizontal compression. 0 < |b| < 1: Horizontal stretch.
  • b < 0: also a Horizontal reflection. |b| = 1: no width change.
Like

A recording at double speed reaches the same event in half the time.

See it
new addressold address24681024
The same height 2 appears at half its old horizontal coordinate.

The same idea, other ways

As a picture

For 2x, the old square root point (4, 2) appears at (2, 2). The height 2 survives, but its horizontal distance from the axis is halved.

newold24681024
Doubling inside reaches the old height at half its old horizontal address.
As a recording

Twice as fast means each old event takes half as long to reach. Half as fast means each event takes twice as long. The graph's width measures when events occur, so the width changes by the reciprocal speed.

As a recording

bx = u gives x = ub, with b ≠ 0.

With a fractional coefficient

To make 12x equal old input 6, solve 12x = 6. Multiply by 2 to get x = 12. A smaller inside coefficient therefore requires a larger horizontal coordinate.

With a fractional coefficient

bx = u gives x = ub, with b ≠ 0.

Why it must be true

The new function must receive exactly u inside f to reproduce f(u). Writing bx = u and dividing gives x = u ÷ b. This equation forces the reciprocal factor for every point.

Why it must be true

bx = u gives x = ub, with b ≠ 0.

A memory device

Inside multiply, coordinates divide. Check the phrase with old input 2 and b = 2: the new coordinate 1 feeds 2·1 = 2 into f. This numerical check takes only a few seconds.

A memory device

bx = u gives x = ub, with b ≠ 0.

Old input uOld heightNew input for f(2x)New input for f(12x)
2114
4328
67312
811416

Part 1: Horizontal compression

Squeeze the left-to-right distances toward the vertical axis. Each old height arrives closer to that axis because the inside multiplier reaches old inputs faster.

  • Formula: f(bx) with |b| > 1.
  • Width factor: 1|b|.
  • For b = 2, every old input coordinate is divided by 2.
  • A compression changes distances, while a horizontal shift adds the same amount to all addresses.
newold−22246810
The height four now occurs at horizontal distance one instead of two.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For f(2x), the old point (2, 5) becomes (4, 5).
At new input 4 the inside would be 8. To reach old input 2, solve 2x = 2; input 1 returns the known height 5.
✓ Instead: (1, 5).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 2: Horizontal stretch

Pull the addresses away from the vertical axis. A half-size input multiplier means you travel twice as far before the old machine receives the same number.

  • Formula: f(bx) with 0 < |b| < 1.
  • Width factor: 1|b|.
  • For b = 12, divide each old input by 12, which multiplies it by 2.
  • The old input zero remains zero when scaling without a shift.
  • A horizontal stretch by 4 uses f(14x), because the inside coefficient is the reciprocal of the width factor 4.
newold−6−4−2246246
The same height two appears twice as far from the vertical axis.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For f(12x), the old point (2, 5) becomes (1, 5).
At input 1 the inside is one half, not 2. Divide the old input by one half to get 4; at input 4 the inside is 2.
✓ Instead: (4, 5).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

Part 3: Negative horizontal scale

First think about the amount of squeezing or stretching. Then switch the address to the opposite side of the vertical axis because a negative input multiplier reverses left and right.

  • The sign of b supplies a Horizontal reflection.
  • The magnitude |b| supplies a reciprocal width factor.
  • For g(x) = −2x, the domain is x ≤ 0 and the range is y ≥ 0.
  • Changing inputs does not by itself make positive square root outputs negative.
new pointdomainrange−6−4−22424
The square root curve is reflected left and compressed to half its old horizontal distances.

Worked example

Reflect and compress a square root

Move old point (4, 2) of x to g(x) = −2x.
This asks you to change the coordinate named by each mirror move and keep the other coordinate.

Show the steps and the answer
newold−6−4−22424
The old point (4, 2) becomes (−2, 2).
  1. Set −2x=4.Inside the root must equal old input 4.
  2. Divide by −2 to get x=−2.The division halves the distance and reverses its sign.
  3. Keep the old height 2.There is no minus sign outside the square root.
Answer
(−2,2).
Double-check −2·(−2)=4=2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For −2x, the old square-root point (4, 2) becomes (−2, −2).
The inside change negates and halves the horizontal coordinate only. There is no outside minus; the square root still returns the positive height 2.
✓ Instead: (−2,2).
Tips and tricks
  • Use the displayed landmark or known column as a check before drawing any additional points.

5 How

  1. Find b, the multiplier of the input before f receives it.
  2. Set bx = u for each known old input u, because this recreates its old height.
  3. Divide the old input by b, including the sign. A fractional b calls for division by a fraction.
  4. Keep the old height unless an outside change is also present.
  5. Move endpoints, corners, and several other points before drawing the curve.
  6. Substitute the new input into bx to check that it returns u.

Convert an inside coefficient into a width change

1
Is b = 0?
YesThe usual point rule cannot be used. Check whether f(0) is defined before evaluating the formula.
NoDivide each old input coordinate by b.
↓
2
Is |b| > 1?
YesThe horizontal distances shrink by 1|b|.
NoIf 0 < |b| < 1, the distances grow by 1|b|. If |b| = 1, there is no width change.
↓
3
Is b negative?
YesThe signed division also reflects inputs across the y-axis.
NoThe division keeps inputs on their original side of zero.
↓
4
Does a requested new input feed a listed old input into f?
YesUse the output from that same table column.
NoState that the supplied table cannot determine the output; do not guess between entries.
  1. Identify b and verify b ≠ 0 before using the coordinate division rule. This prevents dividing by zero.
  2. Set bx = u for a known old input u. This equation finds the new address that reproduces its old height.
  3. Divide both sides by b, including its sign. For u = 4 and b = −2, x = −2, and substituting back gives −2 × (−2) = 4.
  4. Keep the matching old output. For old point (4, 2) of x, this gives new point (−2, 2) on −2x.
  5. Move the other landmarks using the same division, and rebuild the Domain from the allowed old inputs. In −2x, require −2x ≥ 0 to find valid inputs, then divide by −2 and reverse the comparison: x ≤ 0.
  6. Check a new input inside the formula and use only known table entries. For g(x) = f(12x), g(12) = f(6) = 7 is known, while g(2) needs the unavailable f(1).

6 Worked example

Worked example

Stretching and reflecting a parabola: g(x) = f(−23x)

The graph of f(x) = 14(x + 2)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(−23x). (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.

(−6, 1)(−4, −2)(−2, −3)(0, −2)(2, 1)−8−6−4−224−4−224
Graph of f(x) = 14(x + 2)2 − 3, an upward-opening parabola with vertex (−2, −3), with the five given points…
Show the steps and the answer
  1. Find b. In g(x)=f(−23x), the input x is multiplied by −23 before f receives it, so b=−23.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.
  2. Classify the change. |b|=23 lies between 0 and 1, so the graph is stretched horizontally away from the y-axis by the factor 1÷23=32. Since b < 0, the graph is also reflected across the y-axis.For −23x to equal an old input u, x must be 32 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.
  3. Set bx=u for each old input. For the vertex (−2,−3), solve −23x=−2.Since g(x) = f(−23x), g gives the old height −3 exactly when −23x hands f the old input −2.
  4. Divide the old input by b, including the sign: x=−2÷(−23)=−2·(−32)=3. For every point, x=u÷(−23)=−32u.Dividing by a fraction means multiplying by its reciprocal. The reciprocal of −23 is −32, and the minus sign is kept. Multiplying u by −23 instead would pull the points toward the y-axis. That is a compression, the opposite of what f(−23x) does.
  5. Keep each old height and move all five points: (−6,1)→(9,1); (−4,−2)→(6,−2); (−2,−3)→(3,−3); (0,−2)→(0,−2); (2,1)→(−3,1).Only the input changed. There is no multiplier or shift outside f, so each output v carries over unchanged.
  6. Read off the features of g. The vertex moves from (−2,−3) to (3,−3), so the axis of symmetry moves from x=−2 to x=3. The y-intercept (0,−2) 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.
  7. Plot (−3,1),(0,−2),(3,−3),(6,−2) 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.
  8. Check each new input in bx: −23·9=−6,−23·6=−4,−23·3=−2,−23·0=0,−23·(−3)=2.Each new input gives back its old input u, so g(x) = f(u) = v and every point carries the correct height.
Answer
(a) b = −23. Since |b| = 23 < 1, the graph of f is stretched horizontally away from the y-axis by a factor of 32. Since b < 0, it is also reflected across the y-axis. (b) (−6, 1) → (9, 1), (−4, −2) → (6, −2), (−2, −3) → (3, −3), (0, −2) → (0, −2), (2, 1) → (−3, 1). (c) The vertex of g is (3, −3) and the axis of symmetry is x = 3. The point (0, −2) does not move because it lies on the y-axis: 0 ÷ (−23) = 0.
Double-check Every new input returns its old input under −23x. For example, −23·(−3) = 2, so g(−3) = f(2) = 1. Independent check by algebra: g(x) = 14(−23x + 2)2 − 3 = 14·49(x − 3)2 − 3 = 19(x − 3)2 − 3. This parabola has vertex (3, −3), and it gives g(0) = 19·9 − 3 = −2 and g(9) = 19·36 − 3 = 1, matching the moved points. Widths grow by 32: the two points at height 1 are 8 apart on f (x = −6 and x = 2) and 12 apart on g (x = −3 and x = 9), and 8·32 = 12.

Work to write

  1. b=−23
  2. |b| = 23 < 1: horizontal stretch by a factor of 32; b < 0: reflection across the y-axis
  3. new x = u ÷ (−23) = −32u, heights unchanged
  4. (−6,1)→(9,1)
  5. (−4,−2)→(6,−2)
  6. (−2,−3)→(3,−3)
  7. (0,−2)→(0,−2)
  8. (2,1)→(−3,1)
  9. vertex of g: (3, −3); axis of symmetry: x = 3
  10. (0, −2) is fixed because 0 ÷ b = 0
  11. check: −23·3 = −2, so g(3) = f(−2) = −3

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Stretch a table without inventing values

OpenStax problem

Use the original f table shown beside this question. Give known values of g(x) = f(12x). Can this table determine g(2)?
This asks you to attach each known output to its transformed input and calculate any requested new height.

input xoutput f(x)214367811
The same picture again: 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 a third time: x: 2, 4, 6, 8; f(x): 1, 3, 7, 11.
input xoutput g(x)41831271611
x: 4, 8, 12, 16; g(x): 1, 3, 7, 11.
  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. Double the old input coordinates: 4, 8, 12, 16.Solve 12x = u by multiplying u by 2.
  3. Keep outputs 1, 3, 7, 11.Each new input supplies the corresponding known old input to f.
  4. g(2)=f(1), which is not supplied.The table contains no output at old input 1; its gaps do not imply a formula.
Answer
  • Use the displayed stretched g table.
  • g(2) cannot be determined from the given table.
Double-check g(12) = f(6) = 7. The transformed third column uses a known value instead of guessing between entries.

Rung 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
input uoutput F(u)37
The separate original illustration supplies only the point (3, 7).
input xoutput G(x)127
A fourfold horizontal stretch reaches that same known height at input 12.
  1. Use inside coefficient b=14, giving G(x)=F(14x).The horizontal distance factor is the reciprocal of the inside coefficient: 1 ÷ 14 = 4.
  2. Solve 14X=3 by multiplying both sides by 4: X=12.This finds the new input that sends old input 3 into F. At X = 12, the inside 14 × 12 is 3.
  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.
Answer
  • G(x)=F(14x).
  • Horizontal stretch by 4.
  • (3, 7) becomes (12, 7).
Double-check G(12) = F(14 × 12) = F(3) = 7. Dividing the new input 12 by the requested width factor 4 recovers old input 3.

Rung 3 of 4

Recognize horizontal compression from a graph

An original graph comparison is known to have g(x) = f(bx) with b > 0 and no other changes. The old right endpoint (9, 0) corresponds to the new endpoint (3, 0). Find b and the new point corresponding to old point (6, 4).
This asks you to find the new address or height of the given graph information.

b = 3.

g(x) = f(3x).

Horizontal compression by 13.

(6, 4) becomes (2, 4).

Show the steps and the answer
  1. Set 3b=9.At new input 3, the inside must reach old endpoint input 9.
  2. Divide by 3: b=3.The coefficient is old input divided by its corresponding new input.
  3. Write g(x)=f(3x), a horizontal compression by 13.The width factor is the reciprocal of the inside coefficient.
  4. Move old point (6, 4) to (2, 4).Divide its input 6 by 3 and keep its output 4.
Answer
  • b = 3.
  • g(x) = f(3x).
  • Horizontal compression by 13.
  • (6, 4) becomes (2, 4).
Double-check g(2) = f(6) = 4, and g(3) = f(9) = 0. The stated family and corresponding endpoint are essential; one dot alone cannot identify an arbitrary unknown graph.

Rung 4 of 4

Build a horizontal scale from words

Write the Square root function stretched horizontally by a factor of 4. Find three graph points and its domain and range.
This asks you to write the new rule from the specified moves and check its graph landmarks.

endpointnewnew26101418−11234
The root height 2 now occurs at input 16 instead of 4.
Show the steps and the answer
  1. Choose b=14.The width factor 4 is the reciprocal of the inside coefficient.
  2. Write g(x)=x4.Replace the old input by one-fourth of the new input.
  3. Move old points (0, 0), (1, 1), (4, 2) to (0, 0), (4, 1), (16, 2).Divide each old input by 14, multiplying its coordinate by 4.
  4. Require x4≥0, so x≥0. Outputs are nonnegative.The positive horizontal scale does not change the direction of the square root's allowed inputs.
Answer
  • g(x)=x4.
  • Points: (0, 0), (4, 1), (16, 2).
  • Domain: [0, ∞).
  • Range: [0, ∞).
Double-check g(16) = 4 = 2. A width factor 4 requires 14 inside, not 4.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(2x) doubles every horizontal coordinate.
The inside expression must return the old input. To reach old input 2, solve 2x = 2, which finds new input 1.
✓ Instead: Divide old coordinates by 2. The old point (2, 5) becomes (1, 5), and substituting 1 gives f(2 × 1) = f(2) = 5.
✗ Not this: f(12x) halves the outputs in the table.
The half is inside, so it acts before f returns an output. Reaching old input 2 requires 12x = 2, giving new input 4; the corresponding table height stays 1, because its displayed old value is f(2) = 1.
✓ Instead: Double the horizontal coordinates and keep matching heights. Halving the outputs would instead give 12f(x).
✗ Not this: For g(x) = f(12x), the table entry f(2) = 1 tells us g(2) = 1.
At new input 2, the inside is 1. The given table has no f(1), so it cannot supply the requested height.
✓ Instead: g(4) = f(2) = 1 is determined. g(2) = f(1) is not determined by the supplied entries.

Tips and tricks

  • Inside multiply, coordinates divide. Put bx = old input on the exam when a memorized direction feels uncertain.
  • A width factor 4 needs inside coefficient 14. The coefficient and the width factor multiply to 1.
  • Divide by the signed b. For old input 4 and b = −2, new input is −2, which handles both the compression and the reflection.
  • Keep the original heights attached to their matching inputs. A table's gaps remain unknown after the transformation.

7 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.

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.

Lesson 8 of 8

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 factorOpen this lesson
Leans on 0Comes back in 0

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.