College Algebra / Transformation of functions
Transformation of functions
All 8 lessons, in order.
The unit at a glance
- Vertical shifts: move every height by the same amount
Picture a graph drawn on a clear sheet laid over a map.
- Horizontal shifts: why the inside acts in the opposite direction
Imagine a bus timetable.
- Combine shifts and read the domain and range
Take the same clear drawing and slide it sideways, then raise or lower it.
- Reflections: the minus sign tells you which coordinate changes
Imagine tracing a drawing on clear plastic and turning it over along one edge.
- Even, odd, or neither: test the whole formula
Think of folding a paper drawing along its vertical center line.
- Vertical stretch and compression: multiply the heights
Imagine a drawing on a rubber sheet fastened along a horizontal line.
- Horizontal stretch and compression: divide the input coordinates
Imagine playing a recording at double speed.
- Put everything together: factor first, then move points
Think of moving a printed map after changing its size on a copier.
Rules (8)
- Vertical shifts: move every height by the same amount
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.
- Horizontal shifts: why the inside acts in the opposite direction
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.
- Combine shifts and read the domain and range
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.
- Reflections: the minus sign tells you which coordinate changes
Vertical reflection: g(x) = −f(x), with (u, v) becoming (u, −v).
Horizontal reflection: h(x) = f(−x), with (u, v) becoming (−u, v). - Even, odd, or neither: test the whole formula
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. - Vertical stretch and compression: multiply the heights
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. - Horizontal stretch and compression: divide the input coordinates
g(x) = f(bx), b ≠ 0, sends (u, v) to (, v). |b| > 1 compresses horizontally; 0 < |b| < 1 stretches horizontally. If b < 0, also reflect across the y-axis.
- Put everything together: factor first, then move points
For g(x) = a·f(b(x − h)) + k with b ≠ 0, the Point rule is (u, v) to ( + h, a·v + k). Factor first; scale or reflect each coordinate before shifting that coordinate.
Recipes (8)
- Vertical shifts: move every height by the same amount
- 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.
- Horizontal shifts: why the inside acts in the opposite direction
- 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.
- Combine shifts and read the domain and range
- 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.
- Reflections: the minus sign tells you which coordinate changes
- 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.
- Even, odd, or neither: test the whole formula
- 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.
- Vertical stretch and compression: multiply the heights
- 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.
- Horizontal stretch and compression: divide the input coordinates
- 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.
- Put everything together: factor first, then move points
- 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.
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 + 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
Open this lessonLeans on 1Comes back in 0
Comes back in
No lesson links recorded.
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
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. accepts every real x and produces y ≥ 0. Thus + 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
sends (u, v) to .
Positive k moves up; negative k moves down. The domain stays the same; every range value gains k.
The same idea, five ways
the new height is the old height plus k, at the same input.
A Vertical shift adds one fixed number to every output and leaves each input unchanged.
- g(x) = f(x) + k
- Old point (u, v); new point (u, v + k).
- For + 3: Range y ≥ 3, or [3, ∞), or {y | y ≥ 3}.
- Graph words: lift or lower the entire drawing by the same number of units.
Lift a clear map without sliding it sideways. Every landmark keeps its street address and gains the same height.
The same idea, other ways
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.
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.
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
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 see | It does when h and k are positive |
|---|---|
| f(x) + k | Up k |
| Down k | |
| 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.
Worked example
A cube root moved up
Find the new height at x = 8 for g(x) = + 2.
This asks for the new output at the stated input after the outside height change.
Show the steps and the answer
- . = 8, so the cube root returns 2.
- .The outside addition raises the old height by 2.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: 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.
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
- .Absolute value is distance from zero.
- .The downward shift subtracts 3 from the height.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 3: 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.
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.
Show the steps and the answer
- Read the number added outside f in . The shift is .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.
- Keep the inputs , 0 and 2 unchanged.g sends the same x into f, so every horizontal coordinate stays where it was.
- Add 5 to each height: ; ; ; .g outputs the old height plus k, so (u, v) goes to (u, v + 5).
- 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.
- Domain of g: . Range of g: .The x-values are unchanged, so the domain stays the same. Every output gains 5, so each endpoint of the range gains 5.
- Check: , which matches the point .Substituting a point into the new formula confirms its new height.
Work to write
- k = +5, so the graph shifts up 5
- Domain of g: [−4, 2]
- Range of g: [2, 11]
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
5 How
- Find the number added outside f. Include its sign, because −4 is a shift of k = −4.
- Keep every horizontal coordinate, because the input sent into f has not changed.
- Add k to every height, because g outputs the old height plus k.
- Move several recognizable points and connect them with the original shape.
- Substitute a point into the new formula to check its new height.
Move a graph vertically from a formula or a known point
- Find the added number after f finishes. Write it as k, including a minus sign.
- Translate the request: you need the old height at the same input, followed by the outside addition.
- For each old point (u, v), leave u alone and calculate v + k.
- Move the whole familiar shape through the new points. Add k to its old range values; keep its domain.
- 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 + 4 is a downward-opening parabola with vertex (−1, 4). It passes through the five points (−3, 0), (−2, 3), (−1, 4), (0, 3) and (1, 0). Let g(x) = f(x) − 6. (a) Find the five corresponding points on the graph of g and sketch g. (b) Give the vertex of g and write g(x) in vertex form. (c) State the domain and range of f and of g.
Show the steps and the answer
- Find k. Rewrite as , so .The −6 sits outside f and acts on its output, not on x, so it is a vertical shift. Keeping its sign shows the graph moves 6 units down. (f(x − 6) would instead move the graph 6 units right.)
- Keep every x-coordinate: the new points still have , 0 and 1.g sends the same input x into f, so nothing moves sideways; only the outputs change.
- Add to every height, : .Each output of g is the old height f(u) plus k, so every y-value drops by exactly 6.
- Plot the five new points and join them with the same downward-opening parabola. The vertex moves from to , so .A vertical shift slides the whole curve straight down without changing it. The shape, the opening direction and the axis of symmetry x = −1 stay the same; only the vertex height changes, from 4 to 4 + (−6) = −2.
- State the domain and range. f and g both have domain all real numbers. The range of f is , so the range of g is .The inputs are untouched, so the domain stays the same. Every output value, including the maximum height 4, gains k = −6.
- Check a point in the new formula: , which matches the moved point .The substitution confirms the new height is the old height 3 plus k = −6, so the shift was applied to the output and with the correct sign.
- (a) (−3, −6), (−2, −3), (−1, −2), (0, −3), (1, −6). The graph of g is the graph of f moved 6 units down: the same downward-opening parabola, drawn through these points. (b) Vertex (−1, −2)
- g(x) = −(x + 1 − 2. (c) f: domain all real numbers, range (−∞, 4]. g: domain all real numbers, range (−∞, −2].
Work to write
- g(x) = f(x) + (−6), so k = −6: shift 6 units down
- x-coordinates unchanged: (u, v) → (u, v − 6)
- vertex of g: (−1, −2); g(x) = −(x + 1 − 2
- domain of f and of g: all real numbers
- range of f: (−∞, 4]; range of g: (−∞, −2]
- check: g(0) = −(0 + 1 − 2 = −3, matching (0, −3)
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
- .Keep the input and use its known output.
- .The old height 2 rises by 5.
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.
Show the steps and the answer
- Read the number added outside f in . It is .The −3 is added after f is evaluated, so it changes outputs, not inputs. Its sign is negative, so the graph moves down 3 units.
- Keep the x-values , 0, 1 and 3 unchanged.g still sends the same x into f, so no point moves left or right.
- Add to each height: . The new points are and (3, 1).Each output of g is the old height f(x) plus k, and the rule sends (u, v) to (u, v + k).
- Plot and (3, 1). Join them with the same shape as f, placed 3 units lower.Every point of f moves down by the same 3 units, so the shape does not stretch or tilt.
- The domain of g is . The range is .A vertical shift does not change the domain. Each range value gains k = −3, so the lowest and highest heights both drop by 3.
Work to write
- k = −3, so the graph shifts down 3 units
- x-values stay the same: −2, 0, 1, 3
- Points: (−2, 2), (0, −2), (1, −5), (3, 1)
- Domain of g: [−2, 3]
- Range of g: [−5, 2]
- Check: g(1) = f(1) − 3 = −2 − 3 = −5
Rung 3 of 3
Move a physical starting height
For an original practice model, h(t) = 14t − 5 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.
Show the steps and the answer
- Write .At the same time the ball is 10 meters higher when its starting platform is 10 meters higher.
- Substitute the old formula: .The extra starting height is added to the output, not to the time.
- .Square 2 first, then multiply, then combine the height terms.
- H(2) = 18 meters.
Counterexamples
What it is not, and the tempting wrong moves.
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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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
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
sends (u, v) to .
Positive h moves right; negative h moves left. Solve new input old input whenever the sign feels uncertain.
The same idea, five ways
the new function at x uses the old function at x minus h. To keep the old height, move its input right h.
A Horizontal shift changes the input address at which each old height appears.
- x − h = u, so x = u + h.
- Old point (u, v); new point (u + h, v).
- For (x − 3: vertex (3, 0). For (x + 3: vertex (−3, 0).
- Graph words: slide right when h > 0, left when h < 0, and keep all old heights.
On a schedule that starts two hours earlier, new time 6 looks up old time 8. You add 2 before consulting the old timetable.
The same idea, other ways
The bottom of occurs when its input is zero. The bottom of (x − 3 occurs when x − 3 is zero, which happens at x = 3. The whole curve follows that bottom to the right.
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.
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
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
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
| Old input u | Old output f(u) | New input u + 3 | g(u + 3) for g(x) = f(x − 3) |
|---|---|---|---|
| 2 | 1 | 5 | 1 |
| 4 | 3 | 7 | 3 |
| 6 | 7 | 9 | 7 |
| 8 | 11 | 11 | 11 |
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.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: 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.
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
- Set .f must receive the old input 1 to produce the known height 6.
- Subtract 3 to get .Subtraction undoes the inside addition.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 3: 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.
Worked example
Use a table without guessing
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.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Solve to get .The required height 3 belongs to old input 4.
- .At x = 7 the inside expression is the known old input.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 4: 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.
Worked example
Separate gallons from miles
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
- is fuel for x miles plus 10 gallons.The addition is attached to the output, measured in gallons.
- is fuel for miles.The addition changes the input, measured in miles.
- f(x) + 10: vertical shift up 10 gallons.
- f(x + 10): horizontal shift left 10 miles on the mathematical graph.
Counterexamples
What it is not, and the tempting wrong moves.
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
- Find the expression inside f; it is the input the old function receives.
- Set that expression equal to a known old input u, because this asks where the same old height appears.
- Solve for the new input x. Add when the expression subtracts, and subtract when it adds.
- Keep the old height v, because the function receives the same old input u.
- Move several points and substitute their new inputs into g to check.
Find where a known old height appears after a sideways shift
- Translate the request: you know an old input and height, and need the new address for that same height.
- Name the old input u. Set the expression inside f equal to u.
- Undo the inside addition or subtraction on both sides. In x − 3 = u, add 3 to obtain x = u + 3.
- Keep the old height v. The new point is (u + h, v).
- Substitute the new input into the inside expression. It must give the original input u.
- 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) = − 4. Four points on the graph of f are (−2, 0), (0, −4), (1, −3) and (2, 0). Let g(x) = f(x + 3). (a) Find the four corresponding points on the graph of g. (b) State the direction and distance of the shift, and give the vertex of g.
Show the steps and the answer
- The expression inside f is . Write , so .The expression inside f is the input the old function receives. Matching it to x − h shows the sign of h.
- For the point , set .This asks which new input x feeds the old input −2 into f, so that the same old height appears.
- Solve: . In the same way, gives . gives . gives .The expression adds 3, so we subtract 3 to undo it. Each new input is the old input minus 3.
- Keep the heights: .At each new input, f receives the same old input u, so it returns the same old height v.
- The shift is 3 units left. The vertex of f moves to .With h = −3 the rule (u, v) → (u + h, v) moves every point 3 units left. This is the opposite of the + sign inside.
Work to write
- g(x) = f(x + 3) = f(x − (−3)), so h = −3
- Solve x + 3 = u, so x = u − 3
- Shift 3 units left; vertex (−3, −4)
- Check: g(−3) = (0 − 4 = −4
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 go on (x − 6?
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- Set .The old height zero requires the old input zero.
- Add 6: , with the same height 0.You undo the subtraction before squaring.
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).
Show the steps and the answer
- Read the f table column by column: (2, 1), (4, 3), (6, 7), (8, 11).Each column is one point of f, an input with the output directly below it.
- Add 3 to each old input: .g reaches the old input u when x − 3 = u, so the new input is x = u + 3.
- Keep each output with its column: (5, 1), (7, 3), (9, 7), (11, 11).A shift inside f moves the inputs only; every height stays where it was.
Rung 3 of 3
A vent schedule starts earlier
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.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Write .At any new time, look up what the old schedule did two hours later.
- Solve t + 2 = 8: .The old 8 a.m. change now happens at the input that feeds 8 to f.
- Solve t + 2 = 10: .The old 10 a.m. event moves two hours earlier as well.
- g(t) = f(t + 2).
- Change begins at 6 a.m.
- The schedule first reaches 220 square feet at 8 a.m.
Counterexamples
What it is not, and the tempting wrong moves.
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
Open this lessonLeans on 1Comes back in 0
Leans on
Comes back in
No lesson links recorded.
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
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: 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 , 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
sends (u, v) to .
These shifts commute, meaning either order gives the same graph, because each changes a different coordinate.
The same idea, five ways
move each old input by h and each old height by k. Then state where inputs are allowed and what heights occur.
Combining a Horizontal shift and a Vertical shift moves both coordinates, and carries the graph's starting points and restrictions with it.
- Old point (u, v); new point (u + h, v + k).
- For + 3: Domain x ≥ −2, [−2, ∞), {x | x ≥ −2}.
- Range y ≥ 3, [3, ∞), {y | y ≥ 3}.
- For + 1: Domain x ≠ 1; Range y ≠ 1.
- Graph words: translate the corner, endpoint, or asymptote guide lines by the same horizontal and vertical amounts.
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.
The same idea, other ways
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).
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
A graph casts one shadow onto the horizontal axis for allowed inputs and another onto the vertical axis for attainable heights. For + 3, its starting point moves to (−2, 3): the horizontal shadow begins at −2 and the vertical shadow begins at 3.
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.
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.
Show the steps and the answer
- Solve to get .Absolute value is smallest at old input zero.
- The height is .The outside shift lowers the old minimum zero by four.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: 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: + k.
- Endpoint: (h, k).
- Domain: x ≥ h, or [h, ∞). Range: y ≥ k, or [k, ∞).
- The square root sign means the nonnegative root.
Worked example
A shifted square root from its starting point
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.
Show the steps and the answer
- The old endpoint (0, 0) moved right 1 and up 2.Subtract the old coordinates from the new coordinates to find the two shifts.
- Write .A right shift subtracts 1 inside and an upward shift adds 2 outside.
- Require , giving . The square root output is nonnegative, giving .Real square roots need a nonnegative inside and return a nonnegative result.
- Domain: [1, ∞).
- Range: [2, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
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) = + k.
- Domain: x ≠ h, because a denominator cannot be zero.
- Range: y ≠ k, because never equals zero.
- Vertical asymptote: x = h. Horizontal asymptote: y = k.
Worked example
Move a reciprocal graph
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.
Show the steps and the answer
- Replace x by in .The right shift makes the old input appear one unit later.
- Add 1 after dividing: .The up shift changes the completed output.
- Exclude and .The denominator would vanish at x = 1, and a reciprocal term cannot equal zero.
- Domain: (−∞, 1) ∪ (1, ∞).
- Range: (−∞, 1) ∪ (1, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
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
- Recognize the original toolkit shape before changing it.
- Read h from x − h. If you see x + 2, write h = −2.
- Read k from the addition outside the function.
- Move the landmark and at least two other points by (h, k).
- Check allowed inputs using the original function's restrictions, then translate the heights to obtain the range.
- Substitute a new point into the formula and compare with its transformed height.
Combine shifts, then find Domain and Range from the starting graph
- Recognize the basic shape and recall its allowed inputs and outputs.
- Read h from x − h and k from the outside addition. For x + 2, h = −2.
- Move each old point to (u + h, v + k), including the landmark.
- 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.
- 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.
- Translate every original range height by k. A root's lowest height 0 becomes k; a reciprocal's missing height 0 becomes k.
- 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
- Identify from .The new input x = u + 2 compensates for subtracting 2 inside.
- Identify .The subtraction after absolute value lowers every height by 4.
- Move the corner (0, 0) to .Add 2 to its horizontal coordinate and subtract 4 from its height.
- Move to and (1, 1) to .Every point receives the same two shifts.
- Join these points in a V opening upward.Shifts preserve the original V shape.
- Right 2 and down 4.
- Corner: (2, −4).
- Domain: (−∞, ∞).
- Range: [−4, ∞).
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
- Solve to get .The inside must reproduce old input 3.
- Raise old height −2 by 3: .The addition outside changes the output.
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.
Show the steps and the answer
- Solve to find .The old corner uses input zero.
- Use height .The outside shift lowers zero by four.
- Right 2 and down 4.
- Corner: (2, −4).
Rung 3 of 4
A V shifted left one and down three
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
- Set to find where the old corner input appears. Subtract 1 to get .The new corner must send old input 0 into absolute value. This solves for its new horizontal address.
- At that input, .The outside subtraction lowers the old corner height 0 by 3.
- Move old points , (0, 0), and (1, 1) to , and .Subtract 1 from each old input and 3 from each old output. These are separate coordinate changes.
- Draw the same V through those moved points. Every real input is still allowed, and the smallest output is .A translation preserves the V shape. Absolute value stays nonnegative before the final downward shift.
- Shift left 1 and down 3.
- Corner: (−1, −3).
- Domain: (−∞, ∞).
- Range: [−3, ∞).
Rung 4 of 4
Move guide lines and missing values
Shift 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.
Show the steps and the answer
- Write .Right subtracts inside; up adds outside.
- is excluded.At 1 the denominator becomes zero.
- is excluded.To equal 1, the reciprocal term would have to equal zero, which is impossible.
- Excluded input: 1.
- Excluded output: 1.
- Asymptotes: x = 1 and y = 1.
Counterexamples
What it is not, and the tempting wrong moves.
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 + 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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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
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, substitute (−x) everywhere x appears: f(−x) = (−x − 6. 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: , with (u, v) becoming .
Horizontal reflection: , with (u, v) becoming .
The same idea, five ways
across the x-axis, keep the input and take the opposite height. Across the y-axis, take the opposite input and keep the height.
A Reflection puts each graph point the same distance from a mirror axis on the other side of that axis.
- 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 : 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.
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.
The same idea, other ways
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.
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) = 2. At new input −4, f(−x) = 2 hands f the input 4, and f returns 4. At input 4, −f(x) = −2 returns −4.
outside: −2 = −4
inside: 2 = 2 = 4
after f: change the height
before f: change the input
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.
| Original input u | Original output f(u) | −f(u) at input u | Reflected input −u | f(−x) at x = −u |
|---|---|---|---|---|
| 2 | 1 | 1 | ||
| 4 | 3 | 3 | ||
| 6 | 7 | 7 | ||
| 8 | 11 | 11 |
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.
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.
Show the steps and the answer
- , so the original point is .The input is the horizontal coordinate, and the function value is the signed height.
- Write .Negate the whole output. Distributing −1 changes the signs of both terms.
- The reflected point is (1, 3).The input stays 1 and the opposite of −3 is 3.
- (1, −3) becomes (1, 3).
Counterexamples
What it is not, and the tempting wrong moves.
(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 = , so the Quadratic function looks the same after the flip.
Worked example
Reflect a shifted quadratic
Reflect f(x) = (x − 6 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
- Replace x with (−x): .A horizontal reflection changes the input before the original function is evaluated.
- Factor inside the square: , so .Squaring a negative expression multiplies two negatives and gives the same result as squaring its positive opposite.
- The original vertex (6, 0) becomes . Domain: all real numbers. Range: .Negate the horizontal coordinate. Squares are still nonnegative, and every real input remains allowed.
- Vertex: (−6, 0).
- Domain: (−∞, ∞).
- Range: [0, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
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 across both axes returns its graph to the same place: the new formula −(−x equals . The next lesson calls this matching behavior an odd function and explains the full test.
Worked example
Trace two supplied learning-model points
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
- Horizontal reflection: (0, 1) becomes (0, 1), and (1, 2) becomes .The inside minus negates each input coordinate; −0 = 0.
- Vertical reflection: those points become and .The outside minus negates the output coordinates.
- Shift up 1: the final points are (0, 0) and .Adding 1 outside gives −1 + 1 = 0 and −2 + 1 = −1.
- (0, 1) becomes (0, 0).
- (1, 2) becomes (−1, −1).
Counterexamples
What it is not, and the tempting wrong moves.
(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) = gives L(n) = 100 − .
- 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.
Reminder
Reminder: Function substitution
- Function substitution. Replace every old x by (−n): 3 − x becomes 3 − (−n) = 3 + n.
The same idea, five ways
mastery is one hundred minus the unfilled amount, with zero or more practice.
This original learning-model equation gives a continuous percentage that starts at zero and stays below one hundred.
- n ≥ 0; contextual domain [0, ∞).
- 0 ≤ L(n) < 100; contextual range [0, 100).
A progress gauge whose remaining gap keeps shrinking.
Worked example
An original mastery model with both reflections and an upward shift
For this original example let f(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
- Replace x by −n: .The inside reflection substitutes the opposite input everywhere. Subtracting a negative adds.
- Negate that output and shift up 100: .The outside minus reflects heights and the outside addition follows it. This is a completely specified original formula.
- .Zero practice gives the starting mastery 0 percent, and the denominator 3 is nonzero.
- .At three sessions of practice the denominator is 6, so the reciprocal term is 50 and the mastery is 50 percent.
- For , the denominator is at least 3. The reciprocal term is positive and at most 100. Thus .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.
- L(0) = 0 percent.
- L(3) = 50 percent.
- Contextual domain: [0, ∞).
- Contextual range: [0, 100).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write the contextual input restriction before reporting a model range. Distinguish partial-session amounts from completed whole-session counts.
5 How
- Locate the minus sign. Outside the function means negate the output; inside with x means negate the input coordinate.
- Choose points on the original graph. Change only the coordinate named by the reflection.
- Check the Domain, the allowed inputs, and the Range, the resulting outputs. A horizontal reflection negates the domain values; a vertical reflection negates the range values.
- Substitute a transformed point into the new formula. Confirm that it gives the transformed height.
Choose the reflection, move points, and check restrictions
- Translate the request: identify the mirror line or locate the minus sign in the formula.
- For an outside minus, keep each old input and negate its output. For an inside minus, negate each old input and keep its output.
- Write the reflected formula by negating the whole original output, or by replacing every occurrence of its input with (−x).
- Track the original restrictions. A horizontal flip negates the allowed input addresses; a vertical flip negates the possible heights.
- If another outside shift follows, negate the old height first, then add the shift.
- 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) = 2
Write the vertical and horizontal reflections of s(t) = 2. Give each domain and range.
This asks you to change the coordinate named by each mirror move and keep the other coordinate.
Show the steps and the answer
- The original function accepts and returns .A real square root needs a nonnegative number inside it, and doubling a nonnegative root keeps it nonnegative.
- For the vertical reflection, write .The minus sign goes outside because every original output must change sign.
- V has domain and range . The point (4, 4) becomes .The inputs stay the same, while every nonnegative output becomes nonpositive: −2 = −2 · 2 = −4.
- For the horizontal reflection, write .The minus sign goes inside because each original input coordinate changes sign.
- Require , so . H has domain and range . The point (4, 4) becomes .Multiplying the inequality by −1 reverses its direction. The reflected input gives H(−4) = 2 = 4.
- domain [0, ∞)
- range (−∞, 0].
- domain (−∞, 0], meaning t ≤ 0
- range [0, ∞).
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).
- For , keep 3 and negate : (3, 4).A vertical reflection changes the output coordinate only.
- For , negate 3 and keep : .A horizontal reflection changes the input coordinate only.
- On −f(x): (3, 4).
- On f(−x): (−3, −4).
Rung 2 of 5
Reflect a shifted square root and its allowed inputs
Reflect s(t) = 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
- Across the horizontal axis: , and (7, 2) becomes .The output changes sign while the input stays 7.
- Across the vertical axis: , and (7, 2) becomes .The input changes sign while the output stays 2. Every t inside s is replaced by −t, so t − 3 becomes −t − 3.
- For V, require , so : domain and range . For H, require . Add 3 to both sides: . Multiply by and reverse the sign: . Domain and range .A real square root cannot accept a negative expression, and its output is nonnegative until an outside minus negates it.
- domain [3, ∞)
- range (−∞, 0].
- domain (−∞, −3]
- range [0, ∞).
Rung 3 of 5
Reflect a table without inventing values
Use the original f table shown beside this question. List the corresponding known points on V(x) = −f(x) and H(x) = f(−x).
This asks you to attach each known output to its transformed input and calculate any requested new height.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- For V, keep inputs 2, 4, 6, 8 and negate outputs 1, 3, 7, 11 to get .The outside minus acts on the output row.
- For H, negate inputs 2, 4, 6, 8 to get , and keep outputs 1, 3, 7, 11.At a reflected input −u, the expression −x equals the original known input u.
- Do not assign a value to H(2) from this table.H(2) requires f(−2), and the table supplies no value for f(−2).
- H(2): not determined by the supplied table.
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.
Show the steps and the answer
- Read the column under : . Read the remaining columns as , and .Each column pairs one input with its given output; no formula between columns is assumed.
- For V, keep inputs , 0, 2, 4 and negate the outputs to get .The outside minus reflects heights across the x-axis.
- For H, negate the inputs to get 2, 0, 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.
- 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.
Rung 5 of 5
Combine the learning-model transformations
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
- For (0, 1), solve , so . Its new height is .The new input must deliver the old input, and the outside operations act on the known old height.
- For (1, 2), solve , so . Its new height is .The inside reflection negates the input coordinate, then the outside reflection and shift change the output.
- The known transformed points are (0, 0) and . 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.
- (0, 1) becomes (0, 0).
- (1, 2) becomes (−1, −1).
- A complete learning formula and its contextual domain and range remain unspecified.
Counterexamples
What it is not, and the tempting wrong moves.
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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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 = 4 and (−2 = −8. Pair negative factors to see which sign remains.
- Distributing an outside minus. Negate the entire output: −( + 1) = − − 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 ; odd means , for every allowed x.
If neither identity holds for all allowed inputs, the function is neither. The zero-valued function on a symmetric domain satisfies both identities.
The same idea, five ways
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.
On a domain symmetric about zero, compare f(−x) with f(x) and with −f(x) for every allowed input.
- 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.
Even matches a fold along the vertical axis. Odd matches a half turn around the origin.
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
For , folding across the y-axis pairs (2, 4) with (−2, 4). For , a half turn pairs (2, 8) with (−2, −8). The first action keeps the height; the second changes both coordinate signs.
For h(x) = + 1, write h(−x) = − + 1 beside h(x) = + 1 and −h(x) = − − 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).
Before comparing heights, ask whether the partner address exists. The formula 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).
| Classification | Algebra test | Paired graph points | Picture |
|---|---|---|---|
| Even function | (x, y) and (−x, y) | Mirror across the y-axis | |
| Odd function | (x, y) and (−x, −y) | Half turn around the origin | |
| Neither even nor odd | Neither identity holds for every input | Each symmetry has at least one missing or mismatched required pairing. | Neither symmetry |
| Both | f(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.
Worked example
Prove that is even
Classify f(x) = 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
- Every real input and its opposite are allowed.Squaring is defined for every real number, so the domain is symmetric about zero.
- .The two minus signs multiply to a plus.
- The function is even. It is not odd: while , and .The even identity holds for every input, but the odd identity fails at input 1.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: 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 is odd on the domain x ≠ 0.
Worked example
Prove that the cubic function is odd
Classify f(x) = 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
- The domain is all real numbers, so it includes opposite inputs.Every real number can be multiplied by itself three times.
- .Two negative factors give a positive; multiplying by the third negative factor makes the product negative.
- 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.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 3: 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.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 4: 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
- If , then too.Negating a number in this interval keeps it between the same two opposite endpoints.
- , so z is even.Every allowed input returns the same zero height.
- , so z is also odd.Zero is its own negative.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
5 How
- Check that every allowed input x has its opposite −x in the domain. A domain that fails this condition rules out both symmetries.
- Replace every x in the formula with (−x), including x inside powers and multiplied terms.
- Simplify. For an even power, the minus signs cancel in pairs. For an odd power, one minus sign remains.
- Compare the entire result with f(x). If they match for every allowed input, the function is even.
- Separately write −f(x), distributing its minus to every term. If f(−x) matches this expression for every allowed input, the function is odd. If only the even comparison succeeded, it is even. If neither comparison succeeded, it is neither. If both succeed, it is both; the zero function on a symmetric domain does this.
Classify a function by checking both symmetries
- Inspect the Domain to see whether every allowed x has an allowed −x. This establishes whether the symmetry tests can apply at all.
- Replace every x by (−x), then simplify. This computes the height at the opposite address using the same rule.
- Write −f(x), changing every term's sign. This gives the entire opposite output needed for the odd test.
- 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.
- Check the result with opposite inputs, while keeping the identity as the proof. For + 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) = + 2 − 2x + 5, defined for all real numbers. A student evaluates f(1) = 6 and f(−1) = 6, sees that the two outputs match, and concludes that f is even. (a) Test the whole formula to decide whether f is even, odd, or neither. (b) Find every real x for which f(−x) = f(x), and use the result to explain why the student's check did not settle the question.
Show the steps and the answer
- Check the domain. f is a polynomial, so every real number is an allowed input. For every real x, its opposite is also real, so the domain is symmetric about 0.Both identities compare the outputs at x and at −x, so −x must be allowed whenever x is. A domain that failed this would rule out both symmetries. This one passes, so the test continues.
- Replace every x with (−x): .f(−x) is the same rule applied to the input −x, so every x changes. That includes the x inside each power and the x in the multiplied term −2x. The parentheses keep the minus sign inside the power, and (−x is not the same as −. The constant 5 contains no x, so it stays.
- Simplify term by term: ; ; . So .(−x has four minus signs, which cancel in pairs, so it equals . (−x has three minus signs. Two cancel and one remains, so the term changes sign. In −2(−x), a negative times a negative is positive.
- Compare with . The terms match and the constants match. The terms ( and ) have opposite signs, and so do the x terms ( and ). So , which is not 0 for every x. At : , but .Even requires f(−x) = f(x) for every allowed x, so one input where the outputs differ rules it out. Since 9 ≠ 33, f is not even.
- Write , distributing the minus to every term: . Compare it with . Now the and x terms match, but and differ, and so do and . At : , but .Odd requires f(−x) = −f(x) for every allowed x. Here f(−x) + f(x) = 2 + 10. That sum is at least 10 and never 0, so the odd identity fails at every input. At x = 0, for instance, the identity would force f(0) = −f(0), that is f(0) = 0. But f(0) = 5, so f is not odd.
- Conclude: f is neither even nor odd.The even comparison failed in step 4 and the odd comparison failed in step 5. By the rule, a function for which neither identity holds for all allowed inputs is neither.
- For part (b), use the difference from step 4. exactly when , that is . So or , giving , 0 or 1. The student's input is one of only these three values, so is a coincidence.Even is a claim about every allowed input, so agreement at one input, or at a few, cannot prove it. Only the whole-formula result f(−x) = f(x) can prove it, and that failed here. The sign-changing part of f, 2 − 2x, happens to equal 0 at x = −1, 0 and 1, so at those three inputs the asymmetry is invisible.
Work to write
- Domain: all real numbers, which is symmetric about 0.
- f(−x) ≠ f(x): the and x terms have opposite signs; f(−2) = 9 but f(2) = 33, so f is not even.
- −f(x) = − − 2 + 2x − 5 ≠ f(−x): the and constant terms differ; f(−2) = 9 but −f(2) = −33, so f is not odd.
- f is neither even nor odd.
- f(−x) = f(x) only when 4 − 4x = 0, that is x = −1, 0 or 1, so the match at x = 1 does not prove f is even.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
An even power
Classify p(x) = 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
- The full domain is all real numbers, which allows opposite inputs.A square is defined for any real number.
- .A negative multiplied by a negative is positive.
- p is even and not odd.The even identity holds for all x, while p(−1) = 1 differs from −p(1) = −1.
Rung 2 of 4
The formula does not erase a domain restriction
A function has formula r(x) = but accepts only x ≥ 0. Is it even, odd, or neither?
This asks whether opposite allowed inputs always give equal heights, opposite heights, or neither pattern.
Show the steps and the answer
- The domain is , so 1 is allowed and is not.The restriction is part of the function, not an optional detail of its formula.
- The domain is not symmetric about zero.At least one allowed input lacks its opposite partner.
- The function is neither even nor odd on this domain.Both definitions require the paired opposite input. Writing (−x = does not make a forbidden input allowed.
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
- Evenness gives , and oddness gives .Both identities apply to every allowed input.
- Set the two equal expressions equal: . Add f(x) to both sides to get .Both expressions equal f(−x). Adding the same amount to both sides preserves equality.
- Divide by 2: at every allowed input.Zero divided by a nonzero number is zero.
- Conversely, a zero output satisfies both tests: and .This confirms the candidate actually meets both definitions on the symmetric domain.
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.
Show the steps and the answer
- Graph A has matching arms across the y-axis. Its points at inputs 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.
- Graph B matches after a half turn around (0, 0). Its point (1, 2) has partner , 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.
- Graph C has point (2, 1) but its point at the opposite input has height 9.The heights 1 and 9 are neither equal nor opposites, so this one failing pair disproves each required symmetry.
- Graph A: even.
- Graph B: odd.
- Graph C: neither.
Counterexamples
What it is not, and the tempting wrong moves.
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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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
Reminder
Reminder: Signed multiplication, Exact fractions, Order of operations
- Signed multiplication. A positive factor keeps a height's sign: × (−6) = −3. A negative factor reverses it: (−2) × 5 = −10.
- Exact fractions. One half of 5 is = 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 , (u, v) becomes .
If |a| > 1, stretch vertically; if 0 < |a| < 1, compress vertically.
If a < 0, also reflect across the x-axis. If , all defined outputs become zero; this is a collapse, not an ordinary stretch or compression.
The same idea, five ways
A vertical scale changes how far each height lies from the x-axis. A negative factor also puts it on the opposite side.
Multiply every old output by the outside factor a while keeping its input coordinate fixed.
- 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.
Pull a rubber drawing away from the horizontal axis or press it closer while holding each sideways address fixed.
The same idea, other ways
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).
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 changes it to . Both jobs happen after f has returned its answer.
For , 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).
| Formula | Effect | A point (u, v) goes to |
|---|---|---|
| a·f(x), a > 1 | Vertical stretch by a | (u, a·v) |
| a·f(x), 0 < a < 1 | Vertical compression by a | (u, a·v) |
| f(bx), b > 1 | Horizontal compression by | |
| f(bx), 0 < b < 1 | Horizontal stretch by |
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 , 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.
Worked example
Double a quadratic's heights
Start with f(x) = . 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.
Show the steps and the answer
- Write .The requested vertical scale multiplies the function's output after it is calculated.
- (1, 1) becomes .The input stays 1 and its height doubles.
- becomes .The negative input also stays fixed; the multiplier acts on its output 4.
- New points: (1, 2) and (−2, 8).
- Domain: (−∞, ∞).
- Range: [0, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
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 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 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.
Worked example
Compress a negative output too
If f(4) = 6 and f(−4) = −6, find the corresponding points on c(x) = f(x).
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- At input 4, .One half of six is three, and vertical scaling keeps the input fixed.
- At input .A positive times a negative is negative, and half the distance six is three.
- The new points are (4, 3) and .Each unchanged input is paired with its newly halved output.
- (4, 6) becomes (4, 3).
- (−4, −6) becomes (−4, −3).
Counterexamples
What it is not, and the tempting wrong moves.
(−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 − 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].
Worked example
Compress and reflect a quadratic
Describe g(x) = − relative to f(x) = . 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
- The multiplier is , whose magnitude is .The magnitude measures distance change without its direction.
- Compress vertically by , then reflect across the x-axis.The magnitude lies between 0 and 1, and the negative sign reverses output signs.
- Keep input 2. The new output is , so the point becomes .The outside factor acts on the whole old height.
- Domain: all real numbers. Range: .Squaring still accepts all real inputs; every nonnegative square now becomes nonpositive, and arbitrarily large squares give arbitrarily negative heights.
- Vertical compression by and reflection across the x-axis.
- (2, 4) becomes (2, −2).
- Domain: (−∞, ∞).
- Range: (−∞, 0].
Counterexamples
What it is not, and the tempting wrong moves.
(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
- Find the multiplier a outside the function. Its magnitude |a| sets the size change, and its sign tells you whether to reflect.
- Keep every input coordinate. Multiply each entire signed output by a, including outputs below zero.
- If a shift is added outside afterward, multiply the original height first and then add the shift. The shifted graph is scaled relative to the line y = k in a·f(x) + k.
- Keep the original domain. Multiply the original range values by a, reversing their order when a is negative.
- Check a transformed point by substituting its unchanged input into the new formula.
Read an outside factor and move heights
- Identify the outside factor a. Its magnitude gives the distance change and its sign gives the reflection.
- 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.
- 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.
- 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].
- Substitute an unchanged input into the transformed formula to check its output. For c(x) = f(x) and f(2) = 5, c(2) = , 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) = − 2. Its domain is [−4, ∞) and its range is [−2, ∞). The table lists five points on the graph of f: (−4, −2), (−3, −1), (0, 0), (5, 1) and (12, 2). Let g(x) = −3·f(x). (a) Identify the multiplier and describe how the graph of g is obtained from the graph of f. (b) Find the five corresponding points on the graph of g, and write g(x) as a formula in x. (c) State the domain and range of g. (d) Let h(x) = −3·f(x) + 1. Find the point on the graph of h that comes from (12, 2), and state the range of h.
Show the steps and the answer
- Read the multiplier outside f: , so . Since , the graph is stretched vertically by a factor of 3. Since a < 0, it is also reflected across the x-axis.The −3 multiplies the output f(x), not the input x, so it changes heights only. Its size 3 triples each point's distance from the x-axis, and its negative sign puts each point on the opposite side of the axis.
- Keep each input and multiply each whole signed output by : .If (u, v) is on f, then g(u) = −3·f(u) = −3v, so the point over input u moves from height v to height −3v. Heights below zero are multiplied too and land above the axis (−2 becomes 6). Heights above zero land below it (2 becomes −6). A height of 0 stays 0, so the x-intercept (0, 0) does not move.
- Write the formula: .The multiplier acts on the entire output of f, including its −2, which becomes +6. Multiplying only the root, as in −3 − 2, would leave the endpoint at (−4, −2) instead of moving it to (−4, 6).
- Keep the domain: g has domain . Multiply the range of f, , by . The endpoint becomes 6, and the outputs that increase without bound now decrease without bound. The order reverses, so g has range .Scaling heights changes no input, so the allowed inputs are still those with x + 4 ≥ 0. Multiplying by a negative number reverses an inequality: f(x) ≥ −2 gives −3·f(x) ≤ 6. The value 6 is reached at x = −4, so the bracket at 6 is closed.
- For , multiply first and then add. From (12, 2), and , so the point is . Since , every output of g rises by 1. The top value 6 becomes 7, so h has range .In −3·f(x) + 1 the multiplication comes before the addition. Adding first would give −3·(2 + 1) = −9, which is a point of the different function −3·f(x) − 3. Equivalently, h is scaled relative to the line y = 1: the point that was 2 above the x-axis ends up 3·2 = 6 below y = 1, at y = −5.
- Check (5, −3) by substituting its unchanged input into the new formula: .A transformed point keeps its input, so the new formula at that input must return the new height. It returns −3, the height found in step 2.
- (a) a = −3: a vertical stretch by a factor of 3 and a reflection across the x-axis. (b) (−4, 6), (−3, 3), (0, 0), (5, −3), (12, −6)
- g(x) = −3 + 6. (c) Domain [−4, ∞), range (−∞, 6]. (d) The point is (12, −5)
- the range of h is (−∞, 7].
Work to write
- a = −3: |a| = 3 > 1, so vertical stretch by a factor of 3; a < 0, so reflect across the x-axis
- Domain of g: [−4, ∞)
- f(x) ≥ −2, so −3·f(x) ≤ 6; range of g: (−∞, 6]
- h: multiply first, then add: −3·2 + 1 = −5, so (12, 2) → (12, −5)
- Range of h: (−∞, 6] shifted up 1 gives (−∞, 7]
- Check: g(5) = −3 + 6 = −3, matching (5, −3)
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Halve a whole table
Use the original f table shown beside this question. List the corresponding known points on c(x) = f(x).
This asks you to attach each known output to its transformed input and calculate any requested new height.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Copy inputs 2, 4, 6, 8 without changing them.A vertical compression multiplies outputs, not input coordinates.
- Halve each output: , and .The same scale factor applies to every original height.
- 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.
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) = f(x). This asks you to keep each input and quarter its output.
Show the steps and the answer
- Read , and from the four displayed columns.The input and output in the same column belong together.
- Divide the first three heights by 4: .Multiplication by quarters the entire output.
- The last height stays 0 because ; keep inputs 2, 4, 6, 8.A vertical compression changes heights only, and multiplying zero still gives zero.
- c: use the displayed compressed table.
- At input 8 the output is still 0.
Rung 3 of 6
Twice the population at the same time
A fruit-fly population graph has reference points (0, 1), (3, 3), (6, 2), and (7, 0). A second population is twice as large at every time. Give its formula in terms of f and its corresponding points.
This asks you to attach each known output to its transformed input and calculate any requested new height.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Write .Twice as large describes an output change at the same time input t.
- Keep times 0, 3, 6, 7. Multiply heights 1, 3, 2, 0 by 2 to get 2, 6, 4, 0.The population doubles at each unchanged time, including zero population.
- Plot (0, 2), (3, 6), (6, 4), and (7, 0), following the same time pattern with doubled heights.These are the original reference points after vertical scaling. Their horizontal coordinates remain unchanged.
- P(t) = 2f(t).
- New points: (0, 2), (3, 6), (6, 4), (7, 0).
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· 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.
Show the steps and the answer
- For the Cubic function .To find a vertical scale, compare the new and old heights at the same nonzero-output input.
- Use , so .Dividing the new height 4 by the old height 1 gives the multiplier.
- Write , a vertical stretch by 4.The positive multiplier 4 is greater than 1, so it increases distances from the x-axis without reflection.
- Check the other supplied point: .A second known point must agree with the candidate scale. The assumed form g(x) = a· is what makes one nonzero height sufficient to determine a.
- a = 4.
- Vertical stretch by 4.
Rung 5 of 6
Stretch the identity function, then shift
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.
Show the steps and the answer
- Start with . A vertical stretch by 3 gives .The identity function returns the same number it receives, and the outside multiplier triples that output.
- Subtract 2 afterward: .The instruction says to shift the stretched graph down, so the subtraction follows the multiplication.
- At input 0, the original height 0 becomes . At input 1, the original height 1 becomes .These two points show the shift and the tripled change in height between neighboring inputs.
- Points: (0, −2) and (1, 1).
- Domain and range: (−∞, ∞).
Rung 6 of 6
A negative scale followed by a shift
Describe g(x) = −2 + 5 relative to f(x) = . Find two points and the domain and range.
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- The factor stretches vertically by 2 and reflects across the x-axis; then shifts up 5.The magnitude gives the size change, the minus reverses signed outputs, and the added number acts after multiplication.
- The original point (0, 0) becomes .Keep the input and apply the outside operations to its original height.
- The original point (4, 2) becomes .Multiplication precedes addition: −4 + 5 = 1.
- Domain: . Range: .The root still needs x ≥ 0. Its outputs start at 0 and grow without bound, so −2 + 5 starts at 5 and decreases without bound.
- Stretch vertically by 2, reflect across the x-axis, then shift up 5.
- Points: (0, 5) and (4, 1).
- Domain: [0, ∞).
- Range: (−∞, 5].
Counterexamples
What it is not, and the tempting wrong moves.
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 −, 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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
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(x), 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
Reminder
Reminder: Dividing by a fraction, Solving for the new input, Flipping an inequality
- Dividing by a fraction. Divide by by multiplying by 2: 2 ÷ = 4. Check by multiplying back: × 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 , 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 = . Thus the new horizontal coordinate is the old one divided by b. If b = 2, the coordinate is halved. If b = , division by a half doubles it. A negative b also changes the coordinate's sign, reflecting left and right. The size factor is , the reciprocal of the coefficient's magnitude. You cannot divide by b = 0, so this point rule requires b ≠ 0.
4 The rule
, sends (u, v) to .
|b| > 1 compresses horizontally; 0 < |b| < 1 stretches horizontally. If b < 0, also reflect across the y-axis.
The same idea, five ways
An inside multiplier changes where an old height appears. Faster input changes squeeze the graph; slower input changes spread it out.
For g(x) = f(bx), divide each old horizontal coordinate by the nonzero coefficient b and keep the old height.
- bx = u gives x = , with b ≠ 0.
- (u, v) becomes (, v). Width factor: .
- |b| > 1: Horizontal compression. 0 < |b| < 1: Horizontal stretch.
- b < 0: also a Horizontal reflection. |b| = 1: no width change.
A recording at double speed reaches the same event in half the time.
The same idea, other ways
For , the old square root point (4, 2) appears at (2, 2). The height 2 survives, but its horizontal distance from the axis is halved.
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 = , with b ≠ 0.
To make x equal old input 6, solve x = 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 = , with b ≠ 0.
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 = , with b ≠ 0.
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 = , with b ≠ 0.
| Old input u | Old height | New input for f(2x) | New input for f(x) |
|---|---|---|---|
| 2 | 1 | 1 | 4 |
| 4 | 3 | 2 | 8 |
| 6 | 7 | 3 | 12 |
| 8 | 11 | 4 | 16 |
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: .
- 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.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: 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: .
- For b = , divide each old input by , which multiplies it by 2.
- The old input zero remains zero when scaling without a shift.
- A horizontal stretch by 4 uses f(x), because the inside coefficient is the reciprocal of the width factor 4.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 3: 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) = , the domain is x ≤ 0 and the range is y ≥ 0.
- Changing inputs does not by itself make positive square root outputs negative.
Worked example
Reflect and compress a square root
Move old point (4, 2) of to g(x) = .
This asks you to change the coordinate named by each mirror move and keep the other coordinate.
Show the steps and the answer
- Set .Inside the root must equal old input 4.
- Divide by to get .The division halves the distance and reverses its sign.
- Keep the old height 2.There is no minus sign outside the square root.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
5 How
- Find b, the multiplier of the input before f receives it.
- Set bx = u for each known old input u, because this recreates its old height.
- Divide the old input by b, including the sign. A fractional b calls for division by a fraction.
- Keep the old height unless an outside change is also present.
- Move endpoints, corners, and several other points before drawing the curve.
- Substitute the new input into bx to check that it returns u.
Convert an inside coefficient into a width change
- Identify b and verify b ≠ 0 before using the coordinate division rule. This prevents dividing by zero.
- Set bx = u for a known old input u. This equation finds the new address that reproduces its old height.
- Divide both sides by b, including its sign. For u = 4 and b = −2, x = −2, and substituting back gives −2 × (−2) = 4.
- Keep the matching old output. For old point (4, 2) of , this gives new point (−2, 2) on .
- Move the other landmarks using the same division, and rebuild the Domain from the allowed old inputs. In , require −2x ≥ 0 to find valid inputs, then divide by −2 and reverse the comparison: x ≤ 0.
- Check a new input inside the formula and use only known table entries. For g(x) = f(x), 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(−x)
The graph of f(x) = (x + 2 − 3, shown in the figure, is an upward-opening parabola with vertex (−2, −3). It passes through the five points (−6, 1), (−4, −2), (−2, −3), (0, −2) and (2, 1). Let g(x) = f(−x). (a) Find b and describe how the graph of f changes. Say whether it is stretched or compressed horizontally, by what factor, and whether it is reflected. (b) Find the five corresponding points on the graph of g. (c) Give the vertex and the axis of symmetry of g, and explain why one of the five points does not move.
Show the steps and the answer
- Find b. In , the input x is multiplied by before f receives it, so .b is the multiplier of the input inside f. Nothing is added inside f and nothing is done to its output, so b is the only change to the graph.
- Classify the change. lies between 0 and 1, so the graph is stretched horizontally away from the y-axis by the factor . Since b < 0, the graph is also reflected across the y-axis.For −x to equal an old input u, x must be times as far from 0 as u, which spreads the points away from the y-axis. The minus sign forces x and u to have opposite signs, so each point off the y-axis lands on the opposite side of it.
- Set for each old input. For the vertex , solve .Since g(x) = f(−x), g gives the old height −3 exactly when −x hands f the old input −2.
- Divide the old input by b, including the sign: . For every point, .Dividing by a fraction means multiplying by its reciprocal. The reciprocal of − is −, and the minus sign is kept. Multiplying u by − instead would pull the points toward the y-axis. That is a compression, the opposite of what f(−x) does.
- Keep each old height and move all five points: ; ; ; ; .Only the input changed. There is no multiplier or shift outside f, so each output v carries over unchanged.
- Read off the features of g. The vertex moves from to , so the axis of symmetry moves from to . The y-intercept stays where it is.The vertex is a point of the graph, so it follows the same rule as the others. For u = 0, x = 0 ÷ b = 0 whatever b is, so a point on the y-axis is fixed by any horizontal stretch, compression or reflection.
- Plot and (9, 1), then draw a smooth upward-opening parabola through them.Moving the vertex and points on both sides of it before drawing fixes the position and the width. The result is wider than f. The reflection has also reversed the left-to-right order: (−6, 1), the leftmost of the five points on f, became (9, 1), the rightmost on g.
- Check each new input in bx: .Each new input gives back its old input u, so g(x) = f(u) = v and every point carries the correct height.
Work to write
- |b| = < 1: horizontal stretch by a factor of ; b < 0: reflection across the y-axis
- new x = u ÷ (−) = −u, heights unchanged
- vertex of g: (3, −3); axis of symmetry: x = 3
- (0, −2) is fixed because 0 ÷ b = 0
- check: −·3 = −2, so g(3) = f(−2) = −3
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
Stretch a table without inventing values
Use the original f table shown beside this question. Give known values of g(x) = f(x). Can this table determine g(2)?
This asks you to attach each known output to its transformed input and calculate any requested new height.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Double the old input coordinates: 4, 8, 12, 16.Solve x = u by multiplying u by 2.
- Keep outputs 1, 3, 7, 11.Each new input supplies the corresponding known old input to f.
- , which is not supplied.The table contains no output at old input 1; its gaps do not imply a formula.
- Use the displayed stretched g table.
- g(2) cannot be determined from the given table.
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
- Use inside coefficient , giving .The horizontal distance factor is the reciprocal of the inside coefficient: 1 ÷ = 4.
- Solve by multiplying both sides by 4: .This finds the new input that sends old input 3 into F. At X = 12, the inside × 12 is 3.
- Keep the known old height 7, so (3, 7) becomes (12, 7).No outside operation changes the output. The separate function name F distinguishes this illustration from the earlier supplied table.
- Horizontal stretch by 4.
- (3, 7) becomes (12, 7).
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 .
(6, 4) becomes (2, 4).
Show the steps and the answer
- Set .At new input 3, the inside must reach old endpoint input 9.
- Divide by 3: .The coefficient is old input divided by its corresponding new input.
- Write , a horizontal compression by .The width factor is the reciprocal of the inside coefficient.
- Move old point (6, 4) to (2, 4).Divide its input 6 by 3 and keep its output 4.
- b = 3.
- g(x) = f(3x).
- Horizontal compression by .
- (6, 4) becomes (2, 4).
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.
Show the steps and the answer
- Choose .The width factor 4 is the reciprocal of the inside coefficient.
- Write .Replace the old input by one-fourth of the new input.
- Move old points (0, 0), (1, 1), (4, 2) to (0, 0), (4, 1), (16, 2).Divide each old input by , multiplying its coordinate by 4.
- Require , so . Outputs are nonnegative.The positive horizontal scale does not change the direction of the square root's allowed inputs.
- Points: (0, 0), (4, 1), (16, 2).
- Domain: [0, ∞).
- Range: [0, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
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 . 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
Open this lessonLeans on 0Comes back in 0
Leans on
No lesson links recorded.
Comes back in
No lesson links recorded.
1 In plain words
Think of moving a printed map after changing its size on a copier. First you resize it around the original axes. Then you slide it to its new location. Reversing those jobs can resize the slide too, so the order matters. A Sequence of transformations is a set of changes performed in a stated order. The expression a·f(b(x − h)) + k keeps the jobs visible: resize or reflect the horizontal coordinates, slide them, resize or reflect the heights, then lift them. If the inside arrives as 2x − 6, use Factoring to rewrite it as 2(x − 3). That shows the final sideways slide is three, not six.
2 Picture it
Reminder
Reminder: Factoring every inside term, Dividing by a signed fraction, Outside arithmetic order, The square root restriction, Extracting a square factor
- Factoring every inside term. Divide both terms by the same coefficient: 2x − 6 = 2(x − 3). Distributing 2 back into the parentheses recovers 2x − 6.
- Dividing by a signed fraction. For b = , u ÷ b = 2u. For b = −2, 4 ÷ b = −2. The signed division handles width and reflection together.
- Outside arithmetic order. For old height 5 in −2f(x + 1) + 3, calculate −2 × 5 + 3 = −10 + 3 = −7. The final addition follows multiplication.
- The square root restriction. A real square root requires a nonnegative inside. For −2(x + 4) ≥ 0, divide by −2 to find allowed inputs, reverse the comparison, and subtract 4: x ≤ −4. At −4, the inside is 0.
- Extracting a square factor. Keep exact roots: = = 2, because (2 = 8 and 2 is nonnegative.
3 Why
Take an old point (u, v), so f(u) = v. To reproduce its old input inside g, solve b(x − h) = u. Divide by b and add h: x = + h. Then the outside gives a·v + k. Both coordinates follow from the formula. Without factoring, bx + c = u gives x = , so the final shift is −. Vertical order matters too: 2(v + 3) = 2v + 6 differs from 2v + 3. Horizontal and vertical changes remain independent because they act on different coordinates.
4 The rule
For with , the Point rule is (u, v) to .
Factor first; scale or reflect each coordinate before shifting that coordinate.
The same idea, five ways
Resize or reflect each coordinate first, then move it to its final address. Factoring makes the horizontal slide visible.
In g(x) = a·f(b(x − h)) + k, an old point (u, v) moves to horizontal coordinate u ÷ b + h and height a·v + k, with b ≠ 0.
- b(X − h) = u gives X = + h. Y = a·v + k.
- (u, v) becomes ( + h, a·v + k).
- bx + c = b(x + ), so h = −, with b ≠ 0.
- Graph words: scale or reflect horizontally, shift horizontally; scale or reflect vertically, shift vertically.
Resize a printed map around its original axes, then slide the resized map into its final position.
The same idea, other ways
The old square graph first flips downward and doubles its heights. Then its old lowest point at (0, 0) moves to (3, 4). The new graph opens down because the coefficient of its heights is negative.
Horizontal address: divide, then add. Height: multiply, then add. For old point (2, 5) and −2f(x + 1) + 3, these jobs give 2 − 1 = 1 and −2·5 + 3 = −7.
As two address jobs
b(X − h) = u gives X = + h. Y = a·v + k.
Set the inside expression equal to old input u. The equation b(x − h) = u gives x = u ÷ b + h. Once f receives u, it produces old output v, and the remaining outside work produces av + k.
Why it must be true
b(X − h) = u gives X = + h. Y = a·v + k.
Start with old height 1. Double and then add 3: 2·1 + 3 = 5. Add 3 and then double: 2(1 + 3) = 8. The slide is doubled in the second calculation, which is why the order cannot be swapped on the same coordinate.
With an order comparison
b(X − h) = u gives X = + h. Y = a·v + k.
Factor, divide, multiply, then shift. Factoring exposes h. Divide the horizontal coordinate by b; multiply the height by a. Shift each coordinate after its scale. Keep the one-page table handy while learning and rebuild the point rule from its equation.
A memory device
b(X − h) = u gives X = + h. Y = a·v + k.
| Put on the cheat sheet | Coordinate effect or check |
|---|---|
| f(x) + k | (u, v) to (u, v + k) |
| (u, v) to (u + h, v) | |
| (u, v) to (u, −v), reflection across x-axis | |
| (u, v) to (−u, v), reflection across y-axis | |
| a·f(x), a ≠ 0 | Height factor |a|; reflect vertically when a < 0 |
| f(bx), b ≠ 0 | Width factor ; reflect horizontally when b < 0 |
| (u, v) to ( + h, a·v + k) | |
| Final horizontal shift h = − | |
| Even function | Symmetric domain and f(−x) = f(x) |
| Odd function | Symmetric domain and f(−x) = −f(x) |
| Require b(x − h) ≥ 0 | |
| Require b(x − h) ≠ 0 |
Part 1: Factor the inside
Pull the multiplier on x outside the entire parentheses. Like sorting equal bundles, divide every inside term by the same number so the expression keeps its value.
- 2x − 6 = 2(x − 3), because 2·3 = 6.
- The final shift is right 3 when the inside is 2(x − 3).
- In bx + c, b ≠ 0, the final horizontal shift is −.
- If b = 0, the inside no longer varies with x; the usual point rule does not apply.
b = 2, h = 3
new x = old x ÷ 2 + 3
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 2: Move the horizontal coordinate
Recover the old input before thinking about the height. A negative divisor reverses left and right; then the shift carries the already resized coordinate to its final address.
- New horizontal coordinate: X = + h.
- When b < 0, divide with its sign and then add h.
- The alternative unfactored equation bx + c = u gives the same X.
- Do not add h before dividing unless you have correctly adjusted the formula.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 3: Move the vertical coordinate
After the old function gives its height, the outside operations finish the job. Multiply that height, including any sign, and then add the final lift.
- New vertical coordinate: Y = a·v + k.
- If a < 0, reflect vertically and scale by |a| before shifting.
- If a = 0, every permitted input has output k; this is a collapse, not an ordinary stretch.
- The domain of the expression still requires its inner function to be defined.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
Part 4: Build and sketch the whole graph
Choose landmarks from a familiar shape, move them using both coordinate jobs, and keep the original connections. A shifted endpoint or corner gives the graph an anchor.
- The vertex of a·(x − h + k is (h, k) when a ≠ 0.
- Positive a opens the quadratic up; negative a opens it down.
- For a < 0, the largest quadratic height is k, so its range is y ≤ k.
- Horizontal and vertical work can be interleaved, as long as each coordinate keeps its own scale-before-shift order.
Counterexamples
What it is not, and the tempting wrong moves.
Vertex: (3, 4).
Tips and tricks
- Use the displayed landmark or known column as a check before drawing any additional points.
5 How
- Recognize f and its domain, range, and landmarks.
- Factor the entire input into b(x − h). Distribute it back out to verify the factoring.
- Label a, b, h, and k, keeping every sign.
- For each old point (u, v), compute new x = u ÷ b + h.
- Compute new y = a·v + k. Multiply before adding because that is the outside formula's order.
- Move at least three points and any asymptotes or endpoints; draw the transformed shape.
- Find the new domain from b(x − h) belonging to the old domain, and the new range from a·v + k over old range values.
- Substitute a moved point into the original unfactored formula as a second check.
Factor and transform a whole graph or table
- Name the original Function and its available points. Record restrictions before moving the graph so a forbidden input cannot become a supplied value.
- Factor the inside into b(x − h), with b ≠ 0. This reveals the shift after the horizontal scale; 2x − 6 = 2(x − 3) identifies b = 2 and h = 3. Distribute to check the rewrite.
- Solve b(X − h) = u for each old input u. This finds where its old output appears: divide by b and add h to obtain X = + h.
- Compute Y = a·v + k from its matching old output v. This applies the outside scale before the final shift.
- Move landmarks and several other points, or build the transformed table column by column. Keep every old input paired with its own old output.
- Rebuild the Domain from the inner restrictions and the Range from the transformed heights. For −2(x − 3 + 4, all inputs remain allowed and the nonnegative square shows that heights cannot exceed 4; the vertex reaches 4.
- Check using the original expression. For old point (4, 1) and g(x) = f(2x − 6), new input 5 gives g(5) = f(4) = 1, confirming the moved point.
6 Worked example
Worked example
Factor −2x + 8 first, then move five points of a parabola
Let f(x) = − 2x, defined for all real numbers. Its graph is an upward-opening parabola with vertex (2, −2) that passes through the five points (−2, 6), (0, 0), (2, −2), (4, 0) and (6, 6). Let g(x) = −·f(−2x + 8) + 1. (a) Factor the input −2x + 8 into the form b(x − h), and state a, b, h and k. (b) Find the five points on the graph of g that correspond to the five given points of f. (c) Give the vertex of g, say which way its graph opens, and state the domain and range of g. (d) Check one of your new points by substituting it into the original formula g(x) = −·f(−2x + 8) + 1.
Show the steps and the answer
- Recognize f. Complete the square: . So f is an upward-opening parabola with vertex . Its domain is and its range is . Its landmarks are the vertex , the x-intercepts (0, 0) and (4, 0), and the matching pair and (6, 6). It has no asymptotes or endpoints.Every point of g is built from a point of f, so f's points, domain and range are what we move. The leading coefficient is positive, so the vertex is the lowest point and −2 is the smallest output.
- Factor the entire input by pulling out the coefficient of x, sign included: . Distribute it back out to verify: .The Point rule reads h from the form b(x − h), not from the constant term. The shift is 4, not 8. Writing −2(x + 4), or using 8 or −8 as the shift, would send every point to the wrong place. Distributing back out proves the factored input equals the original one.
- Rewrite and match it to : . The Point rule becomes .Every sign changes the picture. a = − reflects across the x-axis and compresses vertically by a factor of . b = −2 reflects across the y-axis and compresses horizontally by a factor of . h = 4 shifts right 4, and k = 1 shifts up 1. Dropping any one sign gives a different graph.
- Compute new for each old x: gives ; gives ; gives ; gives ; gives .The point of g at x uses f's value at u = −2(x − 4). Solving −2(x − 4) = u for x gives x = + 4. So each x is divided by b (reflected and compressed) before h is added. Shifting first would give = −1 instead of 5 for u = −2.
- Compute new for each old y: gives ; gives ; gives ; gives 1; gives .Outside f, the formula multiplies f's output by a and then adds k. So the y-coordinate is reflected and compressed before it is shifted. Adding first would give −·(6 + 1) = − instead of −2.
- Pair the coordinates: ; ; ; ; . A parabola has no asymptotes or endpoints to move. Plot the five new points and draw a downward-opening parabola through them with vertex (3, 2). Its axis of symmetry is , because the old axis moves to .Five points, including the vertex, pin down the parabola. The points come out in reverse left-to-right order because b is negative. The graph opens downward because a is negative, so f's lowest point (2, −2) becomes g's highest point (3, 2).
- Domain: g(x) is defined when lies in f's domain, . Every real x makes a real number, so the domain of g is . Range: the outputs of f satisfy . Multiplying by reverses the inequality, giving . Adding 1 gives . Since v takes every value in , the range of g is .The inputs of g are exactly the x-values that give f an allowed input. The outputs of g are exactly the values a·v + k for outputs v of f. Multiplying by a negative a flips the inequality, so f's minimum −2 becomes g's maximum 2.
- Substitute the moved point into the unfactored formula . The input is , and . The vertex also agrees: , and .The unfactored formula is the definition of g and does not use the Point rule. Getting the same outputs confirms both the factoring and the multiply-then-add order.
Work to write
- −2x + 8 = −2(x − 4); check: −2(x − 4) = −2x + 8
- (0, 0) → (4, 1)
- (4, 0) → (2, 1)
- Vertex (3, 2); the graph opens downward
- Domain of g: (−∞, ∞)
- v ≥ −2, so −v + 1 ≤ 2; range of g: (−∞, 2]
- Check: −2(5) + 8 = −2, f(−2) = 6, −(6) + 1 = −2 ✓
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 3
Transform a complete table
Create the table for g(x) = 2f(3x) + 1. Use the original f table displayed beside this question.
This asks you to attach each known output to its transformed input and calculate any requested new height.
Show the steps and the answer
- Read the displayed original table column by column. Each top input belongs to the output directly below it.The picture supplies the known values used in the following calculations; keep each column paired.
- Divide inputs by 3: 2, 4, 6, 8.3X must equal each old input.
- Double outputs: 20, 28, 30, 34.The outside coefficient 2 stretches the old heights.
- Add 1 to the doubled outputs: 21, 29, 31, 35.The final vertical shift follows the stretch.
- Use the displayed transformed table
- each column records one new input and its corresponding output.
Rung 2 of 3
Stretch, slide left, and lower a graph
The graph of f contains (0, 2) and (2, 0). Move these points to g(x) = f(x + 1) − 3.
This asks you to find the new address or height of the given graph information.
Horizontal stretch by 2, then left 2, then down 3.
(0, 2) becomes (−2, −1).
(2, 0) becomes (2, −3).
Show the steps and the answer
- Factor .Multiplying by 2 returns the original constant 1.
- Use .x + 2 is x − (−2).
- Stretch horizontal coordinates by 2: (0, 2) stays (0, 2), while (2, 0) becomes (4, 0).Divide old inputs by .
- Shift left 2: the points become and (2, 0).Add h = −2 after the horizontal scaling.
- Shift down 3: the points become and .Subtract 3 from the heights after the horizontal work.
- Horizontal stretch by 2, then left 2, then down 3.
- (0, 2) becomes (−2, −1).
- (2, 0) becomes (2, −3).
Rung 3 of 3
Negative inside, negative outside, and exact fractions
Starting from f(x) = , graph g(x) = −3 + 5. Move old points (0, 0), (1, 1), (4, 2), and (8, 2). State its domain and range.
This asks you to find the new address or height of the given graph information.
Show the steps and the answer
- Read , and .x + 4 equals x − (−4), so the factored input already exposes the shift.
- Use and .The point rule divides and shifts the horizontal coordinate, then multiplies and shifts the height.
- Move (0, 0) to . Move (1, 1) to .0 ÷ (−2) − 4 = −4; 1 ÷ (−2) − 4 = − − = −. Heights are 5 and 2.
- Move (4, 2) to and to .4 ÷ (−2) − 4 = −6 and 8 ÷ (−2) − 4 = −8. Apply −3v + 5 to each old height.
- Solve . Dividing by reverses the inequality: , so .The radicand must be nonnegative, and multiplying an inequality by a negative reverses its order.
- The range is .The nonnegative root is multiplied by −3, producing nonpositive values, then raised by 5; unbounded roots give arbitrarily low heights.
- Endpoint: (−4, 5).
- Other points: (−, 2), (−6, −1), (−8, 5 − 6).
- Domain: (−∞, −4].
- Range: (−∞, 5].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write a, b, h, and k beside the factored formula before moving any point. Include each negative sign.
- Use two lines for the point work: new x = old x ÷ b + h, and new y = a·old y + k.
- Factor, divide, multiply, then shift is a memory cue. Keep each coordinate's scaling before its shift; horizontal and vertical work can be done independently.
- Check a moved point in the original unfactored input. This can catch both a factoring error and a reversed transformation order.
- Track a corner, endpoint, or asymptote and more than one other point. A few supplied dots determine those dots' new positions, while a complete sketch also requires the original graph's shape.
7 The trap
Using 6 as the final shift in f(2x − 6), or shifting a height before scaling it. Factor the input and write the two coordinate equations. For a·f(b(x − h)) + k, divide then add h horizontally, and multiply then add k vertically.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.