Skip to main content

Other Trigonometric Functions

Besides cosine and sine, there are other trigonometric functions that are derived from them. These functions also have periodic properties and allow us to model real-world phenomena which makes it vital to be able to graph them as well.

Tangent Function

Recall that the tangent function is defined as tanθ=sinθcosθ\tan \theta = \dfrac{\sin \theta}{\cos \theta} and it is periodic with a period of π\pi. If we graph the tangent function on the interval [π2,π2][-\dfrac{\pi}{2}, \dfrac{\pi}{2}], we are able to see the behavior of the graph on one complete cycle. So, to graph the tangent function, we can use the following table of values...

xxπ2-\dfrac{\pi}{2}π3-\dfrac{\pi}{3}π4-\dfrac{\pi}{4}π6-\dfrac{\pi}{6}00π6\dfrac{\pi}{6}π4\dfrac{\pi}{4}π3\dfrac{\pi}{3}π2\dfrac{\pi}{2}
tan(x)\tan(x)undefined\text{undefined}3-\sqrt{3}1-133-\dfrac{\sqrt{3}}{3}0033\dfrac{\sqrt{3}}{3}113\sqrt{3}undefined\text{undefined}

The graph of the tangent function is undefined at x=π2x = -\dfrac{\pi}{2} and x=π2x = \dfrac{\pi}{2} meaning they are vertical asymptotes. In order to graph the tangent function, we also need to consider the behavior of the graph at the points where the tangent function is undefined. This can be done by looking at the points near the asymptotes. For this case, lets look at points between π31.05\dfrac{\pi}{3} \approx 1.05 and π21.57\dfrac{\pi}{2} \approx 1.57...

xx1.31.31.51.51.551.551.561.56
tan(x)\tan(x)3.63.614.114.148.148.192.692.6

The value of the tangent function increases rapidly as xx approaches π2\dfrac{\pi}{2}. Lets also look at the points between π21.57-\dfrac{\pi}{2} \approx -1.57 and π31.05-\dfrac{\pi}{3} \approx -1.05 to see the behavior of the graph near the asymptote at x=π2x = -\dfrac{\pi}{2}...

xx1.3-1.31.5-1.51.55-1.551.56-1.56
tan(x)\tan(x)3.6-3.614.1-14.148.1-48.192.6-92.6

The value of the tangent function decreases rapidly as xx approaches π2-\dfrac{\pi}{2}. With all this information, we can now graph the tangent function...

Tangent Function
Fig. 1 - Tangent Function
note

The tangent function is an odd function because sine is an odd function and cosine is an even function. This causes tangent to be odd because the tangent function is equivalent to the quotient of an odd function and an even function which always results in an odd function. In fact, any function that is the quotient of an odd function and an even function is an odd function.

General Equation

Similar to the sine and cosine functions, the tangent function can also be described by a general equation. The general equation of the tangent function is y=Atan(BxC)+Dy = A\tan(Bx - C) + D where AA, BB, CC, and DD are all constants.

The features of the graph of y=Atan(BxC)+Dy = A\tan(Bx - C) + D are as follows...

  • The stretching factor is A|A|.
  • The period is πB\dfrac{\pi}{|B|}.
  • The domain is xCB+π2kx \neq \dfrac{C}{B} + \dfrac{\pi}{2}k where kk is an integer.
  • The range is (,)(-\infty, \infty).
  • The vertical asymptotes occur at x=CB+π2kx = \dfrac{C}{B} + \dfrac{\pi}{2}k where kk is an odd integer.
  • There is no horizontal asymptote.
  • There is no amplitude.

Graphing Tangent

Given the function y=Atan(BxC)+Dy = A \tan(Bx - C) + D, we can sketch the graph of one period using the following steps...

  1. Verify the function is in the form y=Atan(BxC)+Dy = A \tan(Bx - C) + D.
  2. Identify the stretching/compressing factor, A|A|.
  3. Identify BB and use it to find the period, P=πBP = \dfrac{\pi}{|B|}.
  4. Identify CC and use it to find the phase shift, CB\dfrac{C}{B}.
  5. Sketch the vertical asymptotes, which occur at x=CB+π2Bkx = \dfrac{C}{B} + \dfrac{\pi}{2|B|}k where kk is an odd integer.
  6. For AB>0AB > 0, the graph approaches the left asymptote at negative output values and the right asymptote at positive output values. On the other hand, for AB<0AB < 0, the graph approaches the left asymptote at positive output values and the right asymptote at negative output values.
  7. Obtain the reference points at (P4,A)(\dfrac{P}{4}, A), (0,0)(0, 0), and (P4,A)(-\dfrac{P}{4}, -A).
  8. Shift the reference points to the right by CB\dfrac{C}{B} and up by DD.
  9. Sketch the graph using the reference points and the asymptotes.

