2
$\begingroup$

In the following integral

$$\int \frac{\mathrm{d}x}{\sin x+\sec x}$$

My attempt is

I first multiplied and divided by $\cos^2x$

And then substitued $\tan x = t$

But after that got stuck .

  • 0
    Please see [here](http://m.wolframalpha.com/input/?i=integrate+1%2F%28sec+x%2B+sin+x%29&x=8&y=13).2017-01-07
  • 0
    @Rohan but I want to see the steps2017-01-07
  • 0
    Try Weierstrass Substitution.https://en.wikipedia.org/wiki/Tangent_half-angle_substitution2017-01-07

1 Answers 1

4

$\displaystyle I = \int\frac{1}{\sin x+\sec x}dx = \int\frac{\cos x}{\sin x\cos x+1}dx = \int \frac{(\cos x+\sin x)+(\cos x-\sin x)}{\sin 2x +2}dx$

$\displaystyle =\int\frac{\cos x+\sin x}{\sin 2x+2}dx+\int\frac{\cos x-\sin x}{\sin 2x+2}dx = I_{1}+I_{2}$

for $\displaystyle I_{1} = \int\frac{\cos x+\sin x}{3-(\sin x-\cos x)^2}dx,$ put $(\sin x-\cos x) = t$ then $(\cos x+\sin x)dx = dt$

for $\displaystyle I_{2} = \int\frac{\cos x-\sin x}{(\sin x+\cos x)^2+1}dx,$ put $(\sin x+\cos x) = u$ then $(\cos x-\sin x)dx = du$

So $\displaystyle I = \int\frac{1}{3-t^2}dt +\int\frac{1}{1+u^2}du$