AP Precalculus • Trigonometric and Polar Functions

Sinusoidal Functions

Model periodic phenomena through amplitude, period, phase shift, and midline transformations of sine and cosine.

A function curve with a triangle and circular angle measure.
Inside this lesson 9 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

The study of sinusoidal functions originates in humanity's oldest scientific endeavor: astronomy. Ancient Babylonian and Greek astronomers recognized that celestial positions repeat in predictable cycles, and they sought mathematical descriptions for these patterns. The Greek mathematician Hipparchus constructed the first known table of chords around 150 BCE, effectively tabulating values analogous to modern sine values. This trigonometric machinery was refined over centuries by Indian, Islamic, and European scholars until it became the foundation for modeling any phenomenon that oscillates—sound waves, tides, alternating current, and biological rhythms alike.

~150 BCE • Hipparchus' Chord Tables

Hipparchus of Nicaea compiled the first systematic table of chord lengths for a circle, enabling quantitative predictions of planetary positions and laying the groundwork for trigonometric functions.

~500 CE • Indian Sine Function

Aryabhata and later Indian mathematicians replaced chord lengths with half-chords (jyā), creating the sine function essentially as we know it today and developing early sine tables with remarkable accuracy.

1748 • Euler's Analytic Framework

Leonhard Euler formalized sine and cosine as functions of a real variable in his Introductio in analysin infinitorum, establishing the modern function-based perspective and the relation eixe^{ix} = cos x + i sin x.

1822 • Fourier's Theorem

Joseph Fourier demonstrated that virtually any periodic function can be decomposed into a sum of sinusoidal components, making sinusoidal functions the building blocks of all periodic analysis in science and engineering.

Fourier's insight raises a powerful question: if every periodic phenomenon can be expressed in terms of sinusoids, then mastering the behavior of a single sinusoidal function—its amplitude, period, phase shift, and vertical shift—gives you the toolkit to analyze virtually any repeating pattern in nature. That is precisely the goal of this lesson.

SECTION 2

Core Principles & Definitions

A sinusoidal function is any function that can be written as a transformed sine or cosine. Because cosine is simply a phase-shifted sine (cos x = sin(x + π/2)), every sinusoidal function can be expressed in either form. The AP Precalculus framework asks you to identify four key parameters that control the shape and position of the graph, and to move fluently between graphical, algebraic, and contextual representations.

1

Amplitude |a|

The amplitude measures the maximum displacement from the midline. It equals half the distance between the maximum and minimum output values: |a| = (max − min) / 2.
2

Period T = 2π / |b|

The period is the horizontal length of one complete cycle. A larger |b| compresses the graph horizontally, producing a shorter period and higher frequency.
3

Phase Shift −c / b

The phase shift translates the entire curve left or right. It is determined by the horizontal displacement needed to align the transformed function with the parent function.
4

Midline y = d

The midline (or vertical shift) is the horizontal line about which the function oscillates. It equals the average of the maximum and minimum values: d = (max + min) / 2.

SECTION 3

Visual Explanation — Anatomy of a Sinusoidal Curve

Anatomy of y = a sin(b(x − c)) + dxyd+|a|d−|a|d|a|Period T = 2π/|b|MaxMin0π2π
The cyan-to-violet curve shows one complete cycle of a sinusoidal function. The vertical dashed segment marks the amplitude |a|, the horizontal bracket spans one full period T, and the gold dashed line is the midline y = d.

Observe that the sinusoidal curve is perfectly symmetric about its midline: the distance from the midline to the maximum equals the distance from the midline to the minimum, and both equal |a|. A single period contains exactly one maximum, one minimum, and two midline crossings (one ascending, one descending). On the AP exam, you will frequently be given a partial graph and asked to extract these four parameters, so develop the habit of first locating the midline, then measuring amplitude and period, and finally noting any horizontal shift.

SECTION 4

Mathematical Framework

The general sinusoidal model used throughout AP Precalculus takes two equivalent forms. Understanding both is essential because certain contexts favor sine while others favor cosine, and the exam expects fluency in either representation.

