# First order differential equation problem

• Mar 2nd 2009, 11:44 AM
ViperRobK
First order differential equation problem
I should really know the answer to this but am having trouble seeing it

I have a first order differential
$x\frac{dy}{dx} +\frac{y}{1-x} = (x-1)^2 sinx$
I get the intergrating factor $\frac{x}{1-x}$
but when multiplied through to get:
$\frac{x}{1-x}\frac{dy}{dx} + \frac{1}{(1-x)^2} y = (1-x) sinx$
i do not see the what the left side intergral should be any help would be greatly appreciated
• Mar 2nd 2009, 11:49 AM
Krizalid
$\frac{x}{1-x}\cdot y'+\frac{y}{(1-x)^{2}}=\left( \frac{x}{1-x}\cdot y \right)'.$