Problem:
Solve the differential equation,$$\frac{\mathrm{d}y}{\mathrm{d}x} =\cos(x+y) + \sin(x+y)$$
My attempt at the problem:
$$\frac{\mathrm{d}y}{\mathrm{d}x} =\cos(x+y) + \sin(x+y)=\cos(x+y)\biggr(1+\tan(x+y)\biggr)$$
Now let, $$\cos(x+y)=u$$
So that,
$$\frac{\mathrm{d}y}{\mathrm{d}x} = u(1+\sqrt{\frac{1}{u^2}-1})$$ using $\tan^2A = \sec^2A - 1$
Also,
$$\frac{\mathrm{d}(\cos(x+y))}{\mathrm{d}x} = -\sin(x+y)\biggr(1 + \frac{\mathrm{d}y}{\mathrm{d}x} \biggr) $$
and $$\frac{\mathrm{d}u}{\mathrm{d}x} = -\sqrt{1-u^2}\biggr(1 + \frac{\mathrm{d}y}{\mathrm{d}x} \biggr)$$
Solving for $\frac{\mathrm{d}y}{\mathrm{d}x}$ and plugging it in the problem gives a very ugly integral upon separating variables
$$\int{\mathrm{d}x} = - \int \frac{\mathrm{d}u}{\biggr((u+1)+\sqrt{1-u^2}\biggr)\sqrt{1-u^2}}$$
I just can't solve it any further.
Please correct me if I'm wrong or please direct me towards an alternate solution. All help appreciated!