Question
Mathematics Question on Differential equations
Find the particular solution of the differential equation (1+e2x)dy+(1+y2)exdx=0, given that y=1 when x=0
Answer
(1+e2x)dy+(1+y2)exdx=0
⇒1+y2dy+1+e2xexdx=0
Integrating both sides,we get:
tan−1y+∫1+e2xexdx=C ...(1)
Let ex=t⇒e2x=t2.
⇒dxd(ex)=dxdt
⇒ex=dxdt
⇒exdx=dt
Substituting these values in equation (1), we get:
tan−1y+∫1+t2dt=C
⇒tan−1y+tan−1t=C
⇒tan−1y+tan−1(ex)=C ...(2)
Now, y=1 at x=0.
Therefore, equation (2) becomes:
tan−11+tan−11=C
⇒4π+4π=C
⇒C=2π
Substituting 2π in equation (2), becomes:
tan−1y+tan−1(ex)=2π
This is the required particular solution of the given differential equation.