Study Guide

Tangent Function

AP PrecalculusΒ· AP Precalculus CED β€” Trigonometric and Polar FunctionsΒ· 14 min read

1. What Is the Tangent Function?β˜…β˜…β˜†β˜†β˜†β± 3 min

The tangent function is a periodic trigonometric function defined as the ratio of the sine of an angle to the cosine of the same angle, commonly denoted , where is an input angle in radians per AP Precalculus convention.

For any angle with terminal point on the unit circle, , which equals the slope of the terminal ray from the origin to . Unlike sine and cosine, tangent is not defined for all real inputs, giving it a unique structure with repeating vertical asymptotes. On the AP exam, tangent content makes up ~2-3% of your total score, appearing in both multiple-choice and free-response sections.

πŸ“˜ Definition

Tangent Function

A periodic trigonometric function defined as the ratio of sine to cosine of the same input angle, equal to the slope of a unit circle terminal ray.

Example:

For ,

2. Key Features: Domain, Range, Period, and Asymptotesβ˜…β˜…β˜†β˜†β˜†β± 3 min

All core features of tangent derive directly from its definition . Because division by zero is undefined, tangent is undefined whenever , which occurs at for all integers .

heta=Ο€2+kΟ€,k∈Zheta = \frac{\pi}{2} + k\pi, \quad k \in \mathbb{Z}

At each undefined point, tangent has a vertical asymptote: approaching from the left, , and from the right, . The range of the basic tangent function is all real numbers , since the ratio grows without bound as cosine approaches zero.

A critical difference between tangent and sine/cosine is the period: tangent has a base period of , not , because . For a transformed function , the period is .

πŸ“ Worked Example

Identify the domain, period, and vertical asymptotes of the function .

  1. 1

    For any tangent function, period is calculated as . Here , so the period is:

  2. 2
    Ο€3\frac{\pi}{3}
  3. 3

    To find vertical asymptotes, set the entire argument of tangent equal to the base asymptote positions for all integers :

  4. 4
    3xβˆ’Ο€4=Ο€2+kΟ€3x - \frac{\pi}{4} = \frac{\pi}{2} + k\pi
  5. 5

    Solve for :

  6. 6
    3x=3Ο€4+kΟ€β€…β€ŠβŸΉβ€…β€Šx=Ο€4+kΟ€3,k∈Z3x = \frac{3\pi}{4} + k\pi \implies x = \frac{\pi}{4} + \frac{k\pi}{3}, \quad k \in \mathbb{Z}
  7. 7

    The domain is all real numbers except these asymptote locations.

3. Graph Transformations of Tangent Functionsβ˜…β˜…β˜…β˜†β˜†β± 4 min

The standard general form for a transformed tangent function is:

f(x)=Atan⁑(B(xβˆ’h))+kf(x) = A\tan\left(B(x - h)\right) + k

Each constant follows standard transformation rules, adjusted for tangent's unique structure: controls vertical steepness, the sign of reflects the graph over the x-axis, controls horizontal stretch and period, is the horizontal shift, and is the vertical shift. Only changes the period or asymptote locations; and do not affect these features.

πŸ“ Worked Example

Write the equation of a tangent function that has consecutive vertical asymptotes at and , passes through , and is increasing between its asymptotes.

  1. 1

    Start with the general form . No vertical shift is mentioned, so . The midpoint between consecutive asymptotes is at , so there is no horizontal shift, .

  2. 2

    The distance between consecutive asymptotes equals the period, so:

  3. 3
    P=Ο€2βˆ’(βˆ’Ο€2)=Ο€β€…β€ŠβŸΉβ€…β€ŠΟ€=Ο€βˆ£Bβˆ£β€…β€ŠβŸΉβ€…β€Šβˆ£B∣=1, so B=1P = \frac{\pi}{2} - \left(-\frac{\pi}{2}\right) = \pi \implies \pi = \frac{\pi}{|B|} \implies |B| = 1, \text{ so } B=1
  4. 4

    The function is increasing, so is positive. Use the point to solve for :

  5. 5
    4=Atan⁑(Ο€4)=A(1)β€…β€ŠβŸΉβ€…β€ŠA=44 = A\tan\left(\frac{\pi}{4}\right) = A(1) \implies A=4
  6. 6

    Final equation matching all requirements:

  7. 7
    f(x)=4tan⁑(x)f(x) = 4\tan(x)

