Steply

Graph y = 3 tan x in degrees

Step by step, with the reason for every step · Graph of tangent · Trigonometry

Step by step

The question

Question: graph y = 3 tan x.

The x values are in degrees.

y = 3 tan x

1 Read A and B

A tangent graph can be written like this: y = A tan Bx.

y = A tan Bx

Here A is 3: the number in front.

B is 1: the number in front of x.

A = 3
B = 1

2 Why tan has gaps

tan x is sin x over cos x.

tan x = sin xcos x

When cos x is 0, we would divide by 0.

That is never allowed.

So tan has no value there: a gap.

cos x = 0

cos x is 0 at x = 90°: straight up on the unit circle, where across is 0.

cos x = 0 at x = 90°

At each gap we draw a dashed line, called an asymptote.

The graph gets closer and closer to it, but never touches it.

3 Find the period

The tangent graph repeats every half turn: 180°.

B squeezes it: the period is 180° over B.

period = 180°B

B is 1.

So the period is 180°: one full piece every 180°.

period = 180°1 = 180°

Careful!

The tangent graph goes up and down forever.

So it has no amplitude.

A only stretches it: at a quarter period, y is A.

Careful: tan has no amplitude

4 Make the key points

We use a table.

tan is 0 in the middle, at x = 0, and the piece reaches up and down from there.

x goes from −45° to 45°, a quarter period at a time: 45°.

−45°
0°
45°

A quarter of 180° is 45°.

a quarter of 180° = 45°

tan at these points: −1, 0, 1.

Like tan −45°, tan 0° and tan 45°.

−1
0
1

Each y is A times that: times 3.

−3
0
3

5 Draw the graph

Draw the grid.

The x-axis is in degrees: a mark every 45°.

The gaps: dashed lines at x = −90° and x = 90°.

Plot the key points from the table.

Join them with a smooth curve.

Near the dashed lines it shoots up and down.

The graph repeats every period, 180°: the same piece again after each gap.

6 Check

Let's check one point from the table: x = 45°.

Put it in the equation.

x = 45°: y = 3 × tan(45°)

The inside is 45°, and tan 45° is 1.

So y is 3, like in the table.

So the graph is right!

= 3 × tan 45° = 3 × 1 = 3

Let's look back.

First: read A and B.

Then: why tan has gaps.

Then: find the period.

Then: make the key points.

Then: draw the graph.

Last: check.

Answer
3

Your turn

Try this one yourself, then check:

y = 2 tan x
Show the answer
period 180°, gaps at x = ±90°

More from Graph of tangent

The whole lesson: Graph of tangent →