Skip to main contentSkip to solution

The general solution of the differential equation

dydx=xy+x+y+1\frac{dy}{dx} = xy + x + y + 1 is

Solution

✅ Correct Option: 2

The given differential equation is:

dydx=xy+x+y+1\frac{dy}{dx} = xy + x + y + 1


Factoring the right side by grouping terms:

dydx=(xy+x)+(y+1)\frac{dy}{dx} = (xy + x) + (y + 1)

dydx=x(y+1)+1(y+1)\frac{dy}{dx} = x(y + 1) + 1(y + 1)

dydx=(y+1)(x+1)\frac{dy}{dx} = (y + 1)(x + 1)


Separating the variables:

dyy+1=(x+1)dx\frac{dy}{y + 1} = (x + 1) dx


Integrating both sides:

∫dyy+1=∫(x+1)dx\int \frac{dy}{y + 1} = \int (x + 1) dx

For the left side:

∫dyy+1=log⁡e∣y+1∣\int \frac{dy}{y + 1} = \log_e|y + 1|

For the right side:

∫(x+1)dx=x22+x\int (x + 1) dx = \frac{x^2}{2} + x


The general solution is:

log⁡e∣y+1∣=12x2+x+C\log_e|y + 1| = \frac{1}{2}x^2 + x + C

where CC is the constant of integration.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question