PRECALCULUS • MODEL PERIODIC PHENOMENA

Modeling Periodic Phenomena with Trigonometric Functions

Learn how to select and build sine and cosine models that capture the amplitude, frequency, and midline of real-world repeating patterns.

Historical Context & Motivation

Humans have always been surrounded by cycles: the rhythmic rise and fall of tides, the predictable swing of daylight hours across the seasons, and the steady back-and-forth vibration of a plucked guitar string. Long before anyone wrote an equation, ancient civilizations tracked these repeating patterns to plant crops, navigate oceans, and build calendars. The mathematical tools we use today to describe these patterns—trigonometric functions—grew directly from that practical need.

c. 150 BCE
The Greek astronomer Hipparchus created the first known table of chord values, which related angles in a circle to lengths. These tables were the earliest ancestors of modern sine and cosine, and Hipparchus used them to predict the apparent motion of the Sun and Moon—essentially modeling periodic astronomical phenomena.
c. 500 CE
Indian mathematicians, especially Aryabhata and Brahmagupta, refined the half-chord concept (called jyā) into what we now call the sine function. Their work established the idea that a single ratio, defined on a unit circle, could capture oscillation.
1822
Joseph Fourier published Théorie analytique de la chaleur, demonstrating that any periodic function—no matter how irregular—can be built by adding together sine and cosine waves of different amplitudes and frequencies. This revelation, known as Fourier analysis, placed trigonometric modeling at the center of physics and engineering.
20th–21st Century
Sinusoidal models became essential across disciplines: electrical engineers use them to describe alternating current (AC), biologists model circadian rhythms and predator–prey cycles, and climate scientists track seasonal temperature fluctuations—all with the same amplitude-frequency-midline framework you're about to learn.

The core question this lesson addresses is straightforward but powerful: given a real-world phenomenon that repeats, how do you choose the right trigonometric function and set its parameters so the curve matches what you observe? By the end, you'll be able to take a description—or a data set—with a specific amplitude, frequency (or period), and midline, and write the corresponding sine or cosine equation that models it.

Core Principles & Definitions

Before you can build a trigonometric model, you need a clear understanding of the four parameters that control its shape. Think of these as the "dials" on a mixing board: each one independently adjusts a different aspect of the wave. The standard forms you'll work with are y = A sin(B(x − C)) + D and y = A cos(B(x − C)) + D, where each letter corresponds to a specific physical feature of the wave.

1

Amplitude (|A|)

The amplitude is the distance from the midline to a peak (or to a trough). It measures how "tall" the wave is. A larger amplitude means a bigger swing above and below the center. If A is negative, the wave is reflected vertically—it starts going down instead of up.
2

Frequency & Period (B)

The parameter B controls how fast the function cycles. The period is 2π / |B| — it tells you the horizontal length of one complete cycle. The frequency is the reciprocal: |B| / (2π) cycles per unit. A larger B means a shorter period and more cycles packed into the same horizontal span.
3

Phase Shift (C)

C slides the entire wave left or right along the horizontal axis. A positive C shifts the wave to the right; a negative C shifts it to the left. You choose C so the wave's peaks, troughs, or zero-crossings align with the real-world data you're modeling.
4

Midline (D)

D lifts or lowers the entire wave vertically. The midline y = D is the horizontal line around which the function oscillates. It represents the "average" value of the phenomenon. In data terms, it's often the mean of the maximum and minimum observed values.
KEY TAKEAWAY
Imagine a person bouncing on a trampoline. The midline is the resting height of the trampoline surface when nobody's on it. The amplitude is how high the person bounces above (or below) that resting level. The period is the time for one full bounce cycle—up and back down. And the phase shift is like starting your stopwatch a moment after the person has already begun bouncing: it shifts where in the cycle you begin watching. Adjust those four settings, and you can describe any repeating bounce pattern with a single equation.

Visual Explanation: Anatomy of a Sine Curve

