# Hyperbolic Functions (1 Viewer)

### Users Who Are Viewing This Thread (Users: 0, Guests: 1)

#### roam

1. I am asked to calculate $$\int \frac{dx}{cosh(x)}$$

2. Relevant equations

3. The attempt at a solution

I know that $$\frac{1}{cosh(x)}$$ is equivalent to "sech(x)" which by definition is $$\frac{2}{e^x+e^{-x}}$$.

I'm confused & I don't know which one I need to use for this question:

$$\int sech(x) = 2tan{-1}(tanh(\frac{x}{2}))$$

$$\int \frac{2}{e^x + e^{-x}} = 2tan^{-1}(e^x)$$

Any help would be greatly appreciated.

Last edited:

#### yyat

The two answers you got only differ by a constant of $$\frac{\pi}{2}$$. Recall that the indefinite integral is only defined up to a constant, so both solutions are correct.

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving