1.5 - Sine, cosine and tangent graphs

1.5 - Sine, cosine and tangent graphs

A moving point on a circle produces a repeating wave when you record one coordinate against its angle. In this part of 1.5, you will sketch sine, cosine and tangent, then change their sizes, periods and positions. You will also work backwards from a graph's features to an equation and use intersections to read solutions.

Period and symmetry

As a radius turns round the unit circle, its vertical coordinate traces sine and its horizontal coordinate traces cosine. Both coordinates return to their starting values after one full turn. In between, they pass through the four axis points, giving the key values needed for a sketch.

Period

A function is periodic when its values repeat after a fixed positive input change. Its period is the smallest such change. Sine and cosine have period 360∘360^\circ, or 2π2\pi radians; tangent has period 180∘180^\circ, or π\pi radians.

Tangent repeats after half a turn because both circle coordinates change sign, leaving their quotient unchanged. When cosine is zero, tangent is undefined. As the angle approaches one of these values, the quotient grows without bound in magnitude, producing a vertical asymptote. A tangent sketch has separate branches; never join them through an asymptote.

FunctionRangeFeatures in one turn from 00 to 2π2\pi
sin⁡x\sin x[−1,1][-1,1]Zeros at 0,π,2π0,\pi,2\pi; maximum at π/2\pi/2; minimum at 3π/23\pi/2
cos⁡x\cos x[−1,1][-1,1]Zeros at π/2,3π/2\pi/2,3\pi/2; maxima at 0,2π0,2\pi; minimum at π\pi
tan⁡x\tan xall real valuesZeros at 0,π,2π0,\pi,2\pi; asymptotes at π/2,3π/2\pi/2,3\pi/2

The endpoint 2π2\pi repeats the start of the next turn. The equivalent degree values follow from π=180∘\pi=180^\circ.

[DIAGRAM: asset_name: Three periodic graphs; asset_slug: basic-trigonometric-graphs; caption: Sine and cosine repeat after a full turn, while tangent repeats after a half-turn and has separate branches; description: Three labelled plots on radian axes show sine, cosine and tangent from minus pi to 2pi. Sine and cosine have heights minus 1 and 1 marked. Tangent has dashed vertical asymptotes at minus pi over 2, pi over 2 and 3pi over 2, with disconnected increasing branches.]
Sine and cosine repeat after a full turn, while tangent repeats after a half-turn and has separate branches

Reflection across the horizontal axis on the unit circle changes the sign of sine but not cosine. Thus sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x, cos⁡(−x)=cos⁡x\cos(-x)=\cos x, and tan⁡(−x)=−tan⁡x\tan(-x)=-\tan x wherever tangent exists. Cosine's graph is symmetric about the vertical axis; sine and tangent have half-turn symmetry about the origin. These graph facts are not listed as a table in MF19.

Worked example 1: sine beside cosine

Question. Describe sketches of y=sin⁡xy=\sin x and y=cos⁡xy=\cos x for −π≤x≤π-\pi\le x\le\pi, giving their key quarter-turn points.

Plan. Read the unit-circle values at successive quarter-turns and join smoothly, preserving the symmetry.

x−π−π/20π/2πsin⁡x0−1010cos⁡x−1010−1\begin{array}{c|rrrrr} x&-\pi&-\pi/2&0&\pi/2&\pi\\\hline \sin x&0&-1&0&1&0\\ \cos x&-1&0&1&0&-1 \end{array}

Sine rises from its minimum at −π/2-\pi/2 through the origin to its maximum at π/2\pi/2. Cosine has a maximum at 00, with matching heights to the left and right.

Answer. Smooth waves through the five points in each row, both bounded by y=−1y=-1 and y=1y=1.

Check. The table satisfies sin⁡(−x)=−sin⁡x\sin(-x)=-\sin x and cos⁡(−x)=cos⁡x\cos(-x)=\cos x; each interval spans exactly one full period.

Tangent uses the same angles, but some of those inputs are missing from its domain.

Worked example 2: tangent's disconnected branches

Question. Describe a sketch of y=tan⁡xy=\tan x for −π<x<π-\pi<x<\pi, giving its asymptotes, zero and the points with height 11 or −1-1.

Plan. Locate the zeros of cosine first, then use 45∘45^\circ reference values on either side.

The asymptotes are x=−π/2x=-\pi/2 and x=π/2x=\pi/2; the only zero in this open interval is x=0x=0. Useful points are

(−3π/4,1),(−π/4,−1),(π/4,1),(3π/4,−1).(-3\pi/4,1),\quad(-\pi/4,-1),\quad(\pi/4,1),\quad(3\pi/4,-1).

Draw each branch increasing. The central branch goes from large negative values just right of −π/2-\pi/2, through the origin, to large positive values just left of π/2\pi/2. The two outer pieces belong to neighbouring branches.

