
How can you display vertical asymptotes for secant and cosecant functions on Desmos?
Say you have the following function:
f(x) = csc(x + π/6) + 2.
I understand how to sketch its graph, but if you use Desmos to graph this function (along with sin(x + π/6) + 2, how do you display the vertical asymptotes for the csc function.
A similar question for a secant function like:
f(x) = 2sec(πx/4 + π/4)
2 Answers By Expert Tutors

Doug C. answered 05/15/25
Math Tutor with Reputation to make difficult concepts understandable
The cosecant graph used in the video:
desmos.com/calculator/izf5bwxxej
This graph shows an identical technique for a secant function.
desmos.com/calculator/stksrafsf6
For a secant function the idea is to determine when its corresponding cosine function is equal to zero. That will be at π/2 + kπ, k any integer.
Desmos Graphing Tips
Dashed Lines:
By default, graphs are a solid color. Click and hold on the “squiggly line” next to the graph. This will allow you to change the color or make the graph dashed instead of solid.
Element Lists:
Use square brackets to create a list. For example, "n=[-6,-4,...,6]" creates [-6] [-4] [-2] [0] [2] [4] [6] 7 elements
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Christina P.
05/17/25