Consider the ODE $$\frac{dx}{dt} = ax + b$$ where $a$ and $b$ are two parameters. The way to solve this is to divide both sides by $ax+b$ and integrate:
$$\int \frac{\dot x}{ax+b}dt = t+C \\ \frac{\log|ax+b|}{a} = t+C \\ x(t) = Ke^{at}-\frac ba$$
Easy enough. But I'm not sure why we're not excluding some possible solutions in the first step of this approach. Doesn't dividing by $ax+b$ immediately rule out any solution where $x(t)=-\frac ba$ anywhere in the interval over which the function is defined? That seems like we might be losing a lot of potential solutions. So why is the above solution the general solution?