I'm looking for solutions of the equation $1/\omega + \tan(k/\omega)=0$, and for some reason ContourPlot is missing a bunch of roots.
ContourPlot[1/ω + Tan[k/ω] == 0, {k, 0, 10}, {ω, 0, 1},
PlotPoints -> 10, FrameLabel -> {"k", "ω"}]
Each of the branches should continue down towards $\omega=0$.
Increasing PlotPoints makes no difference.
NSolve works fine at a set value of $\omega$:
k /. NSolve[{(1/ω + Tan[k/ω]) /. ω -> 0.2, 0 <= k <= 10}, k]
(* {0.353638, 0.981957, 1.61028, 2.23859, 2.86691, 3.49523, 4.12355, 4.75187, 5.38019,
6.00851, 6.63682, 7.26514, 7.89346, 8.52178, 9.1501, 9.77842} *)
Putting these points on you can see that there are roots missing:
I'm able to manually make a table and build the plot myself, but just want to know why ContourPlot fails so badly here.



1/ω + Tan[k/ω], and then mull over the fact thatContourPlot[]relies on the intermediate value theorem to plot a curve. One obvious workaround is to desingularize:ContourPlot[Cos[k/ω] + ω Sin[k/ω] == 0, {k, 0, 10}, {ω, 0, 1}]– J. M.'s missing motivation Mar 08 '18 at 15:33