I'll choose to answer this in this thread; I see you have a similar thread elsewhere:
Basically, the reason why we occasionally may treat dy/dx analogously to a fraction, in particular, splitting it, is THE CHAIN RULE OF DIFFERENTIATION!
Suppose you have a differential equation on the form:
[tex]f(y(x))\frac{dy}{dx}=g(x)[/tex]
Note the explicit dependendce of x in the composite function f!
Assume there exist a function F, so that its derivative with respect to its sole variable is the function f.
Hence, we may rewrite the lefthand-side in the upper equation, USING THE CHAIN RULE:
[tex]\frac{d}{dx}F(y(x))=g(x)[/tex]
Now, let's integrate this equation WITH RESPECT TO x!
By the fundamental theorem of calculus, we gain:
[tex]F(y(x_{1}))-F(y(x_{0}))=\int_{x_{0}}^{x_{1}}g(x)dx (1)[/tex]
Let us now consider the smart trick:
[tex]y_{1}=y(x_{1}),y_{0}=y(x_{0})[/tex]
(1) may therefore be written as:
[tex]\int_{y_{0}}^{y_{1}}f(y)dy=\int_{x_{0}}^{x_{1}}g(x)dx (2)[/tex]
since the left-hand side equals, by fund. theorem of calculus:
[tex]\int_{y_{0}}^{y_{1}}f(y)dy=F(y_{1})-F(y_{0})[/tex]
But (2) is the way you've been taught to integrate your original differential equation.