# Math Help - Non-Linear and non separable differential equation

1. ## Non-Linear and non separable differential equation

How can i solve this equation as it is non-linear and non seperable, i cant use the integrating factor as Q(x) does not exist and i cant seperate so that x and y are separate.

x.(dy/dx)=-3y + 6x

2. Originally Posted by metalkakkarot
How can i solve this equation as it is non-linear and non seperable, i cant use the integrating factor as Q(x) does not exist and i cant seperate so that x and y are separate.

x.(dy/dx)=-3y + 6x

What do you mean its not linear? Note that $x\frac{\,dy}{\,dx}=-3y+6x \implies \frac{\,dy}{\,dx}+\frac{3}{x}y=6$ is of the form $\frac{\,dy}{\,dx}+P(x)y=Q(x)$, which is clearly linear...

Can you take it from here and use the integrating factor?

3. thanks..got it now
i used this before and got the wrong answer..

integrating factor is e^3lnx