H2 - Differentiating and integrating hyperbolic functions

H2 - Differentiating and integrating hyperbolic functions

Differentiating sinh gives cosh, and differentiating cosh gives sinh: there is no alternating minus sign. You will derive the rules for all six hyperbolic functions, reverse them in integration, include chain factors, and construct the less obvious logarithmic antiderivatives with their domains.

Derivatives and integrals of six hyperbolic functions

At x=ln⁡2x=\ln2, is the gradient of y=cosh⁡xy=\cosh x equal to 3/43/4 or −3/4-3/4? Here the two exponential values are 2 and 1/21/2; differentiating their half-sum will settle the sign.

The negative exponent contributes a minus sign of its own:

ddxsinh⁡x=ex+e−x2=cosh⁡xddxcosh⁡x=ex−e−x2=sinh⁡x\frac{\mathrm d}{\mathrm dx}\sinh x =\frac{e^x+e^{-x}}2=\cosh x \qquad \frac{\mathrm d}{\mathrm dx}\cosh x =\frac{e^x-e^{-x}}2=\sinh x

At the opening input, the second rule gives gradient sinh⁡(ln⁡2)=(2−1/2)/2=3/4\sinh(\ln2)=(2-1/2)/2=3/4. Its positive sign agrees with the rising cosh graph there.

Reciprocal and quotient rules then give the remaining derivatives. For instance, (1/cosh⁡x)′=−sinh⁡x/cosh⁡2x=−sech⁡xtanh⁡x(1/\cosh x)'=-\sinh x/\cosh^2x=-\operatorname{sech}x\tanh x. Replacing cosh by sinh gives (1/sinh⁡x)′=−cosh⁡x/sinh⁡2x=−cosech⁡xcoth⁡x(1/\sinh x)'=-\cosh x/\sinh^2x=-\operatorname{cosech}x\coth x, for x≠0x\ne0.

Six derivatives

FunctionDerivative
sinh⁡x\sinh xcosh⁡x\cosh x
cosh⁡x\cosh xsinh⁡x\sinh x
tanh⁡x\tanh xsech⁡2x\operatorname{sech}^2x
sech⁡x\operatorname{sech}x−sech⁡xtanh⁡x-\operatorname{sech}x\tanh x
cosech⁡x\operatorname{cosech}x−cosech⁡xcoth⁡x-\operatorname{cosech}x\coth x
coth⁡x\coth x−cosech⁡2x-\operatorname{cosech}^2x

The last two rows hold for x≠0x\ne0; all other rows hold for every real xx.

The tanh derivative is in the formula booklet. The other five hyperbolic derivatives are not: learn or derive them.

The quotient calculations explain the opposite signs in the two squared derivatives.

Worked example 1: differentiating tanh

Question. Use the quotient rule to differentiate y=tanh⁡xy=\tanh x.

Plan. Write tanh as sinh divided by cosh, then use the fundamental identity.

dydx=cosh⁡xcosh⁡x−sinh⁡xsinh⁡xcosh⁡2x=1cosh⁡2x=sech⁡2x\frac{\mathrm dy}{\mathrm dx} =\frac{\cosh x\cosh x-\sinh x\sinh x}{\cosh^2x} =\frac1{\cosh^2x}=\operatorname{sech}^2x

Answer. dy/dx=sech⁡2x\mathrm dy/\mathrm dx=\operatorname{sech}^2x, for real xx.

Check. The derivative is positive everywhere, agreeing with the strictly increasing graph of tanh. Direct differentiation of (e2x−1)/(e2x+1)(e^{2x}-1)/(e^{2x}+1) gives 4e2x/(e2x+1)24e^{2x}/(e^{2x}+1)^2, the same expression.

Now reverse the quotient. This reverses the order of the squared terms in the numerator.

Worked example 2: differentiating coth

Question. Use the quotient rule to differentiate y=coth⁡xy=\coth x, where x≠0x\ne0.

