DoAssignment.ca

D2.8 · Represent a sinusoidal function from a graph or properties

Learn to represent a sinusoidal function from a graph or properties through clear examples and targeted practice.

Ontario Grade 11 Mathematics

Trigonometric Functions

Writing the Equation of a Sine or Cosine Function from What You Can See or Measure

You have already graphed sine and cosine functions and studied how changing numbers in the equation stretches, compresses, or shifts the curve. Now you will reverse that process: you will start with a graph, or with a list of properties, and work out the equation that produces it. This skill is useful any time a real situation repeats in a wave pattern — tides, sound, rotating machinery — and you need a formula to make predictions. The two worked examples below move from easy to more demanding, and the Quick Check at the end lets you test yourself right away.

What you will learn

Prerequisite Bridge: The Four Parameters You Already Know

Before Grade 11, you met the basic sine and cosine curves. In MCR3U you learned that four numbers, called parameters, control every sinusoidal graph. Reviewing them now will make the rest of this lesson straightforward.
The general forms are f(x)=asin⁡(bx+c)+df(x) = a\sin(bx + c) + d and f(x)=acos⁡(bx+c)+df(x) = a\cos(bx + c) + d, where xx is measured in degrees. Each of aa, bb, cc, and dd changes one specific feature of the wave without disturbing the others — as long as you find them in the right order.
Think of the parameters this way: aa controls height, bb controls how quickly the wave repeats, cc slides the wave left or right, and dd lifts or lowers the whole curve. Keeping those four jobs in mind will guide every step in this lesson.
f(x)=asin⁡(bx+c)+df(x) = a\sin(bx + c) + d

Reading Key Features Directly from a Graph

When you are given a graph, four measurements unlock the whole equation. Always collect them in the order below, because later measurements depend on earlier ones.
Step 1 — Midline: Find the horizontal line exactly halfway between the highest point (maximum) and the lowest point (minimum). Its yy-value is dd. You can calculate it as d=ymax⁡+ymin⁡2d = \frac{y_{\max} + y_{\min}}{2}.
Step 2 — Amplitude: Measure the vertical distance from the midline up to the maximum. This is |a|. You can also use ∣a∣=ymax⁡−ymin⁡2|a| = \frac{y_{\max} - y_{\min}}{2}. The sign of aa is positive if the graph starts by going up from the midline (like an unshifted sine), and negative if it starts by going down.
Step 3 — Period: Identify the horizontal length of one full cycle — from one peak to the next peak, or from one point back to the identical point one wave later. Then solve ∣b∣=360°Period|b| = \frac{360°}{\text{Period}}.
Step 4 — Phase shift: Compare where your graph's first recognisable feature (a maximum, a midline crossing, etc.) falls compared to where the unshifted parent function would place the same feature. The horizontal distance you need to move the parent to match the graph is the phase shift, equal to −cb-\frac{c}{b}. Solve for cc.
d=ymax⁡+ymin⁡2,∣a∣=ymax⁡−ymin⁡2,∣b∣=360°Periodd = \frac{y_{\max}+y_{\min}}{2}, |a| = \frac{y_{\max}-y_{\min}}{2}, |b| = \frac{360°}{\text{Period}}

Building the Equation from a List of Properties

Sometimes no graph is given at all. Instead, you receive a description: 'The function has a maximum of 9, a minimum of 1, a period of 120°, and its first maximum after x=0x = 0 occurs at x=20°x = 20°.' Your job is to translate each property directly into a parameter value.
Midline and amplitude come first, exactly as they did with a graph: d=9+12=5d = \frac{9+1}{2} = 5 and ∣a∣=9−12=4|a| = \frac{9-1}{2} = 4. Next, ∣b∣=360°120°=3|b| = \frac{360°}{120°} = 3.
For the phase shift, decide which parent function to use. A cosine function naturally places its first maximum at x=0°x = 0°. If the given maximum is at x=20°x = 20°, the cosine has shifted right by CAD 20°. Setting −cb=20°-\frac{c}{b} = 20° and solving gives c=−60c = -60. The equation is therefore f(x)=4cos⁡(3x−60°)+5f(x) = 4\cos(3x - 60°) + 5.
Alternatively, a sine function places its midline crossing (going upward) at x=0°x = 0° and its first maximum at x=90°x = 90° divided by bb. You can always match either parent; choose whichever makes the phase shift calculation simpler. Both sine and cosine forms of the equation describe the same wave.

Choosing a Sign for $a$ and Verifying Your Equation