GENERAL SINE FORM

f(x)=asin(b(x−c))+df(x) = a sin(b(x − c)) + d

a = amplitude (if a > 0, standard orientation; if a < 0, reflected over midline). b = frequency parameter; period T = 2π / |b|. c = phase shift (positive → right, negative → left). d = vertical shift (midline y = d).

GENERAL COSINE FORM

f(x)=acos(b(x−c))+df(x) = a cos(b(x − c)) + d

All parameters have the same meaning. The only difference is the starting behavior: cosine begins at a maximum (when a > 0) rather than at the midline.

PARAMETER EXTRACTION FROM DATA

d=(max+min)/2,∣a∣=(max−min)/2,∣b∣=2π/Td = (max + min) / 2, |a| = (max − min) / 2, |b| = 2π / T

Given a table or graph, compute the midline d first, then the amplitude |a|. Identify the period T as the horizontal distance between two consecutive maxima (or minima), and solve for b. Determine c by finding where the function reaches a known reference point (e.g., a maximum for cosine form).

ℹ
AP Exam Tip

A critical relationship that the AP course emphasizes is between the concavity of a sinusoidal function and its position relative to the midline. When the function value is above the midline, the graph is concave down (curving toward the midline), and when below the midline, it is concave up. Points of inflection occur exactly at midline crossings. This connection between position and concavity is a recurring theme in AP Precalculus free-response questions, where students must justify the behavior of rate of change.

SECTION 5

Transformations & Classification of Sinusoidal Graphs

Every sinusoidal function is obtained from the parent function y = sin x (or y = cos x) through a sequence of transformations. The AP framework treats these as compositions of vertical and horizontal stretches, reflections, and translations. The order in which you apply them matters: work inside-out, handling horizontal transformations (b and c) first, then vertical transformations (a and d).

Transformation Comparisony = sin x (parent)sin xy = 2 sin(2x) + 1d=12sin(2x)+1y = −sin x (reflection)−sin xy = sin(x − π/2) (phase shift)sin(x−π/2)
Four panels compare the parent sine curve (violet, top-left) with three common transformations: an amplitude and period change (top-right), a reflection over the midline (bottom-left), and a phase shift of π/2 to the right (bottom-right).
TransformationParameter ChangedEffect on Graph
Vertical stretch / compress|a| > 1 or |a| < 1Taller or shorter waves; amplitude changes
Horizontal stretch / compress|b| > 1 or |b| < 1Shorter or longer period; cycles speed up or slow down
Reflection over midlinea < 0Maxima become minima and vice versa
Horizontal translationc ≠ 0Entire graph shifts left (c < 0) or right (c > 0)
Vertical translationd ≠ 0Midline moves up or down; range shifts accordingly

Summary of sinusoidal transformations

SECTION 6

Worked Example — Writing a Sinusoidal Model

Suppose the average monthly temperature in a city ranges from a low of 28 °F in January (month 1) to a high of 82 °F in July (month 7). We are asked to write a sinusoidal function T(m) that models the temperature as a function of the month number m.

Worked example

  1. 1

    Step 1 — Find the Midline

    The midline is the average of the maximum and minimum temperatures: d = (82 + 28) / 2 = 110 / 2.
    d = 55 °F
  2. 2

    Step 2 — Find the Amplitude

    The amplitude is half the range: |a| = (82 − 28) / 2 = 54 / 2.
    |a| = 27 °F
  3. 3

    Step 3 — Determine the Period and b

    Temperature cycles once per year (12 months), so T = 12. Then b = 2π / T = 2π / 12 = π / 6.
    b = π / 6
  4. 4

    Step 4 — Choose Cosine and Find Phase Shift

    Using cosine is natural because cosine starts at a maximum. The maximum temperature occurs at month 7, so we need cos(b(m − c)) = 1 when m = 7. This gives c = 7.
    c = 7
  5. 5

    Step 5 — Assemble the Model

    Combining all parameters: T(m) = 27 cos(π/6 (m − 7)) + 55. We can verify: T(7) = 27 cos(0) + 55 = 27 + 55 = 82 ✓ and T(1) = 27 cos(π/6 × (−6)) + 55 = 27 cos(−π) + 55 = 27(−1) + 55 = 28 ✓.
    T(m) = 27 cos(π/6 (m − 7)) + 55

