(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Basically, I have to find

[tex]

\int \frac{1}{cosx} dx

[/tex]

by multiplying the integrand by [tex] \frac{cosx}{cosx}

[/tex]

I go through and arrive at a solution, but when I differentiate it,

I get -tan(x)

something's clearly wrong, but I can't see what it is that I'm doing wrong here...

2. Relevant equations

[tex]

let u = sin(x)[/tex]

[tex] du = cos(x)dx

[/tex]

3. The attempt at a solution

[tex]

\int \frac{1}{cosx} dx = \int \frac{cosx}{cos^2x} dx\\

= \int \frac{cosx}{1-sin^2x} dx\\

=\int \frac{du}{1-u^2} \\

=\int \frac{du}{(1-u)*(1+u)} \\

=\frac{1}{2} * \int \frac {1}{1+u} + \frac {1}{1-u} du\\

= \frac{1}{2} * (ln(1-u^2}})

=\frac{1}{2} * (ln(cos^2))

[/tex]

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Integral of secant

**Physics Forums | Science Articles, Homework Help, Discussion**