1. ## integration

I'm having problems integrating

$
\int\frac {sin(x)}{cos^2(x)}dx
$

the answer in the book is

$
\frac{1}{cos(x)}+c
$

I can't see how this answer is obtained.

2. Let u=cos(x) and du=-sin(x)

This becomes $\int \frac{1}{u^2}(-1du)$

When you integrate this, the negatives cancel out and you get $\frac{1}{u}+C$ or $\frac{1}{\cos(x)}+C$

3. Tremendous

Thanks Jameson

4. Hello, macca101!

Another method . . .

$\int\frac{\sin(x)}{\cos^2(x)}\,dx$

The answer in the book is: . $\frac{1}{\cos(x)}+C
$

I'm surprised that they left the answer like that . . .

We have: . $\int\frac{\sin x}{\cos^2x}\,dx\;=\;\int\frac{1}{\cos x}\cdot\frac{\sin x}{\cos x}\,dx\;=$ $\int\sec x\tan x\,dx \;= \;\sec x + C$