Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is $$\int\frac{1+\sin x}{\cos x}dx$$ the same as the integral of $$\sec x+\tan x$$ (since $1/\cos x = \sec x$ and $\sin x/\cos x = \tan x$)?

share|cite|improve this question
Yes, of course it is. Why would you think otherwise? – Dennis Gulko Jan 6 '13 at 8:09

The alternate form you suggest is of course correct. But for integrating, we can also profitably work with the expression as given. Multiply "top" and "bottom" by $1-\sin x$. So we want $$\int \frac{\cos x\,dx}{1-\sin x}.$$ Now with or without the substitution $u=1-\sin x$, we arrive at $-\ln(1-\sin x)+C$.

share|cite|improve this answer

Of course $$\frac{1+\sin x}{\cos x}=\frac{1}{\cos x}+\frac{\sin x}{\cos x}=\sec x+\tan x$$ Now observe that $$\int \frac{1+\sin x}{\cos x}dx=\int \frac{1}{\cos x}dx+\int\frac{\sin x}{\cos x}dx$$ For the first integral $$\int \frac{1}{\cos x}dx=\int \frac{\cos x}{1-\sin^2 x}dx$$ This and the second integral are straighforward

share|cite|improve this answer
Thank you. This is very helpful. – Jaden M. Jan 6 '13 at 8:19
@JadenM.: It is indeed a complete answer. +1 – Babak S. Jan 6 '13 at 8:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.