Current time:0:00Total duration:10:12

0 energy points

Studying for a test? Prepare with these 11 lessons on Trigonometry.

See 11 lessons

# Graph of y=tan(x)

Video transcript

- [Voiceover] What I
hope to do in this video is get some familiarity with
the graph of tangent of theta. And to do that, I'll set
up a little unit circle so that we can visualize what the tangent of various thetas are. Let's say that's a y-axis
and this is my x-axis. That is my x-axis, and the unit circle would look something like this. We already know, this is all a refresher of the unit circle
definition of trig functions, that if I have an angle, an angle theta, where one side is a positive x-axis and then the other side,
so this is the other side, so the angle is formed like this, that where this ray
intersects the unit circle, the coordinates of that, the x and y coordinates
are the sine of theta. Sorry, the x-coordinate
is the cosine of theta. It's the cosine of theta, sine of theta. The x-coordinate here is cosine theta. The y-coordinate there
is the sine of theta. But we're concerned
about tangent of theta. We know that tangent of
theta is the same thing as the sine of theta
over the cosine of theta. Or if you're starting from
the origin and you're going and you're taking the value of
essentially the y-coordinate, the y-coordinate over the x-coordinate, it's essentially the slope of this line. This is going to be your
change in y over change in x. This right over here is
going to be the slope, the slope, I guess you could say, of this ray right over here. That's going to help us visualize what the tangents of different thetas are. Let me clean up my unit
circle a little bit just so that we can ... All right, there we go. So now let's make a table. So let's make a table. So for various thetas, let's think about what tangent of theta is going to be, tangent of theta. So maybe the easiest one,
if theta is zero radians, so if it's zero radians, what
is the slope of this ray? That ray's, the slope is zero. As x changes, y doesn't change at all. Now let's think about, and I'm just going to pick values that are very easy for us to think about what the tangent of those values are, and they'll help us form, they'll help us think about
the shape of the graph of y is equal to tangent of theta. So let's take pi over four radians. This one right over here,
theta is equal to pi over four. Now why is that interesting? And sometimes, it's
easier thinking degrees. It's a 45-degree angle. This here, your x-coordinate
and your y-coordinate is the same. You might remember, it's
square root of two over two, square root of two over two. But the important thing is whatever you move in the x direction, you move the same in the y direction. So the slope of this ray right over here is going to be equal to one, or another way of thinking about it, tangent of theta is
going to be equal to one. Or sine of theta over cosine of theta, they're the same thing, so you're going to get one. Let me just clean that up here just because I'm going to keep
reusing the same unit circle. So if I have theta is pi over four, then the tangent of theta
is going to be equal to one. Now what if theta is equal
to negative pi over four? That is this right over here. Let me just draw a little triangle here. So when x, this x-coordinate over here, is square root of two
over two, we know that. We've seen that multiple
times, square root of two ... Actually, let me label
it a little bit better. So here, our theta is equal to negative pi over four radians. Or if you like to think in degrees, this would be negative 45 degrees. And now, your sine and
cosine of this angle are going to be the
opposites of each other. The cosine is square root of two over two. The x-coordinate of where this intersects is square root of two over two. The y-coordinate here is
negative square root of two, negative square root of two over two. So what's the tangent? Well, it's going to be
your sine over your cosine, which is going to be negative
one, and you see that. For however much you
move in the x direction, you move the opposite of that. You move the negative of
that in the y direction. Let me clean this up a little bit because I want to keep
reusing my unit circle. So there you go. And so this is going to be negative one. This is going to be negative one. Actually, let's just start
plotting a few of these points. If we assume that this is the theta axis, if you can see that,
that's the theta axis, and if this is the
y-axis, that's the y-axis, we immediately see
tangent of zero is zero. Tangent of pi over four is
one, thinking in radians. Tangent of negative pi
over four is negative one. Now let's think of it. Right now, if you just
saw that, you might say, "Oh, maybe this is some type of a line," but we'll see very clearly it's not a line because what happens as our
angle gets closer and closer to, as our angle gets closer
and closer to pi over two, what happens to the slope of this line? So that is theta. We're getting closer and
closer to pi over two. This ray, I guess I should say, is getting closer and closer
to approaching the vertical, so its slope is getting more
and more and more positive, and if you go all the way to pi over two, the slope at that point
is really undefined but it's approaching, one way to think about it is
it is approaching infinity. So as you get closer and
closer to pi over two, so I'm going to make a ... I'm going to draw essentially
a vertical asymptote right over here at pi over two because it's not going to be ... I guess one way we could think about it, it's approaching infinity there, so this is going to be
looking something like this. It's going to be looking
something like this. The slope of the ray as
you get closer and closer to pi over two is getting
closer and closer to infinity. What happens when the angle
is getting closer and closer to negative pi over two? Is getting closer and closer
to negative pi over two? Well, then, the slope is getting more and more and more negative. It's really approaching negative. It's approaching negative infinity. So let me draw that. Once again, not quite
defined right over there, we have a vertical asymptote, and we are approaching negative infinity. We are approaching negative infinity. That's what the graph of
tangent of theta looks just over this section
of, I guess we could say the theta axis, but then
we could keep going. Then we could keep going because if our angle, right after
we cross pi over two, so let's say we've just
crossed pi over two, so we went right across it, now what is the slope? What is the slope of this thing? Well, the slope of this
thing is hugely negative. It looks almost like what
I just drew down here. It's hugely negative. So then the graph jumps back down here, and it's hugely negative again. It's hugely negative. And then as we increase our theta, as we increase our theta,
it becomes less and less and less negative all
the way to when we go to, what is this ... all the way until we go to ... let me plot this ... this angle right over here. Now what is this angle? This, well, I haven't told you yet. Let's say that this angle right over here is three pi over four. Now why did I pick three pi over four? Because that is pi over
two plus pi over four. Or you could say two pis over
for plus another pi over four is three pi over four. And the reason why this is interesting is because it is another, it's forming another,
I guess you could say pi over four- pi over
four-pi over two triangle, or a 45-45-90 triangle, where the x and y-coordinates
or the x and y distances have the same magnitude. But now, the x is going to be negative and the y is positive. So the slope here is
going to be the slope, the same slope as we had for
negative pi over four radians. We're going to have a
slope of negative one. At three pi over four, we
have a slope of negative one. Then we increase our
angle all the way to pi. Now our slope is back to zero. Our slope is back to zero. And then as we go beyond that, as we go to, as we increase
by another pi over four, our slope goes back to being positive one. Our slope goes back to being positive one. And then once again, as we approach three pi over two, our slope is becoming more
and more and more positive, getting, approaching positive infinity. This slope knows if you move a
little bit in the x direction, you're moving a lot up in the y direction. So once again, so now the graph
is going to look like this. Let me do it in a color
that you can actually see. The graph is going to
look something like this. And it will just continue to do this. It will just continue to
do this every pi radians, actually, let me do that as a dotted line, every pi radians over
and over and over again. Let me go back, pi, and I
can draw these asymptotes. I can draw these asymptotes. Let me draw that and that. And so the graph of tangent, the graph of tangent of
theta is going to look, is going to look something like this. And we could obviously, it's periodic, we could just keep doing
it on and on and on in both directions.