Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
MHT CET202526 Apr 2025Evening ShiftMathematicsDifferential EquationsActual

The solution of the differential equation. (1+x) dy d x -x y =1-x is

Options

  1. Ay (1+x)=x+ ce ^x , where c is the constant of integration
  2. By (1+x)= ce ^x , where c is the constant of integration
  3. Cy (1-x)=x- ce ^x , where c is the constant of integration
  4. Dy (1+x)=x~ ce ^ -x , where c is the constant of integration

Correct answer

A. y (1+x)=x+ ce ^x , where c is the constant of integration

Step-by-step solution

Convert the differential equation to standard form by dividing through by 1+x : d y d x - x 1+x y = 1-x 1+x Identify P(x) = - x 1+x and compute the integrating factor: P(x) , d x = (-1 + 1 1+x ) , d x = -x + |1+x| IF = e^ -x + |1+x| = (1+x)e^ -x Multiply through by the integrating factor and integrate: y(1+x)e^ -x = (1-x)e^ -x , d x + C Evaluate the integral using integration by parts with u = 1-x , d v = e^ -x , d x : (1-x)e^ -x , d x = (1-x)(-e^ -x ) - (-e^ -x )(- d x) = -(1-x)e^ -x - e^ -x = xe^ -x Substitute ba

Practice Differential Equations on Quantrex Academy →

More from Differential Equations

The general solution of the differential equation (x y x ) d y= (y y x -x ) d x is 2025The general solution of the differential equation (x+y) d y=d x is 2025If Ax ^3+ Bxy =4 (A and B are arbitrary constants) is the general solution of the differential equation F(x) d^2 y d x^2 +G(x) d y d x -2 y=0 , then F(1)+G(1)= 2025If y=A t^2+ B t (A,B are parameters) is general solution of the differential equation f(t) y^ (t)+g(t) y^ (t)+h(t) y=0 then 2 f(t)+t^2 h(t)= 2025The general solution of the differential equation (2 x-y)^2 d y-2(2 x-y)^2 d x-2 d x=0 is 2025The general solution of the differential equation x x d y=(x x-y) d x is 2025If a and b are arbitrary constants, then the differential equation corresponding to the family of curves y= (a x+b) is 2025The general solution of the differential equation x y(y+2) d y+ (y^3-1 ) d x=0 is 2025 Full Differential Equations list All MHT CET PYQs