MATH 3 • ALGEBRA & FUNCTIONS

Graphing Sine & Cosine — I can interpret and graph basic sine and cosine functions, identifying amplitude, period, and midline.

Learn to read and sketch the wave-shaped graphs that model everything from sound to seasons.

Historical Context & Motivation

Long before anyone drew a sine curve on graph paper, ancient civilizations were fascinated by repeating patterns in nature — the rising and setting of the sun, the phases of the moon, and the changing tides. The mathematical functions we call sine and cosine were originally developed to solve problems in astronomy and navigation, but they turned out to describe wave-like behavior everywhere in the physical world.

~150 CE
Ptolemy's Chord Tables
Greek astronomer Claudius Ptolemy compiled detailed tables of chord lengths in circles, which are closely related to sine values. These tables helped astronomers predict the positions of stars and planets.
~500 CE
Indian 'Jyā' (Sine) Function
Indian mathematician Aryabhata defined the half-chord of a circle, calling it jyā. Through Arabic translation, this word eventually became our modern term "sine."
1635
Graphs of Trigonometric Functions
Gilles de Roberval became one of the first mathematicians to sketch a sine curve on a coordinate plane, revealing its characteristic smooth wave shape.
1822
Fourier's Breakthrough
Joseph Fourier showed that virtually any periodic wave — sound, heat, or light — can be built from combinations of sine and cosine functions, making these graphs indispensable across science and engineering.

Today, sine and cosine curves appear whenever something repeats in a predictable cycle. Understanding how to read and graph these functions gives you a powerful tool: the ability to model phenomena like the swing of a pendulum, the voltage in an electrical outlet, or the average daily temperature over a year. The central question for this lesson is: How do we translate the numbers produced by sine and cosine into visual, wave-shaped graphs, and what do the key features of those graphs tell us?

Core Principles & Definitions

Before sketching any graphs, you need to understand three features that describe every sine or cosine wave. These features — amplitude, period, and midline — act like a set of instructions for building the wave. If you know all three, you can sketch the graph without plotting dozens of individual points.

1

Amplitude

The amplitude is the distance from the midline to the highest (or lowest) point of the wave. It tells you how tall the wave is. A larger amplitude means a taller, more dramatic wave.
2

Period

The period is the horizontal length of one complete cycle of the wave. It answers the question: how far along the x-axis do you travel before the pattern starts repeating?
3

Midline

The midline is the horizontal line that runs through the middle of the wave, halfway between the maximum and minimum values. For the basic functions y = sin(x) and y = cos(x), the midline is y = 0.
4

Maximum & Minimum

The maximum value equals the midline plus the amplitude; the minimum value equals the midline minus the amplitude. These are the peaks and valleys of the wave.
KEY TAKEAWAY
Think of a sine or cosine wave like someone bouncing on a trampoline. The midline is the resting height of the trampoline surface. The amplitude is how high above (or below) the surface the person bounces. The period is how long it takes for one full bounce cycle — up, down, and back to the surface.

The Shapes of Sine & Cosine

The diagram below shows one complete cycle each of the parent functions y = sin(x) and y = cos(x) plotted on the same coordinate plane. Notice that both curves have the same wave shape — the cosine graph is simply the sine graph shifted to the left by π/2 units. Both oscillate between −1 and 1, giving them an amplitude of 1, a period of 2π, and a midline of y = 0.

Both y = sin(x) (cyan) and y = cos(x) (violet) share the same amplitude of 1, period of 2π, and midline y = 0. Key points are marked with dots: the sine curve starts at the origin while the cosine curve starts at its maximum.

There are several important observations to make from this graph. The sine curve starts at the origin (0, 0), rises to its peak at x = π/2, returns to 0 at x = π, drops to its lowest point at x = 3π/2, and completes the cycle back at 0 when x = 2π. The cosine curve follows the exact same wave pattern but starts at its maximum value of 1 when x = 0. These five key x-values — 0, π/2, π, 3π/2, and 2π — divide one period into four equal quarter-cycles. Memorizing the behavior at these quarter-points is the fastest way to sketch either function by hand.