4. Inverse Tangent Functionβ˜…β˜…β˜…β˜†β˜†β± 3 min

Because tangent is periodic and repeats its output every , it is not one-to-one over its entire domain. To define a valid inverse function, we restrict the domain of tangent to , which covers one full period and all possible output values of tangent.

πŸ“˜ Definition

Inverse Tangent Function

or

The inverse of the tangent function with restricted domain . By definition, if and only if and .

Example:

, not , since is outside the restricted range.

The domain of is all real numbers (matching the range of original tangent), and the range of is (matching the restricted domain of original tangent). The graph of has horizontal asymptotes at .

πŸ“ Worked Example

Evaluate and find the range of .

  1. 1

    To evaluate , we need an angle such that . From unit circle trigonometry, we know , so:

  2. 2
    arctan⁑(13)=Ο€6\arctan\left(\frac{1}{\sqrt{3}}\right) = \frac{\pi}{6}
  3. 3

    The range of basic is still . Multiply by 3 to get the stretched range:

  4. 4
    (βˆ’3Ο€2,3Ο€2)\left(-\frac{3\pi}{2}, \frac{3\pi}{2}\right)
  5. 5

    Add for the vertical shift to get the final range:

  6. 6
    (βˆ’3Ο€2+Ο€,3Ο€2+Ο€)=(βˆ’Ο€2,5Ο€2)\left(-\frac{3\pi}{2} + \pi, \frac{3\pi}{2} + \pi\right) = \left(-\frac{\pi}{2}, \frac{5\pi}{2}\right)

5. AP Style Worked Practice Problemsβ˜…β˜…β˜…β˜…β˜†β± 4 min

πŸ“ Worked Example

Which of the following gives the period and the first positive vertical asymptote of ? A) Period , asymptote B) Period , asymptote C) Period , asymptote D) Period , asymptote

  1. 1

    First calculate the period using . Here , so:

  2. 2
    P=Ο€1/3=3Ο€P = \frac{\pi}{1/3} = 3\pi
  3. 3

    This eliminates options B and D, which have an incorrect period. Next, find the first positive vertical asymptote by setting the argument equal to the smallest positive base asymptote :

  4. 4
    x3βˆ’Ο€6=Ο€2\frac{x}{3} - \frac{\pi}{6} = \frac{\pi}{2}
  5. 5

    Solve for :

  6. 6
    x3=Ο€2+Ο€6=2Ο€3β€…β€ŠβŸΉβ€…β€Šx=2Ο€\frac{x}{3} = \frac{\pi}{2} + \frac{\pi}{6} = \frac{2\pi}{3} \implies x = 2\pi
  7. 7

    This matches option A, the correct answer.

πŸ“ Worked Example

Consider the function . (a) Find the period of and the locations of all vertical asymptotes. (b) State the domain and range of . (c) Find all values of in the interval such that .

  1. 1

    Part (a): , so period is:

  2. 2
    Ο€βˆ£3∣=Ο€3\frac{\pi}{|3|} = \frac{\pi}{3}
  3. 3

    Find asymptotes by setting the argument equal to :

  4. 4
    3(xβˆ’Ο€9)=Ο€2+kΟ€β€…β€ŠβŸΉβ€…β€Šx=5Ο€18+kΟ€3,k∈Z3\left(x - \frac{\pi}{9}\right) = \frac{\pi}{2} + k\pi \implies x = \frac{5\pi}{18} + \frac{k\pi}{3}, \quad k \in \mathbb{Z}
  5. 5

    Part (b): Domain is all real numbers except the asymptote locations above. The range of any tangent function is all real numbers, even with vertical shifting, so:

  6. 6
    Domain:{x∈R∣xβ‰ 5Ο€18+kΟ€3,k∈Z},Range:(βˆ’βˆž,∞)\text{Domain}: \left\{x \in \mathbb{R} \mid x \neq \frac{5\pi}{18} + \frac{k\pi}{3}, k \in \mathbb{Z}\right\}, \quad \text{Range}: (-\infty, \infty)
  7. 7

    Part (c): Set and simplify:

  8. 8
    2tan⁑(3xβˆ’Ο€3)+1=3β€…β€ŠβŸΉβ€…β€Štan⁑(3xβˆ’Ο€3)=12\tan\left(3x - \frac{\pi}{3}\right) + 1 = 3 \implies \tan\left(3x - \frac{\pi}{3}\right) = 1
  9. 9

    Solutions to are , so substitute and solve for :

  10. 10
    3xβˆ’Ο€3=Ο€4+kΟ€β€…β€ŠβŸΉβ€…β€Šx=7Ο€36+kΟ€33x - \frac{\pi}{3} = \frac{\pi}{4} + k\pi \implies x = \frac{7\pi}{36} + \frac{k\pi}{3}
  11. 11

    Testing integer values of gives the following solutions in :

  12. 12
    x=7Ο€36,19Ο€36,31Ο€36x = \frac{7\pi}{36}, \frac{19\pi}{36}, \frac{31\pi}{36}
