The given differential equation is
y′=exsinx
⇒dxdy=exsinx
⇒dy=exsinxdx
Integrating both sides
∫1dy=∫exsinxdx
⇒y=I+C(i)
where
I=∫exsinxdx(ii)
Evaluation of I
Applying product rule:
∫I⋅IIdx=I∫IIdx−∫(dxdI⋅∫IIdx)dx
Let
I=ex,II=sinx
I=ex(−cosx)−∫ex(−cosx)dx
⇒I=−excosx+∫excosxdx
Again applying product rule,
I=−excosx+exsinx−∫exsinxdx
⇒I=ex(−cosx+sinx)−I[By (ii)]
⇒2I=ex(sinx−cosx)
⇒I=2ex(sinx−cosx)
Substituting value of I in (i)
y=21ex(sinx−cosx)+c(iii)
Determination of Constant
Given that the required curve passes through the point (0,0).
Putting x=0 and y=0 in (iii):
0=21(−1)+c
⇒c=21
Required Equation of the Curve
y=21ex(sinx−cosx)+21
Taking L.C.M. =2,
2y=ex(sinx−cosx)+1
or
2y−1=ex(sinx−cosx)
Final Answer
2y−1=ex(sinx−cosx)