Lesson 1 / 5 · 11 min read
Graphs of Trig Functions
Amplitude, period, phase shift — and why tangent has asymptotes.
Sine and cosine — the shape
y=sinx and y=cosx both produce smooth waves oscillating between −1 and +1.
- sinx starts at the origin: sin0=0.
- cosx starts at the top: cos0=1.
Both repeat every 2π. That's the period.
Amplitude, period, phase shift
The general form:
y=Asin(B(x−C))+D
- ∣A∣ is the amplitude — height from midline to peak.
- B2π is the period — width of one cycle.
- C is the phase shift — horizontal translation.
- D is the vertical shift — moves the midline.
Example. y=3sin(2x) has amplitude 3 and period 22π=π. It oscillates between −3 and +3, completing one cycle every π units.
Example. y=cos(x−2π) is cos shifted right by π/2. At x=π/2, the input to cosine is 0, so the output is 1. The graph looks just like sine — and in fact cos(x−2π)=sinx. Sine and cosine are the same wave, offset by π/2.
Tangent — vertical asymptotes
y=tanx=cosxsinx. It blows up wherever cosx=0 — at x=±π/2,±3π/2,….
- Period of tan is π (not 2π).
- Range: all real numbers.
- Vertical asymptotes at odd multiples of π/2.
Key features at a glance
| Function | Period | Range | Notes |
|---|---|---|---|
| sinx | 2π | [−1,1] | starts at 0 |
| cosx | 2π | [−1,1] | starts at 1 |
| tanx | π | (−∞,∞) | asymptotes at π/2+kπ |
Key takeaways
- Sine and cosine are the same wave, offset by π/2.
- For Asin(Bx): amplitude ∣A∣, period B2π.
- Tangent has period π and asymptotes wherever cosine is zero.