dE_logics said:
I seriously don't know.
All I think is that if a function has been differentiated WRT a variable...it should be integrated with the same variable to get the original function.
Okay, you meant "with respect to the same
variable", not "term". Now, I get you.
As Hurkyl said, If dy/dx= f(x)g(y) then we can write
\frac{1}{g(y)}\frac{dy}{dx}= f(x)
and integrate both sides
with respect to x:
\int \frac{1}{g(y)}\frac{dy}{dx} dx= \int f(x)dx
If G(y) is an anti-derivative of 1/g(y), then, by the chain rule,
\frac{dG}{dx}= \frac{dG}{dy}\frac{dy}{dx}= \frac{1}{g(y)}\frac{dy}{dx}
so that
\int \frac{1}{g(y)} \frac{dy}{dx} dx= G(y)+ C= \int \frac{1}{g(y)} dy
What I gave earlier, using differentials, was "shorthand" for that.
Ok...wrong example...sorry about that, but this is totally...
How can dy/dx = dx/dy?
Only if y= f(x) is a function that is its own inverse. But no one has said that in general.
Considering a straight line -
Suppose, if y changes by 5...x changes by 2.
So dy/dx will mean 5/2 and dx/dy will be 2/5...how can they be the same?
Moreover if dy/dx exists, dx/dy does not (right) (considering the same function).
Suppose we have a function y = f(x).
Of course we're going to differentiate this WRT x...how can we differentiate WRT y?
After differentiating we get dy = f'(x)dx.
To get the original function we should integrate it WRT the the same variable it was differentiated with, following what I think -
If y= f(x), then dy/dx= f'(x). But if f is an invertible function (one-to-one and onto) then x= f
-1(y) and dx/dy= f
-1' (y). It is shown in Calculus I that, in this case
\frac{dy}{dx}= \frac{1}{\frac{dx}{dy}}
I still do not know where you got "dy/dx= dx/dy".
I did say, earlier, that there is no difference between df(x)/dx and df(y)/dy- if f(x)= x
2 then df/dx=2x, f(y)= y
2, df/dy= 2y- but that is NOT the same as "dy/dx= dx/dy"! If y= x
2, then dy/dx= 2x, x= y
1/2, dx/dy= (1/2)y
-1/2= 1/2y
1/2= 1/(2x)= 1/(dy/dx).
So according to me integrating with both the terms will be wrong.
The standard technique will be correct if what I think -
is wrong; i.e "if a function has been differentiated WRT a variable...it should be integrated with both the variable to get the original function." is correct.
"with both the variable"?