Which of the following is true for y x that satisfies the differential equation d y d x = x y - 1 + x - y ;…

Which of the following is true for yx that satisfies the differential equation

dydx=xy-1+x-y; y0=0

  1. y1=e-12-1
  2. y1=e12-e-12
  3. y1=1
  4. y1=e12-1

Solution

Given dydx=1+yx-1

dy(y+1)=x-1dx

Integrate both the sides we get, 

 lny+1=x22-x+c

Given y0=0c=0

 y=ex22-x-1

Asked in: JEE Main 2021 (17 Mar Shift 1)

Practice more Differential Equations questions on Aicharya