AP Precalculus · Unit 3 · Topic 3.8

    3.8 The Tangent Function

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    tan⁡θ=sin⁡θcos⁡θ\tan\theta = \frac{\sin\theta}{\cos\theta}, the slope of the terminal ray. It is undefined where cos⁡θ=0\cos\theta = 0, so its graph has vertical asymptotes at θ=π2+kπ\theta = \frac{\pi}{2} + k\pi, and it is zero where sin⁡θ=0\sin\theta = 0, at θ=kπ\theta = k\pi. Its period is π\pi, not 2π2\pi. On each branch it increases without bound, concave down to the left of its zero and concave up to the right. Transformed, atan⁡(b(θ+c))+da\tan(b(\theta + c)) + d has period π∣b∣\frac{\pi}{|b|}.

    What you need to know

    • Express tangent as the ratio of sine to cosine and as the slope of the terminal ray.
    • Describe the period, zeros, asymptotes and range of the tangent function.
    • Describe where tangent is increasing and its concavity on each branch.
    • Find the period and asymptotes of a transformed tangent function.

    Tangent as a slope

    On the unit circle, the point at angle θ\theta is (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta), so the slope of the terminal ray is sin⁡θcos⁡θ=tan⁡θ\frac{\sin\theta}{\cos\theta} = \tan\theta. As the ray turns from the positive x-axis toward vertical, its slope grows from 0 without bound; when it is vertical, at π2\frac{\pi}{2}, the slope is undefined. Just past vertical the slope is a huge negative number.

    After half a turn, the ray points in exactly the opposite direction but lies along the same line, with the same slope. That is why tangent repeats every π\pi: tan⁡(θ+π)=tan⁡θ\tan(\theta + \pi) = \tan\theta.

    The graph

    Each branch of tan θ rises from −∞ to ∞ between consecutive asymptotes, one period of π wide.
    • Domain: all θ≠π2+kπ\theta \ne \frac{\pi}{2} + k\pi. Range: all real numbers.
    • Zeros at θ=kπ\theta = k\pi; asymptotes at θ=π2+kπ\theta = \frac{\pi}{2} + k\pi.
    • Increasing on every interval of its domain; lim⁡θ→(π/2)−tan⁡θ=∞\lim_{\theta \to (\pi/2)^-} \tan\theta = \infty and lim⁡θ→(π/2)+tan⁡θ=−∞\lim_{\theta \to (\pi/2)^+} \tan\theta = -\infty.
    • Concave down on (−π2,0)\left(-\frac{\pi}{2}, 0\right), concave up on (0,π2)\left(0, \frac{\pi}{2}\right), with a point of inflection at each zero.
    • Odd: tan⁡(−θ)=−tan⁡θ\tan(-\theta) = -\tan\theta.

    Transformations of tangent

    The same transformations apply, with one change: the period of tan⁡(bθ)\tan(b\theta) is π∣b∣\frac{\pi}{|b|}. For g(θ)=2tan⁡(θ2)g(\theta) = 2\tan\left(\frac{\theta}{2}\right), the period is π1/2=2π\frac{\pi}{1/2} = 2\pi. Its asymptotes are where θ2=π2+kπ\frac{\theta}{2} = \frac{\pi}{2} + k\pi, that is θ=π+2kπ\theta = \pi + 2k\pi, and it passes through (π2,2)\left(\frac{\pi}{2}, 2\right) because tan⁡π4=1\tan\frac{\pi}{4} = 1.

    A horizontal shift moves the asymptotes: tan⁡(θ−π4)\tan\left(\theta - \frac{\pi}{4}\right) has asymptotes at θ=3π4+kπ\theta = \frac{3\pi}{4} + k\pi and zeros at π4+kπ\frac{\pi}{4} + k\pi.

    Tangent in context. A searchlight 100 m from a straight wall turns at a steady rate. When the beam makes an angle θ with the perpendicular to the wall, the spot of light is 100tan⁡θ100\tan\theta metres along the wall from the nearest point. As θ approaches π2\frac{\pi}{2} the beam becomes nearly parallel to the wall and the spot races off without bound, which is the vertical asymptote in a physical form. Near θ=0\theta = 0 the spot moves slowly, matching the gentle slope of the tangent graph near its zero.

    Key terms

    Tangent function
    tan θ = sin θ / cos θ, the slope of the terminal ray.
    Period of tangent
    π; for tan(bθ), π/|b|.
    Vertical asymptotes of tangent
    θ = π/2 + kπ, where cos θ = 0.
    Branch
    One piece of the tangent graph between consecutive asymptotes.

    Common mistakes

    • Giving the period of tangent as 2π.

      Tangent repeats every π.

    • Using 2π/b for the period of tan(bθ).

      Use π/|b|.

    • Putting asymptotes at the zeros of sine.

      Asymptotes are where cosine is 0; tangent's zeros are where sine is 0.

    How this topic is tested

    • Find asymptotes by setting the inside of tan equal to π/2 + kπ.
    • Use one-sided limits at asymptotes.
    • Mark one point per branch, like (π/4, 1), when sketching.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Procedural and Symbolic Fluency

      What is the period of f(θ)=tan⁡(3θ)f(\theta) = \tan(3\theta)?

    2. Question 2 · MP 3 · Communication and Reasoning

      Where does tan⁡θ\tan\theta have vertical asymptotes?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      What is lim⁡θ→(π/2)+tan⁡θ\lim_{\theta \to (\pi/2)^+} \tan\theta?

    4. Question 4 · MP 2 · Multiple Representations

      On (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right), where is tan⁡θ\tan\theta concave up?

    5. Question 5 · MP 1 · Procedural and Symbolic Fluency

      Where are the zeros of g(θ)=tan⁡(θ−π4)g(\theta) = \tan\left(\theta - \frac{\pi}{4}\right)?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Function Concepts (short) · 3 points

    Let g(θ)=2tan⁡(θ2)g(\theta) = 2\tan\left(\frac{\theta}{2}\right).

    1. (a) Find the period of gg and the equations of its vertical asymptotes.
    2. (b) Find g(π2)g\left(\frac{\pi}{2}\right) and describe how gg behaves as θ→π−\theta \to \pi^-.

    Connected topics

    Frequently asked questions

    Why does tangent have no amplitude?

    Amplitude is half the distance between a maximum and a minimum, and tangent has neither: it is unbounded above and below.

    Is tangent sinusoidal?

    No. It is periodic, but its graph is not a transformed sine wave.

    How does tan relate to slope in real problems?

    The slope of a ramp or line that makes angle θ with the horizontal is tan θ, so a 30° ramp rises tan(π/6) ≈ 0.577 per unit run.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 3 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 3 cheat sheet

    Every topic in Unit 3: Trigonometric and Polar Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 3 practice test: 75 questions with explanations

    All topics in Unit 3: Trigonometric and Polar Functions

    1. 3.1 Periodic Phenomena
    2. 3.2 Sine, Cosine, and Tangent
    3. 3.3 Sine and Cosine Function Values
    4. 3.4 Sine and Cosine Function Graphs
    5. 3.5 Sinusoidal Functions
    6. 3.6 Sinusoidal Function Transformations
    7. 3.7 Sinusoidal Function Context and Data Modeling
    8. 3.8 The Tangent Function
    9. 3.9 Inverse Trigonometric Functions
    10. 3.10 Trigonometric Equations and Inequalities
    11. 3.11 The Secant, Cosecant, and Cotangent Functions
    12. 3.12 Equivalent Representations of Trigonometric Functions
    13. 3.13 Trigonometry and Polar Coordinates
    14. 3.14 Polar Function Graphs
    15. 3.15 Rates of Change in Polar Functions

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.