First Order Non-Linear ODE (what method to use?)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Apothem
Messages
38
Reaction score
0
Hi,

The problem is to solve:
dy/dx = −[2x + ln(y)]*(y/x)

Attempt:
I have tried to see if it is exact, I found it not to be, I can't easily find a function to multiply by to make it exact either (unless I am missing something obvious). It clearly isn't seperable, nor is it homogenous (I know although some non-homogenous ODEs can be solved using the homogenous method I don't think this one can be), it also isn't a linear equation so we can't use integrating factors.

I'm looking for pointers in the right direction/which method to use.

Thanks for your time
 
Physics news on Phys.org
I think you are going the right way; checking the exact form, homogeneity etc.
Here since there is a logarithmic function, I recommend substituting y=et where t is parameter and then be solved by finding integrating factor.
 
Using y = exp(qx), where q is a function of x , I got it to separate, giving
q = (A/x2) - 1, where A is a constant of integration.
It seems to check.