# Thread: differential equation

1. ## differential equation

how would i solve this differential equation. $\displaystyle (1-x)^2 \frac{dy}{dx} +2xy= (x-x^3)$

2. $\displaystyle \frac{dy}{dx}+\frac{2x}{1-x^2}y=x$

All I did was divide by $\displaystyle (1-x^2)$ and simplified.

Can you solve that?

3. no it would be quite difficult.. i would like to take this opportunity to learn it if thats not too much of a problem can you demonstrate.

4. Originally Posted by sigma1
no it would be quite difficult.. i would like to take this opportunity to learn it if thats not too much of a problem can you demonstrate.
The required technique is the integrating factor method. Did you read about it in the link given earlier? Is it in your class notes or textbook? Where do you get stuck in applying the method.

5. integrating factor$\displaystyle e^{\int\frac{2x}{1-x^2}dx}=\frac{1}{x^2-1}$

6. Originally Posted by mr fantastic
The required technique is the integrating factor method. Did you read about it in the link given earlier? Is it in your class notes or textbook? Where do you get stuck in applying the method.