Two matched harbor views show the same fixed pier, pilings, shoreline buildings and blue boat at higher water and lower water; exposed rocks and piling lengths increase in the lower-water view.The harbor scene introduces periodic change; the accompanying graph models annual temperature. The temperature model has minimum 28 °F at month 1 and maximum 82 °F at month 7. Its midline is 55 °F, amplitude 27 °F, and period 12 months.

The harbor scene introduces periodic change; the accompanying graph models annual temperature. The temperature model has minimum 28 °F at month 1 and maximum 82 °F at month 7. Its midline is 55 °F, amplitude 27 °F, and period 12 months.The harbor scene introduces periodic change; the accompanying graph models annual temperature. The temperature model has minimum 28 °F at month 1 and maximum 82 °F at month 7. Its midline is 55 °F, amplitude 27 °F, and period 12 months.

SECTION 7

Sine vs. Cosine — When to Use Which

Since cosine is simply sine shifted left by π/2, the choice between the two is ultimately a matter of convenience. However, strategic selection can simplify your algebra considerably. The table below summarizes common scenarios and the preferred form for each.

ScenarioPreferred FormReason
Data starts at a maximumCosine (a > 0)Cosine's parent starts at its max; phase shift equals the x-coordinate of the max.
Data starts at a minimumCosine (a < 0) or −cosNegating cosine flips the max to a min at x = c.
Data starts at the midline, increasingSine (a > 0)Sine's parent crosses the midline going up at x = 0.
Data starts at the midline, decreasingSine (a < 0) or −sinNegating sine starts at the midline going down.
Calculator regressionSine (standard form)Most graphing calculators output sinusoidal regression as a sin(bx + c) + d.

Quick-reference guide for choosing sine or cosine

SECTION 8

Connections to Calculus & Advanced Analysis

Sinusoidal functions occupy a privileged position in mathematics because they are eigenfunctions of differentiation: differentiating sine yields cosine (a phase shift), and differentiating again returns −sin. This self-reproducing property makes sinusoids indispensable in differential equations and signal processing. The table below previews how your AP Precalculus sinusoidal toolkit extends into calculus.

AP Precalculus ConceptCalculus / Advanced Extension
Amplitude & midlineDetermine maximum rate of change (derivative amplitude = a × b)
Period T = 2π/|b|Frequency f = 1/T; angular frequency ω = 2πf = |b| (ubiquitous in physics)
Concavity & midline crossingSecond derivative test: inflection points occur at midline crossings
Phase shift cIn Fourier analysis, phase encodes how component waves align to form complex signals
Sinusoidal regressionLeads to Fourier series: decomposing any periodic function into infinite sums of sinusoids

From AP Precalculus to Calculus and beyond

While you will not be tested on derivatives or Fourier series in AP Precalculus, understanding that sinusoidal functions are the fundamental building blocks of all periodic analysis gives valuable perspective. Every time you write f(x) = a sin(b(x − c)) + d, you are constructing one term of a potentially infinite sum that can approximate even a square wave or a heartbeat.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A sinusoidal function f has a maximum value of 10 and a minimum value of −2. Which of the following correctly identifies the amplitude and midline?
  • A. Amplitude = 12, Midline y = 5
  • B. Amplitude = 6, Midline y = 4
  • C. Amplitude = 6, Midline y = 5
  • D. Amplitude = 10, Midline y = 4
  • E. Amplitude = 5, Midline y = 6
Show answer (B)
B is correct. The midline is (max + min)/2 = (10 + (−2))/2 = 8/2 = 4, and the amplitude is (max − min)/2 = (10 − (−2))/2 = 12/2 = 6. A is wrong because it uses 12 as the amplitude (the full range, not half) though the midline calculation would be 4, not 5. C uses the correct amplitude but miscalculates the midline as 5 instead of 4. D confuses the maximum value (10) with the amplitude. E has both values incorrect—neither 5 nor 6 matches the correct amplitude or midline.