Answer. Three disconnected pieces, with the stated asymptotes and points. The excluded endpoints −π-\pi and π\pi would have height zero.

Check. The heights at −3π/4-3\pi/4 and π/4\pi/4 agree because their inputs differ by π\pi. Also, the points are paired by origin symmetry.

For any larger interval, repeat a basic cycle and check the requested endpoints. A sketch needs labelled zeros, extrema and asymptotes where relevant; a dense table of unlabelled points hides those features.

Changing amplitude and period

The transformations of ordinary function graphs work for trigonometric graphs too. In y=asin⁡(b(x−h))+dy=a\sin(b(x-h))+d, first ask which input xx makes the inner angle b(x−h)b(x-h) reach each familiar quarter-turn. Then multiply its sine by aa and add dd. The same approach works for cosine and tangent.

Size, period and position

For a≠0a\ne0, b≠0b\ne0, the sine or cosine graph

y=asin⁡(b(x−h))+dory=acos⁡(b(x−h))+dy=a\sin(b(x-h))+d\quad\text{or}\quad y=a\cos(b(x-h))+d

has midline y=dy=d, amplitude ∣a∣|a|, range [d−∣a∣,d+∣a∣][d-|a|,d+|a|], and period 2π/∣b∣2\pi/|b| radians or 360∘/∣b∣360^\circ/|b|.

For y=atan⁡(b(x−h))+dy=a\tan(b(x-h))+d, the period is π/∣b∣\pi/|b| radians or 180∘/∣b∣180^\circ/|b|; it has no amplitude because its values are unbounded. These transformation rules are not listed in MF19.

Amplitude is the distance from the midline to a maximum, not the full maximum-to-minimum distance. A negative aa reflects the graph vertically before the shift by dd. The input shift is read after factoring the inner coefficient: 2x−60∘=2(x−30∘)2x-60^\circ=2(x-30^\circ), so it shifts right by 30∘30^\circ, not 60∘60^\circ. A negative bb adds a horizontal reflection; the period remains positive.

Worked example 3: a reflected cosine wave

Question. Find the amplitude, period and range of y=1−2cos⁡2xy=1-2\cos2x, with xx in radians. Give five key points for 0≤x≤π0\le x\le\pi.

Plan. The inner angle makes a full turn as xx changes by π\pi. Transform the five quarter-turn cosine values.

The amplitude is 22, the period is 2π/2=π2\pi/2=\pi, and the midline is y=1y=1. Thus the range is [−1,3][-1,3].

x0π/4π/23π/4π2x0π/2π3π/22πy−1131−1\begin{array}{c|rrrrr} x&0&\pi/4&\pi/2&3\pi/4&\pi\\\hline 2x&0&\pi/2&\pi&3\pi/2&2\pi\\ y&-1&1&3&1&-1 \end{array}

Answer. Amplitude 22, period π\pi, range [−1,3][-1,3], with the five points in the final row.

Check. Directly, x=π/2x=\pi/2 gives 1−2cos⁡π=31-2\cos\pi=3, a maximum; x=0x=0 gives −1-1, a minimum. Their mean is the midline 11.

Tangent's inner angle determines the positions of its asymptotes, rather than maxima and minima.

Worked example 4: a shifted tangent branch

Question. For y=tan⁡(2x−60∘)+1y=\tan(2x-60^\circ)+1, find the period, the two asymptotes enclosing x=30∘x=30^\circ, and the point at the middle of that branch.

Plan. Factor the inner expression. Set it to −90∘-90^\circ, 0∘0^\circ and 90∘90^\circ for the branch's left boundary, centre and right boundary.

2x−60∘=2(x−30∘),period=180∘2=90∘.2x-60^\circ=2(x-30^\circ),\qquad \text{period}=\frac{180^\circ}{2}=90^\circ. 2x−60∘=−90∘⇒x=−15∘,2x−60∘=90∘⇒x=75∘.2x-60^\circ=-90^\circ\Rightarrow x=-15^\circ, \qquad 2x-60^\circ=90^\circ\Rightarrow x=75^\circ.

At x=30∘x=30^\circ, the inner angle is zero and y=1y=1.

Answer. Period 90∘90^\circ; asymptotes x=−15∘x=-15^\circ and x=75∘x=75^\circ; middle point (30∘,1)(30^\circ,1).

Check. The asymptotes are 90∘90^\circ apart, one whole tangent period. At x=52.5∘x=52.5^\circ, the inner angle is 45∘45^\circ, giving y=2y=2, on the rising branch to the right of its centre.

The paired graphs show how the same inner-angle method locates very different features.

