High school calculus student checking in here – first time poster.
I got asked a question by one of my friends: If $\cot x = \frac{1}{\tan(x)}$, how could $\cot(x) = 0$? For this to be possible, he reasoned, $\tan(x)$ would have to be equal to infinity – and division by infinity does not work.
Rewriting $\cot(x)$ as $\frac{\cos(x)}{\sin(x)}$ makes the problem make sense, but doesn't explain why it doesn't make sense in the previous form.
Furthermore, as I was looking for more examples of similar things, I found that (at least according to desmos) $\frac{1}{\ln(x)}$ is satisfied by the coordinate $(0, 0)$. I cannot wrap my head around how this is possible, particularly since $\ln(x)$ is not even defined at $0$.
I wasn't able to find a good answer to this online, and we would really appreciate an elegant (i.e. understandable for high school students) explanation of why this is.