I feel like I've evaluated this integral correctly but the answer in the book is different than what I am getting. Could you just inform me if I am right or if the book is right? Thanks.
\(\displaystyle \int_a^b \frac{1 - sin x}{cosx} dx\)
\(\displaystyle \int_a^b \frac{1}{cosx}(1 - sinx) dx\)
\(\displaystyle \int_a^b \frac{1}{cosx} - \frac{sinx}{cosx} dx\)
\(\displaystyle \int_a^b secx - tanx dx\)
= ln(sec x - tan x) - ln(sec x) + C
That's what I got and basically how I got the answer. The answer the book gives is
ln(1 + sinx x) + C
Am I missing something?
\(\displaystyle \int_a^b \frac{1 - sin x}{cosx} dx\)
\(\displaystyle \int_a^b \frac{1}{cosx}(1 - sinx) dx\)
\(\displaystyle \int_a^b \frac{1}{cosx} - \frac{sinx}{cosx} dx\)
\(\displaystyle \int_a^b secx - tanx dx\)
= ln(sec x - tan x) - ln(sec x) + C
That's what I got and basically how I got the answer. The answer the book gives is
ln(1 + sinx x) + C
Am I missing something?