lecture 8: Operations on functions — Transformations: shifting, squeezing, reflecting, and composing functions
1. Motivation: Why Transform and Compose?
In modeling real‐world phenomena, we often need to tweak basic functions to fit data or combine them to capture complex relationships:
- Audio volume control: stretching or squeezing the waveform.
- Image translation: shifting pixel coordinates.
- Signal inversion: reflecting a waveform.
- Nested processes: feeding the output of one function into another (composition).
2. Transformations of the Graph
A transformation modifies the graph of a “parent” function .
2.1 Shifting
- Vertical shift:
- Up , down .
- Example: moves the parabola up 3 units.
- Horizontal shift:
- Right , left .
- Example: moves right 2 units.
Graphical summary
Transform | Rule | Effect |
---|---|---|
Up | Shift up | |
Right | Shift right |
2.2 Stretching and Squeezing
- Vertical stretch/compress:
- Stretch if , compress if .
- Example: is a vertical stretch of by factor 2.
- Horizontal stretch/compress:
- Compress if , stretch if .
- Example: is horizontally compressed by factor .
2.3 Reflection
- Reflect about the x-axis:
- Flips graph upside down.
- Reflect about the y-axis:
- Mirrors graph left to right.
Example:
Reflect about the y-axis to get , which decays instead of grows.
3. Combining Transformations
Transformations can be chained. Always apply inside-the-function (horizontal) shifts/scales first, then reflections, then outside (vertical) scales/shifts.
Example:
Given
- Inside: → shift left 1, compress horizontally by 1/3.
- Reflect x-axis and stretch vertically by 2.
- Shift up 4.
4. Composition of Functions
Composition feeds one function into another:
- Notation: or .
- Domain: those for which is in the domain of .
Real-world example:
Temperature conversion then rate calculation:
4.1 Decomposing a Function
Given , one composition is:
- Then .
You can often find multiple decompositions by regrouping operations.
Regular Exercises
1. Graphing Transformations
Sketch and then sketch . Label asymptotes and intercepts.
2. Chain of Transformations
Describe the sequence of shifts, stretches, and reflections to go
from to .
3. Composition Practice
If and , find and simplify and . Determine their domains.
4. Transformation Proof
Let .
Prove that performing a horizontal stretch by factor then a shift by is not the same as shifting first then stretching (unless ).
5. Domain Composition
Given and , determine the domain of and , and explain any restrictions.