Steply

Graph y = tan 2x in degrees

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

Step by step

The question

Question: graph y = tan 2x.

The x values are in degrees.

y = tan 2x

1 Read A and B

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

y = A tan Bx

Here A is 1: the number in front.

B is 2: the number in front of x.

A = 1
B = 2

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°

Here the angle is 2x.

2x is 90° when x is 45°.

2x = 90° → x = 45°

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

Careful!

B squeezes the wave, so the period gets shorter.

We divide by B.

We do not multiply.

Careful: not period = 180° × 2 ✗

B is 2.

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

period = 180°2 = 90°

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 −22.5° to 22.5°, a quarter period at a time: 22.5°.

−22.5°
0°
22.5°

A quarter of 90° is 22.5°.

a quarter of 90° = 22.5°

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

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

−1
0
1

Each y is A times that: the same numbers.

−1
0
1

5 Draw the graph

Draw the grid.

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

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

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, 90°: the same piece again after each gap.

6 Check

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

Put it in the equation.

x = 22.5°: y = tan(2 × 22.5°)

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

So y is 1, like in the table.

So the graph is right!

= tan 45° = 1

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
1

Your turn

Try this one yourself, then check:

y = tan 3x
Show the answer
period 60°, gaps at x = ±30°

More from Graph of tangent

The whole lesson: Graph of tangent →