Need help with integration...

110 Views Asked by At

I need some help with this problem:

$$\int\frac 1 {1+\sin x} \, dx$$

I know it seems quite basic, but I cannot really find the right substitution to use.

Thank you in advance!

3

There are 3 best solutions below

0
On BEST ANSWER

Hint: $$\int\frac 1 {1+\sin x} \, dx=\int\frac {1-\sin x} {\cos^2x} \, dx$$

2
On

$$\int\frac 1 {1+\sin x} \, dx=\int\frac {\sec^2\left(\frac x2\right)} {\left(\tan\left(\frac x2\right)+1\right)^2} \, dx$$

Here, you can use $u$-substitution where $u=\tan\left(\dfrac x2\right)+1$ and $dx=\dfrac2{\sec^2\left(\frac x2\right)du}$

$$2\int \dfrac 1{u^2}=-\dfrac{2}u$$ Plugging in $u=\tan\left(\dfrac x2\right)+1$, you get $-\dfrac{2}{\tan\left(\frac x2\right)+1}$. $$\int\frac 1 {1+\sin x}=-\dfrac2{\tan\left(\frac x2\right)+1}+C$$

0
On

$$\int\frac 1 {1+\sin x} \, dx =\int\frac {1-\sin x} {(1+\sin x)(1-\sin x)} \, dx=$$

$$\int\frac {1-\sin x} {\cos^2 x} dx=$$

$$\int\frac {1} {\cos^2 x} dx -\int\frac {\sin x} {\cos^2 x}=$$

$$\int \sec^2 x dx -\int\frac {\sin x} {\cos^2 x} dx$$

You can easily find both of these integrals.