I need an algorithm to perform two-dimensional halving to solve a 2x2 nonlinear problem. Example: two equations f(x,y)=0 and g(x,y)=0 , which I want to solve simultaneously. I am very familiar with the 1D case (as well as other numerical methods). Suppose that I already know that the solution lies between the boundaries x1 < x < x2 and y1 < y < y2 .
In the grid, the initial boundaries are:
^ | CD y2 -+ o-------o | | | | | | | | | y1 -+ o-------o | AB o--+------+----> x1 x2
and I know the values ββof f(A), f(B), f(C) and f(D) , as well as g(A), g(B), g(C) and g(D) . To start halving, I think we need to divide the dots along the edges, as well as in the middle.
^ | CFD y2 -+ o---o---o | | | |G oo M o H | | | y1 -+ o---o---o | AEB o--+------+----> x1 x2
Now consider the possibilities of combinations, such as checking if f(G)*f(M)<0 AND g(G)*g(M)<0 seems overwhelming. Maybe I'm making it too complicated, but I think there must be a multi-dimensional version of Bisection, just as Newton-Raphson can easily be multi-faceted using gradient operators.
Any hints, comments or links are welcome.
source share