4 4 Practice Graphing Sine and Cosine Functions: Complete Guide

To practice graphing sine and cosine functions, start by identifying the amplitude, period, phase shift, and vertical shift, then plot the five key points that divide one full period into quarters — the intercepts and the maximum and minimum values. For a parent function like y = sin x, those key points are (0, 0), (π/2, 1), (π, 0), (3π/2, −1), and (2π, 0). Once you can place those five points, you can graph any transformed sine or cosine curve.
Graphing Sine and Cosine
Sine and cosine are periodic functions, meaning their graphs repeat at regular intervals forever in both directions. The unit circle — a circle of radius 1 centered at the origin — is where both functions come from: for an angle θ, the point on the circle is (cos θ, sin θ). So cosine is the x-coordinate and sine is the y-coordinate as you travel around the circle.
Because the circle repeats every 2π radians, both graphs repeat every 2π as well. That repeating unit is called the period. Sine starts at 0 and rises, while cosine starts at its maximum of 1 and falls — this is the only real difference in their shape.
The Five Key Points
Rather than plotting dozens of points, divide one period into four equal parts and plot five points. For y = sin x over [0, 2π], the values follow a clear pattern: 0, 1, 0, −1, 0. For y = cos x over the same interval, the pattern is 1, 0, −1, 0, 1. Everything else is a stretched, shifted version of these patterns.
A quick way to remember the shapes: sine looks like a wave that passes through the origin, and cosine looks like the same wave slid a quarter-period to the left. That means cos x = sin(x + π/2).
Amplitude and Period
Amplitude measures how tall the wave is — the distance from the middle line to the highest point. For y = a·sin(bx) or the cosine equivalent, the amplitude is |a|. So y = 3 sin x reaches 3 and −3, while y = sin x only reaches 1 and −1. Amplitude is always positive; a negative value of a flips the graph upside down instead.
Period measures how long it takes the wave to complete one cycle, and it equals 2π / |b|. The bigger b is, the more compressed the wave becomes horizontally. For y = sin(2x), the period is π, so a full wave finishes in half the usual space.
| Function | Amplitude | Period |
|---|---|---|
| y = sin x | 1 | 2π |
| y = 4 cos x | 4 | 2π |
| y = sin(3x) | 1 | 2π/3 |
| y = −2 cos(½x) | 2 | 4π |
A common mistake is dividing by b incorrectly. To find the period, remember it equals 2π divided by b, not multiplied — because a larger b squeezes more cycles into the same interval.
Finding the Quarter-Points
Once you know the period, divide it by 4 to get the spacing between key points. For y = sin(2x), the period is π and the spacing is π/4, so key points fall at x = 0, π/4, π/2, 3π/4, and π. This is the same process regardless of how complicated the equation looks.
Phase Shifts and Vertical Shifts
A phase shift moves the graph left or right. For y = sin(bx − c), rewrite it as y = sin(b(x − c/b)); the phase shift is c/b, and it moves right when c/b is positive. A vertical shift moves the whole graph up or down along the y-axis: for y = sin x + d, add d to each y-value, which also raises the midline to y = d.
So the general form y = a·sin(b(x − c)) + d packs in all four transformations: amplitude |a|, period 2π/|b|, horizontal shift c, and vertical shift d. Learn to read all four from a single equation and you can sketch the graph in a few seconds.
If you’d like a structured walkthrough of these transformations, Khan Academy covers them step by step, and MIT OpenCourseWare has lecture notes on trigonometric graphing for deeper study.
Worked Example
Graph y = 2 sin(x − π/2) + 1. First, amplitude = |2| = 2. Second, period = 2π (since b = 1). Third, phase shift = π/2 to the right. Fourth, vertical shift = 1 up, so the midline is y = 1.
Start the sine cycle at x = π/2 instead of 0. The key points, spaced π/2 apart, land at x = π/2, π, 3π/2, 2π, and 5π/2. Now apply the amplitude and shift: the y-values become midline ± amplitude. So the points are (π/2, 1), (π, 3), (3π/2, 1), (2π, −1), and (5π/2, 1). Plot and connect with a smooth wave. The graph rises from 1 to a peak of 3, falls to a trough of −1, and returns to 1.
For additional drill sets, Purplemath is a useful reference when you get stuck on a specific step.
The most reliable habit is to always write out the four values — amplitude, period, phase shift, and vertical shift — before you plot anything. That single step prevents almost every graphing error.
Key Takeaways
- The five key points (intercepts plus maximum and minimum) let you sketch one full period of any sine or cosine graph.
- Amplitude equals |a| and controls height; period equals 2π/|b| and controls horizontal length.
- The general form y = a·sin(b(x − c)) + d encodes amplitude, period, phase shift, and vertical shift.
- Sine passes through the origin, cosine starts at its peak, and they are the same wave shifted by π/2.
- Always extract all four transformation values before plotting to avoid mistakes.