DoAssignment.ca

D2.5 · Investigate transformations of sinusoidal functions

Learn to investigate transformations of sinusoidal functions through clear examples and targeted practice.

Ontario Grade 11 Mathematics

Trigonometric Functions

Stretching, Reflecting, and Shifting Sine and Cosine Graphs

You already know that the graphs of y=sin⁡xy = \sin x and y=cos⁡xy = \cos x produce smooth, repeating wave shapes. These base graphs are useful, but real-world periodic patterns such as ocean tides, sound waves, and seasonal temperature changes rarely match the plain base graph exactly. To model those situations, you need to stretch, compress, flip, and slide the base graph. This lesson shows you exactly how to do that using four parameters. By the end, you will be able to look at an equation and immediately picture its graph, or look at a graph and write its equation.

What you will learn

Prerequisite Bridge: The Base Sinusoidal Graphs

Before transforming anything, make sure you are confident with the two base graphs. The function y=sin⁡xy = \sin x starts at the origin (0∘,0)(0^{\circ}, 0), rises to a maximum of 11 at x=90∘x = 90^{\circ}, returns to 00 at x=180∘x = 180^{\circ}, falls to a minimum of −1-1 at x=270∘x = 270^{\circ}, and completes one full cycle back at x=360∘x = 360^{\circ}. The function y=cos⁡xy = \cos x follows the same wave shape but starts at its maximum: it equals 11 at x=0∘x = 0^{\circ}, drops to 00 at x=90∘x = 90^{\circ}, reaches −1-1 at x=180∘x = 180^{\circ}, and returns to 11 at x=360∘x = 360^{\circ}.
Two key measurements describe these base graphs. The amplitude is the distance from the midline (the horizontal centre of the wave) to either the maximum or the minimum. For both base graphs the amplitude is 11. The period is the horizontal length of one complete cycle. For both base graphs the period is 360∘360^{\circ}. Every transformation you apply in this lesson will change one or more of these measurements or shift the graph from its original position.

The Four Parameters: What Each One Does

The general transformed sinusoidal function is written as y=asin⁡(k(x−d))+cy = a\sin(k(x - d)) + c or y=acos⁡(k(x−d))+cy = a\cos(k(x - d)) + c. The four letters aa, kk, dd, and cc are called parameters. Each one controls a different feature of the graph, and you can read those features directly from the equation once you know the rules.
The parameter aa controls the amplitude. The amplitude equals |a|, which is the absolute value of aa. If ∣a∣>1|a| > 1, the wave is vertically stretched, meaning it reaches higher and lower than the base graph. If 0<∣a∣<10 < |a| < 1, the wave is vertically compressed. When aa is negative, the graph is also reflected across the midline, meaning the peaks and valleys swap positions. For example, a=−3a = -3 gives an amplitude of 33 and a reflection.
The parameter kk controls the period. The period of the transformed graph is calculated as 360∘∣k∣\frac{360^{\circ}}{|k|}. When ∣k∣>1|k| > 1, the cycle is shorter, giving a horizontal compression; when 0<∣k∣<10 < |k| < 1, the cycle is longer, giving a horizontal stretch. For example, k=2k = 2 gives a period of 180∘180^{\circ}, and k=12k = \frac{1}{2} gives a period of 720∘720^{\circ}.
The parameter dd controls the phase shift, which is a horizontal translation. The graph slides dd degrees to the right when d>0d > 0 and to the left when d<0d < 0. Pay close attention to the sign: the expression inside the brackets is (x−d)(x - d), so y=sin⁡(x−50∘)y = \sin(x - 50^{\circ}) shifts the graph 50∘50^{\circ} to the right, not to the left.
The parameter cc controls the vertical shift, also called the vertical translation. It moves the entire midline up by cc units when c>0c > 0 and down when c<0c < 0. The midline of the transformed graph is the horizontal line y=cy = c. The maximum value of the function is c+∣a∣c + |a| and the minimum value is c−∣a∣c - |a|.
y=asin⁡(k(x−d))+cy = a\sin(k(x - d)) + c

Reading the Key Features from an Equation