The SVG diagram below shows a complete sine wave with all four key features labeled. Study how each parameter maps to a visible feature of the curve. The midline is the dashed horizontal line running through the center. The amplitude is the vertical distance from that midline up to the peak (or down to the trough). One full period spans the horizontal distance before the pattern repeats. Pay attention to how the curve crosses the midline, reaches its maximum, returns, hits its minimum, and then returns again—that complete circuit is one period.

Figure 1 — A complete sine wave with amplitude A, midline D, and period 2π/|B| labeled.

Notice that a standard sine function sin(x) starts at the midline, rises to its peak at one-quarter of the period, returns to the midline at the half-period, drops to its trough at three-quarters, and returns to the midline again at the end of the period. A standard cosine function cos(x) starts at its peak instead. That difference—where the cycle begins—is the main reason you might choose sine over cosine (or vice versa) when modeling real data.

Mathematical Framework

Now let's formalize the connection between the four parameters and the two standard equation forms. Every sinusoidal model you write in this course will be a version of one of the two general forms shown below.

GENERAL SINE FORM
y = A sin(B(x − C)) + D
A = amplitude, B = frequency factor, C = phase shift (horizontal), D = vertical shift (midline)
GENERAL COSINE FORM
y = A cos(B(x − C)) + D
Same parameters; cosine starts at its maximum when A > 0 and C = 0.

Here is exactly how to determine each parameter from a description or data set:

Finding A (amplitude): Compute (maximum value − minimum value) / 2. The result is always positive, but you may set A negative if you want the curve to start by going downward instead of upward.

Finding B (frequency factor): If you know the period T, then B = 2π / T. If you're given the frequency f (cycles per unit), then B = 2πf. In many real-world problems the period is stated directly—for example, "the tide repeats every 12.5 hours"—so you substitute T = 12.5 into the formula.

PERIOD–B RELATIONSHIP
T = 2π / |B| ⟺ B = 2π / T
T = period (horizontal length of one cycle); B = frequency factor

Finding D (midline): Compute (maximum value + minimum value) / 2. This is the vertical center of the oscillation.

Finding C (phase shift): Once you've set A, B, and D, compare the "starting behavior" of your data to the standard shape. If using sine: identify the x-value where the function crosses the midline going upward—that x-value is your C. If using cosine: identify the x-value of the first peak—that's your C. The choice between sine and cosine often comes down to which makes C simplest (ideally C = 0).

KEY TAKEAWAY
Choosing between sine and cosine is like choosing which snapshot of a spinning wheel to call "time zero." If the phenomenon starts at its average value and rises, sine is the natural choice. If it starts at its maximum, cosine is cleaner. Mathematically they're interchangeable—cos(x) = sin(x + π/2)—so the real goal is to pick whichever form gives the simplest equation with the fewest extra shifts.

Detailed Breakdown: Choosing & Building Your Model

To make the abstract process concrete, let's walk through the decision flowchart below. This diagram captures the step-by-step logic you should follow every time you're asked to model a periodic phenomenon.

Figure 2 — Decision flowchart for constructing a sinusoidal model from a data description.

Let's expand on the critical decision at Step 3. When the data starts at its maximum value, a cosine model with a positive amplitude and no phase shift (C = 0) is the most natural fit because cos(0) = 1, which places the function at its peak when x = 0. When the data starts at its minimum, you can still use cosine but set A to be negative (since −cos(0) = −1, putting the curve at the trough). Alternatively, if the phenomenon starts right at its average value and is increasing, a sine model is ideal because sin(0) = 0, placing the function on the midline and heading upward. If it starts at the average and is decreasing, set A negative or use −sin.

The table below summarizes these common starting scenarios:

Starting BehaviorBest Function ChoiceSign of APhase Shift C
At maximum, then decreasingcosA > 0C = x-value of peak
At minimum, then increasingcos (or −cos)A < 0C = x-value of trough
At midline, increasingsinA > 0C = x-value of crossing
At midline, decreasingsin (or −sin)A < 0C = x-value of crossing

