The solution of the differential equation $(x+1)\dfrac{dy}{dx}-xy=1$, satisfying $y(0)=1$ is
- (1)
$\dfrac{1}{(1+x)}(e^x+1)=y$
- (2)
$\log_e(1+x)+\dfrac{1}{2}=y$
- (3)
$\left(e^x-\dfrac{1}{2}\right)\dfrac{1}{x}=y$
- (4)
$\dfrac{1}{(1+x)}(2e^x-1)=y$
Show answer
Option (4) is correct.
The council's preliminary key