Can I use Bisection search method to find the maximum of following kind of function?

666 Views Asked by At

I have a function $f(x)$ defined over $0<x<\bar{x}$. The function is negative for $0\leq x<x_L$ and then it becomes positive for certain range of $x$ $x_L\leq x<x_U$. Further, I know that the function is quasiconcave for $x_L\leq x<\bar{x}$. (Please note that $x_U<\bar{x}$ and in my problem I also do not know what is the exact $x_L$ but I know for sure that there is some $x_L<x_U<\bar{x}$) Can I use bisection search method to find the value of $x$ which maximizes this function? Any help in this regard will be much appreciated. Thanks in advance.