Worked Example

A seaside town records that the depth of water in the harbor varies between a maximum of 14 feet and a minimum of 6 feet due to tidal cycles. The water reaches its maximum depth at 3:00 AM, and the tidal cycle repeats every 12 hours. Write a trigonometric function that models the water depth, h, as a function of time t (in hours after midnight).

Tidal Depth Model
1
Step 1 — Find the Midline (D)The midline is the average of the maximum and minimum depths.
D = (14 + 6) / 2 = 10 feet. This means the water oscillates around a central depth of 10 feet.
2
Step 2 — Find the Amplitude (A)The amplitude is half the distance from max to min.
A = (14 − 6) / 2 = 4 feet
3
Step 3 — Find B from the PeriodThe period is T = 12 hours, so:
B = 2π / T = 2π / 12 = π/6
4
Step 4 — Choose Sine or Cosine & Find the Phase Shift (C)The maximum depth occurs at t = 3. Because the data starts at a peak, cosine is the cleanest choice—cos(0) = 1 places the peak at x = C. So C = 3.
C = 3
5
Step 5 — Write the EquationSubstituting all values into the general cosine form:
h(t) = 4 cos(π/6 (t − 3)) + 10
6
Step 6 — VerifyAt t = 3: h = 4 cos(0) + 10 = 4(1) + 10 = 14 ✓ (max depth). At t = 9 (half a period later): h = 4 cos(π/6 × 6) + 10 = 4 cos(π) + 10 = 4(−1) + 10 = 6 ✓ (min depth). At t = 15 (one full period later): h = 4 cos(π/6 × 12) + 10 = 4 cos(2π) + 10 = 14 ✓ (back to max).

Sine vs. Cosine: Strengths & Limitations

Because sin(x) and cos(x) differ only by a horizontal shift of π/2, any model written with one can be rewritten with the other. However, choosing the more natural function for a given situation makes the equation simpler and reduces the chance of algebraic errors. The comparison table below highlights when each function shines and where extra care is needed.

FeatureSine ModelCosine Model
Starts at midline (going up)Natural fit — C = 0 possibleRequires a phase shift of −π/(2B)
Starts at maximumRequires a phase shift of +π/(2B)Natural fit — C = 0 possible
Starts at minimumUse −sin (A < 0) with shiftUse −cos (A < 0), C = 0 possible
Data has midline crossing at x = 0IdealNeeds a shift
Converting between formscos(x) = sin(x + π/2) and sin(x) = cos(x − π/2)

Limitations of sinusoidal models in general: Real-world periodic phenomena aren't always perfectly sinusoidal. Tides, for instance, are influenced by multiple gravitational factors and may have unequal peak heights. Temperature fluctuations might not be perfectly symmetric. In these cases, a single sine or cosine function gives a useful approximation, but more advanced techniques—like Fourier series—are needed for high-fidelity models.

KEY TAKEAWAY
Choosing between sine and cosine is like choosing whether to start recording a song from the first beat or from the chorus. Both recordings contain the same music—the starting point is just different. Pick whichever function lets you set C = 0 (or at least a clean, simple number), and your equation will be much easier to work with.

Connections to Advanced Theory

The sinusoidal modeling skills you're building now are the entry point to a much larger world of mathematics and science. Here's a glimpse of where these ideas lead.

Fourier Series: As Joseph Fourier showed in the early 1800s, any periodic function—even a square wave or a sawtooth pattern—can be decomposed into a sum of sine and cosine functions of different frequencies and amplitudes. What you're doing with a single sinusoid is the simplest case of this far-reaching technique. In a college-level course, you'll learn to find the coefficients of each component wave.

