2.3 - Differentiating inverse and hyperbolic functions

2.3 - Differentiating inverse and hyperbolic functions

Hyperbolic and inverse functions have useful derivative patterns, but their signs and domains matter. You will derive the patterns, apply the chain rule and distinguish a function's domain from the interval on which its derivative formula is valid.

Derivatives of six hyperbolic functions

Does replacing tanh by its reciprocal merely turn its derivative upside down? It does not: a reciprocal changes both the derivative's sign and its factors.

Start with the exponential definitions you already know. Differentiating each term gives

ddxsinh⁡x=ex+e−x2=cosh⁡x,ddxcosh⁡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.

The positive derivative of sinh agrees with its increasing graph. Cosh has negative gradient for negative arguments, zero gradient at zero and positive gradient for positive arguments.

Use the quotient rule for tanh:

ddx(sinh⁡xcosh⁡x)=cosh⁡2x−sinh⁡2xcosh⁡2x=sech⁡2x.\frac{\mathrm d}{\mathrm dx}\left(\frac{\sinh x}{\cosh x}\right) =\frac{\cosh^2x-\sinh^2x}{\cosh^2x} =\operatorname{sech}^2x.

The numerator is 11, by the hyperbolic identity. The other three derivatives come from differentiating reciprocals. For example,

ddx(cosh⁡x)−1=−sinh⁡xcosh⁡2x=−sech⁡xtanh⁡x.\frac{\mathrm d}{\mathrm dx}(\cosh x)^{-1} =-\frac{\sinh x}{\cosh^2x} =-\operatorname{sech}x\tanh x.

Similarly, differentiating 1/sinh⁡x1/\sinh x gives −cosech⁡xcoth⁡x-\operatorname{cosech}x\coth x. The quotient rule for cosh⁡x/sinh⁡x\cosh x/\sinh x gives −cosech⁡2x-\operatorname{cosech}^2x, since its numerator is sinh⁡2x−cosh⁡2x=−1\sinh^2x-\cosh^2x=-1.

Hyperbolic derivatives

For a differentiable inner function u=u(x)u=u(x), multiply each derivative below by u′u':

f(u)df/dusinh⁡ucosh⁡ucosh⁡usinh⁡utanh⁡usech⁡2usech⁡u−sech⁡utanh⁡ucosech⁡u−cosech⁡ucoth⁡ucoth⁡u−cosech⁡2u\begin{array}{c|c} f(u)&\mathrm df/\mathrm du\\ \hline \sinh u&\cosh u\\ \cosh u&\sinh u\\ \tanh u&\operatorname{sech}^2u\\ \operatorname{sech}u&-\operatorname{sech}u\tanh u\\ \operatorname{cosech}u&-\operatorname{cosech}u\coth u\\ \coth u&-\operatorname{cosech}^2u \end{array}

Sinh, cosh, tanh and sech are defined for every real uu. Cosech and coth require u≠0u\ne0.

The first three derivative results are in the formula booklet. The last three are not listed there: learn them or derive them from reciprocals.

The factor from the inner function is essential even when several terms share the same argument.

Worked example 1: a common inner function

Question. Differentiate y=tanh⁡(3x)+sech⁡(3x)y=\tanh(3x)+\operatorname{sech}(3x).

Plan. Differentiate each hyperbolic function, then multiply by the derivative of 3x3x.

Both inner derivatives are 33, so

dydx=3sech⁡2(3x)−3sech⁡(3x)tanh⁡(3x)=3sech⁡(3x)(sech⁡(3x)−tanh⁡(3x)).\begin{aligned} \frac{\mathrm dy}{\mathrm dx} &=3\operatorname{sech}^2(3x) -3\operatorname{sech}(3x)\tanh(3x)\\ &=3\operatorname{sech}(3x) \bigl(\operatorname{sech}(3x)-\tanh(3x)\bigr). \end{aligned}

The minus sign belongs to the derivative of sech, not to its argument.

Answer. y′=3sech⁡2(3x)−3sech⁡(3x)tanh⁡(3x)\displaystyle y'=3\operatorname{sech}^2(3x)-3\operatorname{sech}(3x)\tanh(3x), for every real xx.

Check. Set t=e3xt=e^{3x}. The original function becomes (t2+2t−1)/(t2+1)(t^2+2t-1)/(t^2+1). Direct rational differentiation, using t′=3tt'=3t, gives gradient 12/2512/25 at t=2t=2. The answer gives the same value from sech⁡(ln⁡2)=4/5\operatorname{sech}(\ln2)=4/5 and tanh⁡(ln⁡2)=3/5\tanh(\ln2)=3/5.

