Is it possible to find an analytical solution of the following ODE? $$y^\prime(x)=z(x)-a\cdot \min(y(x),b),~ x\geq 0$$ subject to a given condition $y(0)$, and $z(x)$ is a given function (smooth enough), and $a$ and $b$ are two given positive constants.
It is well known that we can find the solution of $y^\prime(x)=z(x)-a\cdot y(x),~ x\geq 0$. I am wondering how to solve the ODE with a "min" in it?
Thank you very much!