First order separable differential equation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
amolv06
Messages
45
Reaction score
0

Homework Statement



[tex]\frac{dy}{dx} + x^{2} = x[/tex]

Homework Equations



Above.

The Attempt at a Solution

After rearranging, I am stuck at

[tex]\int \frac{1}{x-x^{2}} dx = \int dt[/tex]

I can't think of any u-substitution, or any other trick for integrals I could use to solve this.
 
Physics news on Phys.org
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.
 
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.
 
What need to find if y, then
[tex]y=\int(x-x^2)dx=\frac{x^2}{2}-\frac{x^3}{3}+C[/tex]