Given a continuous two-dimensional function over the reals, f(x, y)
, I want to find the "line of roots", i.e. the path(s) along which f(x, y) = 0
.
The function does not have a closed form. Therefore, this is a numerical problem and I cannot hope to determine that line exactly but only approximate it.
The function is also expensive to evaluate and should be used as few times as possible.
A possible solution would of course be to just sample points, be it random, uniform, or however, and check all of them to the desired precision. But I was wondering if there is a smarter method, using e.g. numerical derivatives or something else.