Worked examples
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.
โถ Watch it solved
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.
โถ Watch it solved
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.
โถ Watch it solved