Let's take the simple example of a logistic differential equation:
$$\frac{dy}{dx} = y(50-y)$$
We get that the solution would be:
$$y(x) = \frac{50e^{50x}}{c_1+e^{50x}}$$
Everything makes sense to me when $0 < y < 50$, it's when we go out of that range that I don't understand how $y(x)$ can be a solution. When $y = 50.1$, for example, the differential equation says that the slope should be $-5.01$. But there is no x-coordinate for $y= 50.1$. Same goes for any y-value equal to or less than zero. So how is this a solution to the logistic differential equation if there are horizontal asymptotes? Shouldn't the differential equation be restricted on its domain to $0 < y < 50$? I am very new to the concepts of differential equations, so the idea of a slope existing without an x-coordinate existing does not make sense to me.
I'll clarify a bit.
Take the point $y=50$. The differential equation says that at $y=50$, the slope of the tangent line would be 0 when the function's y-coordinate is 50. But the issue is that the function will never be 50 or greater, the y coordinate will never exceed or equal 50. So shouldn't the domain of the differential equation be restricted to reflect this fact - that the solution of the diff-eq has a range that is not all real numbers.