Differential Equations: In physics and engineering, sinusoidal functions emerge naturally as solutions to second-order differential equations that describe oscillating systems—springs, pendulums, electrical circuits. The amplitude, frequency, and midline you model here correspond directly to physical quantities like mass, spring constant, and equilibrium position.

Complex Exponentials: Euler's formula, eix = cos(x) + i sin(x), reveals that sine and cosine are two faces of the same exponential function in the complex plane. This unification powers signal processing, quantum mechanics, and virtually all of modern physics.

This LessonAdvanced Extension
Single sinusoidal model: y = A sin(Bx + …) + DFourier series: y = D + Σ [Aₙ cos(nBx) + Bₙ sin(nBx)]
Period and frequency as given constantsNatural frequency derived from system parameters (ω₀ = √(k/m))
Phase shift C chosen to match starting dataPhase determined by initial conditions of a differential equation
Amplitude is constantDamped oscillation: amplitude decays as Ae−bt

You don't need to master these advanced topics now, but it's worth knowing that the four-parameter model you're learning is not just a classroom exercise—it's the foundation for powerful tools used every day by engineers, scientists, and data analysts.

Practice Problems

PROBLEM 1CONCEPTUAL
A student claims that y = 3 sin(2x) + 5 and y = 3 cos(2x − π) + 5 model the exact same curve. Is the student correct? Explain why or why not, using what you know about the relationship between sine and cosine.
PROBLEM 2BASIC IDENTIFICATION
A periodic phenomenon oscillates between a maximum value of 20 and a minimum value of 4. Identify the amplitude and the midline of a trigonometric function that models this phenomenon.
PROBLEM 3INTERMEDIATE
The average monthly temperature in a northern city ranges from a low of 25°F in January (month 1) to a high of 75°F in July (month 7). Assuming the temperature varies sinusoidally over the 12-month year, write a cosine function T(m) that models the temperature as a function of the month number m.
PROBLEM 4APPLIED / MULTI-STEP
A Ferris wheel has a diameter of 40 meters and its center is 25 meters above the ground. It takes 8 minutes to complete one full revolution. A rider boards at the lowest point (the bottom of the wheel) at t = 0 minutes. Write a trigonometric function h(t) that gives the rider's height above the ground as a function of time, then use it to find the rider's height at t = 5 minutes.
PROBLEM 5CRITICAL THINKING / SYNTHESIS
Two sinusoidal functions model two different phenomena: f(x) = 6 sin(πx/4) + 10 and g(x) = 6 cos(πx/4 − π/2) + 10. (a) Without graphing, determine whether f and g are the same function. Justify your answer using a trigonometric identity. (b) A third phenomenon has the same amplitude and midline but a period half as long. Write the equation for this new model using sine. (c) If you wanted to modify f(x) so that it begins at its maximum instead of the midline, what single change could you make to convert it to an equivalent cosine expression?

Putting It All Together

Every repeating pattern in nature can be approximated by a sinusoidal function of the form y = A sin(B(x − C)) + D or y = A cos(B(x − C)) + D. The four parameters each control a distinct feature: |A| is the amplitude, measuring the height of the oscillation above and below center; B determines the period through the relationship T = 2π/|B|, telling you how wide one cycle is; D is the midline, the average value around which the function oscillates, computed as (max + min)/2; and C is the phase shift, sliding the wave horizontally so its features align with the data. To choose between sine and cosine, look at the starting behavior: use cosine when the data begins at a peak or trough, and use sine when it begins at the midline. Either function can model any periodic phenomenon—the choice simply determines which form requires the least extra shifting.

Building a model is a systematic, four-step process: find D and A from the max and min values, compute B from the period, decide between sine and cosine based on the starting point, and determine C to align the curve with the data. Always verify by plugging known data points back into your equation. These skills form the foundation for Fourier analysis, differential equations, and the vast world of engineering and science applications that depend on understanding oscillation.

Varsity Tutors • Precalculus (Common Core) • Modeling Periodic Phenomena with Trigonometric Functions