Plan. Write coth as cosh divided by sinh and keep the quotient-rule subtraction in order.

dydx=sinh⁡2x−cosh⁡2xsinh⁡2x=−1sinh⁡2x=−cosech⁡2x\frac{\mathrm dy}{\mathrm dx} =\frac{\sinh^2x-\cosh^2x}{\sinh^2x} =-\frac1{\sinh^2x}=-\operatorname{cosech}^2x

Answer. dy/dx=−cosech⁡2x\mathrm dy/\mathrm dx=-\operatorname{cosech}^2x, for x≠0x\ne0.

Check. The reciprocal rule applied to 1/tanh⁡x1/\tanh x gives −sech⁡2x/tanh⁡2x=−1/sinh⁡2x-\operatorname{sech}^2x/\tanh^2x=-1/\sinh^2x, independently confirming the minus sign.

Integration reverses these rules. Thus ∫sech⁡2x dx=tanh⁡x+C\int\operatorname{sech}^2x\,\mathrm dx=\tanh x+C, ∫cosech⁡2x dx=−coth⁡x+C\int\operatorname{cosech}^2x\,\mathrm dx=-\coth x+C, and the two reciprocal-product derivatives integrate with a minus sign. Integrating the six functions themselves gives the following reference; the less immediate forms are explained in the final part.

IntegrandOne antiderivative, plus CCReal interval
sinh⁡x\sinh xcosh⁡x\cosh xAny real interval
cosh⁡x\cosh xsinh⁡x\sinh xAny real interval
tanh⁡x\tanh xln⁡(cosh⁡x)\ln(\cosh x)Any real interval
coth⁡x\coth xln⁡∣sinh⁡x∣\ln\lvert\sinh x\rvertAn interval excluding zero
sech⁡x\operatorname{sech}x2tan⁡−1(ex)2\tan^{-1}(e^x)Any real interval
cosech⁡x\operatorname{cosech}xln⁡∣tanh⁡(x/2)∣\ln\lvert\tanh(x/2)\rvertAn interval excluding zero

Here tan⁡−1\tan^{-1} means inverse tangent, not a reciprocal. Other correct antiderivatives can differ by a constant. Separate intervals on opposite sides of zero may have different constants.

Watch out

Wrong: (cosh⁡x)′=−sinh⁡x(\cosh x)'=-\sinh x. Unlike the circular cosine rule, (cosh⁡x)′=sinh⁡x(\cosh x)'=\sinh x: differentiating e−xe^{-x} supplies the required subtraction within sinh itself.

Apply the reciprocal derivatives and the original domain together.

Chain factors and substitutions

An inner function changes the derivative by a chain factor. If u=u(x)u=u(x), then (sinh⁡u)′=u′cosh⁡u(\sinh u)'=u'\cosh u and (cosh⁡u)′=u′sinh⁡u(\cosh u)'=u'\sinh u. The same factor u′u' multiplies each of the other four derivative rules.

For a linear input kx+bkx+b, with k≠0k\ne0, reversing this rule divides the antiderivative by kk. Do not divide by the entire input. For a nonlinear input, look for its derivative as another factor in the integrand.

Worked example 3: multiplying by the inner derivative

Question. Differentiate y=cosh⁡(3x+1)y=\cosh(3x+1).

Plan. Differentiate cosh first, then multiply by the derivative of 3x+13x+1.

dydx=sinh⁡(3x+1)×3=3sinh⁡(3x+1)\frac{\mathrm dy}{\mathrm dx}=\sinh(3x+1)\times3=3\sinh(3x+1)

Answer. 3sinh⁡(3x+1)3\sinh(3x+1).

Check. Differentiating (e3x+1+e−3x−1)/2(e^{3x+1}+e^{-3x-1})/2 directly gives (3e3x+1−3e−3x−1)/2(3e^{3x+1}-3e^{-3x-1})/2, the same result.

Keep the same function and reverse the operation. The factor now divides rather than multiplies.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account