Introduction
Welcome! In this lesson, we’ll focus on the tangent function and how it connects angles on the unit circle to the slopes of lines. Building on your understanding of sine and cosine, you are going to be introduced to a unique function that can be represented in multiple ways including graphically, numerically, and analytically. You will explore how tangent can be expressed as the ratio of sine to cosine, how its graph includes vertical asymptotes and points of inflection, and how transformations such as shifts, reflections, and dilations affect its shape and behavior. By the end of this lesson, you will have a deeper understanding of the tangent function and how it behaves across different representations and contexts.
Essential Knowledge from the CED
According to the AP Precalculus Course and Exam Description (CED), these are the key ideas you’ll be expected to understand about exponential functions for the exam:
- Unit Circle Representation: Given an angle in standard position on the unit circle, the tangent function can be interpreted as the slope of the terminal ray. This slope is the ratio of the -coordinate to the -coordinate of the point where the terminal ray intersects the circle.
- Relationship to Sine and Cosine: The tangent function can also be expressed as the ratio of the sine function to the cosine function. This definition is valid wherever the cosine of the angle is not zero.
- Periodicity: The tangent function has a repeating pattern and a period of . Its values repeat every half rotation of the unit circle.
- Asymptotes: Tangent has vertical asymptotes at input values where cosine equals zero. These asymptotes occur at , where is an integer.
- Graph Behavior: Between consecutive asymptotes, the tangent function increases continuously and its graph changes from concave down to concave up at the points of inflection.
- Transformations: The tangent function can undergo additive and multiplicative transformations.
- Adding a constant outside the function shifts the graph vertically.
- Adding a constant inside the function shifts the graph horizontally, known as a phase shift.
- Multiplying the function by a constant stretches or compresses the graph vertically, and if the constant is negative, it reflects over the -axis.
- Multiplying the input by a constant stretches or compresses the graph horizontally, and if the constant is negative, it reflects over the -axis.
The Tangent Function and the Unit Circle
When an angle is in standard position, its initial side lies on the positive -axis and its terminal ray extends from the origin. On the unit circle, which is centered at the origin with a radius of , the terminal ray intersects the circle at a point , as shown in the image. This point has coordinates (, ).
As illustrated in the image, the slope of the terminal ray is determined by the change in the -values divided by the change in the -values between any two points on the ray. The vertical change corresponds to , and the horizontal change corresponds to . Because slope is rise over run, the tangent function gives the slope of the terminal ray. Therefore,
where
The red tangent line in the image visually represents this slope, showing how the tangent function measures the steepness of the terminal ray.

Periodicity, Asymptotes, and Behavior of the Tangent Function

As seen in the graph of , the period is the length along the -axis before the graph starts repeating its pattern. For example, at , , and as we move along the -axis, the graph reaches again at . Between and , the graph goes through all its typical changes, including approaching positive and negative infinity, which shows a full cycle of the tangent function. Since the graph repeats this same behavior over every interval of , the period of is .
In the graph of , you can see that at there is a vertical asymptote. As the graph approaches from the left, increases toward positive infinity, and from the right, decreases toward negative infinity. This happens because , and the function is undefined whenever . At , , so cannot have a finite value, which creates the sharp “jump” in the graph.
More generally, tangent has vertical asymptotes at , where is any integer. This formula comes from the fact that cosine equals zero not only at , but at regular intervals of along the -axis. By adding multiples of (that is, ), we can describe all the points where . For example, when , the asymptote is at ; when , it’s at ; when, it’s at , and so on. These repeating asymptotes occur at equal intervals, which reflects the periodic nature of the tangent function.
Now, if you look at , which is one of the asymptotes, you can see that the graph is concave down just after the asymptote. As you move toward the next asymptote at , the graph increases and changes concavity, passing through at , where it switches from concave down to concave up. Between these consecutive asymptotes, the tangent function always rises from negative infinity to positive infinity, with the midpoint marking the point of inflection. This pattern repeats between every pair of asymptotes, giving the tangent graph its characteristic S-shaped curve.
Transformations of the Tangent Function
The tangent function, , can be transformed in various ways. These transformations either shift the graph, stretch or compress it, or reflect it. They can be classified into additive transformations and multiplicative transformations.
- Additive Transformations
- Vertical Translation: The graph of is a vertical translation of the original tangent graph. This means the entire graph, including its points of inflection (where it crosses ), moves up or down by units. Positive shifts the graph upward, while negative shifts it downward. As you can see in the original graph, at , . But when a vertical translation of units is applied in the second graph, the -value at changes to . This shows that the entire graph, including the points of inflection, has shifted upward by units, while the overall shape and the positions of the asymptotes remain the same.


- Horizontal Translation (Phase Shift): The graph of is a horizontal translation, or phase shift, of the original graph. The graph moves left or right by units. For example, if , the graph shifts to the left by .


In the original graph, at , , and one of the asymptotes is at . In the graph of , the entire graph shifts left by units, so the point that was at in the original graph now appears at , and the asymptote that was at shifts to . This demonstrates how a horizontal phase shift moves the graph without changing its shape or period.
- Multiplicative Transformations
- Vertical Dilation (Stretch/Compression): The graph of stretches or compresses the graph vertically by a factor of . If , the graph is stretched away from the -axis; if , it is compressed toward the -axis. If , the graph is also reflected over the -axis.
As you can see in the original graph of , the graph passes through at and increases toward positive infinity at its first asymptote at . In the graph of , the graph is vertically stretched by a factor of , which makes it rise and fall more steeply. Additionally, because is negative, the graph is reflected over the -axis. This means that what was increasing toward positive infinity in the original graph now decreases toward negative infinity, and what was decreasing toward negative infinity now increases toward positive infinity. The points of inflection, which were at in the original graph, remain the same, but the overall shape is taller and flipped.


- Horizontal Dilation (Change in Period): The graph of stretches or compresses horizontally, which changes how wide each cycle of the tangent function is. The period of the graph becomes , so larger values of compress the graph toward the -axis, and smaller values of stretch it away from the -axis. If is negative, the graph is also reflected over the -axis, flipping the left and right sides of each cycle. This transformation changes the spacing of the asymptotes and the width of the repeating pattern, while the overall S-shaped curve of the tangent function stays the same.


As you can see in the original graph of , the graph completes a full cycle between consecutive asymptotes at . In the second graph of ,the graph is stretched horizontally because the coefficient is less than , which increases the period to . Additionally, because of the negative sign, the graph is reflected over the -axis, so the left and right sides of each cycle are flipped. The asymptotes are now farther apart, and the graph completes one full cycle over a wider interval, while maintaining the characteristic S-shaped tangent curve.
Extension: How Graphing a Tangent Function Works
Suppose we have the function . We can graph it step by step:
Step 1: Find the period
For the parent function , the period is .For , the period formula = . So the graph repeats every units along the -axis.
Step 2: Scale the -values
The period of the function is . To graph one period, we can divide the period by → . This means we can choose -values separated by to plot key points.
Step 3: Find the vertical asymptotes
Vertical asymptotes occur where the tangent function is undefined. For the function :
- The inside of the tangent is
- Tangent is undefined at , so we set .
- Multiply both sides by →
- Add → and
So for one period, the vertical asymptotes are at and . These asymptotes mark the edges of the S-shaped tangent curve for this cycle.
Step 4: Find the new origin
In the original parent function , the origin is at , . This is the point where the graph crosses its horizontal center and the curve changes concavity.
For the transformed function , the phase shift moves this “origin” to the right by , and the vertical shift moves it up by .
- So the new midpoint of the S-shaped curve is at , .
- This point is also the point of inflection, where the graph changes from concave down to concave up (or vice versa) between the asymptotes.
Step 5: Find the key points between asymptotes
For the parent function :
- To the left of the asymptote , there is a key point where at
- To the right of the asymptote , there is a key point where at $@x = -\dfrac{\pi}{4}
- These points are halfway between asymptotes, marking the steepest points of the tangent curve
For the transformed function :
- The vertical stretch multiplies the original -values by
- The vertical shift moves all -values up by
Since our “origin” starts at :
- to the right → ,
- to the left → ,
- Midpoint at ,
As you can see in the graph below, all the key points we found are shown for the transformed function. The vertical asymptotes occur at and . The key points are at , and , , with the midline at occurring at . This represents one full period of the function. We can also graph additional periods, as shown in the graph from to , repeating the same characteristics for each period.

