# Integral of sech x

Gold Member
Homework Statement
I believe there might be a mistake in this statement from my online notes. A typo error in the last line, maybe?

The attempt at a solution
In the last line, from what i worked out, it should be (1/2)tan^(-1)(tanh... instead of 2tan^(-1)(tanh... Correct?

## Answers and Replies

Related Calculus and Beyond Homework Help News on Phys.org
Nope it is right. I would make two substitutions instead of one just because it is easier for me to think through that way. I would substitute u=(x/2) and then s=tanh(u) yielding the simple integral 2∫1/(s^2+1)ds=2tan^-1(s)=2tan^-1(tanh(u))=2tan^-1(tanh(x/2))+C

edit: The du for your equation would be .5sech^2(x/2)dx so you would pull a 2 out in front of the integral.

Gold Member
Thank you, PCSL. I see it now.