I am studying differential equations from a book called Differential Equations (Schaum's outlines). In it, it says if we have a separable differential equation:
$$ A(x) dx +B(y) dy=0, \ y(x_0)=y_0 $$
then, the solution to the initial-value problem can be obtained by $$ \int_{x_0}^{x}A(x)dx+ \int_{y_0}^{y} B(y)dy=0 $$
And that's my problem. I was expecting something like $$ \int_{x_0}^{x}A(x)dx+ \int_{x_0}^{x} B(y)dy=0 $$ as we integrate the first equation from $ x_o $ to $ x $.
I admit that what i am stating is not so intuitive (in fact, the second equation makes more sense than the third). But how can i prove that $$ \int_{x_0}^{x} B(y(x)) \ dy(x) = \int_{y_0}^{y} B(y)dy $$