The Tangent Function
Sine and cosine give smooth waves. The tangent ratio gives a very different graph: it repeats, but it shoots off to infinity, with vertical asymptotes. Seeing why comes straight from the unit circle and the fact that . All angles on this page are in radians.
Key ideas
Section titled “Key ideas”From the tangent ratio to a function
Section titled “From the tangent ratio to a function”For an angle in standard position, the terminal arm meets the unit circle at the point . The tangent ratio is the -coordinate of that point divided by its -coordinate:
Treating each angle as an input and its tangent as the output gives the tangent function, . The tangent is also the slope of the terminal arm (rise over run), which is a handy way to picture it.
Here are its values for , from the special angles:
| undefined | undefined |
Why there are asymptotes
Section titled “Why there are asymptotes”is undefined wherever : at , , , and so on. Near those angles, the denominator is tiny, so the fraction is huge.
- As gets close to from the left, is close to and is a tiny positive number, so becomes a very large positive number.
- Just to the right of , is a tiny negative number, so is a very large negative number.
That’s a vertical asymptote, the same behaviour you see in reciprocal functions. In slope terms: as the terminal arm turns toward vertical, its slope grows without limit, and a vertical line has no slope at all.
Key properties of y = tan x
Section titled “Key properties of y = tan x”| Property | |
|---|---|
| Period | |
| Domain | |
| Range | |
| Vertical asymptotes | , |
| Zeros | , |
| -intercept | |
| Amplitude | none (no maximum or minimum) |
| Behaviour | increasing on every interval between asymptotes |
( is the set of integers, so can be )
- Period , not . Turning the terminal arm half a turn () takes the point to the opposite point . Both coordinates change sign, so their ratio doesn’t change: .
- Zeros. exactly where .
- No amplitude. The range is all real numbers, so there’s no maximum or minimum, and amplitude doesn’t apply.
- Symmetry. : the graph is symmetric about the origin.
Worked examples
Section titled “Worked examples”Example 1: Close to an asymptote
Section titled “Example 1: Close to an asymptote”Use a calculator (radian mode) to evaluate for , , , , and , to decimal places. What do the values show?
Solution.
Since , the first three inputs are just to the left of , and the tangent grows very quickly through large positive values. The last two are just to the right, and the tangent is large and negative. The graph jumps from the top of the screen to the bottom across the vertical asymptote .
Example 2: Properties on an interval
Section titled “Example 2: Properties on an interval”For , list the zeros and the equations of the vertical asymptotes of .
Solution. Zeros are at multiples of :
Asymptotes are halfway between the zeros, at odd multiples of :
That’s three full branches between the asymptotes, plus half a branch at each end of the interval.
Example 3: Using the period
Section titled “Example 3: Using the period”Given , find , , and without a calculator. Then explain why is different.
Solution. The period is , so adding or subtracting any multiple of doesn’t change the tangent:
But is not a multiple of away from (the difference is ). It’s in quadrant II, where tangent is negative: .
Example 4: Reading the graph
Section titled “Example 4: Reading the graph”For :
- (a) Where is ?
- (b) Where is undefined?
- (c) On which intervals is ?
Solution.
(a) The related angle is , and tangent is negative in quadrants II and IV: and . These are one period apart, as they should be.
(b) Where : and .
(c) The graph is above the -axis just after each zero, up to the next asymptote: and . These are quadrants I and III, matching CAST. ✓
Common mistakes
Section titled “Common mistakes”Saying the period is 2π. Sine and cosine repeat every , but tangent repeats every . Look at the graph: a whole branch fits between two asymptotes apart.
Drawing the graph through the asymptote. The branches never touch or cross the dashed lines. Near an asymptote, the graph gets steeper and steeper on each side, heading in opposite directions.
Putting asymptotes at the zeros of sin x. is undefined where the denominator, , is . Where , the tangent is .
Giving tan x an amplitude. The range is all real numbers. There’s no maximum or minimum, so there’s no amplitude.
Leaving the asymptotes out of the domain statement. The domain isn’t all real numbers. Write .
Practice
Section titled “Practice”1. (Warm-up) State the period, domain, and range of .
Solution
Period . Domain . Range .
2. (Warm-up) Find the exact value: (a) (b) (c)
Solution
(a)
(b) , and the period is , so .
(c) Tangent is symmetric about the origin: .
3. (Warm-up) Write the equations of the vertical asymptotes of for .
Solution
and .
4. (Core) Evaluate , , , and to decimal places. Explain the change in sign between the last two.
Solution
, , , .
The values grow quickly as approaches . Between and the input passes the vertical asymptote at , where changes from positive to negative while stays positive, so the tangent changes from large positive to negative.
5. (Core) Explain why it makes sense to talk about the amplitude of but not of .
Solution
Amplitude is half the distance between the maximum and minimum values. has a maximum of and a minimum of , so its amplitude is . takes every real value (its range is ) and has no maximum or minimum, so amplitude isn’t defined for it.
6. (Core) Find all with such that .
Solution
, so is one answer. The period is , so the others are . In the interval, also works ( is too big).
7. (Core) Using , explain (a) why at exactly the same -values where , and (b) why is positive in quadrants I and III.
Solution
(a) A fraction is exactly when its numerator is (and the denominator isn’t). Where (), , so .
(b) In quadrant I, and are both positive; in quadrant III, both are negative. Either way, the quotient is positive. In quadrants II and IV they have opposite signs, so the tangent is negative.
8. (Challenge) Find the period of , and give its zeros and vertical asymptotes for .
Solution
A horizontal compression by a factor of halves the period: .
Zeros: when , so : .
Asymptotes: is undefined when , so : and .
9. (Challenge) A line through the origin makes an angle of rad with the positive -axis.
- (a) Find its slope to decimal places.
- (b) What happens to the slope as the angle increases toward ? How does this connect to the graph of ?
Solution
(a) The slope is .
(b) The line gets steeper, and its slope increases without limit. At exactly the line is vertical and its slope is undefined. On the graph of , that’s the branch rising toward the vertical asymptote at .
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
All angles are in radians, and stands for any integer.
Foundations
Section titled “Foundations”H1. (Foundations) Use , special angles, and the period to find each exact value, or explain why it doesn’t exist.
- (a)
- (b)
- (c)
- (d)
H2. (Foundations) Consider for .
- (a) List the zeros.
- (b) Write the equations of the vertical asymptotes.
- (c) How many complete branches (from one asymptote to the next) lie in this interval?
H3. (Core) Sketch and the horizontal line on the same axes for .
- (a) How many times does the line cross the graph? Explain using the branches.
- (b) Use a calculator (radian mode) to solve for , to decimal places.
- (c) A line through the origin has slope . Explain how your answers to (b) describe the angles its two halves make with the positive -axis.
H4. (Core) Consider .
- (a) Describe the transformations of , and write the mapping notation.
- (b) Find the image of the point on .
- (c) State the period and the equations of the vertical asymptotes (in general, using ).
- (d) Show that is a zero, and list all the zeros for .
H5. (Core) Consider .
- (a) Find the period.
- (b) State the domain in set notation, and the range.
- (c) List the zeros and the vertical asymptotes for .
- (d) Find the images of and on .
H6. (Core) A tracking camera sits on flat ground m from a launch pad. A model rocket goes straight up from the pad, and the camera tilts up to follow it. The rocket’s height is metres, where is the camera’s angle of elevation in radians (a hypothetical model).
- (a) Find when and when , to the nearest metre.
- (b) Find when the rocket is m high, to decimal places.
- (c) What happens to as gets close to ? Where is the camera pointing then? Why does the model only make sense for here?
Challenge
Section titled “Challenge”H7. (Challenge) A classmate wrote: “The period of is , the same as sine and cosine, so for there’s only one vertical asymptote, at .”
- (a) Find and explain the errors.
- (b) Give the correct period and the correct asymptotes for .
- (c) Evaluate at and (to decimal places) and explain how the values support your answer.
H8. (Challenge) Find all with such that . Explain how you know you have found every solution.
H9. (Challenge) Jordan says, ” has amplitude , so must have amplitude too.” Explain why tangent functions have no amplitude, even after a vertical stretch. In your answer, say what the stretch by actually does to the graph of .
H10. (Challenge) Choose so that the vertical asymptotes of closest to the origin are and .
- (a) Find and the period.
- (b) List the zeros for .
- (c) Solve for .