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 .