There are some differential equations which on the face look like can’t be solved using variable separable. One has to make proper substitutions to reduce it into a form where variables can be separated.
In this question we will put x+y=v
x+y=v
1+dydx=dvdx
dvdx−1=dydx ...(1)
From the given equation sin−1(dy/dx)=x+y
dydx=sin(x+y)
=sin(v) ...(2)
So from (1) and (2)
dvdx−1=sinv
⇒dv[1+sinv]=dx
⇒dv[sinv/2+cosv/2]2=dx
Taking cos2(v/2) common from the denominator.
⇒sec2v/2(1+tanv/2)2dv=dx
Now put 1+\tan v/2=t
12sec2v/2 dv=dt
⇒2t2dt=dx
Integrating we will get
⇒−2t=x+cor−21+tanv/2=(x+c)⇒(1+tanv/2)(x+c)+2=0⇒(1+tan(x+y)2)(x+c)+2=0