I suspect that the graph of $\cos x\times \sec x$ must be discontinuous because,at $x=90^0$ the function becomes $\frac{0}{0}$ so it must be undefined or just point to nothing on the graph at that point.
But,Desmos and Wolfram gives me the plot of the function as a straight line passing through $(0,1)$ without any discontinuation.
So,which one is correct?Am I wrong in thinking that $\cos x\times\sec x=1$ is not true for all values of $x$?
Wolfram-
Desmos-
Note:-Same goes for $(\sin x)(\text{cosec} x)$ and $(\tan x)(\cot x)$.


To simplify things, consider the function $f(x)=\frac{x}{x}$. For all $x\not=0$, $f(x)=1$. But, $f(0)$ is undefined. Thus, $f$ is equivalent to $1$ except at $x=0$ where it is undefined. In the same way, $\cos x\times\sec x=\frac{\cos x}{\cos x}$ is $1$ for all $x$ such that $\cos x\not=0$. I.e., for all $x$ except $x=\pm \frac{\pi}{2},\pm\frac{3\pi}{2},\ldots$. On a graph you can indicate this by interrupting the line $y=1$ with hollow circles at these points indicating that the function is undefined there.