An example of graphing the tangent function is shown below...

Example\underline{Example}

Graph one period of the function y=2tan(πx+π)1y = 2\tan(\pi x + \pi) - 1.

The function is in the form y=Atan(BxC)+Dy = A\tan(Bx - C) + D so we are good to continue.

The stretching factor is A=2|A| = 2.

The constant B=πB = \pi so the period is P=πB=ππ=1P = \dfrac{\pi}{|B|} = \dfrac{\pi}{|\pi|} = 1.

The constant C=πC = -\pi so the phase shift is CB=ππ=1\dfrac{C}{B} = \dfrac{-\pi}{\pi} = -1.

The vertical asymptotes occur at x=CB+π2Bk=1+π2(π)k=1+12kx = \dfrac{C}{B} + \dfrac{\pi}{2|B|}k = -1 + \dfrac{\pi}{2(|\pi|)}k = -1 + \dfrac{1}{2}k where kk is an odd integer. Some of the vertical asymptotes are at x=1+12(1)=112=32x = -1 + \dfrac{1}{2}(-1) = -1 - \dfrac{1}{2} = -\dfrac{3}{2} and x=1+12(1)=1+12=12x = -1 + \dfrac{1}{2}(1) = -1 + \dfrac{1}{2} = -\dfrac{1}{2}.

The constant AB=2(π)=2πAB = 2(\pi) = 2\pi where 2π>02\pi > 0. This means the graph approaches the left asymptote at negative output values and the right asymptote at positive output values.

The reference points are at (P4,A)=(14,2)(\dfrac{P}{4}, A) = (\dfrac{1}{4}, 2), (0,0)(0, 0), and (P4,A)=(14,2)(-\dfrac{P}{4}, -A) = (-\dfrac{1}{4}, -2).

Shifting the reference points to the right by CB=1\dfrac{C}{B} = -1 and up by D=1D = -1 gives us the points (34,1)(-\dfrac{3}{4}, 1), (1,1)(-1, -1), and (54,3)(-\dfrac{5}{4}, -3).

Using the reference points and the asymptotes, we can sketch the graph of the function...

Graph of Tangent Example
Fig. 2 - Graph of Tangent Example

Secant Function

The secant function can also be defined as secθ=1cosθ\sec \theta = \dfrac{1}{\cos \theta}. Considering the fact that the function is undefined when cosine is equal to 00, the secant function has vertical asymptotes at π2\dfrac{\pi}{2}, 3π2\dfrac{3\pi}{2}, etc. Also note that since the cosine function will never be less than 1-1 or greater than 11, the secant function will never be between 1-1 and 11 as cosine is in the denominator.

Putting this all together, this gives us the graph of the secant function...

Secant Function
Fig. 3 - Secant Function
note

Since cosine is an even function, secant is also an even function. This is because the reciprocal of any even function is also an even function.

General Equation

The general equation of the secant function is y=Asec(BxC)+Dy = A\sec(Bx - C) + D where AA, BB, CC, and DD are all constants.

The features of the graph of y=Asec(BxC)+Dy = A\sec(Bx - C) + D are as follows...

  • The stretching factor is A|A|.
  • The period is 2πB\dfrac{2\pi}{|B|}.
  • The domain is xCB+π2Bkx \neq \dfrac{C}{B} + \dfrac{\pi}{2|B|}k, where kk is an odd integer.
  • The range is (,A+D][A+D,)(-\infty, -|A| + D] \cup [|A| + D, \infty).
  • The vertical asymptotes occur at x=CB+π2Bkx = \dfrac{C}{B} + \dfrac{\pi}{2|B|}k where kk is an odd integer.
  • There is no horizontal asymptote.
  • There is no amplitude.

Graphing Secant

Given the function y=Asec(BxC)+Dy = A\sec(Bx - C) + D, we can sketch the graph of one period using the following steps...

  1. Verify the function is in the form y=Asec(BxC)+Dy = A\sec(Bx - C) + D.
  2. Identify the stretching/compressing factor, A|A|.
  3. Identify BB and use it to find the period, P=2πBP = \dfrac{2\pi}{|B|}.
  4. Identify CC and use it to find the phase shift, CB\dfrac{C}{B}.
  5. Sketch the vertical asymptotes, which occur at x=CB+π2Bkx = \dfrac{C}{B} + \dfrac{\pi}{2|B|}k where kk is an odd integer.
  6. Sketch the graph of y=Acos(BxC)+Dy = A\cos(Bx - C) + D.
  7. Use the reciprocal relationship between y=cosxy = \cos x and y=secxy = \sec x to sketch the graph.

