PDA

View Full Version : First order separable differential equation


amolv06
Feb1-08, 01:49 AM
1. The problem statement, all variables and given/known data

\frac{dy}{dx} + x^{2} = x

2. Relevant equations

Above.

3. The attempt at a solution


After rearranging, I am stuck at

\int \frac{1}{x-x^{2}} dx = \int dt

I can't think of any u-substitution, or any other trick for integrals I could use to solve this.

Mathdope
Feb1-08, 02:18 AM
Recheck you're expressions. The problem you give involves x and y, while the attempt at a solution gives x and t. Please clarify.

It looks like you should have dx/dt where you currently have dy/dx no? If that's the case consider a partial fraction decomposition.

amolv06
Feb1-08, 02:31 AM
I wrote the wrong variable for the last integral. It should have been of dy rather than dt. I solved it. I forgot about partial fractions.

HallsofIvy
Feb1-08, 06:07 AM
Even so, dy/dx= x- x^2 becomes dy= (x- x^2)dx. There is no need for partial fractions.

fermio
Feb1-08, 06:16 AM
What need to find if y, then
y=\int(x-x^2)dx=\frac{x^2}{2}-\frac{x^3}{3}+C