Question 2: BASIC CALCULATION

What is the period of the function g(x) = 3 sin(4x − π) + 1?
  • A. 4π
  • B. 2π
  • C. π/2
  • D. π/4
  • E. π
Show answer (C)
C is correct. Factor the argument: g(x) = 3 sin(4(x − π/4)) + 1, so b = 4. The period is T = 2π/|b| = 2π/4 = π/2. A (4π) results from multiplying 2π by b instead of dividing. B (2π) is the period of the parent sin x and ignores the horizontal compression. D (π/4) confuses the phase shift with the period. E (π) likely results from computing 2π/2 instead of 2π/4.

Question 3: INTERMEDIATE

The function h(x) = a cos(b(x − c)) + d has a maximum at (2, 7) and a minimum at (8, 1). Which of the following is h(x)?
  • A. h(x) = 3 cos(π/6 (x − 2)) + 4
  • B. h(x) = 6 cos(π/6 (x − 2)) + 4
  • C. h(x) = 3 cos(π/6 (x − 8)) + 4
  • D. h(x) = 3 cos(π/12 (x − 2)) + 4
  • E. h(x) = 3 sin(π/6 (x − 2)) + 4
Show answer (A)
A is correct. Midline d = (7 + 1)/2 = 4. Amplitude |a| = (7 − 1)/2 = 3. The distance from the max at x = 2 to the min at x = 8 is half a period, so T/2 = 6, giving T = 12 and b = 2π/12 = π/6. Since cosine has its max at x = c, we get c = 2. B uses 6 (the full range) as the amplitude instead of 3. C sets the phase shift to the minimum's x-value; cosine's max, not min, occurs at x = c (when a > 0). D uses b = π/12, which would give T = 24, doubling the actual period. E uses sine instead of cosine; sine at x = c passes through the midline, not the maximum, so this model would give h(2) = 4, not 7.

Question 4: APPLIED

A Ferris wheel has a diameter of 40 meters and its center is 25 meters above the ground. The wheel completes one full rotation every 3 minutes. A rider boards at the lowest point at time t = 0 minutes. Write a sinusoidal function H(t) for the rider's height (in meters) above the ground as a function of time t (in minutes). Then determine the rider's height at t = 1 minute.
Show answer
Solution: The radius is 40/2 = 20 m, so amplitude |a| = 20. The center is 25 m above ground, so midline d = 25. The period is 3 min, giving b = 2π/3. Since the rider starts at the lowest point (minimum), we use negative cosine: H(t) = −20 cos(2πt/3) + 25. At t = 1: H(1) = −20 cos(2π/3) + 25 = −20(−0.5) + 25 = 10 + 25 = 35 meters.

Question 5: CRITICAL THINKING

Let f(x) = 4 sin(πx/3) + 5. Determine the range of f and find all values of x in the interval [0, 12] where f(x) = 7. Justify why the number of solutions is consistent with the function's period.
Show answer
Range: Since −1 ≤ sin(πx/3) ≤ 1, we get 4(−1) + 5 ≤ f(x) ≤ 4(1) + 5, so the range is [1, 9]. Solving f(x) = 7: 4 sin(πx/3) + 5 = 7 → sin(πx/3) = 1/2. The general solutions are πx/3 = π/6 + 2nπ or πx/3 = 5π/6 + 2nπ. Solving: x = 0.5 + 6n or x = 2.5 + 6n. In [0, 12]: x = 0.5, 2.5, 6.5, 8.5. Justification: The period is T = 2π/(π/3) = 6. The interval [0, 12] spans exactly 2 periods. Within each period, sin = 1/2 is satisfied twice (once ascending, once descending), yielding 2 × 2 = 4 solutions, which is consistent.

Varsity Tutors • AP Precalculus • Sinusoidal Functions