How to use the simulator
The window runs from about −1 to 13 horizontally and −7 to 7 vertically. The wave is coral. A dashed teal line marks the midline , two lighter dashed lines mark the maximum and minimum , and a white dot marks the point , where this sine wave crosses its midline going up.
- amplitude a: from 0.5 to 4 in steps of 0.25 (default 2). Only positive values are offered, so there is no reflection here.
- period P: from 1 to 12 in steps of 0.25 (default 6.25, close to ). You set the period directly; the simulator computes b.
- phase shift c: from −6 to 6 in steps of 0.25 (default 0). The dot is shown only when c is −1 or greater, because the window starts at −1.
- midline d: from −3 to 3 in steps of 0.5 (default 0).
The panel writes the equation with b rounded to two decimals, for example y = 3·sin(0.79·(x − 1.50)) + 1, then lists the amplitude, the period with its b value, the phase shift with "right" or "left", and the midline. Because b is rounded, use the period, not the printed b, when you need an exact value such as .
The equations
For with :
The phase shift is c units to the right: the graph of is translated so that its rising midline crossing moves from to . The AP Precalculus course description writes the general form as ; with a plus sign inside, the shift is units to the left. Either way, factor b out first and read the shift from what is subtracted from x.
From features to an equation:
- and .
- P is the horizontal distance between two consecutive maxima (or twice the distance from a maximum to the next minimum).
- For a sine model, c is an x-value where the graph crosses the midline going up. A maximum occurs a quarter period later, at .
The same wave can be written with cosine, starting at a maximum instead: .
Worked example
A quantity oscillates between a maximum of 4 and a minimum of −2. It reaches the maximum at and the next minimum at . Write a sine model.
Step 1: midline and amplitude. and .
Step 2: period. Maximum to the next minimum is half a period: , so and .
Step 3: phase shift. The rising midline crossing comes a quarter period (2 units) before the maximum: .
Model:
Check a value: at , , which sits between the midline and the maximum, as it should just after the peak.
Check it in the simulator: set a = 3, P = 8, c = 1.5, d = 1. The equation reads y = 3·sin(0.79·(x − 1.50)) + 1, the dot sits at (1.5, 1), the peak touches the upper dashed line y = 4 at x = 3.5 and the trough touches y = −2 at x = 7.5.
Common mistakes on the AP exam
- Using P as b. A period of 8 means , not 8. Larger b means a shorter period.
- Not factoring out b. In , the shift is 3, because .
- Getting the shift direction backward. moves right by c; moves left by c.
- Amplitude equal to the maximum. Amplitude is half the distance from maximum to minimum. With max 4 and min −2, it is 3, not 4.
- Using a maximum as the sine starting point. A sine model starts at a rising midline crossing; if you anchor on a maximum, use cosine.
- Taking the period from max to min. That distance is half a period.
- Calculator in degree mode. These models use radians; is not 45 in degree mode.
When the AP exam uses this
Sinusoidal modeling (Topics 3.6 and 3.7) is a favorite for free-response questions built on a context such as tides, temperatures or a Ferris wheel. You may be given a table of values or a graph and asked to find a, b, c and d, then use the model to estimate a value or identify where the function is increasing, decreasing, concave up or concave down.