Transformations of Trig Graphs
Graph any sine or cosine function of the form y = A sin(B(x - C)) + D: what each parameter does, the right order of transformations and the five key points method.
Definition
| Parameter | What it does | Feature |
|---|---|---|
| vertical stretch or compression; also reflects the wave across its midline | amplitude | |
| horizontal compression () or stretch () | period | |
| horizontal shift: right if , left if | phase shift | |
| vertical shift | midline |
Order: stretch first, then shift
The five key points method
- 1.One cycle starts at and ends at .
- 2.Split it into four equal steps: .
- 3.Fill in the y-values. Sine: midline, max, midline, min, midline. Cosine: max, midline, min, midline, max. If , swap max and min.
- 4.Max , min , midline value .
Try it now
Worked Examples
Match the general form
Amplitude and period
Phase shift and midline
Range
Answer: Amplitude , period , phase shift to the right, midline , range .
Common Mistakes
Reading the phase shift of as
Why it's wrong: The shift is the number subtracted from itself, not from . multiplies the whole bracket, so it also squeezes the shift.
Correct: Factor out first: , so the shift is to the right.
Shifting to the right
Why it's wrong: The general form has . Here , so is negative.
Correct: A plus sign inside the bracket means a shift to the left: to the left.
Starting the key points at or stepping by a whole period
Why it's wrong: After a phase shift the cycle no longer starts at , and five points must split ONE period into four equal parts.
Correct: Start at and step by . For period the step is .
Keeping the usual max/min order when
Why it's wrong: A negative reflects the wave across its midline, so every maximum becomes a minimum and the other way round.
Correct: For the pattern is midline, min, midline, max, midline. The amplitude is still .
Interactive Visual
Function graph
y = sin(x)
Challenge 1 of 6
Stretch and lift
Move the sliders until your curve lies exactly on the dashed target curve.
0 of 6 solved
- A: bigger
- B: right
- C: right
- D: bigger
Tap or hover over the graph to read off values.
Function graph
Tap or hover over the graph to read off values.
Tap a name to show or hide its graph.
Table of values
| x | 0.785398 | 1.5708 | 2.35619 | 3.14159 | 3.92699 |
|---|---|---|---|---|---|
| sin(x) | 0.707107 | 1 | 0.707107 | -1.02068 × 10^-11 | -0.707107 |
| 2·sin(2(x − π/4)) + 1 | 1 | 3 | 1 | -1 | 1 |
| Midline y = 1 | 1 | 1 | 1 | 1 | 1 |
Interactive Sandbox
Interactive Grapher
Tap or hover over the graph to read off values.
Try these examples:
2sin(2(x - pi/4)) + 1
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhy It Matters
- Ferris wheels: the radius is the amplitude, the height of the center is the midline, one turn is the period
- Tides: the water depth rises and falls around an average depth about every 12 hours
- Daylight: the length of the day swings around 12 hours with a period of 365 days
- Sound and electricity: amplitude is loudness or voltage, the period sets the pitch or the frequency
Real World Applications
Ferris Wheel Height
The height of a seat on a turning Ferris wheel is a transformed cosine: the center of the wheel gives the midline and the radius gives the amplitude.
Example:
A wheel with radius 20 m whose center is 22 m above the ground turns once every 30 minutes. A seat that starts at the bottom has height meters after minutes, and the period is .
The height of the seat is meters, with in minutes.
How high above the ground is the seat at its highest point (in meters)?
Step 1: Write the mathematical expression
Highest point = midline + amplitude:
Tides in a Harbor
Harbor masters predict the water depth with a sine model whose period is about 12 hours, so ships know when they can enter.
Example:
The depth meters, hours after midnight, has midline 4 m, amplitude 1.5 m and period hours. The depth swings between 2.5 m and 5.5 m.
A large ship needs high tide. The depth is meters, hours after midnight.
At what time (in hours after midnight) is the first high tide after ?
Step 1: Write the mathematical expression
Start of the cycle plus a quarter of the period:
Hours of Daylight
The number of daylight hours over the year follows a sine wave with a period of 365 days. The midline is 12 hours, the day length at the equinoxes.
Example:
In a city in northern Europe, hours, where is the day of the year. Day 80 (around March 21) is the spring equinox, and the day length swings between 8 and 16 hours.
The day length is hours, where is the day of the year.
On which day of the year is daylight the longest? Round to a whole day.
Step 1: Write the mathematical expression
Start of the cycle plus a quarter of the period, rounded:
Key Takeaways
- 1In : is the amplitude, the period, the phase shift and the midline
- 2Stretch first, then shift: inside the bracket before , outside before
- 3Always factor out before reading the phase shift:
- 4 shifts right by , shifts left by
- 5Five key points: start at , step . Sine: midline, max, midline, min, midline; cosine: max, midline, min, midline, max; swaps max and min
- 6The domain is all real numbers and the range is
Frequently Asked Questions
Glossary
- Amplitude
- Distance from the midline to a maximum or minimum:
- Period
- Horizontal length of one full cycle:
- Phase shift
- Horizontal shift of the graph: in (right if positive, left if negative)
- Midline
- The horizontal line halfway between the maximum and the minimum
- Key points
- The five points that split one cycle into four equal steps: start, quarter, half, three quarters, end
- Reflection
- Flipping the wave across its midline, caused by a negative
Formula Card
General form
Same letters for cosine: $y = A\cos(B(x - C)) + D$
Amplitude
Vertical stretch; $A < 0$ also reflects the wave
Period
Length of one cycle
Phase shift and midline
Right if $C > 0$, left if $C < 0$; up if $D > 0$, down if $D < 0$
Key point step
Start at $x = C$ and add the step four times
Range
From the minimum to the maximum