Once you have |a|, |b|, cc, and dd, you still need to decide whether aa is positive or negative. A positive aa means the curve rises from the midline at the anchor point (the standard cosine rises to a max; the standard sine rises through the midline). A negative aa reflects the curve vertically, so it falls first instead of rising.
After writing the full equation, always verify it by substituting two or three known xx-values (a maximum point, a minimum point, and a midline crossing) and checking that the output matches the graph or the given properties. If even one check fails, revisit the parameter that controls the feature that is wrong.
Verification is not just a formality — it catches sign errors in cc and dd that are easy to make. Taking two minutes to check can prevent a completely wrong equation from going unnoticed.

Connecting the Equation to the Graph: A Summary View

It helps to see all four parameters side by side with their graphical meaning. The table in this lesson maps each parameter to what you measure on the graph and the calculation you perform. Use it as a checklist whenever you write a sinusoidal equation.
One important caution: the period formula Period=360°∣b∣\text{Period} = \frac{360°}{|b|} means that a larger bb gives a shorter period (the wave repeats more quickly), while a smaller bb gives a longer period. Students sometimes reverse this relationship, so always sanity-check your period calculation by reading the graph directly after computing bb.
With practice, reading a sinusoidal graph becomes as natural as reading a straight-line graph. The four-step procedure — midline, amplitude, period, phase shift — gives you a reliable path every time, regardless of how complicated the graph looks.
Period=360°∣b∣\text{Period} = \frac{360°}{|b|}

The Four Parameters at a Glance

ParameterWhat It ControlsHow to Calculate ItEffect of Increasing |Value|
aaAmplitude (height from midline to peak)∣a∣=ymax⁡−ymin⁡2|a| = \frac{y_{\max} - y_{\min}}{2}; sign from curve directionWave gets taller
bbNumber of cycles in CAD 360°∣b∣=360°Period|b| = \frac{360°}{\text{Period}}Period gets shorter (wave speeds up)
ccHorizontal (phase) shiftPhase shift =−cb= -\frac{c}{b}; read anchor from graphShifts wave left (if c>0c > 0) or right (if c<0c < 0)
ddVertical shift / midlined=ymax⁡+ymin⁡2d = \frac{y_{\max} + y_{\min}}{2}Midline moves higher

Worked example

Example 1 — Writing an Equation Directly from a Graph

A sinusoidal graph has a maximum value of 77 and a minimum value of −3-3. The maximum closest to the yy-axis occurs at x=30°x = 30°, and the next maximum occurs at x=150°x = 150°. Write an equation of the form f(x)=acos⁡(bx+c)+df(x) = a\cos(bx + c) + d for this graph, then verify it at the maximum point.
  1. Find the midline (dd)
    The midline sits exactly halfway between the maximum and minimum. Use d=ymax⁡+ymin⁡2d = \frac{y_{\max} + y_{\min}}{2} with ymax⁡=7y_{\max} = 7 and ymin⁡=−3y_{\min} = -3.
    d=7+(−3)2=42=2d = \frac{7 + (-3)}{2} = \frac{4}{2} = 2
  2. Find the amplitude (aa)
    The amplitude is the distance from the midline to the maximum. Use ∣a∣=ymax⁡−ymin⁡2|a| = \frac{y_{\max} - y_{\min}}{2}. Because the graph starts at a maximum and rises first from the midline in the positive direction, aa is positive.
    ∣a∣=7−(−3)2=102=5|a| = \frac{7 - (-3)}{2} = \frac{10}{2} = 5
  3. Find the period and bb
    The distance from one maximum to the next is one full period. The two consecutive maxima are at x=30°x = 30° and x=150°x = 150°, so the period is 150°−30°=120°150° - 30° = 120°. Now solve for bb using ∣b∣=360°Period|b| = \frac{360°}{\text{Period}}.
    ∣b∣=360°120°=3|b| = \frac{360°}{120°} = 3
  4. Find the phase shift and cc
    An unshifted cosine has its first maximum at x=0°x = 0°. This graph's first maximum is at x=30°x = 30°, so the cosine has been shifted CAD 30° to the right. Using the phase shift formula −cb=30°-\frac{c}{b} = 30° with b=3b = 3, solve for cc: multiply both sides by −3-3.
    c=−3×30°=−90c = -3 × 30° = -90
  5. Write the equation
    Substitute a=5a = 5, b=3b = 3, c=−90c = -90, and d=2d = 2 into the general cosine form.
    f(x)=5cos⁡(3x−90°)+2f(x) = 5\cos(3x - 90°) + 2
  6. Verify at the maximum point x=30°x = 30°
    Substitute x=30°x = 30° into the equation. The argument of cosine becomes 3(30°)−90°=90°−90°=0°3(30°) - 90° = 90° - 90° = 0°, and cos⁡(0°)=1\cos(0°) = 1, so f(30°)=5(1)+2=7f(30°) = 5(1) + 2 = 7. This matches the stated maximum of 77, confirming the equation is correct.
    f(30°)=5cos⁡(3×30°−90°)+2=5cos⁡(0°)+2=5(1)+2=7✓f(30°) = 5\cos(3 × 30° - 90°) + 2 = 5\cos(0°) + 2 = 5(1) + 2 = 7 \checkmark