Change the pair of functions to coth and cosech, keeping the argument 3x3x. Both new terms are undefined at zero, and both derivatives now carry a minus sign.

Worked example 2: changing to coth and cosech

Question. Differentiate y=coth⁡(3x)+cosech⁡(3x)y=\coth(3x)+\operatorname{cosech}(3x), stating where the result applies.

Plan. Use the two reciprocal-function derivatives and retain their common chain-rule factor.

For x≠0x\ne0,

y′=−3cosech⁡2(3x)−3cosech⁡(3x)coth⁡(3x)=−3cosech⁡(3x)(cosech⁡(3x)+coth⁡(3x)).\begin{aligned} y'&=-3\operatorname{cosech}^2(3x) -3\operatorname{cosech}(3x)\coth(3x)\\ &=-3\operatorname{cosech}(3x) \bigl(\operatorname{cosech}(3x)+\coth(3x)\bigr). \end{aligned}

There is no derivative at x=0x=0, because the original function is not defined there.

Answer. y′=−3cosech⁡2(3x)−3cosech⁡(3x)coth⁡(3x)\displaystyle y'=-3\operatorname{cosech}^2(3x)-3\operatorname{cosech}(3x)\coth(3x), for x≠0x\ne0.

Check. With t=e3xt=e^{3x}, the original expression simplifies to (t+1)/(t−1)(t+1)/(t-1). Its derivative is −6t/(t−1)2-6t/(t-1)^2. At t=2t=2, this is −12-12. The hyperbolic answer gives −3(4/3)2−3(4/3)(5/3)=−12-3(4/3)^2-3(4/3)(5/3)=-12.

A reciprocal must be differentiated as a reciprocal; it cannot be handled by reciprocating an existing derivative.

Watch out

The claim (coth⁡x)′=1/(tanh⁡x)′=cosh⁡2x(\coth x)'=1/(\tanh x)'=\cosh^2x is false. Since coth⁡x=1/tanh⁡x\coth x=1/\tanh x, the reciprocal rule gives −(tanh⁡x)′/tanh⁡2x=−cosech⁡2x-(\tanh x)'/\tanh^2x=-\operatorname{cosech}^2x.

Apply the same pair of rules with a different inner scale.

Inverse sine and cosine

An inverse derivative comes from undoing the original function locally. The principal branch determines the square root's sign.

Let y=sin⁡−1xy=\sin^{-1}x, so x=sin⁡yx=\sin y and −π/2≤y≤π/2-\pi/2\le y\le\pi/2. Implicit differentiation gives

1=cos⁡ydydx.1=\cos y\frac{\mathrm dy}{\mathrm dx}.

For −1<x<1-1<x<1, the chosen branch has cos⁡y>0\cos y>0. Thus cos⁡y=1−sin⁡2y=1−x2\cos y=\sqrt{1-\sin^2y}=\sqrt{1-x^2}, giving the positive derivative.

For y=cos⁡−1xy=\cos^{-1}x, the branch is 0≤y≤π0\le y\le\pi. Now 1=−sin⁡y y′1=-\sin y\,y', and sin⁡y=1−x2>0\sin y=\sqrt{1-x^2}>0 in the interior. The derivative is negative because the inverse cosine is decreasing.

Inverse sine and cosine derivatives

ddxsin⁡−1u=u′1−u2,ddxcos⁡−1u=−u′1−u2,∣u∣<1.\frac{\mathrm d}{\mathrm dx}\sin^{-1}u =\frac{u'}{\sqrt{1-u^2}}, \qquad \frac{\mathrm d}{\mathrm dx}\cos^{-1}u =-\frac{u'}{\sqrt{1-u^2}}, \quad |u|<1.

The inverse functions themselves accept −1≤u≤1-1\le u\le1. Their basic derivatives have no finite value at inputs u=±1u=\pm1. For a composition, the displayed chain-rule formula applies only where ∣u∣<1|u|<1; analyse an endpoint separately if required.

Both basic inverse derivative results are in the formula booklet.

The graphs show why a function can have an endpoint value even when its derivative formula excludes that endpoint.

[DIAGRAM: asset_name: Inverse values and derivative endpoints; asset_slug: cam9231-inverse-derivative-domains; caption: Inverse sine has finite endpoint values, while its gradient becomes unbounded near either endpoint; description: Two exact panels show inverse sine on the closed interval minus one to one, with finite endpoint dots and near-vertical endpoint tangents, and its positive derivative one over the square root of one minus x squared on the open interval. Dashed vertical lines mark the excluded derivative inputs minus one and one.]
Inverse sine has finite endpoint values, while its gradient becomes unbounded near either endpoint

Continue this lesson.

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

Create free account