DoAssignment.ca

B2.5 · Sketch transformed sine and cosine functions

Learn to sketch transformed sine and cosine functions through clear examples and targeted practice.

Ontario Grade 12 Mathematics

Trigonometric Functions

Use key points to show changes in height, period, and horizontal position

Sine and cosine graphs repeat in smooth cycles. Transformations change a cycle’s height, width, or position. To sketch a transformed graph, first identify those changes. Then mark five key points across one cycle and join them with a smooth curve. This lesson uses radians. In radians, the basic sine and cosine functions each have period 2π2\pi.

What you will learn

1. Prerequisite bridge: the basic cycles

A cycle is one complete repeating pattern. For y=sin⁡xy=\sin x, one cycle runs from x=0x=0 to x=2πx=2\pi. The graph starts at 00, rises to 11, returns to 00, falls to −1-1, and returns to 00.
For y=cos⁡xy=\cos x, one cycle also runs from x=0x=0 to x=2πx=2\pi. It starts at 11, falls to 00, reaches −1-1, rises to 00, and returns to 11. These familiar points are useful anchors for sketching.
The amplitude is the distance from the graph’s middle level to its highest or lowest value. The period is the horizontal length of one cycle. The midline is the horizontal line halfway between the maximum and minimum values.
period=2π\text{period}=2\pi

2. Read the transformations

A useful form for a transformed sine or cosine function is 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 same features can be read from either form.
The number aa changes the vertical size. The amplitude is |a|, where |a| means the positive distance represented by aa. If aa is negative, the graph is reflected across its midline: its usual high and low points switch roles.
The number kk changes the period. For k>0k>0, the period is 2πk\frac{2\pi}{k}. A larger kk makes a cycle shorter; a positive kk less than 11 makes it longer.
The number dd gives the horizontal shift. The expression x−dx-d shifts the graph right by dd when dd is positive. If dd is negative, it shifts the graph left. The number cc gives the vertical shift and the midline is y=cy=c.
The maximum and minimum values can help check the vertical placement. They are c+∣a∣c+|a| and c−∣a∣c-|a|. The curve stays between these values.
y=asin⁡(k(x−d))+cy=a\sin(k(x-d))+c

3. Build a sketch from five points

A reliable sketch starts by finding one full cycle. For a sine function in the stated form, begin at x=dx=d. Divide the period into four equal intervals. The five xx-coordinates are dd, d+P4d+\frac{P}{4}, d+P2d+\frac{P}{2}, d+3P4d+\frac{3P}{4}, and d+Pd+P, where PP is the period.
At those points, use the basic sine pattern 0,1,0,−1,00,1,0,-1,0, multiplied by aa and shifted vertically by cc. If aa is negative, multiplication reverses the pattern. For cosine, begin with the pattern 1,0,−1,0,11,0,-1,0,1 instead.
Mark the midline and the maximum and minimum levels before drawing. Plot the five points in order. Join them with one smooth wave; do not connect them using straight line segments. To show more than one cycle, repeat the pattern at intervals of one period.
For example, when P=4πP=4\pi, each quarter-cycle interval is π\pi. This is why dividing the period by four gives the spacing between the five key points.
quarter-cycle interval=P4\text{quarter-cycle interval}=\frac{P}{4}

4. Application: use the graph’s features to check the model

A sketch can be checked without relying on appearance alone. Confirm that the midline is at y=cy=c, that the graph stays between c−∣a∣c-|a| and c+∣a∣c+|a|, and that one cycle spans the calculated period.
Also check the starting point and direction. A sine graph with positive aa begins on its midline at the shifted starting position and moves upward. With negative aa, it begins on the midline and moves downward. A cosine graph begins at an extreme value at its shifted starting position.
These checks are especially helpful when several transformations occur together. A correct amplitude does not guarantee a correct sketch if the period or horizontal shift is wrong.
ymax⁡=c+∣a∣,ymin⁡=c−∣a∣y_{\max}=c+|a|,\quad y_{\min}=c-|a|

Five key points for the worked cycle

Position in cyclex-coordinatey-coordinate
Startπ\pi11
Quarter2π2\pi−1-1
Halfway3π3\pi11
Three-quarter4π4\pi33
End5π5\pi11

Worked example

Sketch one transformed sine cycle