A reliable strategy is to extract each parameter one at a time and record the four key features before you draw anything. Start with aa to find the amplitude and whether there is a reflection. Then use kk to calculate the period. Next, read dd to find the phase shift. Finally, read cc for the vertical shift and midline.
Consider the function y=3sin⁡(2(x−40∘))+1y = 3\sin(2(x - 40^{\circ})) + 1. Here a=3a = 3, so the amplitude is 33 and there is no reflection. Since k=2k = 2, the period is 360∘2=180∘\frac{360^{\circ}}{2} = 180^{\circ}. The phase shift is 40∘40^{\circ} to the right because d=40∘d = 40^{\circ}. The vertical shift is c=1c = 1, so the midline is y=1y = 1, the maximum is 1+3=41 + 3 = 4, and the minimum is 1−3=−21 - 3 = -2.
It is important to factor the bracket correctly before reading dd. If the equation is written as y=sin⁡(2x−80∘)y = \sin(2x - 80^{\circ}), you must factor out the kk value first: y=sin⁡(2(x−40∘))y = \sin(2(x - 40^{\circ})). Now you can clearly see d=40∘d = 40^{\circ}. Failing to factor first is one of the most common errors in this topic.
Period=360∘∣k∣\text{Period} = \frac{360^{\circ}}{|k|}

Sketching the Transformed Graph Step by Step

Once you have the four key features, sketching the graph is a structured process. The goal is to plot one complete cycle accurately and then extend it if needed.
Step 1 is to draw the midline as a dashed horizontal line at y=cy = c. This is your new reference line and it replaces y=0y = 0 from the base graph. Step 2 is to mark the maximum at c+∣a∣c + |a| and the minimum at c−∣a∣c - |a| on the vertical axis. Step 3 is to locate where the cycle starts. For a sine function, the cycle starts at the phase shift x=dx = d, where the function crosses the midline going upward, assuming a>0a > 0. For a cosine function, the cycle starts at x=dx = d at the maximum, assuming a>0a > 0. Step 4 is to divide the period into four equal quarters. These quarter-period points mark the five key points of one cycle: start at midline, peak at max, middle at midline, valley at min, end at midline for sine; or peak, midline going down, valley, midline going up, peak for cosine. Step 5 is to plot the five key points and draw a smooth wave through them.
For a reflected graph, when a<0a < 0, simply swap the peak and valley: the first quarter dips to the minimum instead of rising to the maximum. The shape is otherwise identical.

Writing an Equation from a Graph or Description

Sometimes you are given a graph or a word description and must produce the equation. Work backwards through the four parameters. First, find the maximum and minimum values. The amplitude is half the total vertical distance: ∣a∣=max−min2|a| = \frac{\text{max} - \text{min}}{2}. The midline, and therefore cc, is the average: c=max+min2c = \frac{\text{max} + \text{min}}{2}.
Next, measure the period from the graph, which is the horizontal length of one complete cycle, and solve for kk using k=360∘periodk = \frac{360^{\circ}}{\text{period}}. Then identify the phase shift by locating where the characteristic starting point of your chosen function type appears (midline-crossing for sine, maximum for cosine), and set that equal to dd. Finally, decide whether aa is positive or negative by checking whether the graph goes up or down from its starting point.
Choosing between a sine model and a cosine model is often a matter of convenience. If the graph begins at the midline going upward, a sine model with a>0a > 0 is the most natural choice. If it begins at the maximum, a cosine model with a>0a > 0 is simpler. Either function can describe any sinusoidal graph, and the phase shift will adjust accordingly.
∣a∣=max−min2|a| = \frac{\text{max} - \text{min}}{2}

Summary of the Four Parameters

ParameterWhat It ChangesFeature It ControlsExample ValueEffect
aaVertical scaleAmplitudea=3a = 3Amplitude equals 33; wave is taller
aa negativeVertical scale and flipAmplitude and reflectiona=−3a = -3Amplitude equals 33; graph flipped
kkHorizontal scalePeriodk=2k = 2Period equals 180∘180^{\circ}; faster cycle
ddHorizontal positionPhase shiftd=45∘d = 45^{\circ}Graph shifts 45∘45^{\circ} to the right
ccVertical positionMidlinec=−1c = -1Midline at y=−1y = -1; graph shifts down

