Find $\int (4 +\tan^22x) dx$
How do I go about integrating this, the $\tan^22x $ is where I'm stuck. How can I integrate this question?
Find $\int (4 +\tan^22x) dx$
How do I go about integrating this, the $\tan^22x $ is where I'm stuck. How can I integrate this question?
$$\int\tan^2(2x)dx=\frac{1}{2}\int\tan^2(u)du=\frac{1}{2}\int\sec^2(u)-1du=\frac{1}{2}(\tan(u)-u)\\=\dfrac{\tan\left(2x\right)}{2}-x$$ Finally : $$\int (4 +\tan^2(2x)) dx=\dfrac{\tan\left(2x\right)}{2}+3x+C$$
Generally when you face some trigonometrics expressions with some $ax$ terms in them it is a good idea to make the change of variables $u=ax$. Then you can try to use some identities to make appear some know integrals : here we used $\tan^2(u)=\sec^2(u)-1$ because we know how to integrate $\sec^2$.
If you face a rational function of trigonometric functions you can take a look at this topic also for common useful substitutions : Evaluating $\int P(\sin x, \cos x) \text{d}x$