# Integral with hyperbolic: cosh x

I cannot reach the answer for this integral which is part of a bigger question related to discounting investments. I know what the answer to the integral is and have tried all the substitutions and tricks I know. Any pointer would be great!!

∫(1/(1+cosh(x))) = tanh(x) + C

Thanks, Felix

arildno
Homework Helper
Gold Member
Dearly Missed
Well, does:
$$\frac{d}{dx}tanh(x)=\frac{1}{\cosh^{2}(x)}$$ equal your integrand?

No, the integrand is 1/(1+cosh(x))

arildno
Homework Helper
Gold Member
Dearly Missed
The integral is readily evaluated by using:
$$\int\frac{dx}{1+\cosh(x)}dx=\int\frac{dx}{1+\cosh(x)}\frac{1-\cosh(x)}{1-\cosh(x)}dx=\int\frac{1-\cosh(x)}{-\sinh^{2}(x)}dx$$

arildno
Homework Helper
Gold Member
Dearly Missed
No, the integrand is 1/(1+cosh(x))
Correct!
So, what must the purported answer be called?

I see,thats a good trick i hadnt thought of using. But how would you manipulate the integral you end up with?

Correct!
So, what must the purported answer be called?
?? I'm not sure??

arildno
Homework Helper
Gold Member
Dearly Missed
?? I'm not sure??

Maybe what is called TOTALLY WRONG!!

To give you a hint:
The correct answer is tanh(x/2)+C, not tanh(x)+C

yes a typo indeed - apologies. What substitution do u use to get there though - i dont see it!

arildno
Homework Helper
Gold Member
Dearly Missed
First off:
You can easily do the integral the way I indicated.
THEN, find the appropriate hyperbolic identities for half-arguments (very analogous to the more well-known half-angle formulas for the trig functions). The result will simplify to tanh(x/2)

arildno
$$\sinh(x)=2\cosh(\frac{x}{2})\sinh(\frac{x}{2}),\cosh(x)=\cosh^{2}(\frac{x}{2})+\sinh^{2}(\frac{x}{2})$$
$$1==\cosh^{2}(\frac{x}{2})-\sinh^{2}(\frac{x}{2})$$