πŸ“ Worked Example

A surveyor needs to find the angle to the top of a cell tower. The horizontal distance to the base of the tower is 85 meters, and . (a) Find in radians, rounded to 3 decimal places. (b) The clinometer can only measure angles less than 0.4 radians accurately. Is within the accurate range?

  1. 1

    To find when , use inverse tangent:

  2. 2
    θ=arctan⁑(0.42)\theta = \arctan(0.42)
  3. 3

    Using a calculator in radian mode, this evaluates to approximately 0.398 radians. Comparing to the maximum accurate angle of 0.4 radians, 0.398 < 0.4, so is within the accurate measurement range.

6. Common Pitfalls

Wrong move:

Stating the period of the basic tangent function is , matching sine and cosine.

Why:

Students memorize as the default trigonometric period from learning sine and cosine first, and forget tangent repeats twice as fast.

Correct move:

Always recall tangent's base period is , and calculate transformed period as , not .

Wrong move:

Finding asymptotes for as .

Why:

Students shift the base asymptotes by but forget to scale the shift by .

Correct move:

Always set the entire argument equal to , then solve for step-by-step to get all asymptote locations.

Wrong move:

Giving as a final answer for inverse tangent evaluation.

Why:

Students confuse solving a general tangent equation with evaluating the inverse tangent function, which requires an output in the restricted range.

Correct move:

Always check that any inverse tangent output falls in before submitting your answer.

Wrong move:

Claiming in changes the period of the function.

Why:

Students confuse vertical and horizontal transformations, assuming any stretch changes the period.

Correct move:

Remember only , the coefficient of , changes the period of tangent; only changes vertical steepness, not period or asymptotes.

Wrong move:

Solving and giving only as the general solution.

Why:

Students only give the inverse tangent output, forgetting tangent is periodic with period .

Correct move:

After finding the base solution , always add (not ) to get all general solutions for any integer .

Wrong move:

Swapping the domain and range of tangent and inverse tangent.

Why:

Students mix up the input/output relationship for inverse functions when switching between tangent and arctangent.

Correct move:

Recall tangent has a restricted domain and full range; inverse tangent has a full domain and restricted range.

7. Quick Reference Cheatsheet

Category

Formula / Property

Notes

Basic definition

For unit circle terminal point ; undefined when

General transformed tangent

Standard form for graph transformations

Period of tangent

Always , not used for sine/cosine

Vertical asymptotes

One asymptote every period

Domain/range of tangent

Domain: all reals except asymptotes
Range:

Vertical shifting does not change the range

Inverse tangent definition

Output is always in the restricted interval

Domain/range of inverse tangent

Domain:
Range:

Horizontal asymptotes at

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2024 Β· MCQ

    Find period of transformed tangent

  • 2023 Β· FRQ

    Solve tangent equation in context

What's Next

Mastering the tangent function is a key foundation for future calculus study, where you will use tangent to find derivatives of trigonometric functions and solve related rates problems. This topic connects directly to other core AP Precalculus Unit 3 content, including trigonometric identities, inverse trigonometric functions, and polar coordinate modeling, all of which appear regularly on the AP exam. Building fluency with tangent transformations and equation solving will prepare you for both multiple-choice and free-response questions on test day.