topic badge
CanadaON
Grade 12

Find the equation of a cot, sec and cosec curve

Lesson

We have previously looked at how to sketch the graphs of secant, cosecant and cotangent curves given their equations. We are now going to look at the reverse of this - how to recover the equation of a secant, cosecant or cotangent curve given its graph.

To do so, we first want to identify which of the three functions is most appropriate for the given curve.

 

 

A graph of $y=\sec x$y=secx

 

A graph of $y=\csc x$y=cscx

Notice that the graphs of $y=\sec x$y=secx and $y=\csc x$y=cscx both have local minima and maxima, but no points of inflection. They differ by a phase shift (a horizontal translation): $y=\sec x$y=secx has a local minimum on the $y$y-axis, while $y=\csc x$y=cscx has an asymptote along the $y$y-axis.

 

A graph of $y=\cot x$y=cotx

On the other hand, the graph of $y=\cot x$y=cotx has points of inflection, but no local minima or maxima.

 

Once we have identified the most appropriate base function, we look at the features of the graph in order to determine the particular coefficients of the equation. These features include the location of the asymptotes, the points of inflection or local minima and maxima and the median value of the function. Let's go through an example.

 

Worked example

Consider the graph below

The graph of an unknown function.

We can immediately see that this curve has the shape of a secant or cosecant function. In particular it has an asymptote along the $y$y-axis, which matches the graph of $y=\csc x$y=cscx. So we can write this function in the form $y=a\csc\left(b\left(x-c\right)\right)+d$y=acsc(b(xc))+d.

To determine the values of the coefficients, recall that:

  • the value of $a$a represents a vertical dilation,
  • the value of $b$b represents a horizontal dilation, and is related to the period of the function,
  • the value of $c$c represents a phase shift (a horizontal translation), and
  • the value of $d$d represents a vertical translation.

Now, we chose to use $y=\csc x$y=cscx as our base function because the feature on the $y$y-axis matches up (an asymptote in this case). This means that there is no phase shift, and so we have that $c=0$c=0.

Also, we can see that the median value of this function is $y=0$y=0 (halfway between the local minima and maxima), which also matches the median value of $y=\csc x$y=cscx. This means that there is no vertical translation, and so we have that $d=0$d=0.

Looking at the graph of $y=\csc x$y=cscx, we can see that the local minima and maxima are $1$1 unit above or below the median value respectively. On our graph, however, these points are $3$3 units above or below the median value instead. So there is a vertical dilation by a factor of $\frac{3}{1}=3$31=3, and so we have that $a=3$a=3.

The graph has a median value of $y=0$y=0 and a vertical dilation factor of $3$3.

Finally, the period of our function is $\pi$π, while the graph of $y=\csc x$y=cscx has a period of $2\pi$2π. From this we get the relation $\frac{2\pi}{b}=\text{Period}=\pi$2πb=Period=π, and so we have that $b=2$b=2.

Putting this together, the equation of our graph is

$y=3\csc\left(2x\right)$y=3csc(2x)

 

Note that we could have also expressed this function in the form $y=3\sec\left(2\left(x-\frac{\pi}{4}\right)\right)=3\sec\left(2x-\frac{\pi}{2}\right)$y=3sec(2(xπ4))=3sec(2xπ2), using $y=\sec x$y=secx as the base function. Observe that this form of the equation has a phase shift, since the graph did not line up with that of $y=\sec x$y=secx on the $y$y-axis.

 

Summary

To determine the equation of a function from its graph, first determine the most appropriate base type of function (that most closely resembles the graph).

Then, look at the features of the graph and compare them to the base function to determine any:

  • Vertical dilation
  • Horizontal dilation (which is related to the period for trigonometric functions)
  • Vertical translation
  • Horizontal translation (called a phase shift for trigonometric functions)

Finally, write down the equation in the form $y=af\left(b\left(x-c\right)\right)+d$y=af(b(xc))+d, where $f\left(x\right)$f(x) is the base function.

Careful!

Since trigonometric functions are periodic, we can express them in infinitely many equivalent ways by changing the phase shift by a multiple of the period.

For example, we determined the equation of the graph above to be $y=3\csc\left(2x\right)$y=3csc(2x). We could also represent this same graph by the equation $y=3\csc\left(2\left(x-\pi\right)\right)$y=3csc(2(xπ)) or $y=3\csc\left(2\left(x+7\pi\right)\right)$y=3csc(2(x+7π)) or with a phase shift of any other multiple of the period, $\pi$π.

It is typical to write the equation with a phase shift as close to zero as possible.

 

Practice questions

Question 1

Consider the graph below.

Loading Graph...

  1. What is the equation of the asymptote shown?

  2. Which key feature occurs at the point where $x=0$x=0?

    A local minimum.

    A

    A local maximum.

    B

    An asymptote.

    C

    A point of inflection.

    D
  3. What is the period of this function?

  4. Write down the equation of this function in the form $y=a\sec\left(bx\right)$y=asec(bx), $y=a\csc\left(bx\right)$y=acsc(bx) or $y=a\cot\left(bx\right)$y=acot(bx).

Question 2

Consider the graph below.

Loading Graph...

  1. What is the equation of the asymptote shown?

  2. Which key feature occurs at the point where $x=\frac{\pi}{6}$x=π6?

    A point of inflection.

    A

    A local maximum.

    B

    An asymptote.

    C

    A local minimum.

    D
  3. What is the period of this function?

  4. Write down the equation of this function in the form $y=a\sec\left(bx\right)$y=asec(bx), $y=a\csc\left(bx\right)$y=acsc(bx) or $y=a\cot\left(bx\right)$y=acot(bx).

Question 3

Consider the graph below.

Loading Graph...

  1. What is the equation of the asymptote shown?

  2. What is the median value of this function?

  3. What is the period of this function?

  4. Write down the equation of this function in the form $y=a\sec\left(b\left(x-c\right)\right)+d$y=asec(b(xc))+d, where $-\pi\le c\le\pi$πcπ.

Outcomes

12F.B.2.3

Graph, with technology and using the primary trigonometric functions, the reciprocal trigonometric functions for angle measures expressed in radians, determine and describe key properties of the reciprocal functions, and recognize notations used to represent the reciprocal functions

What is Mathspace

About Mathspace