Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths - Methods (Unit 3 & Unit 4) Circular (trigonometric) functions

Graphs of sine and cosine

20 practice questions 0 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The graphs of \(y=\sin x\) and \(y=\cos x\) are smooth, repeating waves, each with amplitude \(1\) and period \(2\pi\), oscillating between \(-1\) and \(1\). Reading the key points — the maxima, minima and zeros — lets you sketch either curve and solve simple equations by eye, and the two graphs are linked by \(\cos x=\sin\left(x+\dfrac{\pi}{2}\right)\). Angles are measured in radians throughout.

The sine curve \(y=\sin x\) is defined for every real \(x\) and takes values in the range \([-1,1]\). Its amplitude — the distance from the centre line to a peak — is \(1\), and its period is \(2\pi\), meaning one complete cycle occurs each time \(x\) increases by \(2\pi\). Starting at the origin, the curve rises to a maximum of \(1\) at \(x=\dfrac{\pi}{2}\), returns to \(0\) at \(x=\pi\), falls to a minimum of \(-1\) at \(x=\dfrac{3\pi}{2}\), and returns to \(0\) at \(x=2\pi\).

The cosine curve \(y=\cos x\) has the same amplitude \(1\) and period \(2\pi\), but it begins at its maximum: it passes through \((0,1)\), falls to \(0\) at \(x=\dfrac{\pi}{2}\), reaches a minimum of \(-1\) at \(x=\pi\), returns to \(0\) at \(x=\dfrac{3\pi}{2}\), and climbs back to \(1\) at \(x=2\pi\). Its zeros are therefore the odd multiples of \(\dfrac{\pi}{2}\), while the zeros of \(\sin x\) are the whole multiples of \(\pi\).

Both curves are symmetric. Sine is an odd function, so \(\sin(-x)=-\sin x\) and its graph has point symmetry about the origin; cosine is an even function, so \(\cos(-x)=\cos x\) and its graph is symmetric about the \(y\)-axis. The two are a quarter-turn apart: shifting the sine graph \(\dfrac{\pi}{2}\) to the left gives the cosine graph, because \(\cos x=\sin\left(x+\dfrac{\pi}{2}\right)\).

Key idea. \(y=\sin x\) and \(y=\cos x\) both have amplitude \(1\), period \(2\pi\) and range \([-1,1]\). The sine graph starts at \((0,0)\) rising; the cosine graph starts at \((0,1)\), its maximum. They are linked by \(\cos x=\sin\left(x+\dfrac{\pi}{2}\right)\).
Graph of y = sin x over one periodThe sine curve from x=0 to x=2 pi: zeros at 0, pi and 2 pi, maximum 1 at pi/2, minimum -1 at 3 pi/2. x y π/2 π 3π/2 1 -1 y = sin x
\(y=\sin x\): starts at \((0,0)\), maximum \(1\) at \(x=\dfrac{\pi}{2}\), minimum \(-1\) at \(x=\dfrac{3\pi}{2}\)
Graph of y = cos x over one periodThe cosine curve from x=0 to x=2 pi: maximum 1 at x=0 and x=2 pi, zeros at pi/2 and 3 pi/2, minimum -1 at pi. x y π/2 π 3π/2 1 -1 y = cos x
\(y=\cos x\): starts at its maximum \((0,1)\), minimum \(-1\) at \(x=\pi\), zeros at \(x=\dfrac{\pi}{2},\dfrac{3\pi}{2}\)

Both curves share the same amplitude, period and range:

\[\text{amplitude}=1,\qquad \text{period}=2\pi,\qquad \text{range }[-1,1]\]
period=2π

The key values of \(\sin x\) over one period:

\[\sin 0=0,\ \ \sin\dfrac{\pi}{2}=1,\ \ \sin\pi=0,\ \ \sin\dfrac{3\pi}{2}=-1,\ \ \sin 2\pi=0\]
sinπ2=1

The key values of \(\cos x\) over one period:

\[\cos 0=1,\ \ \cos\dfrac{\pi}{2}=0,\ \ \cos\pi=-1,\ \ \cos\dfrac{3\pi}{2}=0,\ \ \cos 2\pi=1\]
cos0=1

Symmetry (sine odd, cosine even) and the shift that links the two graphs:

\[\sin(-x)=-\sin x,\qquad \cos(-x)=\cos x,\qquad \cos x=\sin\!\left(x+\dfrac{\pi}{2}\right)\]
cosx=sin(x+π2)
Amplitude and period. Amplitude \(=\dfrac{\text{max}-\text{min}}{2}=\dfrac{1-(-1)}{2}=1\); period \(=2\pi\). The four quarter-points of a cycle sit \(\dfrac{\pi}{2}\) apart, which is why the key \(x\)-values are \(0,\ \dfrac{\pi}{2},\ \pi,\ \dfrac{3\pi}{2},\ 2\pi\).

How to sketch \(y=\sin x\) or \(y=\cos x\) and read from it

  1. Set up the axes. Draw the \(x\)-axis over one period \(0\le x\le 2\pi\) and mark the quarter-points \(\dfrac{\pi}{2},\ \pi,\ \dfrac{3\pi}{2},\ 2\pi\); draw the amplitude lines \(y=1\) and \(y=-1\).
  2. Plot the five key points. For \(\sin x\) use \((0,0),\left(\dfrac{\pi}{2},1\right),(\pi,0),\left(\dfrac{3\pi}{2},-1\right),(2\pi,0)\); for \(\cos x\) start at the maximum \((0,1)\) and step down through \(\left(\dfrac{\pi}{2},0\right),(\pi,-1),\left(\dfrac{3\pi}{2},0\right),(2\pi,1)\).
  3. Join with a smooth wave. Curve through the points — rounded at the peaks and troughs, never a sharp corner — and extend by repeating every \(2\pi\) if more of the graph is needed.
  4. Read values or solve. To evaluate, read the height at the required \(x\); to solve an equation, draw the horizontal line at that value and read the \(x\)-coordinates of every intersection inside the interval.
Quarter-point tip. One period splits into four equal steps of \(\dfrac{\pi}{2}\): zero → max → zero → min → zero for sine, and max → zero → min → zero → max for cosine. Memorising this pattern makes an accurate sketch quick.
Example 1 — amplitude, period and key points
State the amplitude, period and range of \(y=\sin x\), and give the coordinates of its maximum and minimum on \(0\le x\le 2\pi\).
Solution
Read the features straight from the standard sine wave:
amplitude\(=\)\(1\)
period\(=\)\(2\pi\)
range\(=\)\([-1,1]\)
The peak is a quarter-period in; the trough is three-quarters in:
maximum\(=\)\(\left(\dfrac{\pi}{2},\,1\right)\)
minimum\(=\)\(\left(\dfrac{3\pi}{2},\,-1\right)\)
\(\therefore\) amplitude \(1\), period \(2\pi\), range \([-1,1]\); max \(\left(\dfrac{\pi}{2},1\right)\), min \(\left(\dfrac{3\pi}{2},-1\right)\)
period=2π
Example 2 — zeros, maximum and minimum of \(\cos x\)
For \(y=\cos x\) on \(0\le x\le 2\pi\), find the \(x\)-intercepts (zeros) and the coordinates of the maximum and minimum.
Solution
Zeros — where the cosine curve crosses the \(x\)-axis:
\(\cos x\)\(=\)\(0\)
\(x\)\(=\)\(\dfrac{\pi}{2},\ \dfrac{3\pi}{2}\)
Maximum — the curve starts and ends at its peak \(y=1\):
maxima\(=\)\((0,1)\text{ and }(2\pi,1)\)
Minimum — the lowest point, half a period in:
minimum\(=\)\((\pi,-1)\)
\(\therefore\) zeros at \(x=\dfrac{\pi}{2},\dfrac{3\pi}{2}\); maxima \((0,1),(2\pi,1)\); minimum \((\pi,-1)\)
cosx=0,x=π2,3π2
Example 3 — solving from the sine graph
Using the graph of \(y=\sin x\) on \(0\le x\le 2\pi\), solve (a) \(\sin x=0\) and (b) \(\sin x=-1\).
Solution
(a) \(\sin x=0\)
Read where the curve meets the \(x\)-axis (height \(0\)):
\(x\)\(=\)\(0,\ \pi,\ 2\pi\)
\(\therefore\) \(x=0,\ \pi,\ 2\pi\)
(b) \(\sin x=-1\)
Read where the curve reaches its lowest point (height \(-1\)):
\(x\)\(=\)\(\dfrac{3\pi}{2}\)
\(\therefore\) \(x=\dfrac{3\pi}{2}\)
sinx=0,x=0,π,2π
Example 4 — the sine–cosine shift and an intersection
The graph of \(y=\sin x\) is translated to give \(y=\cos x\). (a) Describe the translation and state the relationship. (b) Hence, using the graphs, find all \(x\) in \(0\le x\le 2\pi\) for which \(\sin x=\cos x\).
Solution
(a) the translation
The cosine peak sits \(\dfrac{\pi}{2}\) to the left of the sine peak, so shift left \(\dfrac{\pi}{2}\):
\(\cos x\)\(=\)\(\sin\!\left(x+\dfrac{\pi}{2}\right)\)
\(\therefore\) \(y=\cos x\) is \(y=\sin x\) translated \(\dfrac{\pi}{2}\) left
(b) where \(\sin x=\cos x\)
Read the two crossing points of the curves; between them \(\tan x=1\):
\(\sin x\)\(=\)\(\cos x\)
\(\tan x\)\(=\)\(1\)
\(x\)\(=\)\(\dfrac{\pi}{4},\ \dfrac{5\pi}{4}\)
\(\therefore\) \(x=\dfrac{\pi}{4}\) and \(x=\dfrac{5\pi}{4}\)
Graphs of y = sin x and y = cos x with intersection pointsThe sine and cosine curves over one period intersecting at x = pi/4 and x = 5 pi/4. x y y = sin x y = cos x π/4 5π/4
x=π4,5π4