Mathematical Framework

The general forms of sine and cosine functions introduce parameters that control the shape and position of the wave. For this lesson, we focus on the simplified version (without horizontal shifts) so that you can clearly see how each parameter maps to a graph feature.

GENERAL SINE FUNCTION
y = A · sin(Bx) + D
A = amplitude (vertical stretch), B = frequency factor (horizontal compression), D = vertical shift (sets the midline at y = D).
GENERAL COSINE FUNCTION
y = A · cos(Bx) + D
Same parameters apply. The only difference from the sine version is the starting point of the wave.
AMPLITUDE
Amplitude = |A|
The amplitude is always positive. If A is negative, the graph flips upside down (a reflection over the midline), but the amplitude is still |A|.
PERIOD
Period = 2π / |B|
A larger value of |B| compresses the wave horizontally, producing a shorter period. A smaller value stretches it out, producing a longer period.
MIDLINE
Midline: y = D
When D = 0, the midline sits on the x-axis. Positive D shifts the entire wave up; negative D shifts it down.
💡 Quick Connections
Maximum value = D + |A| and Minimum value = D − |A|. You can also work backward: if you're given a graph, the amplitude equals (max − min) / 2 and the midline equals (max + min) / 2.

Quarter-Point Table & Detailed Breakdown

The most efficient way to sketch a sine or cosine graph is to plot five quarter-points — the values at the start, each quarter of the period, and the end. These five points capture the maximum, minimum, and midline crossings, which together define the entire shape of one cycle.

Quarter-point values for y = sin(x) and y = cos(x) over one full period (0 to 2π).
Fraction of Periodx-value (basic)sin(x)cos(x)
0 (start)001 (max)
¼π/21 (max)0
½π0−1 (min)
¾3π/2−1 (min)0
1 (end)01 (max)
A transformed sine function y = 3 sin(2x) + 1 with amplitude 3, period π, and midline y = 1. The five quarter-points are labeled, showing how the wave reaches its maximum of 4 and minimum of −2.

In the transformed function y = 3 sin(2x) + 1 shown above, you can verify each parameter. The coefficient A = 3 stretches the wave vertically, so the amplitude is 3. The coefficient B = 2 compresses the wave horizontally, producing a period of 2π / 2 = π instead of the usual 2π. Finally, D = 1 shifts the entire wave up by one unit, setting the midline at y = 1. The maximum value is 1 + 3 = 4, and the minimum is 1 − 3 = −2.

Worked Example

Let's walk through a complete example: identify the key features and sketch y = 2 cos(x) − 3.

Graphing y = 2 cos(x) − 3
1
Step 1 — Identify A, B, and DCompare y = 2 cos(x) − 3 to the general form y = A · cos(Bx) + D. Here, A = 2, B = 1, and D = −3.
A = 2, B = 1, D = −3
2
Step 2 — Find the AmplitudeAmplitude = |A| = |2| = 2. The wave rises 2 units above the midline and drops 2 units below it.
Amplitude = 2
3
Step 3 — Find the PeriodPeriod = 2π / |B| = 2π / 1 = 2π. Since B = 1 (unchanged from the parent function), one full cycle still takes 2π units along the x-axis.
Period = 2π
4
Step 4 — Find the MidlineMidline: y = D = −3. The wave is centered on the horizontal line y = −3 instead of the x-axis.
Midline: y = −3
5
Step 5 — Calculate Max and MinMaximum = D + |A| = −3 + 2 = −1. Minimum = D − |A| = −3 − 2 = −5. So the graph oscillates between y = −1 and y = −5.
Max = −1, Min = −5
6
Step 6 — Plot the Quarter-PointsSince this is a cosine function, it starts at the maximum. The five quarter-points over one period are: (0, −1), (π/2, −3), (π, −5), (3π/2, −3), and (2π, −1). Plot these points, draw a smooth wave through them, and you've graphed the function.
Points: (0, −1), (π/2, −3), (π, −5), (3π/2, −3), (2π, −1)
📌 Cosine vs. Sine Starting Points
Remember: a cosine function always begins at a maximum (or minimum if A is negative), while a sine function always begins on the midline. This difference is the main distinction when plotting quarter-points.

