Sisyphus
Feb1-07, 08:47 PM
1. The problem statement, all variables and given/known data
Basically, I have to find
\int \frac{1}{cosx} dx
by multiplying the integrand by \frac{cosx}{cosx}
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
let u = sin(x)
du = cos(x)dx
3. The attempt at a solution
\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))
Basically, I have to find
\int \frac{1}{cosx} dx
by multiplying the integrand by \frac{cosx}{cosx}
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
let u = sin(x)
du = cos(x)dx
3. The attempt at a solution
\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))