Example\underline{Example}

Graph one period of f(x)=6sec(4x+2)8f(x) = -6\sec(4x + 2) - 8.

The function is in the form y=Asec(BxC)+Dy = A\sec(Bx - C) + D so we are good to continue.

The stretching factor is A=6|A| = 6.

The constant B=4B = 4 so the period is P=2πB=2π4=π2P = \dfrac{2\pi}{|B|} = \dfrac{2\pi}{4} = \dfrac{\pi}{2}.

The constant C=2C = -2 so the phase shift is CB=24=12\dfrac{C}{B} = \dfrac{-2}{4} = -\dfrac{1}{2}.

The vertical asymptotes occur at x=CB+π2Bkx = \dfrac{C}{B} + \dfrac{\pi}{2|B|}k where kk is an odd integer. Some of the vertical asymptotes are at x=12+π8(1)=12π8x = -\dfrac{1}{2} + \dfrac{\pi}{8}(-1) = -\dfrac{1}{2} - \dfrac{\pi}{8} and x=12+π8(1)=12+π8x = -\dfrac{1}{2} + \dfrac{\pi}{8}(1) = -\dfrac{1}{2} + \dfrac{\pi}{8}.

We can now graph the function using the recriprocal relationship between y=cosxy = \cos x and y=secxy = \sec x...

Graph of Secant Example
Fig. 4 - Graph of Secant Example

Cosecant Function

The cosecant function can also be defined as cscθ=1sinθ\csc \theta = \dfrac{1}{\sin \theta}. Similar to the secant function, the cosecant function is undefined when sine is equal to 00 which gives us vertical asymptotes at 00, π\pi, 2π2\pi, etc. Also, since the sine function will never be less than 1-1 or greater than 11, the cosecant function will never be between 1-1 and 11 as sine is in the denominator.

This gives us the graph of the cosecant function...

Cosecant Function
Fig. 5 - Cosecant Function
note

Since sine is an odd function, cosecant is also an odd function. This is because the reciprocal of any odd function is also an odd function.

General Equation

The general equation of the cosecant function is y=Acsc(BxC)+Dy = A\csc(Bx - C) + D where AA, BB, CC, and DD are all constants.

The features of the graph of y=Acsc(BxC)+Dy = A\csc(Bx - C) + D are as follows...

  • The stretching factor is A|A|.
  • The period is 2πB\dfrac{2\pi}{|B|}.
  • The domain is xCB+πBkx \neq \dfrac{C}{B} + \dfrac{\pi}{|B|}k, where kk is an integer.
  • The range is (,A+D][A+D,)(-\infty, -|A| + D] \cup [|A| + D, \infty).
  • The vertical asymptotes occur at x=CB+πBkx = \dfrac{C}{B} + \dfrac{\pi}{|B|}k where kk is an integer.
  • There is no horizontal asymptote.
  • There is no amplitude.

Graphing Cosecant

Given the function y=Acsc(BxC)+Dy = A\csc(Bx - C) + D, we can sketch the graph of one period using the following steps...

  1. Verify the function is in the form y=Acsc(BxC)+Dy = A\csc(Bx - C) + D.
  2. Identify the stretching/compressing factor, A|A|.
  3. Identify BB and use it to find the period, P=2πBP = \dfrac{2\pi}{|B|}.
  4. Identify CC and use it to find the phase shift, CB\dfrac{C}{B}.
  5. Sketch the vertical asymptotes, which occur at x=CB+πBkx = \dfrac{C}{B} + \dfrac{\pi}{|B|}k where kk is an integer.
  6. Sketch the graph of y=Asin(BxC)+Dy = A\sin(Bx - C) + D.
  7. Use the reciprocal relationship between y=sinxy = \sin x and y=cscxy = \csc x to sketch the graph.

Example\underline{Example}

Graph one period of f(x)=0.5csc(2x)f(x) = 0.5\csc(2x).

The function is in the form y=Acsc(BxC)+Dy = A\csc(Bx - C) + D so we are good to continue.

The stretching factor is A=0.5|A| = 0.5.

