How $\frac{dx}{dy}=f(x)g(y) \Leftrightarrow \int \frac{dx}{f(x)} = \int g(y)dy$?

1.2k Views Asked by At

In my intro differential equations class we have often used the "equivalence" stated in title. It seems to me that somehow, the intermediate step $$ \frac{dx}{f(x)} = g(y)dy$$ is being used, in which case $dx$ and $dy$ are being used as numbers from a fraction! The equivalence is intuitively clear to me, but I would like to know what the justification for this informal process is. How would one give rigor to this equivalence?

To be clear, I am looking for a formal treatment as well as some motivation as to why we can work with $dx$'s in this manner.

3

There are 3 best solutions below

2
On BEST ANSWER

I talk about this as integration by substitution to avoid talking about differentials.

Take \begin{equation} \frac{dy}{dx} = f(y)g(x) \implies \frac{1}{f(y)} \frac{dy}{dx} = g(x) \end{equation} then we integrate over $x$

\begin{equation} \int \frac{1}{f(y)} \frac{dy}{dx} dx= \int g(x)dx. \end{equation} Since we're thinking of $y$ as a function of $x$, we 'integrate by substitution' or perform '$u$-substitution'.

\begin{equation} \int \frac{1}{f(y(x))} \frac{dy}{dx} dx= \int\frac{dy}{f(y)}. \end{equation}

This is simply the integral equivalent of the chain rule.

4
On

$\frac{dx}{dy}=f(x)g(y)\Leftrightarrow\Delta x=f(x)g(y)\Delta y+o(\Delta y)\Leftrightarrow\frac{\Delta x}{f(x)}=g(y)\Delta y+\frac{o(\Delta y)}{f(x)}\Leftrightarrow\lim_{\Delta x\rightarrow0}\sum\frac{\Delta x}{f(x)}=\lim_{\Delta y\rightarrow0}\sum(g(y)\Delta y+\frac{o(\Delta y)}{f(x)})=\lim_{\Delta y\rightarrow0}\sum g(y)\Delta y\Leftrightarrow\int\frac{dx}{f(x)}=\int g(y)dx$

Note: $\Delta x=(x+\Delta x)-x$ is the infinitesimal variation at the point $x$; $o(\Delta x)$ is a function which satisfies $\lim_{\Delta x\rightarrow0}\frac{o(\Delta x)}{\Delta x}=0$.

0
On

Since one of the tags attached to this question is "infinitesimals", I thought I would elaborate on MrSlunk's comment above: "It's one of those amazing things in mathematics that seem so intuitive but hint at a deeper structure". To clarify the structure involved, note that in the context of a hyperreal extension of the reals one can indeed represent the derivative as the ratio of infinitesimals $dy$ over $dx$. Then the relation $\frac{dy}{dx}=f(x)g(y)$ can literally be rewritten as $\frac{dx}{f(x)}=g(y)dy$, and then integrated to produce the result. This treatment appears in Keisler's "Elementary calculus" on pages 464-465, see http://www.math.wisc.edu/~keisler/calc.html, and retroactively justifies the expression "separation of variables".