Which of the following is true for y(x) that satisfies the differential equation dydx=xy−1+x−y;y0=0
y1=e−12−1
y1=1
y1=e−12−e−12
y1=e12−1
dydx=xy-1+x-y dydx=(x-1)(y+1)∫dyy+1=∫(x-1)dx log (y+1)=x22-x+c →(1)y(0)=0⇒c=0 Sub x=1 in (1)
log (y+1)=12-1y+1=e-1/2 ⇒y=e-12-1