# Math Help - Quick integral question?

1. ## Quick integral question?

Problem:

I am stuck on this problem. Could it be as simple as changing the (tanx)^2 to (secx)^2
and having the answer as (cosx)^2 - x?

2. $\dfrac{1-tan^2(x)}{sec^2(x)}=cos^2(x)-sin^2(x)=cos(2x)$

3. Hello, florx!

What you're saying is scary . . .

$\displaystyle \int\frac{1-\tan^2\!x}{\sec^2\!x}\,dx$

First of all: . $\tan^2\!x \;=\;\sec^2\!x - 1$

$\displaystyle\text{Substitute: }\;\frac{1 - (\sec^2\!x - 1)}{\sec^2\!x} \;=\;\frac{2-\sec^2\!x}{\sec^2\1x} \;=\; \frac{2}{\sec^2\!x} - \frac{\sec^2\!x}{\sec^2\!x}$

. . . . . . . $=\;2\cos^2\!x - 1 \;=\;\cos2x$ .
as Liverpool suggested