Answer: f(x)=5cos⁡(3x−90°)+2f(x) = 5\cos(3x - 90°) + 2
Check: At the minimum, x=30°+60°=90°x = 30° + 60° = 90°: f(90°)=5cos⁡(3×90°−90°)+2=5cos⁡(180°)+2=5(−1)+2=−3f(90°) = 5\cos(3 \times 90° - 90°) + 2 = 5\cos(180°) + 2 = 5(-1) + 2 = -3. This matches the given minimum of −3-3.

Worked example

Example 2 — Writing an Equation from a Description of Properties

A sinusoidal function has the following properties: its maximum value is 44, its minimum value is −2-2, its period is CAD 240°, and it crosses the midline going downward at x=0°x = 0°. Write an equation of the form f(x)=asin⁡(bx+c)+df(x) = a\sin(bx + c) + d for this function, then verify the midline crossing at x=0°x = 0°.
  1. Find the midline (dd)
    Use the maximum and minimum to locate the midline.
    d=4+(−2)2=22=1d = \frac{4 + (-2)}{2} = \frac{2}{2} = 1
  2. Find the amplitude (|a|)
    The amplitude is the distance from the midline to either extreme.
    ∣a∣=4−(−2)2=62=3|a| = \frac{4-(-2)}{2} = \frac{6}{2} = 3
  3. Determine the sign of aa
    An unshifted positive sine (a>0a > 0) crosses the midline going upward at x=0°x = 0°. The problem states the function crosses the midline going downward at x=0°x = 0°. That is the opposite behaviour, which means the sine is reflected vertically. Therefore a=−3a = -3.
    a=−3a = -3
  4. Find bb from the period
    Use the period formula with a period of CAD 240°.
    ∣b∣=360°240°=1.5|b| = \frac{360°}{240°} = 1.5
  5. Find cc from the anchor point
    The unshifted sine (whether positive or negative) crosses the midline at x=0°x = 0°. The function in this problem also crosses the midline at x=0°x = 0°, so there is no horizontal shift. A phase shift of zero means −cb=0°-\frac{c}{b} = 0°, which gives c=0c = 0.
    c=0c = 0
  6. Write the equation
    Substitute all four parameter values into the general sine form. Since c=0c = 0, the term +c+ c disappears.
    f(x)=−3sin⁡(1.5x)+1f(x) = -3\sin(1.5x) + 1
  7. Verify the downward midline crossing at x=0°x = 0°
    Substitute x=0°x = 0°. We need the output to equal the midline value d=1d = 1, and we need the function to be decreasing (heading downward) there. First check the value: sin⁡(0°)=0\sin(0°) = 0, so f(0°)=−3(0)+1=1f(0°) = -3(0) + 1 = 1. This equals the midline. Next, just after x=0°x = 0° the sine becomes small and positive, so −3sin⁡(1.5x)-3\sin(1.5x) becomes small and negative, meaning ff decreases below 11. That confirms a downward crossing.
    f(0°)=−3sin⁡(0°)+1=−3(0)+1=1✓f(0°) = -3\sin(0°) + 1 = -3(0) + 1 = 1 \checkmark
Answer: f(x)=−3sin⁡(1.5x)+1f(x) = -3\sin(1.5x) + 1
Check: Maximum check: sine reaches −1-1 when its argument is CAD 270°, i.e., 1.5x=270°1.5x = 270° gives x=180°x = 180°. Then f(180°)=−3(−1)+1=3+1=4f(180°) = -3(-1) + 1 = 3 + 1 = 4. This matches the stated maximum of 44. Minimum check: 1.5x=90°1.5x = 90° gives x=60°x = 60°. Then f(60°)=−3(1)+1=−3+1=−2f(60°) = -3(1) + 1 = -3 + 1 = -2. This matches the stated minimum of −2-2.

Common mistakes and how to avoid them

Measuring the amplitude as the full height of the wave (from minimum to maximum) instead of half that distance.
Correction: Amplitude =ymax⁡−ymin⁡2= \frac{y_{\max} - y_{\min}}{2}. The full height is always twice the amplitude.
Forgetting to determine the sign of aa, leaving it positive even when the curve first moves downward from the midline.
Correction: Check the curve's direction at the anchor point. If the curve falls first, set aa negative.
Reversing the period relationship — writing b=Period÷360°b = \text{Period} \div 360° instead of b=360°÷Periodb = 360° \div \text{Period}.
Correction: A longer period means a smaller bb, so always divide CAD 360° by the period: ∣b∣=360°Period|b| = \frac{360°}{\text{Period}}.
Getting the sign of cc wrong by ignoring the negative in the phase-shift formula: treating phase shift =cb= \frac{c}{b} instead of −cb-\frac{c}{b}.
Correction: Write −cb=phase shift-\frac{c}{b} = \text{phase shift}, then solve for cc. A rightward shift makes cc negative.
Skipping the verification step and submitting an equation that does not reproduce the maximum or minimum.
Correction: Always substitute the xx-values of at least the maximum and minimum back into your equation and confirm the outputs match the given values.