Sketch one cycle of y=−2sin⁡(x−π2)+1y=-2\sin\left(\frac{x-\pi}{2}\right)+1 and identify its main features.
  1. Identify the transformations
    Compare the function with y=asin⁡(k(x−d))+cy=a\sin(k(x-d))+c. Here, a=−2a=-2, k=12k=\frac{1}{2}, d=πd=\pi, and c=1c=1. The negative value of aa means the sine pattern is reflected across the midline.
    a=−2,k=12,d=π,c=1a=-2,\quad k=\frac{1}{2},\quad d=\pi,\quad c=1
  2. Find the period and vertical levels
    The period is 2πk=4π\frac{2\pi}{k}=4\pi. The amplitude is 22, and the midline is y=1y=1. The maximum is 33 and the minimum is −1-1.
    P=4π,ymax⁡=3,ymin⁡=−1P=4\pi,\quad y_{\max}=3,\quad y_{\min}=-1
  3. Set the five horizontal positions
    The cycle begins at x=d=πx=d=\pi. Each interval is one quarter of 4π4\pi, or π\pi. Add this interval repeatedly to get all five positions.
    π,2π,3π,4π,5π\pi,\quad 2\pi,\quad 3\pi,\quad 4\pi,\quad 5\pi
  4. Find the five heights
    Use the sine pattern 0,1,0,−1,00,1,0,-1,0. Multiplying by −2-2 gives 0,−2,0,2,00,-2,0,2,0, and adding 11 gives the graph’s heights. Plot the resulting points, then draw a smooth curve. The curve starts on its midline and moves downward because aa is negative.
    (π,1),(2π,−1),(3π,1),(4π,3),(5π,1)(\pi,1),\quad (2\pi,-1),\quad (3\pi,1),\quad (4\pi,3),\quad (5\pi,1)
Answer: The graph has amplitude 22, period 4π4\pi, midline y=1y=1, and a shift right by π\pi. One cycle runs from x=πx=\pi to x=5πx=5\pi through the five listed points.
Check: The lowest and highest points are −1-1 and 33, each two units from the midline y=1y=1. The cycle length is 5π−π=4π5\pi-\pi=4\pi, as required.

Common mistakes and how to avoid them

Using 2πk2\pi k as the period.
Correction: For a function with kk multiplying the shifted input, calculate the period as 2πk\frac{2\pi}{k}.
Reading the horizontal shift from the sign alone without checking the brackets.
Correction: In x−dx-d, a positive dd shifts right. For example, x−πx-\pi gives a shift right by π\pi.
Treating aa as the midline or the maximum value.
Correction: The amplitude is |a| and the midline is y=cy=c. Use c+∣a∣c+|a| and c−∣a∣c-|a| for the maximum and minimum.
Joining key points with straight segments.
Correction: Sine and cosine graphs are smooth waves. Draw a smooth curve through the points and repeat it after one period.

Lesson summary

Check your understanding

Question 1

For y=3cos⁡(2(x−π4))−2y=3\cos(2(x-\frac{\pi}{4}))-2, what are the amplitude, period, midline, and horizontal shift?
  1. Amplitude 33, period π\pi, midline y=−2y=-2, shift right by π4\frac{\pi}{4}
  2. Amplitude 33, period 4π4\pi, midline y=−2y=-2, shift left by π4\frac{\pi}{4}
  3. Amplitude 22, period π\pi, midline y=3y=3, shift right by π4\frac{\pi}{4}
  4. Amplitude 33, period π\pi, midline y=2y=2, shift left by π4\frac{\pi}{4}
Show answer and explanation
Amplitude 33, period π\pi, midline y=−2y=-2, shift right by π4\frac{\pi}{4}
Here a=3a=3, k=2k=2, c=−2c=-2, and d=π4d=\frac{\pi}{4}. Thus the amplitude is 33, the period is 2π2=π\frac{2\pi}{2}=\pi, the midline is y=−2y=-2, and the graph shifts right.

Question 2

For y=−sin⁡(x)+4y=-\sin(x)+4, what is the value at the start of a cycle, x=0x=0?
  1. 44
  2. 55
  3. 33
  4. −4-4
Show answer and explanation
44
Since sin⁡(0)=0\sin(0)=0, the function value is −0+4=4-0+4=4. The negative coefficient changes the direction of the wave, but not its value at this starting point.

Question 3

A transformed sine graph has period 6π6\pi. What is the horizontal spacing between its five key points?
  1. 3π2\frac{3\pi}{2}
  2. 6π6\pi
  3. π2\frac{\pi}{2}
  4. 3π3\pi
Show answer and explanation
3π2\frac{3\pi}{2}
The five key points divide one cycle into four equal intervals. Therefore the spacing is 6π4=3π2\frac{6\pi}{4}=\frac{3\pi}{2}.

Key terms

Amplitude
The positive distance from the midline to a maximum or minimum value.
Cycle
One complete repeating pattern of a graph.
Midline
The horizontal line halfway between the graph’s maximum and minimum values.
Period
The horizontal length of one complete cycle.
Horizontal shift
A movement of the graph left or right.
Vertical shift
A movement of the graph up or down.

Continue through MHF4U

View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons

About this lesson

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

Official curriculum reference

Report a correction or ask a question