Solve edy/dx=x+1, given that when x=0,y=3.
y=xln(x+1)−x+ln(x+1)+3
Consider the following integral.
edy/dx=x+1 & x=0,y=3
Taking antilog on both side..
dy/dx=ln(x+1)
dy=ln(x+1)dx
Taking partial integration on both side.
∫dy=∫ln(x+1)dx....(1)
Solve the above eq. Integration by part method
∫dy=∫1∗ln(x+1)dx
y=xln(x+1)−∫xx+1dx
y=xln(x+1)−∫x+1−1x+1dx
=xln(x+1)−∫(1−1x+1)dx
=xln(x+1)−x+ln(x+1)+C
Put the value ofx=0 y=3 we get,
y=xln(x+1)−x+ln(x+1)+C
3=0ln(0+1)−0+ln(0+1)+C
C=3
y=xln(x+1)−x+ln(x+1)+3
Hence, this is the correct answer.