Sinusoidal Modeling
Measurements, material estimation, cutting calculations
Voltage drop, wire sizing, load balancing
In Graphs of Sine and Cosine, you learned the general form and what each parameter controls. This page teaches you to go the other direction: given real-world data that repeats in a pattern, find , , , and to create a mathematical model.
The Four Parameters from Data
Every sinusoidal model requires four values. Here is how to extract each one from data:
The Four Parameters of a Sinusoidal Model
| Parameter | Formula | What It Means |
|---|---|---|
| (vertical shift) | The midline — the average of the highest and lowest values | |
| (amplitude) | Half the distance between peak and trough | |
| (angular frequency) | Controls how fast the wave cycles | |
| (phase shift) | Find the -value where the cycle starts | Horizontal offset from the origin |
Worked Example 1: Daylight Hours
In a certain city, June 21 (day 172) has the most daylight at 15.2 hours, and December 21 (day 355) has the least at 9.0 hours. Model the daylight as a function of day number.
Step 1 — Find (midline):
Step 2 — Find (amplitude):
Step 3 — Find (from the period). The cycle repeats every 365 days.
Step 4 — Find (phase shift). The maximum occurs on day 172. For a cosine function, the peak is at , so:
Using cosine (since we identified the maximum first):
Verify: At (June 21): ✓
At (Dec 21): ✓
Worked Example 2: Tide Height
A coastal harbor records the following tide data:
| Time (hours) | Height (feet) |
|---|---|
| 0:00 | 4.2 |
| 3:00 | 7.8 |
| 6:00 | 4.2 |
| 9:00 | 0.6 |
| 12:00 | 4.2 |
A dock worker needs to know: when is the tide at least 6 feet?
Step 1 — Identify max and min. Max ft (at ), min ft (at ).
Step 2 — Find :
Step 3 — Find :
Step 4 — Find the period. From max at to the next time the pattern would reach the same max: the data shows a half-period from (max) to (min) is 6 hours. So the full period is 12 hours.
Step 5 — Find . The maximum is at . Using cosine:
Model:
Solving the dock worker’s question: When is ?
Cosine is when the angle is in (within one period).
Answer: The tide is at least 6 feet from 1:00 AM to 5:00 AM and again from 1:00 PM to 5:00 PM (each 12-hour cycle).
Choosing Sine vs. Cosine
Both model the same wave — the only difference is the default starting position:
- Cosine starts at a maximum: . Use cosine when you can easily identify where the max occurs.
- Sine starts at the midline going up: . Use sine when you can identify where the data crosses the midline while increasing.
Either function works for any data set — one just gives a simpler phase shift than the other.
Checking Your Model
After building a model, always plug in at least two known data points to verify:
- Check the maximum: does equal the max value at the right ?
- Check the minimum: does equal the min value at the right ?
- Check a midline crossing: does equal at a point between max and min?
If any check fails, the most common errors are:
- Phase shift sign error (positive shifts right)
- Period error (using the half-period instead of the full period)
- Mixing up and
Common Mistakes
- Using the wrong period. The time from max to min is a half-period, not a full period. The full period is twice that distance.
- Sign errors in the phase shift. In , the is subtracted. A positive shifts the graph right. Students often get the direction backwards.
- Forgetting that multiplies the entire . The phase shift is , not . If you write instead of , the shift is , not .
- Not converting time units consistently. If the period is in hours, make sure all inputs are in hours. Mixing hours and minutes (or days and months) breaks the model.
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: A city’s average monthly temperature has a maximum of 84°F in July (month 7) and a minimum of 32°F in January (month 1). Write a cosine model for temperature as a function of month.
Period = 12 months, so
Max at month 7:
Verify: ✓ and ✓
Answer:
Problem 2: A Ferris wheel has a diameter of 60 feet, and its center is 35 feet above the ground. It completes one revolution every 3 minutes. A rider boards at the lowest point. Write a function for the rider’s height above the ground as a function of time in minutes.
Radius = 30 ft. Lowest point = ft. Highest point = ft.
(center height), (radius)
Period = 3 minutes, so
The rider starts at the bottom (minimum). A negative cosine starts at a minimum:
Verify: ft (bottom) ✓ and ft (top) ✓
Answer:
Problem 3: Using the tide model , find the tide height at 4:30 AM ().
Answer: The tide is approximately 6.7 feet at 4:30 AM.
Problem 4: An AC voltage source has the equation , where is in seconds. Find the frequency (cycles per second) and the period.
Period seconds
Frequency Hz (cycles per second)
This is the standard 60 Hz AC power in North America. The peak voltage is 170 V, which gives an RMS voltage of V. For more on AC circuits and trig, see Trig for Electricians.
Answer: Frequency = 60 Hz, Period = 1/60 second
Problem 5: Given the model with , , and period = 8, find . Then, if the maximum occurs at , write the complete model.
Max at :
Answer:
Key Takeaways
- To build a sinusoidal model: find (midline), (amplitude), (from the period), and (phase shift from where the max or midline crossing occurs)
- Use cosine when you identify the maximum first; use sine when you identify a midline crossing
- The time from maximum to minimum is a half-period — double it for the full period
- Always verify the model by plugging in at least two known data points
- Sinusoidal models apply to any repeating phenomenon: daylight hours, tides, temperature cycles, Ferris wheels, and AC voltage
Return to Trigonometry for more topics in this section.
Next Up in Trigonometry
Last updated: March 28, 2026