The constant B=2B = 2 so the period is P=2πB=2π2=πP = \dfrac{2\pi}{|B|} = \dfrac{2\pi}{2} = \pi.

The constant C=0C = 0 so the phase shift is CB=02=0\dfrac{C}{B} = \dfrac{0}{2} = 0.

The vertical asymptotes occur at x=CB+πBk=0+π2(k)x = \dfrac{C}{B} + \dfrac{\pi}{|B|}k = 0 + \dfrac{\pi}{2}(k) where kk is an integer. Some of the vertical asymptotes are at x=πx = -\pi, x=π2x = -\dfrac{\pi}{2}, x=0x = 0, x=π2x = \dfrac{\pi}{2}, and x=πx = \pi.

We can now graph the function using the recriprocal relationship between y=sinxy = \sin x and y=cscxy = \csc x...

Graph of Cosecant Example
Fig. 6 - Graph of Cosecant Example

Cotangent Function

Finally, the cotangent function can be defined as cotθ=1tanθ\cot \theta = \dfrac{1}{\tan \theta}. Considering the fact that the function is undefined when tangent is equal to 00, the cotangent function has vertical asymptotes at 00, π\pi, 2π2\pi, etc. Also, since the output of the tangent function is all real numbers, the cotangent function will also have all real numbers as its output.

This gives us the graph of the cotangent function...

Cotangent Function
Fig. 7 - Cotangent Function
note

Since tangent is an odd function, cotangent is also an odd function. This is because the reciprocal of any odd function is also an odd function.

General Equation

The general equation of the cotangent function is y=Acot(BxC)+Dy = A\cot(Bx - C) + D where AA, BB, CC, and DD are all constants.

The features of the graph of y=Acot(BxC)+Dy = A\cot(Bx - C) + D are as follows...

  • The stretching factor is A|A|.
  • The period is πB\dfrac{\pi}{|B|}.
  • The domain is xCB+πBkx \neq \dfrac{C}{B} + \dfrac{\pi}{|B|}k, where kk is an integer.
  • The range is (,)(-\infty, \infty).
  • The vertical asymptotes occur at x=CB+πBkx = \dfrac{C}{B} + \dfrac{\pi}{|B|}k where kk is an integer.
  • There is no horizontal asymptote.
  • There is no amplitude.

Graphing Cotangent

Given the function y=Acot(BxC)+Dy = A\cot(Bx - C) + D, we can sketch the graph of one period using the following steps...

  1. Verify the function is in the form y=Acot(BxC)+Dy = A\cot(Bx - C) + D.
  2. Identify the stretching/compressing factor, A|A|.
  3. Identify BB and use it to find the period, P=πBP = \dfrac{\pi}{|B|}.
  4. Identify CC and use it to find the phase shift, CB\dfrac{C}{B}.
  5. Sketch the vertical asymptotes, which occur at x=CB+πBkx = \dfrac{C}{B} + \dfrac{\pi}{|B|}k where kk is an integer.
  6. Sketch the graph of y=Atan(BxC)+Dy = A\tan(Bx - C) + D.
  7. Use the reciprocal relationship between y=tanxy = \tan x and y=cotxy = \cot x to sketch the graph.

Example\underline{Example}

Sketch a graph of one period of the function f(x)=4cot(π8xπ2)2f(x) = 4\cot(\dfrac{\pi}{8}x - \dfrac{\pi}{2}) - 2.

The function is in the form y=Acot(BxC)+Dy = A\cot(Bx - C) + D so we are good to continue.

The stretching factor is A=4|A| = 4.

The constant B=π8B = \dfrac{\pi}{8} so the period is P=πB=ππ8=8P = \dfrac{\pi}{|B|} = \dfrac{\pi}{\dfrac{\pi}{8}} = 8.

The constant C=π2C = \dfrac{\pi}{2} so the phase shift is CB=π2π8=4\dfrac{C}{B} = \dfrac{\dfrac{\pi}{2}}{\dfrac{\pi}{8}} = 4.

The vertical asymptotes occur at x=CB+πBk=4+8kx = \dfrac{C}{B} + \dfrac{\pi}{|B|}k = 4 + 8k where kk is an integer. Some of the vertical asymptotes are at x=4+8(1)=4x = 4 + 8(-1) = -4, x=4+8(0)=4x = 4 + 8(0) = 4, x=4+8(1)=12x = 4 + 8(1) = 12, etc.

We can now graph the function using the recriprocal relationship between y=tanxy = \tan x and y=cotxy = \cot x...

Graph of Cotangent Example
Fig. 8 - Graph of Cotangent Example