Worked example

Example 1: Identifying Features and Sketching from an Equation

For the function y=−2cos⁡(3(x−30∘))+5y = -2\cos(3(x - 30^{\circ})) + 5, state the amplitude, period, phase shift, vertical shift, midline, maximum value, and minimum value. Then describe the five key points of one complete cycle starting at x=30∘x = 30^{\circ}.
  1. Read the parameter a
    The value of aa is −2-2. The amplitude is ∣a∣=∣−2∣=2|a| = |-2| = 2. Because aa is negative, the graph is reflected, so peaks become valleys and valleys become peaks compared to a standard cosine.
    ∣a∣=2|a| = 2
  2. Calculate the period using k
    The value of kk is 33. Substitute into the period formula: period equals 360∘∣k∣=360∘3=120∘\frac{360^{\circ}}{|k|} = \frac{360^{\circ}}{3} = 120^{\circ}. One complete cycle spans 120∘120^{\circ}.
    360∘3=120∘\frac{360^{\circ}}{3} = 120^{\circ}
  3. Read the phase shift d
    The bracket is already factored as (x−30∘)(x - 30^{\circ}), so d=30∘d = 30^{\circ}. The graph is shifted 30∘30^{\circ} to the right.
    d=30∘d = 30^{\circ}
  4. Read the vertical shift c and find the midline
    The value of cc is 55, so the midline is the horizontal line y=5y = 5. Every output of this function is measured from y=5y = 5, not from y=0y = 0.
    y=5y = 5
  5. Find the maximum and minimum values
    Maximum value equals c+∣a∣=5+2=7c + |a| = 5 + 2 = 7. Minimum value equals c−∣a∣=5−2=3c - |a| = 5 - 2 = 3. Because of the reflection where a<0a < 0, the graph starts at the minimum rather than the maximum at x=dx = d.
    max=7, min=3\text{max} = 7, \ \text{min} = 3
  6. List the five key points across one cycle
    Each quarter of the period is 120∘÷4=30∘120^{\circ} \div 4 = 30^{\circ}. For a reflected cosine where a<0a < 0, the cycle starts at the minimum, rises through the midline, reaches the maximum, falls through the midline, and returns to the minimum. Starting at x=30∘x = 30^{\circ}: point 1 is (30∘,3)(30^{\circ}, 3) at the minimum; point 2 is (60∘,5)(60^{\circ}, 5) at the midline; point 3 is (90∘,7)(90^{\circ}, 7) at the maximum; point 4 is (120∘,5)(120^{\circ}, 5) at the midline; point 5 is (150∘,3)(150^{\circ}, 3) back at the minimum, completing one cycle.
Answer: Amplitude equals 22; period equals 120∘120^{\circ}; phase shift is 30∘30^{\circ} to the right; midline is y=5y = 5; maximum is 77; minimum is 33. Key points: (30∘,3)(30^{\circ}, 3), (60∘,5)(60^{\circ}, 5), (90∘,7)(90^{\circ}, 7), (120∘,5)(120^{\circ}, 5), (150∘,3)(150^{\circ}, 3).
Check: Check the period: the cycle runs from x=30∘x = 30^{\circ} to x=150∘x = 150^{\circ}, a span of 150∘−30∘=120∘150^{\circ} - 30^{\circ} = 120^{\circ}. This matches 360∘3=120∘\frac{360^{\circ}}{3} = 120^{\circ}. Check the maximum: 5+2=75 + 2 = 7. Check the minimum: 5−2=35 - 2 = 3. The reflected cosine correctly dips to the minimum first at x=30∘x = 30^{\circ}. All values are consistent.

Worked example

Example 2: Writing an Equation from a Description

