Steply

Graph of tangent

Trigonometry ยท 20 problems, easy to harder

โ–ถ Watch the first one solved

How we do it

  1. Read A and B
  2. Why tan has gaps
  3. Find the period
  4. Make the key points
  5. Draw the graph
  6. Check

The steps for Graph y = tan x. Every solution names its steps, so you always know what comes next.

Worked examples

Graph y = tan x Easy

The question

Question: graph y = tan x.

y = 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 1: the number in front.

B is 1: the number in front of x.

A = 1
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 = ฯ€/2: straight up on the unit circle, where across is 0.

cos x = 0 at x = ฯ€2

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: ฯ€.

B squeezes it: the period is ฯ€ over B.

period = ฯ€B

B is 1.

So the period is ฯ€: one full piece every ฯ€.

period = ฯ€1 = ฯ€

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 โˆ’ฯ€/4 to ฯ€/4, a quarter period at a time: ฯ€/4.

โˆ’ฯ€4
0
ฯ€4

A quarter of ฯ€ is ฯ€/4.

a quarter of ฯ€ = ฯ€4

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 radians: a mark every ฯ€/4.

The gaps: dashed lines at x = โˆ’ฯ€/2 and x = ฯ€/2.

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

6 Check

Let's check one point from the table: x = ฯ€/4.

Put it in the equation.

x = ฯ€4: y = tan(ฯ€4)

The inside is ฯ€/4, and tan ฯ€/4 is 1.

So y is 1, like in the table.

So the graph is right!

= tan ฯ€4 = 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

โ–ถ Watch it solved

Graph y = tan 2x Medium

The question

Question: graph y = tan 2x.

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 = ฯ€/2: straight up on the unit circle, where across is 0.

cos x = 0 at x = ฯ€2

Here the angle is 2x.

2x is ฯ€/2 when x is ฯ€/4.

2x = ฯ€2 โ†’ x = ฯ€4

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: ฯ€.

B squeezes it: the period is ฯ€ over B.

period = ฯ€B

Careful!

B squeezes the wave, so the period gets shorter.

We divide by B.

We do not multiply.

Careful: not period = ฯ€ ร— 2 โœ—

B is 2.

So the period is ฯ€/2: one full piece every ฯ€/2.

period = ฯ€2 = ฯ€2

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 โˆ’ฯ€/8 to ฯ€/8, a quarter period at a time: ฯ€/8.

โˆ’ฯ€8
0
ฯ€8

A quarter of ฯ€/2 is ฯ€/8.

a quarter of ฯ€2 = ฯ€8

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 radians: a mark every ฯ€/8.

The gaps: dashed lines at x = โˆ’ฯ€/4 and x = ฯ€/4.

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, ฯ€/2: the same piece again after each gap.

6 Check

Let's check one point from the table: x = ฯ€/8.

Put it in the equation.

x = ฯ€8: y = tan(2 ร— ฯ€8)

The inside is ฯ€/4, and tan ฯ€/4 is 1.

So y is 1, like in the table.

So the graph is right!

= tan ฯ€4 = 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

โ–ถ Watch it solved

Graph y = 2 tan 2x Harder

The question

Question: graph y = 2 tan 2x.

y = 2 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 2: the number in front.

B is 2: the number in front of x.

A = 2
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 = ฯ€/2: straight up on the unit circle, where across is 0.

cos x = 0 at x = ฯ€2

Here the angle is 2x.

2x is ฯ€/2 when x is ฯ€/4.

2x = ฯ€2 โ†’ x = ฯ€4

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: ฯ€.

B squeezes it: the period is ฯ€ over B.

period = ฯ€B

Careful!

B squeezes the wave, so the period gets shorter.

We divide by B.

We do not multiply.

Careful: not period = ฯ€ ร— 2 โœ—

B is 2.

So the period is ฯ€/2: one full piece every ฯ€/2.

period = ฯ€2 = ฯ€2

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 โˆ’ฯ€/8 to ฯ€/8, a quarter period at a time: ฯ€/8.

โˆ’ฯ€8
0
ฯ€8

A quarter of ฯ€/2 is ฯ€/8.

a quarter of ฯ€2 = ฯ€8

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 2.

โˆ’2
0
2

5 Draw the graph

Draw the grid.

The x-axis is in radians: a mark every ฯ€/8.

The gaps: dashed lines at x = โˆ’ฯ€/4 and x = ฯ€/4.

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, ฯ€/2: the same piece again after each gap.

6 Check

Let's check one point from the table: x = ฯ€/8.

Put it in the equation.

x = ฯ€8: y = 2 ร— tan(2 ร— ฯ€8)

The inside is ฯ€/4, and tan ฯ€/4 is 1.

So y is 2, like in the table.

So the graph is right!

= 2 ร— tan ฯ€4 = 2 ร— 1 = 2

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
2

โ–ถ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. graph y = tan x
    Answer
    1
  2. graph y = 2 tan x
    Answer
    2
  3. graph y = 3 tan x
    Answer
    3
  4. graph y = -tan x
    Answer
    โˆ’1
  5. graph y = tan x in degrees
    Answer
    1
  6. graph y = 3 tan x in degrees
    Answer
    3

Medium

  1. graph y = tan 2x
    Answer
    1
  2. graph y = tan 3x
    Answer
    1
  3. graph y = tan 4x
    Answer
    1
  4. graph y = -2 tan x
    Answer
    โˆ’2
  5. graph y = 4 tan x
    Answer
    4
  6. graph y = tan 2x in degrees
    Answer
    1

Harder

  1. graph y = 2 tan 2x
    Answer
    2
  2. graph y = -tan 2x
    Answer
    โˆ’1
  3. graph y = 3 tan 2x
    Answer
    3
  4. graph y = 2 tan 3x
    Answer
    2
  5. graph y = -2 tan 2x in degrees
    Answer
    โˆ’2
  6. graph y = 2 tan 4x
    Answer
    2
  7. graph y = -3 tan x
    Answer
    โˆ’3
  8. graph y = 4 tan 2x
    Answer
    4