Trigonometric integral with cosinus

Have you met the $\sec$ function? That will make things a lot easier here. We have that $\sec y =\frac{1}{\cos y}$, therefore your integral becomes: $$\int{\sec (5x) dx}$$Standard integration, while remembering to divide by the $5$, gives us $$\frac15\ln|\sec(5x)+\tan(5x)|+C$$


I believe your mistake is that $$y=\sin(s)\to\frac{dy}{ds}=\cos(s) \text{ rather than } (-\cos(s))$$


Hint. Note that taking the derivative of $$\ln\left(\frac{1-\sin(5x)}{1+\sin(5x)}\right)=\ln(\underbrace{1-\sin(5x)}_{>0})-\ln(\underbrace{1+\sin(5x)}_{>0})$$ we get $$\frac{-5\cos(5x)}{1-\sin(5x)}-\frac{5\cos(5x)}{1+\sin(5x)}= -\frac{10\cos(5x)}{1-\sin^2(5x)}=-\frac{10}{\cos(5x)}.$$ So you are not so far from the correct answer: you just forgot to consider the constant $\frac{1}{5} \cdot -\frac{1}{2}$ in the last line.


Interestingly, you can work this out with the unintuitive subsitution $u=\sin 5x$ directly.

$$x=\frac15\arcsin u,dx=\frac15\dfrac{du}{\sqrt{1-u^2}},\\\int\frac{dx}{\cos 5x}=\frac15\int\frac{du}{\sqrt{1-u^2}\sqrt{1-u^2}}=\frac15\int\frac{du}{1-u^2}. $$

The last integral is elementary, giving

$$\frac15\int\frac{du}{1-u^2}=\frac15\text{artanh }u=\frac15\text{artanh}(\sin 5x).$$


If you never heard of the hyperbolic functions, notice the similarity with the ordinary arc tangent, and check the logarithm-based formula. Of course, you get the same result with fraction decomposition.

Tags:

Calculus