The Tangent Function (College Board AP® Precalculus): Study Guide

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

The tangent function & the unit circle

How is the tangent function defined using the unit circle?

  • Given an angle θ in standard position and a unit circle centered at the origin

    • the terminal ray intersects the circle at a point P

  • The value of the tangent function,  f(θ)=tanθ

    • is given by the slope of the terminal ray

  • This connects directly to the unit circle coordinates of point P

    • P has coordinates (cosθ,sinθ)

    • So the slope of a line through the origin (0, 0) and the point P is

      • slope=sinθ0cosθ0=sinθcosθ

  • Therefore

    • tanθ=sinθcosθ,  where cosθ0

  • This slope interpretation means

    • When the terminal ray is steep and rising

      • tanθ is a large positive number

    • When the terminal ray is horizontal (along the x-axis)

      • tanθ=0

    • When the terminal ray is steep and falling

      • tanθ is a large negative number

    • When the terminal ray is vertical

      • the slope is undefined

      • so tanθ is undefined

What are the exact values of tangent for key angles?

  • Since tanθ=sinθcosθ, the exact values can be calculated from the sine and cosine values

θ

sinθ

cosθ

tanθ

π2

1

0

undefined

π3

32

12

3

π4

22

22

1

π6

12

32

13=33

0

0

1

0

π6

12

32

13=33

π4

22

22

1

π3

32

12

3

π2

1

0

undefined

  • Because tangent has a period of π , the values repeat every π radians

    • E.g. tan7π6=tanπ6=33

Key characteristics of the tangent function

What is the period of the tangent function?

  • The slope values of the terminal ray repeat every half revolution of the unit circle

    • For example, the terminal rays at θ and θ+π point in opposite directions

      • but they lie on the same line

      • and therefore have the same slope

  • Therefore the tangent function has a period of π:

tan(θ+π)=tanθ

  • This is different from sine and cosine

    • which both have a period of 2π

Where does the tangent function have asymptotes?

  • The tangent function is undefined when cosθ=0, which occurs at

θ=π2+kπ,  for integer values of k

  • At these input values, the terminal ray is vertical (pointing straight up or straight down)

    • so its slope does not exist

  • The graph of the tangent function has vertical asymptotes at each of these values

    • E.g. as θ approaches π2 from the left, tanθ increases without bound

    • and as θ approaches π2 from the right, tanθ decreases without bound

  • The tangent function therefore demonstrates periodic asymptotic behavior

    • the pattern of asymptotes repeats with the same period as the function

What is the behavior of the tangent function between consecutive asymptotes?

  • Between any two consecutive asymptotes

    • the tangent function is always increasing

  • The graph changes from concave down to concave up between consecutive asymptotes

    • Specifically, the graph is

      • concave down on the first half of the interval

      • and concave up on the second half

    • The changeover occurs at the point of inflection

      • which is where tanθ=0

      • i.e. at integer multiples of π

  • Between consecutive asymptotes, the tangent function takes all real number output values, from to +

Graph showing the tangent function y = tan θ with vertical asymptotes at odd multiples of π/2, between -2π and 2π, with curves rising and falling.
Graph of y=tanθ

Transformations of the tangent function

How do additive transformations affect the tangent function?

  • A vertical translation of the tangent function is given by g(θ)=tanθ+d

    • This shifts the graph vertically by d units

    • The line containing the points of inflection is also shifted up by d units

      • from  y=0 to  y=d

    • The asymptotes are not affected by a vertical translation

  • A horizontal translation (phase shift) is given by g(θ)=tan(θ+c)

    • This shifts the graph horizontally by c units

      • to the left if c>0, to the right if c<0

    • The asymptotes shift by c units as well

How do multiplicative transformations affect the tangent function?

  • A vertical dilation is given by g(θ)=atanθ

    • This stretches the graph vertically by a factor of |a|

    • If a<0, the graph is also reflected over the x-axis

      • this causes the function to be decreasing (instead of increasing) between consecutive asymptotes

      • and reverses the concavity pattern

    • The asymptotes and period are not affected

  • A horizontal dilation is given by g(θ)=tan(bθ)

    • This changes the period of the function by a factor of 1|b|

      • The new period is π|b|

    • If b<0, the graph is also reflected over the  y-axis

      • this causes the function to be decreasing (instead of increasing) between consecutive asymptotes

      • and reverses the concavity pattern

    • The asymptotes are compressed or stretched accordingly

How are all transformations combined?

  • The general form combining all transformations is  f(θ)=atan(b(θ+c))+d

  • The parameters have the following effects

    • |a|: vertical dilation factor (with reflection over the x-axis if a<0)

    • π|b|: the period of the function

    • c: the phase shift (horizontal translation)

    • d: the vertical shift (the new midline of the points of inflection is y=d)

  • For example, g(θ)=3tan(2(θπ4))+1 has:

    • Vertical dilation factor 3

    • Period =π2

    • Phase shift of π4 to the right (since c=π4)

    • Vertical shift of 1 unit up

Examiner Tips and Tricks

When identifying the period of a transformed tangent function, remember that the base period is π, not 2π. A common mistake is to use the sine/cosine period formula 2π|b| instead of the correct tangent period formula π|b|.

Worked Example

The function g is defined by g(θ)=2tan(θ3)+4 .

(a) Find the period of g.

(b) Find the equations of two consecutive vertical asymptotes of the graph of g.

(c) Find the coordinates of the point of inflection of the graph of g that lies between the two asymptotes found in part (b).

Answer:

(a)

The function has the form atan(bθ)+d where b=13

  • So the period of the tangent function is

π|b|=π13=3π

period=3π

(b)

The asymptotes of  y=tanθ occur at θ=π2+kπ

For g(θ)=2tan(θ3)+4 , asymptotes occur when

θ3=π2+kπ

  • i.e. when

θ=3π2+3kπ

So a possible set of two consecutive asymptotes (using k=0 and k=1) is

θ=3π2+3(0)π=3π2

and  θ=3π2+3(1)π=9π2

θ=3π2   and   θ=9π2

(c)

The point of inflection lies midway between the two consecutive asymptotes

θ=12(3π2+9π2)=12×12π2=3π

At a point of inflection of a transformed tangent function, the tangent part equals zero, so

g(3π)=2tan(3π3)+4=2tan(π)+4=2(0)+4=4 

Therefore

The point of inflection is (3π, 4)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.