I want a hint on this following integral. I don't know the first step, do I do $u$-sub. or do I use trig. sub or something?
$$\int \frac{1}{2+ \sin x + \cos x} ~\mathrm{d}x$$
I want a hint on this following integral. I don't know the first step, do I do $u$-sub. or do I use trig. sub or something?
$$\int \frac{1}{2+ \sin x + \cos x} ~\mathrm{d}x$$
Hint: let $u = \tan (x/2)$. Then find $\sin x$, and $\cos x$ in terms of $u$. Also solve for $dx$ in terms of $du$.
Hint: Notice that $$\sin x + \cos x = \sqrt{2}\sin\left(x + \frac{\pi}{4}\right)$$ I would try $u = 2 + \sqrt{2}\sin\left(x + \frac{\pi}{4}\right)$ then.