[DIAGRAM: asset_name: Transformed wave and tangent; asset_slug: transformed-trigonometric-graphs; caption: Quarter-turn inputs locate a cosine wave's extrema and a tangent branch's asymptotes; description: Left shows y equals 1 minus 2 cosine 2x from 0 to pi, with five key points, midline y equals 1, minimum minus 1 and maximum 3. Right shows y equals tangent of 2x minus 60 degrees plus 1 between asymptotes x equals minus 15 degrees and 75 degrees, with middle point 30 degrees comma 1 and point 52.5 degrees comma 2.]
Quarter-turn inputs locate a cosine wave's extrema and a tangent branch's asymptotes

To read a horizontal shift in radians, use the same factoring: y=3sin⁡(x+π/4)y=3\sin(x+\pi/4) shifts the basic sine graph left by π/4\pi/4 and stretches its heights by 33. Its period stays 2π2\pi, because the input coefficient is 11.

Reading a transformed graph

You can recover a simple sine or cosine equation by separating height from timing. The maximum and minimum determine the midline and amplitude. The horizontal spacing between matching features determines the period, hence the input coefficient. Finally, choose sine, cosine and a shift to match a known point and the direction of travel.

If a wave has maximum MM and minimum mm, its midline is d=(M+m)/2d=(M+m)/2 and its amplitude is (M−m)/2(M-m)/2. A maximum at x=0x=0 suits positive cosine; a midline crossing that rises at x=0x=0 suits positive sine. These are convenient choices, not unique representations of the curve.

Worked example 5: reconstructing a wave

Question. A sinusoidal graph has maximum 44, minimum −2-2, and consecutive maxima at x=0∘x=0^\circ and x=180∘x=180^\circ. Give one equation for it.

Plan. Find the midline, amplitude and period; choose cosine because the graph starts at a maximum.

d=4+(−2)2=1,a=4−(−2)2=3.d=\frac{4+(-2)}2=1, \qquad a=\frac{4-(-2)}2=3.

The period is 180∘180^\circ, so 360∘/b=180∘360^\circ/b=180^\circ gives b=2b=2. A positive cosine reaches its maximum when the inner angle is zero.

Answer. y=1+3cos⁡2xy=1+3\cos2x, with xx in degrees.

Check. At x=0∘x=0^\circ and 180∘180^\circ, the value is 44. Halfway between, at 90∘90^\circ, the value is 1+3cos⁡180∘=−21+3\cos180^\circ=-2, the stated minimum.

An equation can also be read from two graphs. Where y=f(x)y=f(x) and y=g(x)y=g(x) intersect, their heights agree, so each intersection's input solves f(x)=g(x)f(x)=g(x). Count every intersection in the stated interval, including an endpoint if it is included and satisfies the equation.

[DIAGRAM: asset_name: Recovering and reading graphs; asset_slug: reading-trigonometric-graphs; caption: The extrema and period determine a simple wave, and intersections with a horizontal line give equation roots; description: Left shows a sinusoidal graph with maxima 4 at 0 and 180 degrees, minima minus 2 at 90 and 270 degrees, and midline 1. Right shows y equals 2 sine x and y equals 1.2 for x from 0 to 360 degrees, with intersections A and B, a 30 degree horizontal grid, and dashed projections from each intersection to the input axis.]
The extrema and period determine a simple wave, and intersections with a horizontal line give equation roots

Now use the second panel for a graphical solution rather than guessing from one calculator inverse value.

Worked example 6: reading both intersections

Question. Use the graph to estimate the solutions of 2sin⁡x=1.22\sin x=1.2 for 0∘≤x≤360∘0^\circ\le x\le360^\circ.

Plan. Read the inputs where the sine curve crosses the horizontal line y=1.2y=1.2.

The first crossing is a little beyond 30∘30^\circ, at about 37∘37^\circ. The second is between 120∘120^\circ and 150∘150^\circ, at about 143∘143^\circ. The curve is below the line for the rest of the interval, including both endpoints.

Answer. x≈37∘x\approx37^\circ and x≈143∘x\approx143^\circ.

Check. 2sin⁡37∘≈1.202\sin37^\circ\approx1.20 and 2sin⁡143∘≈1.202\sin143^\circ\approx1.20. Their sum is 180∘180^\circ, matching sine's symmetry about 90∘90^\circ. The graph supports approximate, rather than exact, angle readings.

Graphical reasoning gives both a count and an estimate of the roots. Algebraic equations in the next lesson will use the same repeating shapes to make sure no roots are missed.

Key idea

Read height, spacing and position separately. A correct period alone does not fix the amplitude or the horizontal shift; one intersection alone need not give every solution.

Use a rising midline crossing to choose between a simple sine and cosine description.

Quick Recap

  • Sine and cosine have period 2π2\pi; tangent has period π\pi and vertical asymptotes where cosine is zero.
  • For sine and cosine, the outside multiplier controls amplitude and the inner multiplier controls period.
  • Factor the inner expression before reading a horizontal shift.
  • Extrema, period and one phase feature reconstruct a simple wave; intersections give solutions in an interval.