Trigonometry

Trigonometric Graphs: Sine, Cosine & Tangent

Master the graphs of sin, cos and tan. Understand amplitude, period, phase shift and vertical translation with interactive examples and exam techniques.

V
Vectora Team
STEM Education
14 min read
2026-04-10

Try the interactive simulation for this topic

Explore this concept with our interactive 3D simulation.
Launch Simulator

Why Study Trigonometric Graphs?

The graphs of sinx\sin x, cosx\cos x and tanx\tan x are among the most important functions in mathematics and physics. They model everything from sound waves and alternating current to tidal patterns and planetary orbits. Understanding how to read and manipulate these graphs is essential at A-Level, AP and IB level.

Trigonometric Graph Explorer

Adjust amplitude, period, phase shift and vertical offset in real time. Compare sine, cosine and tangent side by side and see how each parameter reshapes the wave.
Launch Graph Explorer

Learning Goals: By the end of this guide, you should be able to:

  1. Sketch the graphs of sinx\sin x, cosx\cos x and tanx\tan x from memory.
  2. Identify amplitude, period, phase shift and vertical translation from an equation.
  3. Write the equation of a trigonometric function from its graph.
  4. Solve graphical problems involving trigonometric transformations.

The Three Parent Graphs

y=sinxy = \sin x

  • Shape: Smooth wave starting at the origin
  • Range: [1,1][-1, 1]
  • Period: 2π2\pi (or 360°360°)
  • Key points: (0,0)(0, 0), (π2,1)(\frac{\pi}{2}, 1), (π,0)(\pi, 0), (3π2,1)(\frac{3\pi}{2}, -1), (2π,0)(2\pi, 0)

y=cosxy = \cos x

  • Shape: Smooth wave starting at maximum
  • Range: [1,1][-1, 1]
  • Period: 2π2\pi (or 360°360°)
  • Key points: (0,1)(0, 1), (π2,0)(\frac{\pi}{2}, 0), (π,1)(\pi, -1), (3π2,0)(\frac{3\pi}{2}, 0), (2π,1)(2\pi, 1)
  • Relationship: cosx=sin(x+π2)\cos x = \sin\left(x + \frac{\pi}{2}\right) — cosine is sine shifted left by π2\frac{\pi}{2}.

y=tanxy = \tan x

  • Shape: Repeating S-curves between vertical asymptotes
  • Range: (,+)(-\infty, +\infty)
  • Period: π\pi (or 180°180°)
  • Asymptotes at x=π2+nπx = \frac{\pi}{2} + n\pi where nn is any integer

The General Equation

All three trigonometric graphs follow the general form:

y=Asin(B(xC))+Dy = A \sin(B(x - C)) + D

(Replace sin\sin with cos\cos or tan\tan as appropriate.)

ParameterNameEffectFormula
AAAmplitudeVertical stretch; height of peaksamplitude=A\text{amplitude} = \vert A \vert
BBFrequencyHorizontal compression; number of cyclesperiod=2πB\text{period} = \frac{2\pi}{\vert B \vert}
CCPhase shiftHorizontal translationShift right by CC
DDVertical shiftMoves the midline up or downMidline at y=Dy = D

Worked Examples

Example 1: Reading Parameters from an Equation

Question: For y=3sin(2xπ)+1y = 3\sin(2x - \pi) + 1, find the amplitude, period, phase shift and midline.

Step 1: Rewrite in standard form: y=3sin(2(xπ2))+1y = 3\sin\left(2\left(x - \frac{\pi}{2}\right)\right) + 1

Step 2: Read off the parameters:

  • Amplitude: A=3|A| = 3
  • Period: 2πB=2π2=π\frac{2\pi}{|B|} = \frac{2\pi}{2} = \pi
  • Phase shift: C=π2C = \frac{\pi}{2} (shift right)
  • Midline: y=1y = 1

Example 2: Writing the Equation from a Graph

Question: A cosine curve has maximum 5, minimum 1, period 4π4\pi, and starts at its maximum when x=πx = \pi.

Step 1: Amplitude =512=2= \frac{5 - 1}{2} = 2, midline D=5+12=3D = \frac{5 + 1}{2} = 3

Step 2: Period =4π= 4\pi, so B=2π4π=12B = \frac{2\pi}{4\pi} = \frac{1}{2}

Step 3: Maximum at x=πx = \pi, so phase shift C=πC = \pi

Answer: y=2cos(12(xπ))+3y = 2\cos\left(\frac{1}{2}(x - \pi)\right) + 3


Sine vs Cosine: The Phase Relationship

The key identity connecting sine and cosine is:

cosx=sin(x+π2)\cos x = \sin\left(x + \frac{\pi}{2}\right)

This means any cosine graph can be rewritten as a sine graph (and vice versa) by adjusting the phase shift. Examiners may accept either form.


Common Mistakes

  1. Forgetting to factor out BB before reading the phase shift — in y=sin(2xπ)y = \sin(2x - \pi), the phase shift is NOT π\pi. You must write sin(2(xπ2))\sin(2(x - \frac{\pi}{2})) to see the true shift is π2\frac{\pi}{2}.
  2. Confusing period with frequency — period is the length of one cycle; frequency (BB) is the number of cycles in 2π2\pi.
  3. Drawing tangent without asymptotes — always mark asymptotes first, then sketch the curve between them.

Exam Tips (A-Level / AP / IB)

  • A quick way to find the period from a graph: measure the horizontal distance between two consecutive peaks (or troughs, or any two corresponding points).
  • When sketching, always mark the five key points of one cycle first (start, quarter, half, three-quarter, end), then connect smoothly.
  • For inverse trig questions, remember the restricted domains: sin1\sin^{-1} returns [π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}], cos1\cos^{-1} returns [0,π][0, \pi], tan1\tan^{-1} returns (π2,π2)(-\frac{\pi}{2}, \frac{\pi}{2}).

Frequently Asked Questions

Why is the period of tangent π\pi instead of 2π2\pi?

Because tanx=sinxcosx\tan x = \frac{\sin x}{\cos x}, and after shifting by π\pi, both sin\sin and cos\cos have been negated — their ratio remains unchanged. So tan(x+π)=tanx\tan(x + \pi) = \tan x.

How do I solve trigonometric equations graphically?

Draw the trigonometric curve and a horizontal line at the target value. The x-coordinates of intersection points are your solutions. Use periodicity to find all solutions in the required interval.


  • Function Transformations — The general rules behind translations, stretches and reflections.
  • Sequences & Series — Fourier series connect trigonometric functions with infinite sums.
  • Complex Numbers — Euler's formula eiθ=cosθ+isinθe^{i\theta} = \cos\theta + i\sin\theta unifies trigonometry and complex algebra.

References & Further Reading

This article was created by the Vectora Editorial Team and is reviewed for alignment with AP, IB, and A-Level curricula. Content is based on standard academic sources in chemistry, physics, biology, and mathematics.

Published: 2026-04-10

For corrections or suggestions, contact support@vectora.one.