Evaluate the definite integral

1. Sep 1, 2011

crybllrd

1. The problem statement, all variables and given/known data
$\int^{\frac{\pi}{4}}_{0}\frac{1+cos^{2}(x)}{cos^{2}(x)}$

2. Relevant equations

3. The attempt at a solution

I tried u-sub, splitting it up into 2 fractions, and a trig identity (cos^2x=(1+cos2x)/2).
Am i missing something? The other problems were quite easy.

2. Sep 1, 2011

micromass

Staff Emeritus
What did you get if you split it up in two fractions? Why didn't it work?

3. Sep 1, 2011

crybllrd

I got two fractions, 1/cos^2(x) and cos^2(x)/cos^2(x)=1

I wasn't sure how to integrate the 1/cos^2(x)

4. Sep 1, 2011

micromass

Staff Emeritus
5. Sep 1, 2011

crybllrd

Wow, see what happens when I take a summer off?
Thanks a lot.