Build a line by changing the identity function
Picture a flexible drawing of a ramp. You can make every height twice as large, flatten every height to half its size, turn the drawing upside down, or lift the whole drawing upward. Those changes are transformations. Start with the identity function, f(x) = x, whose output repeats its input. To make f(x) = mx + b, first multiply each height by m, then add b to that new height. Multiplying changes the slant. Adding lifts or lowers the entire line without changing the slant. When m is negative, multiplying also puts each height on the opposite side of the horizontal axis. The order matters because lifting before multiplying would multiply the lift too.
- Absolute-value bars. |−3| = 3, |3| = 3 and |0| = 0. Say absolute value of the number; the bars ask for distance from 0.
- Order of operations. × 2 − 3 = 1 − 3 = −2; multiply before subtracting.
- Distribution. 2(x − 3) = 2x − 6 because 2 multiplies both terms.
- Absolute value. |−| = measures size without sign.
- Coordinate pairs. Changing (2, 3) to (2, 6) changes height only.
- Multiplying signed numbers. −2 × (−2) = 4; two negative factors give a positive product.
Say: multiply the old height, then move it up or down.
The line y = mx + b is a transformed copy of the identity graph.
- f(x) = x
- g(x) = mf(x) + b
- g(x) = mx + b
- (x, x) becomes (x, mx + b)
Resize a ramp drawing's heights, turn it over if needed, then slide the drawing.
At input 2, the identity output is 2. Multiplication by makes it 1. Subtracting 3 makes it −2. The final point is (2, −2).
The line y = x is flatter than y = x. Moving that whole flatter line down 3 gives y = x − 3; its slope remains .
Input 0 is a fast check: multiply 0 by any m, then add b, and the output is b. If your graph starts somewhere else, the stated operations were not followed.
.1Vertical stretch
Picture pulling a drawing taller while keeping its width fixed. A vertical stretch multiplies every height by the same positive factor greater than 1. Each nonzero height moves farther from the x-axis. A height below the axis stays below during this positive multiplication, but its distance from the axis grows.
- Rule: Multiplication by a positive factor a > 1 stretches heights vertically.
- Rule: In y = mx, |m| > 1 includes a vertical stretch; if m < 0, reflection also occurs.
- Rule: |m| = 1 preserves height size. Multiplication by 0 sends all heights to 0, after which adding b gives y = b.
- Absolute value. |−3| = 3 is the distance of −3 from 0, with no direction sign.
Say: multiply every height by the same size greater than 1.
A vertical stretch enlarges output distances from the x-axis while keeping inputs fixed.
- g(x) = af(x), a > 1
- (x, y) becomes (x, ay)
- |−2| = 2
A copier changes the drawing's height while its width stays fixed.
You need to transform y = x into y = 2x and show what happens to a point.
- The old point at input 3 is (3, 3).The identity output equals its input.
- Multiply the height by 2: 2 × 3 = 6, so the new point is (3, 6).A vertical stretch changes the second coordinate only.
- At input −3 the old point is (−3, −3). Multiply its height by 2: (−3, −3) becomes (−3, −6).A positive stretch preserves which side of the axis the point occupies while doubling its distance from the axis.
- y = 2x.
- The point (3, 3) becomes (3, 6).
- The point (−3, −3) becomes (−3, −6).
- Tip: A size above 1 spreads heights away from the axis; a size between 0 and 1 pulls them closer.
.2Vertical compression
Picture pressing a drawing shorter while leaving its width alone. A vertical compression multiplies each height by a positive factor between 0 and 1. Heights move toward the x-axis without crossing it. Half of a height of 2 is 1; half of a height of −6 is −3. Both points become closer to zero.
- Rule: Multiplication by 0 < a < 1 compresses heights vertically.
- Rule: In y = mx, 0 < |m| < 1 includes a compression; a negative m also reflects.
- Rule: Factor 0 is not an ordinary compression: it collapses every output to 0.
- Fraction multiplication. × (−6) = −3, half of the signed amount.
Say: take the same fractional share of every height.
A vertical compression shrinks output distances from the x-axis without changing inputs.
- g(x) = af(x), 0 < a < 1
- (x, y) becomes (x, ay)
Press a drawing shorter without changing its width.
You need to transform y = x into y = x and show the effect on positive and negative heights.
- At input 2, the old height is 2. Multiply by : (2, 2) becomes (2, 1).The input stays fixed while the output becomes half its old size.
- At input −6, the old height is −6. Multiply by : (−6, −6) becomes (−6, −3).Positive multiplication preserves the sign, while reducing distance from zero.
- The new formula is y = x. Plug in both inputs: × 2 = 1 and × (−6) = −3.The transformed points must obey the new output rule.
- New rule: y = x.
- (2, 2) becomes (2, 1).
- (−6, −6) becomes (−6, −3).
- Tip: Between 0 and 1 means a share smaller than the whole, so distances shrink.
.3Reflection across the x-axis
Think of the horizontal axis as a mirror lying on a table. A vertical reflection moves a point the same distance to the opposite side of that mirror. The across coordinate stays fixed. Multiplication by a negative number includes this turn as well as any stretch or compression.
- Rule: A vertical reflection sends (x, y) to (x, −y).
- Rule: In y = mx + b, m < 0 reflects the identity graph before the shift.
- Negative multiplication. −2 × (−3) = 6 because reversing a backward direction makes it forward.
Say: keep the across position and reverse the height's sign.
A vertical reflection exchanges above and below the x-axis.
- (x, y) becomes (x, −y)
- y = −f(x)
A horizontal mirror puts a point equally far on the opposite side, exchanging above and below.
You need to reflect y = x across the x-axis. Keep each input and reverse only its height.
- At input 2 the identity gives (2, 2). Keep x = 2 and change y = 2 to −2, making (2, −2).A reflection across the horizontal axis changes above to below at the same distance.
- At input −2 the old point is (−2, −2). Its reflection is (−2, 2).A point starting below the axis moves equally far above it; the input remains −2.
- The new rule is y = −x. Draw it through (0, 0) and (2, −2).Every old identity output x has been multiplied by −1, and two distinct points locate the resulting line.
- Reflected rule: y = −x.
- (2, 2) becomes (2, −2).
- (−2, −2) becomes (−2, 2).
- Tip: The axis named in a reflection is the mirror. Across the x-axis, x stays fixed.
.4Vertical shift
Think of lifting the entire ramp drawing without bending it. A vertical shift adds the same amount to every height. The difference between any two heights stays the same, so the slope stays the same.
- Rule: Adding b sends (x, y) to (x, y + b).
- Rule: b > 0 shifts up; b < 0 shifts down; b = 0 makes no vertical shift.
- Signed addition. 1 + (−3) = −2 means move three downward from 1.
Say: move every height by the same signed amount.
A vertical shift changes the intercept while preserving slope.
- g(x) = f(x) + b
- (x, y) becomes (x, y + b)
Lift a straight board without tilting it.
You need to move y = x down 3. Also shift y = 2x − 5 up 4.
- Subtract 3 from its output: y = x − 3.Down means a negative change to each height.
- At x = 2 the old height was 1; the new height is 1 − 3 = −2.The input stays 2 while every output shifts equally.
- For the upward case, add 4 outside the old rule: y = (2x − 5) + 4 = 2x − 1.The same addition acts on every output, leaving the coefficient of x unchanged.
- At input 1 the old height is 2 × 1 − 5 = −3. The moved height is −3 + 4 = 1.A shift may carry a point across the axis; it adds the same 4 regardless of the height's sign.
- y = x − 3.
- The point (2, 1) becomes (2, −2).
- Upward case: y = 2x − 1.
- The point (1, −3) becomes (1, 1).
- Tip: Outside addition moves the whole graph, so it does not change rise over run.
.5A note on left and right shifts
You can slide a graph sideways too. When you move a point right h units, its new input address is the old input plus h. To use that new address in the old rule, subtract h first. This section's standard method needs vertical changes, but the source also mentions sideways changes.
- Rule: g(x) = f(x − h) shifts the old graph right h units when h > 0; h < 0 shifts it left.
- Rule: For a line, m(x − h) + b = mx + (b − mh), so a horizontal shift can also be described with a new vertical intercept.
- Substitution. If f(u) = u, then f(x − 2) = x − 2; the whole new input replaces u.
Say: move each address right, then undo that move when reading the old rule.
Subtracting a positive amount inside the input shifts right; adding a positive amount shifts left.
- g(x) = f(x − h)
- (x, y) becomes (x + h, y)
A relocated address is two blocks farther right, so subtract two to find its old address.
You need to describe g(x) = f(x − 2) when f(x) = x. Then move f(x) = 2x + 5 left 3 and find its new rule.
- Replace the old input by x − 2: g(x) = x − 2.The identity rule outputs whichever input it receives.
- At the moved address x = 2, g(2) = 2 − 2 = 0.This plugs the new address back in to confirm the point moved from (0, 0) to (2, 0).
- Moving left 3 uses h = −3, so x − h = x − (−3) = x + 3. Write g(x) = f(x + 3).The new address must be increased by 3 to recover its old address.
- Replace the whole input in 2x + 5: g(x) = 2(x + 3) + 5.The factor 2 acts on the entire substituted input.
- Distribute: g(x) = 2x + 6 + 5 = 2x + 11.Both parts of x + 3 are multiplied before the outside addition.
- The old point at x = 0 is (0, 5). Moving it left 3 gives (−3, 5). Substitute: g(−3) = −6 + 11 = 5.Plugging the moved address into the new rule verifies the shift direction.
- A shift right 2.
- For the identity line this also equals a shift down 2.
- Left-shift case: g(x) = 2x + 11.
- The old point (0, 5) becomes (−3, 5).
- Tip: Verify an old point at its moved address when an inside sign feels backward.
- 1. Sketch the identity function y = x using (0, 0) and (1, 1).
- 2. Read |m|, the size of m without its sign, to decide whether heights stretch or compress.
- 3. If m < 0, reflect the heights across the x-axis as part of that multiplication.
- 4. Add b to every new height. Positive b moves up; negative b moves down.
- 5. Verify a point in the final formula. Multiplication must occur before this stated shift.
Strategy: use transformations in formula order
- Start with y = x.
- Multiply its heights by m, interpreting size and sign separately.
- Add b to the new heights.
- Substitute one input in the final formula and compare.
You need to graph f(x) = x − 3 by changing y = x.
- Begin with y = x and its point (2, 2).The identity graph repeats the input as output.
- Multiply the height by : (2, 2) becomes (2, 1).The positive factor between 0 and 1 compresses vertically without reflecting.
- Subtract 3 from that height: (2, 1) becomes (2, −2).The outside term −3 shifts the already compressed graph down.
- The origin similarly becomes (0, −3). Draw the line through (0, −3) and (2, −2).Two transformed points identify the final straight line.
- Graph: y = x − 3.
- Transformations: compress by , then shift down 3.
You need to make y = 3x from y = x.
- Multiply every old output by 3; (1, 1) becomes (1, 3).The size 3 is greater than 1, so it stretches vertically.
- Keep (0, 0), and draw through (0, 0) and (1, 3).Multiplying height 0 by 3 keeps it 0.
You need to make y = x from y = x.
- Multiply each height by ; (3, 3) becomes (3, 1).A factor between 0 and 1 pulls each height toward the x-axis.
- Draw through (0, 0) and (3, 1).The horizontal input positions stay unchanged.
You need to make y = x − 3 and keep the order correct.
- Compress (2, 2) to (2, 1).Multiplication comes first in the final formula.
- Move it down 3 to (2, −2), and move the origin to (0, −3).The same shift is added to each compressed output.
You need to make y = −2x + 3 from the identity line.
- Multiply the height 2 at input 2 by −2 to obtain −4.The negative sign reflects and the size 2 stretches.
- Add 3 to obtain −1, so the final point is (2, −1).The upward shift comes after multiplying.
- The origin becomes (0, 3); draw the line through both final points.The point at input 0 checks the intercept independently.
- Tip: Memory cue: multiply, then move. That is the order used to evaluate mx + b.
- Tip: Use input 0 to catch an accidentally multiplied shift.
- Understand, then rebuild it when needed: the transformation description follows the equation's arithmetic; you do not need to memorize each graph.