Comparing Sine & Cosine

Sine and cosine are very closely related — they share the same shape, amplitude, and period. The only difference is where they start. This comparison table highlights their similarities and differences so you can quickly decide which function matches a given graph or real-world scenario.

Side-by-side comparison of y = sin(x) and y = cos(x).
Featurey = sin(x)y = cos(x)
Value at x = 00 (midline)1 (maximum)
First reaches maximum atx = π/2x = 0
First reaches minimum atx = 3π/2x = π
SymmetryOdd function: sin(−x) = −sin(x)Even function: cos(−x) = cos(x)
Relationshipsin(x) = cos(x − π/2)cos(x) = sin(x + π/2)
Starting directionRises from midlineFalls from maximum
KEY TAKEAWAY
Sine and cosine are like two runners on the same circular track who started at different points. They follow the exact same path at the exact same speed, but one is always a quarter-lap ahead of the other. That quarter-lap offset is the π/2 phase shift that separates them.

Connection to Advanced Topics

The amplitude-period-midline framework you've learned in this lesson is the foundation for more advanced transformations. As you progress, you will encounter additional parameters that let you shift the wave left or right (a phase shift) and even combine multiple waves together.

How this lesson's concepts expand into future coursework.
What You Know NowWhat Comes Next
y = A sin(Bx) + Dy = A sin(B(x − C)) + D where C is the phase (horizontal) shift
Graphing one cycleGraphing multiple cycles and combining sine/cosine (Fourier analysis)
Identifying features from equationsWriting equations from real-world data (curve fitting, sinusoidal regression)
Sine and cosine onlyTangent, secant, cosecant, and cotangent graphs
Amplitude, period, midlineFrequency (cycles per unit), angular velocity, and radian measure in physics

Being comfortable with the concepts in this lesson will make those future topics much more manageable. Every advanced transformation is just one more layer on top of the amplitude, period, and midline framework you've already mastered.

Practice Problems

PROBLEM 1CONCEPTUAL
A student claims that the graphs of y = sin(x) and y = cos(x) are completely different functions because they don't start at the same point. Explain whether this claim is fully correct, partially correct, or incorrect, and justify your reasoning.
PROBLEM 2BASIC CALCULATION
Find the amplitude, period, and midline of y = 4 sin(3x) + 2.
PROBLEM 3INTERMEDIATE
A cosine function has a maximum value of 7 and a minimum value of −1. Its graph completes one full cycle from x = 0 to x = 4π. Determine the amplitude, midline, and write the equation of the function.
PROBLEM 4APPLIED
The average monthly temperature in a city can be modeled by T(m) = 20 sin((π/6)m) + 55, where m is the month number (m = 1 for January). What is the highest average temperature, the lowest average temperature, and how many months does it take for the temperature pattern to repeat?
PROBLEM 5CRITICAL THINKING
Consider the function y = −5 cos(4x) + 2. Identify the amplitude, period, and midline. Then explain how the negative sign in front of the 5 affects the graph compared to y = 5 cos(4x) + 2. Sketch or describe the quarter-points for one complete cycle starting at x = 0.

Lesson Summary

Sine and cosine functions produce smooth, wave-shaped graphs that repeat indefinitely. Every such graph can be described by three key features: the amplitude (the height from midline to peak, equal to |A|), the period (the horizontal length of one complete cycle, equal to 2π / |B|), and the midline (the horizontal line y = D around which the wave oscillates). The maximum value is D + |A| and the minimum value is D − |A|.

To graph a sine or cosine function, use the quarter-point method: divide one period into four equal intervals and plot the key values (maximum, midline, and minimum) at each boundary. Remember that sine starts on the midline while cosine starts at its maximum (or minimum if A is negative). These two functions share the same shape — they differ only by a horizontal shift of π/2. Mastering these fundamentals prepares you for phase shifts, sinusoidal modeling, and more complex trigonometric analysis.

Varsity Tutors • Math 3 • Graphing Sine & Cosine