Common pitfalls

Work in radians, not degrees. The period is \(2\pi\) and the key \(x\)-values are \(\dfrac{\pi}{2},\pi,\dfrac{3\pi}{2},2\pi\). The maximum of \(\sin x\) is at \(x=\dfrac{\pi}{2}\approx 1.57\), not at \(90\) along the axis.
Don't muddle the starting points. \(y=\sin x\) starts at \((0,0)\) and climbs; \(y=\cos x\) starts at \((0,1)\), which is its maximum. Sketching cosine as if it began at the origin is a common slip.
Count every solution in the interval. When solving from the graph, read all the intersections. On \(0\le x\le 2\pi\), \(\cos x=0\) has two solutions, \(x=\dfrac{\pi}{2}\) and \(x=\dfrac{3\pi}{2}\), not one.

Frequently asked questions

What does the graph of y = sin x look like?

It is a smooth wave. Starting from the origin it rises to a maximum of \(1\) at \(x=\dfrac{\pi}{2}\), returns to \(0\) at \(x=\pi\), falls to a minimum of \(-1\) at \(x=\dfrac{3\pi}{2}\), and returns to \(0\) at \(x=2\pi\). This one cycle then repeats every \(2\pi\) in both directions.

What are the amplitude and period of y = sin x and y = cos x?

Both have amplitude \(1\), so they oscillate between \(y=-1\) and \(y=1\), and both have period \(2\pi\), meaning one full cycle is completed as \(x\) increases by \(2\pi\). The amplitude is the height from the centre line to a peak.

Where are the maximum, minimum and zeros of y = cos x?

On the interval from \(0\) to \(2\pi\), \(y=\cos x\) has a maximum of \(1\) at \(x=0\) and \(x=2\pi\), a minimum of \(-1\) at \(x=\pi\), and zeros at \(x=\dfrac{\pi}{2}\) and \(x=\dfrac{3\pi}{2}\). The cosine graph therefore begins at its peak.

How are the graphs of sine and cosine related?

The cosine graph is the sine graph translated \(\dfrac{\pi}{2}\) to the left, because \(\cos x=\sin\left(x+\dfrac{\pi}{2}\right)\). Equivalently the sine graph is the cosine graph translated \(\dfrac{\pi}{2}\) to the right, since \(\sin x=\cos\left(x-\dfrac{\pi}{2}\right)\).

How do you solve an equation such as sin x = 1 or cos x = 0 from the graph?

Draw the horizontal line at that value and read off the \(x\)-coordinates where it meets the curve inside the required interval. For \(\sin x=1\) on \(0\) to \(2\pi\) the only solution is \(x=\dfrac{\pi}{2}\), and for \(\cos x=0\) the solutions are \(x=\dfrac{\pi}{2}\) and \(x=\dfrac{3\pi}{2}\).

Is sine an odd function and cosine an even function?

Yes. Sine is odd, so \(\sin(-x)=-\sin x\) and its graph has point symmetry about the origin. Cosine is even, so \(\cos(-x)=\cos x\) and its graph is symmetric about the \(y\)-axis.