<< Chapter < Page Chapter >> Page >
A graph of y=tangent of x. Asymptotes at -pi over 2 and pi over 2.
Graph of the tangent function

Graphing variations of y = tan x

As with the sine and cosine functions, the tangent    function can be described by a general equation.

y = A tan ( B x )

We can identify horizontal and vertical stretches and compressions using values of A and B . The horizontal stretch can typically be determined from the period of the graph. With tangent graphs, it is often necessary to determine a vertical stretch using a point on the graph.

Because there are no maximum or minimum values of a tangent function, the term amplitude cannot be interpreted as it is for the sine and cosine functions. Instead, we will use the phrase stretching/compressing factor when referring to the constant A .

Features of the graph of y = A Tan( Bx )

  • The stretching factor is | A | .
  • The period is P = π | B | .
  • The domain is all real numbers x , where x π 2 | B | + π | B | k such that k is an integer.
  • The range is ( −∞ , ) .
  • The asymptotes occur at x = π 2 | B | + π | B | k , where k is an integer.
  • y = A tan ( B x ) is an odd function.

Graphing one period of a stretched or compressed tangent function

We can use what we know about the properties of the tangent function to quickly sketch a graph of any stretched and/or compressed tangent function of the form f ( x ) = A tan ( B x ) . We focus on a single period    of the function including the origin, because the periodic property enables us to extend the graph to the rest of the function’s domain if we wish. Our limited domain is then the interval ( P 2 , P 2 ) and the graph has vertical asymptotes at ± P 2 where P = π B . On ( π 2 , π 2 ) , the graph will come up from the left asymptote at x = π 2 , cross through the origin, and continue to increase as it approaches the right asymptote at x = π 2 . To make the function approach the asymptotes at the correct rate, we also need to set the vertical scale by actually evaluating the function for at least one point that the graph will pass through. For example, we can use

f ( P 4 ) = A tan ( B P 4 ) = A tan ( B π 4 B ) = A

because tan ( π 4 ) = 1.

Given the function f ( x ) = A tan ( B x ) , graph one period.

  1. Identify the stretching factor, | A | .
  2. Identify B and determine the period, P = π | B | .
  3. Draw vertical asymptotes at x = P 2 and x = P 2 .
  4. For A > 0 , the graph approaches the left asymptote at negative output values and the right asymptote at positive output values (reverse for A < 0 ).
  5. Plot reference points at ( P 4 , A ) , ( 0 , 0 ) , and ( P 4 ,− A ) , and draw the graph through these points.

Sketching a compressed tangent

Sketch a graph of one period of the function y = 0.5 tan ( π 2 x ) .

First, we identify A and B .

An illustration of equations showing that A is the coefficient of tangent and B is the coefficient of x, which is within the tangent function.

Because A = 0.5 and B = π 2 , we can find the stretching/compressing factor and period. The period is π π 2 = 2 , so the asymptotes are at x = ± 1. At a quarter period from the origin, we have

f ( 0.5 ) = 0.5 tan ( 0.5 π 2 ) = 0.5 tan ( π 4 ) = 0.5

This means the curve must pass through the points ( 0.5 , 0.5 ) , ( 0 , 0 ) , and ( 0.5 , −0.5 ) . The only inflection point is at the origin. [link] shows the graph of one period of the function.

A graph of one period of a modified tangent function, with asymptotes at x=-1 and x=1.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Sketch a graph of f ( x ) = 3 tan ( π 6 x ) .

A graph of two periods of a modified tangent function, with asymptotes at x=-3 and x=3.
Got questions? Get instant answers now!

Graphing one period of a shifted tangent function

Now that we can graph a tangent function that is stretched or compressed, we will add a vertical and/or horizontal (or phase) shift. In this case, we add C and D to the general form of the tangent function.

Questions & Answers

how can are find the domain and range of a relations
austin Reply
A cell phone company offers two plans for minutes. Plan A: $15 per month and $2 for every 300 texts. Plan B: $25 per month and $0.50 for every 100 texts. How many texts would you need to send per month for plan B to save you money?
Diddy Reply
6000
Robert
more than 6000
Robert
can I see the picture
Zairen Reply
How would you find if a radical function is one to one?
Peighton Reply
how to understand calculus?
Jenica Reply
with doing calculus
SLIMANE
Thanks po.
Jenica
Hey I am new to precalculus, and wanted clarification please on what sine is as I am floored by the terms in this app? I don't mean to sound stupid but I have only completed up to college algebra.
rachel Reply
I don't know if you are looking for a deeper answer or not, but the sine of an angle in a right triangle is the length of the opposite side to the angle in question divided by the length of the hypotenuse of said triangle.
Marco
can you give me sir tips to quickly understand precalculus. Im new too in that topic. Thanks
Jenica
if you remember sine, cosine, and tangent from geometry, all the relationships are the same but they use x y and r instead (x is adjacent, y is opposite, and r is hypotenuse).
Natalie
it is better to use unit circle than triangle .triangle is only used for acute angles but you can begin with. Download any application named"unit circle" you find in it all you need. unit circle is a circle centred at origine (0;0) with radius r= 1.
SLIMANE
What is domain
johnphilip
the standard equation of the ellipse that has vertices (0,-4)&(0,4) and foci (0, -15)&(0,15) it's standard equation is x^2 + y^2/16 =1 tell my why is it only x^2? why is there no a^2?
Reena Reply
what is foci?
Reena Reply
This term is plural for a focus, it is used for conic sections. For more detail or other math questions. I recommend researching on "Khan academy" or watching "The Organic Chemistry Tutor" YouTube channel.
Chris
how to determine the vertex,focus,directrix and axis of symmetry of the parabola by equations
Bryssen Reply
i want to sure my answer of the exercise
meena Reply
what is the diameter of(x-2)²+(y-3)²=25
Den Reply
how to solve the Identity ?
Barcenas Reply
what type of identity
Jeffrey
Confunction Identity
Barcenas
how to solve the sums
meena
hello guys
meena
For each year t, the population of a forest of trees is represented by the function A(t) = 117(1.029)t. In a neighboring forest, the population of the same type of tree is represented by the function B(t) = 86(1.025)t.
Shakeena Reply
by how many trees did forest "A" have a greater number?
Shakeena
32.243
Kenard
how solve standard form of polar
Rhudy Reply
what is a complex number used for?
Drew Reply
It's just like any other number. The important thing to know is that they exist and can be used in computations like any number.
Steve
I would like to add that they are used in AC signal analysis for one thing
Scott
Good call Scott. Also radar signals I believe.
Steve
They are used in any profession where the phase of a waveform has to be accounted for in the calculations. Imagine two electrical signals in a wire that are out of phase by 90°. At some times they will interfere constructively, others destructively. Complex numbers simplify those equations
Tim

Get the best Precalculus course in your pocket!





Source:  OpenStax, Precalculus. OpenStax CNX. Jan 19, 2016 Download for free at https://legacy.cnx.org/content/col11667/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Precalculus' conversation and receive update notifications?

Ask