# Math Help - Integration Question

1. ## Integration Question

I feel like I should know how to do this but I'm kind of getting stuck

Question: $\int^{\pi/4}_0 \frac{e^{tanx}}{1-sin^2 x}$

So i used the trig identity and got
$\int^{\pi/4}_0 \frac{e^{tanx}}{cos^2 x}$

$let \:u=tanx \:\:\: du=\frac{1}{cosx}$

$\int^{\pi/4}_0 \frac{e^u}{cosx\, du}$

so basically I am left with a spare 1/cosx that I'm not sure what to do with, any help would be appreciated

2. Originally Posted by jfinkbei

so basically I am left with a spare 1/cosx that I'm not sure what to do with, any help would be appreciated
No you're not

$u=\tan x \implies du=\frac{1}{\cos^2x}$

3. Haha, I knew that... thanks a lot though! could have saved myself some time writing latex had I payed more attention...

4. Originally Posted by pickslides
No you're not

$u=\tan x \implies du=\frac{{\color{red}dx}}{\cos^2x}$
------

5. Originally Posted by Miss
------
It's usually implied that it's wrt $x$ if $dx$ is not specified.

For the OP you can make life easier for yourself by changing your limits to be in terms of u.

$u = \tan \left(\frac{\pi}{4}\right) = 1$

$u = \tan (0) = 0$

So the integral is now $\int ^1_0 \, e^u \, du$