Last updated: October 22, 2026 · Written by the Math Made Easy math teachers

Looking for precalculus sinusoidal functions? Then this Precalculus lesson on Graphing Sine, Cosine and Tangent Functions explains each idea step by step, with worked examples.
Quick answer: Sine and cosine graphs are waves with amplitude 1, period 2π and midline y = 0. In y = A sin(B(x − C)) + D, A sets the amplitude, B sets the period 2π/|B|, C shifts the wave horizontally, and D moves the midline. Tangent has period π and vertical asymptotes at π/2 + kπ.
Standards: F-TF.B.5, F-IF.C.7e, F-BF.B.3 · Level: Grade 12 Precalculus
What do the graphs of sine and cosine look like?
Both graphs are smooth waves that repeat every 2π, with a highest value of 1 and a lowest value of −1. Sine starts at the midline and rises; cosine starts at its maximum. Shifting cosine right by π/2 gives sine.
How do amplitude, period, shift and midline change the wave?
y = A sin(B(x − C)) + D
- Amplitude |A|: distance from the midline to a peak.
- Period 2π/|B|: the length of one full wave.
- Phase shift C: right if positive, left if negative.
- Midline y = D: maximum is D + |A|, minimum D − |A|.
For y = 3 sin(2(x − π/4)) + 1: amplitude 3, period 2π/2 = π, shift π/4 right, midline y = 1. The maximum is 4 and the minimum is −2.
How do you write a sinusoidal model from data?
- Amplitude A = (max − min)/2, midline D = (max + min)/2.
- The distance from a maximum to the next minimum is half a period, so find the period and use B = 2π/period.
- Use cosine if you know where a maximum is: shift C equals that x-value.
A day’s temperature peaks at 78°F at hour 15 and bottoms out at 48°F at hour 3. Then A = 15, D = 63, the period is 24, so B = π/12 and T(t) = 15cos(π/12 (t − 15)) + 63.
What does the tangent graph look like?
Tangent has period π, zeros at multiples of π, and vertical asymptotes at x = π/2 + kπ, where cosine is 0. It has no amplitude because it is unbounded. For y = tan(Bx) the period is π/|B|.
Reading the shift from sin(2x − π) as π. Factor first: sin(2(x − π/2)) shifts the graph π/2, not π.
Always factor out B before reading the phase shift. Then plot the midline, the max and min, and connect them with a smooth wave.
- Amplitude = |A|; maximum = D + |A|; minimum = D − |A|.
- Period of sine and cosine = 2π/|B|; period of tangent = π/|B|.
- Phase shift is C in A sin(B(x − C)): factor B out first.
- To model data: A = (max − min)/2, D = (max + min)/2, B = 2π/period.
- Tangent has vertical asymptotes at x = π/2 + kπ and zeros at x = kπ.
Graphing Sine, Cosine and Tangent Functions: frequently asked questions
What are amplitude, period and midline?
Amplitude is the distance from the midline to a peak, period is the horizontal length of one full cycle, and the midline is the horizontal line halfway between the maximum and minimum values.
How do you find the phase shift of a sine or cosine function?
Factor the coefficient of x out of the argument so it reads B(x − C). The shift is C. For sin(2x − π) = sin(2(x − π/2)), the shift is π/2 to the right.
Why does the tangent graph have vertical asymptotes?
Tangent equals sine divided by cosine. At odd multiples of π/2 the cosine is 0 while the sine is not, so the quotient grows without bound and the graph approaches a vertical line.
How do you write a sinusoidal model from data?
Take the highest and lowest values to get amplitude and midline, measure the time between peaks for the period, and choose cosine with a shift at a maximum or sine with a shift at a midline crossing.
How are the graphs of sine and cosine related?
They have the same shape. Shifting the cosine graph π/2 units to the right produces the sine graph, so sin x = cos(x − π/2).
Mis à jour le