A sinusoidal function has a maximum value of 1111 and a minimum value of 33. It completes one full cycle every 240∘240^{\circ}. The first maximum after x=0∘x = 0^{\circ} occurs at x=20∘x = 20^{\circ}. Write an equation for this function in the form y=acos⁡(k(x−d))+cy = a\cos(k(x - d)) + c.
  1. Calculate the amplitude
    The amplitude is half the total vertical range. Subtract the minimum from the maximum and divide by two: ∣a∣=11−32=82=4|a| = \frac{11 - 3}{2} = \frac{8}{2} = 4. The graph rises and falls by 44 units from the midline.
    ∣a∣=11−32=4|a| = \frac{11 - 3}{2} = 4
  2. Find the midline and the value of c
    The midline sits exactly halfway between the maximum and minimum. Average the two values: c=11+32=142=7c = \frac{11 + 3}{2} = \frac{14}{2} = 7. The midline is y=7y = 7.
    c=11+32=7c = \frac{11 + 3}{2} = 7
  3. Find k from the period
    The period is given as 240∘240^{\circ}. Rearrange the period formula to solve for kk: k=360∘period=360∘240∘=1.5k = \frac{360^{\circ}}{\text{period}} = \frac{360^{\circ}}{240^{\circ}} = 1.5. So k=32k = \frac{3}{2}.
    k=360∘240∘=32k = \frac{360^{\circ}}{240^{\circ}} = \frac{3}{2}
  4. Determine the phase shift d
    A cosine function with a>0a > 0 starts each cycle at its maximum. The first maximum occurs at x=20∘x = 20^{\circ}, so the phase shift is d=20∘d = 20^{\circ}. The graph is shifted 20∘20^{\circ} to the right.
    d=20∘d = 20^{\circ}
  5. Determine the sign of a
    Because the problem asks for a cosine model and the function begins at its maximum, which is the natural start for y=cos⁡xy = \cos x with a>0a > 0, use a=+4a = +4. No reflection is needed.
    a=4a = 4
  6. Write the final equation
    Substitute a=4a = 4, k=32k = \frac{3}{2}, d=20∘d = 20^{\circ}, and c=7c = 7 into the general form y=acos⁡(k(x−d))+cy = a\cos(k(x - d)) + c.
    y=4cos⁡(32(x−20∘))+7y = 4\cos\left(\frac{3}{2}(x - 20^{\circ})\right) + 7
Answer: y=4cos⁡(32(x−20∘))+7y = 4\cos\left(\frac{3}{2}(x - 20^{\circ})\right) + 7
Check: Verify at x=20∘x = 20^{\circ}: y=4cos⁡(32(20∘−20∘))+7=4cos⁡(0∘)+7=4(1)+7=11y = 4\cos\left(\frac{3}{2}(20^{\circ} - 20^{\circ})\right) + 7 = 4\cos(0^{\circ}) + 7 = 4(1) + 7 = 11. This matches the stated maximum of 1111. Check the period: at x=20∘+240∘=260∘x = 20^{\circ} + 240^{\circ} = 260^{\circ}, the cosine argument is 32(260∘−20∘)=32(240∘)=360∘\frac{3}{2}(260^{\circ} - 20^{\circ}) = \frac{3}{2}(240^{\circ}) = 360^{\circ}, and cos⁡(360∘)=1\cos(360^{\circ}) = 1, giving y=11y = 11 again, confirming one full cycle. Check minimum: c−∣a∣=7−4=3c - |a| = 7 - 4 = 3. All checks pass.

Common mistakes and how to avoid them

Reading the phase shift directly from y=asin⁡(kx−b)+cy = a\sin(kx - b) + c without factoring, and concluding the shift is bb degrees.
Correction: Always factor out kk first to get y=asin⁡(k(x−d))+cy = a\sin(k(x - d)) + c. The phase shift is d=bkd = \frac{b}{k}, not bb.
Confusing the sign of dd: seeing (x−40∘)(x - 40^{\circ}) and thinking the graph shifts left.
Correction: The form (x−d)(x - d) shifts the graph to the right when d>0d > 0. Think of it as the starting xx-value of the cycle.
Using the amplitude as the maximum value, forgetting to add the vertical shift cc.
Correction: The maximum value is c+∣a∣c + |a| and the minimum is c−∣a∣c - |a|. The amplitude is just the distance from the midline to the peak, not the peak's actual height.
Forgetting to take the absolute value of aa when a negative aa is given, and reporting a negative amplitude.
Correction: Amplitude is always a positive number. Amplitude equals |a|. The negative sign tells you about reflection, not about the size of the wave.
Dividing 360∘360^{\circ} by the period to find kk but accidentally dividing the period by 360∘360^{\circ} instead.
Correction: The correct formula is k=360∘periodk = \frac{360^{\circ}}{\text{period}}. A longer period means a smaller kk, which makes sense because the wave stretches out horizontally.

