Sisyphus
- 62
- 0
Homework Statement
Basically, I have to find
<br /> \int \frac{1}{cosx} dx <br />
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...
Homework Equations
<br /> let u = sin(x)du = cos(x)dx<br />
The Attempt at a Solution
<br /> \int \frac{1}{cosx} dx = \int \frac{cosx}{cos^2x} dx\\<br /> = \int \frac{cosx}{1-sin^2x} dx\\<br /> =\int \frac{du}{1-u^2} \\<br /> =\int \frac{du}{(1-u)*(1+u)} \\<br /> =\frac{1}{2} * \int \frac {1}{1+u} + \frac {1}{1-u} du\\<br /> = \frac{1}{2} * (ln(1-u^2}}) <br /> =\frac{1}{2} * (ln(cos^2))
Last edited: