Wednesday, November 1, 2017

Find the general solution to the first order differential equation: ydx + (y-x)dy = 0

Hello!


Let's pick up `y` as the independent variable. Divide the equation by `dy` and obtain


`y*(dx)/(dy) +y-x=0,`  or  `y*x'(y)-x(y)+y=0.`


Now divide it by `y^2:`    `(y*x'(y)-x(y))/(y^2)+1/y=0.`


Observe that `(y*x'(y)-x(y))/(y^2)=((x(y))/y)'`  and obtain  `((x(y))/y)'=-1/y.`



Now both sides are integrable:


`(x(y))/y=-ln|y|+C,`  or  `x(y)=-yln|y|+Cy,` where `C` is an arbitrary constant.



This is the answer in terms of a function of `y.` There is no way to express `y` as a function of `x` using only elementary functions.


Hello!


Let's pick up `y` as the independent variable. Divide the equation by `dy` and obtain


`y*(dx)/(dy) +y-x=0,`  or  `y*x'(y)-x(y)+y=0.`


Now divide it by `y^2:`    `(y*x'(y)-x(y))/(y^2)+1/y=0.`


Observe that `(y*x'(y)-x(y))/(y^2)=((x(y))/y)'`  and obtain  `((x(y))/y)'=-1/y.`



Now both sides are integrable:


`(x(y))/y=-ln|y|+C,`  or  `x(y)=-yln|y|+Cy,` where `C` is an arbitrary constant.



This is the answer in terms of a function of `y.` There is no way to express `y` as a function of `x` using only elementary functions.


No comments:

Post a Comment

Is Charlotte Bronte's Jane Eyre a feminist novel?

Feminism advocates that social, political, and all other rights should be equal between men and women. Bronte's Jane Eyre discusses many...