Lesson summary

Check your understanding

Question 1

What is the amplitude and period of y=5sin⁡(4(x−15∘))−2y = 5\sin(4(x - 15^{\circ})) - 2?
  1. Amplitude equals 55, period equals 90∘90^{\circ}
  2. Amplitude equals 55, period equals 4∘4^{\circ}
  3. Amplitude equals −5-5, period equals 90∘90^{\circ}
  4. Amplitude equals 55, period equals 1440∘1440^{\circ}
Show answer and explanation
Amplitude equals 55, period equals 90∘90^{\circ}
The amplitude is ∣a∣=∣5∣=5|a| = |5| = 5. The period is 360∘∣k∣=360∘4=90∘\frac{360^{\circ}}{|k|} = \frac{360^{\circ}}{4} = 90^{\circ}. The value c=−2c = -2 affects the midline, not the amplitude, and k=4k = 4 goes in the denominator of the period formula.

Question 2

The equation y=sin⁡(2x−60∘)y = \sin(2x - 60^{\circ}) is written without factoring. What is the correct phase shift after factoring?
  1. 60∘60^{\circ} to the right
  2. 30∘30^{\circ} to the right
  3. 60∘60^{\circ} to the left
  4. 120∘120^{\circ} to the right
Show answer and explanation
30∘30^{\circ} to the right
Factor out k=2k = 2: y=sin⁡(2(x−30∘))y = \sin(2(x - 30^{\circ})). Now d=30∘d = 30^{\circ}, so the phase shift is 30∘30^{\circ} to the right. Reading 60∘60^{\circ} directly without factoring is the classic error this question targets.

Question 3

A sinusoidal function has a maximum of 99 and a minimum of 11. What are its amplitude and midline?
  1. Amplitude equals 99, midline y=1y = 1
  2. Amplitude equals 44, midline y=5y = 5
  3. Amplitude equals 88, midline y=5y = 5
  4. Amplitude equals 44, midline y=4y = 4
Show answer and explanation
Amplitude equals 44, midline y=5y = 5
Amplitude equals 9−12=82=4\frac{9 - 1}{2} = \frac{8}{2} = 4. Midline equals 9+12=102=5\frac{9 + 1}{2} = \frac{10}{2} = 5. The amplitude is the half-range, not the full range, and the midline is the average of max and min.

Question 4

Which equation represents a cosine graph with amplitude 66, period 180∘180^{\circ}, phase shift 0∘0^{\circ}, and a midline at y=−3y = -3?
  1. y=6cos⁡(2x)+3y = 6\cos(2x) + 3
  2. y=6cos⁡(2x)−3y = 6\cos(2x) - 3
  3. y=6cos⁡(180x)−3y = 6\cos(180x) - 3
  4. y=3cos⁡(2x)−6y = 3\cos(2x) - 6
Show answer and explanation
y=6cos⁡(2x)−3y = 6\cos(2x) - 3
Amplitude equals 66 means a=6a = 6. Period equals 180∘180^{\circ} gives k=360∘180∘=2k = \frac{360^{\circ}}{180^{\circ}} = 2. No phase shift means d=0∘d = 0^{\circ}. Midline at y=−3y = -3 means c=−3c = -3. Substituting gives y=6cos⁡(2(x−0∘))+(−3)=6cos⁡(2x)−3y = 6\cos(2(x - 0^{\circ})) + (-3) = 6\cos(2x) - 3.

Continue through MCR3U

View the complete Ontario Grade 11 Mathematics learning path

About this lesson

Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 11 Mathematics (MCR3U), expectation D2.5. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question