Lesson summary

Check your understanding

Question 1

A sinusoidal graph has a maximum of 1010 and a minimum of 22. What are the amplitude and midline of this function?
  1. Amplitude =12= 12, midline y=6y = 6
  2. Amplitude =4= 4, midline y=6y = 6
  3. Amplitude =8= 8, midline y=4y = 4
  4. Amplitude =4= 4, midline y=8y = 8
Show answer and explanation
Amplitude =4= 4, midline y=6y = 6
d=10+22=6d = \frac{10+2}{2} = 6 and ∣a∣=10−22=4|a| = \frac{10-2}{2} = 4. The full height of the wave (10−2=810 - 2 = 8) is twice the amplitude, not the amplitude itself.

Question 2

A cosine function has a period of CAD 90°. What is the value of |b| in its equation?
  1. ∣b∣=0.25|b| = 0.25
  2. ∣b∣=4|b| = 4
  3. ∣b∣=90|b| = 90
  4. ∣b∣=270|b| = 270
Show answer and explanation
∣b∣=4|b| = 4
∣b∣=360°90°=4|b| = \frac{360°}{90°} = 4. A shorter period means a larger bb, because the wave completes more cycles in CAD 360°.

Question 3

The function f(x)=3sin⁡(2x−60°)+1f(x) = 3\sin(2x - 60°) + 1 has a maximum value of:
  1. 33
  2. 44
  3. 55
  4. 77
Show answer and explanation
44
The maximum of sin⁡\sin is 11, so the maximum of ff is 3(1)+1=43(1) + 1 = 4. The midline is at y=1y = 1 and the amplitude is 33, so the peak is 33 units above the midline: 1+3=41 + 3 = 4.

Question 4

A sinusoidal curve crosses the midline going downward at x=0°x = 0° and has no horizontal shift. Which equation best represents this behaviour?
  1. f(x)=2sin⁡(x)+0f(x) = 2\sin(x) + 0
  2. f(x)=−2sin⁡(x)+0f(x) = -2\sin(x) + 0
  3. f(x)=2cos⁡(x)+0f(x) = 2\cos(x) + 0
  4. f(x)=−2cos⁡(x)+0f(x) = -2\cos(x) + 0
Show answer and explanation
f(x)=−2sin⁡(x)+0f(x) = -2\sin(x) + 0
A positive sine rises through the midline at x=0°x = 0°; reflecting it (making aa negative) makes it fall through the midline at x=0°x = 0°. Cosine at x=0°x = 0° is at its maximum or minimum, not a midline crossing, so cosine options are incorrect here.

Key terms

Sinusoidal function
A function whose graph has the repeating wave shape of a sine or cosine curve, described by the general form f(x)=asin⁡(bx+c)+df(x) = a\sin(bx+c)+d or f(x)=acos⁡(bx+c)+df(x) = a\cos(bx+c)+d.
Amplitude
The distance from the midline to the maximum (or minimum) of a sinusoidal function. Calculated as ∣a∣=ymax⁡−ymin⁡2|a| = \frac{y_{\max}-y_{\min}}{2}.
Period
The horizontal length of one complete cycle of a sinusoidal function. Related to bb by Period=360°∣b∣\text{Period} = \frac{360°}{|b|}.
Midline
The horizontal line exactly halfway between the maximum and minimum of a sinusoidal function. Its equation is y=dy = d, where d=ymax⁡+ymin⁡2d = \frac{y_{\max}+y_{\min}}{2}.
Phase shift
The horizontal translation of a sinusoidal function compared to its parent. Equal to −cb-\frac{c}{b} degrees; positive means a shift to the right.
Vertical shift
The upward or downward translation of a sinusoidal function, given by the parameter dd. It moves the midline away from y=0y = 0.
Parameter
A constant in an equation whose value determines a specific feature of the graph. In f(x)=asin⁡(bx+c)+df(x) = a\sin(bx+c)+d, the parameters are aa, bb, cc, and dd.
Anchor point
A reference point on a sinusoidal curve used to determine the phase shift — typically a maximum (for cosine) or an upward midline crossing (for sine).

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.8. It is a study resource, not an official curriculum publication.

Official curriculum reference

Report a correction or ask a question