4.07d - Differentiating and integrating hyperbolic functions

4.07d - Differentiating and integrating hyperbolic functions

Differentiate and integrate hyperbolic functions by connecting their exponential definitions to familiar calculus rules. You will handle composite functions and products, find exact integrals, and use derivatives and the ranges of the functions to locate a curve's minimum.

Derivatives of sine and cosine hyperbolic

What is the least possible value of cosh⁡2x−4sinh⁡x\cosh^2x-4\sinh x, and at which input does it occur? At x=0x=0 its value is 11, but that does not make it the minimum: the two terms change at different rates. Differentiation will tell you where their effects balance.

You already know

sinh⁡x=(ex−e−x)/2\sinh x=(e^x-e^{-x})/2, cosh⁡x=(ex+e−x)/2\cosh x=(e^x+e^{-x})/2, and cosh⁡2x−sinh⁡2x=1\cosh^2x-\sinh^2x=1. From A-level Maths, ddxekx=kekx\frac{d}{dx}e^{kx}=ke^{kx}; the chain rule multiplies by the derivative of the inner function.

Differentiate each exponential separately. The two minus signs in the derivative of −e−x-e^{-x} cancel:

ddxsinh⁡x=12(ex+e−x)=cosh⁡xddxcosh⁡x=12(ex−e−x)=sinh⁡x\begin{aligned} \frac{d}{dx}\sinh x &= \frac12(e^x+e^{-x})=\cosh x \\ \frac{d}{dx}\cosh x &= \frac12(e^x-e^{-x})=\sinh x \end{aligned}

Unlike ordinary sine and cosine, these derivatives swap without a minus sign. In particular, each returns to itself after two differentiations. Both graphs solve the equation y′′=yy''=y: two quite different shapes can obey the same differential equation because their starting values differ.

Differentiating sine and cosine hyperbolic

For a differentiable real function u=u(x)u=u(x),

ddxsinh⁡u=u′cosh⁡u,ddxcosh⁡u=u′sinh⁡u\frac{d}{dx}\sinh u=u'\cosh u, \qquad \frac{d}{dx}\cosh u=u'\sinh u

Not in the formula booklet: learn it.

Read the entire argument before differentiating. The notation cosh⁡2x\cosh 2x means cosh⁡(2x)\cosh(2x), whereas cosh⁡2x\cosh^2x means (cosh⁡x)2(\cosh x)^2.

Worked example 1: linear arguments

Question. Given that f(x)=3sinh⁡2x−cosh⁡2xf(x)=3\sinh 2x-\cosh 2x, find f′(x)f'(x) and f′′(x)f''(x).

Plan. Swap sine and cosine hyperbolic and multiply by 22 at each differentiation.

f′(x)=6cosh⁡2x−2sinh⁡2xchain rulef′′(x)=12sinh⁡2x−4cosh⁡2xchain rule again=4f(x)factor out 4\begin{aligned} f'(x)&=6\cosh 2x-2\sinh 2x && \text{chain rule} \\ f''(x)&=12\sinh 2x-4\cosh 2x && \text{chain rule again} \\ &=4f(x) && \text{factor out }4 \end{aligned}

Why this step? Each differentiation contributes a factor of 22, so two differentiations contribute 222^2, with no sign reversal.

Answer. f′(x)=6cosh⁡2x−2sinh⁡2xf'(x)=6\cosh 2x-2\sinh 2x, f′′(x)=12sinh⁡2x−4cosh⁡2xf''(x)=12\sinh 2x-4\cosh 2x.

Check. f(x)=e2x−2e−2xf(x)=e^{2x}-2e^{-2x}, whose derivatives are 2e2x+4e−2x2e^{2x}+4e^{-2x} and 4e2x−8e−2x4e^{2x}-8e^{-2x}, agreeing with the hyperbolic answers.

The second example changes only the inner argument, adding a constant. The factor from the chain rule stays the same because the derivative of the constant is zero.

Worked example 2: a shifted argument

Question. Given that g(x)=3sinh⁡(2x+1)−cosh⁡(2x+1)g(x)=3\sinh(2x+1)-\cosh(2x+1), find g′(x)g'(x) and g′′(x)g''(x).

Plan. Differentiate the inner function 2x+12x+1, then apply the same derivative pair.

ddx(2x+1)=2inner derivativeg′(x)=6cosh⁡(2x+1)−2sinh⁡(2x+1)chain ruleg′′(x)=12sinh⁡(2x+1)−4cosh⁡(2x+1)differentiate again=4g(x)compare with g\begin{aligned} \frac{d}{dx}(2x+1)&=2 && \text{inner derivative} \\ g'(x)&=6\cosh(2x+1)-2\sinh(2x+1) && \text{chain rule} \\ g''(x)&=12\sinh(2x+1)-4\cosh(2x+1) && \text{differentiate again} \\ &=4g(x) && \text{compare with }g \end{aligned}

Why this step? The 11 stays inside the hyperbolic argument; it disappears only when finding the multiplying factor u′u'.

Answer. g′(x)=6cosh⁡(2x+1)−2sinh⁡(2x+1)g'(x)=6\cosh(2x+1)-2\sinh(2x+1), g′′(x)=4g(x)g''(x)=4g(x).

Check. At x=−12x=-\frac12, the argument is zero, so g=−1g=-1, g′=6g'=6 and g′′=−4=4gg''=-4=4g.

The usual chain, product and quotient rules continue to work; only the function derivatives have changed.

Watch out

Wrong: ddxcosh⁡3x=−3sinh⁡3x\frac{d}{dx}\cosh 3x=-3\sinh 3x. That imports the minus sign from ordinary cosine. Right: ddxcosh⁡3x=3sinh⁡3x\frac{d}{dx}\cosh 3x=3\sinh 3x.

Use the inner derivative again, with a different scale.

The tangent derivative and composite functions

The derivative of tanh⁡x\tanh x comes from its definition as a quotient, so there is no need to guess a sign from ordinary tangent.

Using the quotient rule and the fundamental identity,

ddxtanh⁡x=cosh⁡xcosh⁡x−sinh⁡xsinh⁡xcosh⁡2xquotient rule=1cosh⁡2x=1−tanh⁡2xdivide the identity by cosh⁡2x\begin{aligned} \frac{d}{dx}\tanh x &=\frac{\cosh x\cosh x-\sinh x\sinh x}{\cosh^2x} && \text{quotient rule} \\ &=\frac{1}{\cosh^2x}=1-\tanh^2x && \text{divide the identity by }\cosh^2x \end{aligned}

Since cosh⁡x≥1\cosh x\ge1, the derivative is positive everywhere and equals 11 only at x=0x=0. Far from the origin it tends to zero, matching the flattening graph.

Differentiating tangent hyperbolic

For a differentiable real function u=u(x)u=u(x),

ddxtanh⁡u=u′cosh⁡2u=u′(1−tanh⁡2u)\frac{d}{dx}\tanh u=\frac{u'}{\cosh^2u}=u'(1-\tanh^2u)

The denominator is non-zero for every real uu.
Not in the formula booklet: learn it.

Either form is useful. Use the quotient form when the answer contains cosh⁡\cosh; use 1−tanh⁡2u1-\tanh^2u when the question asks for tangent only.

Worked example 3: differentiating tangent hyperbolic

Question. Given that y=tanh⁡3xy=\tanh 3x, find dydx\frac{dy}{dx}, expressing your answer in terms of yy.

Plan. Apply the chain rule and replace tanh⁡3x\tanh 3x by yy.

dydx=3(1−tanh⁡23x)inner derivative 3=3(1−y2)y=tanh⁡3x\begin{aligned} \frac{dy}{dx}&=3(1-\tanh^2 3x) && \text{inner derivative }3 \\ &=3(1-y^2) && y=\tanh 3x \end{aligned}

Why this step? Replacing the whole function by yy expresses the rate of change using the output itself, as requested.

Answer. dydx=3(1−y2)\frac{dy}{dx}=3(1-y^2).

Check. At x=0x=0, y=0y=0 and the slope is 33, three times the slope of tanh⁡x\tanh x at zero.

Now square the same function. This adds one outer operation, so one more chain-rule factor is needed.

Worked example 4: an outer square

Question. Differentiate y=tanh⁡23xy=\tanh^2 3x.

Plan. Differentiate the outer square first, then differentiate tanh⁡3x\tanh 3x.

dydx=2tanh⁡3x×ddx(tanh⁡3x)outer square=2tanh⁡3x×3cosh⁡23xinner chain rule=6tanh⁡3xcosh⁡23xcollect factors\begin{aligned} \frac{dy}{dx}&=2\tanh 3x\times\frac{d}{dx}(\tanh 3x) && \text{outer square} \\ &=2\tanh 3x\times\frac{3}{\cosh^2 3x} && \text{inner chain rule} \\ &=\frac{6\tanh 3x}{\cosh^2 3x} && \text{collect factors} \end{aligned}

Why this step? tanh⁡23x\tanh^2 3x has three layers: square, tangent hyperbolic, then 3x3x. Every layer contributes a factor.

Answer. dydx=6tanh⁡3x/cosh⁡23x\frac{dy}{dx}=6\tanh 3x/\cosh^2 3x.

Check. The function is even, so its derivative should be odd. The numerator is odd and the denominator is even, as required.

For a product, apply the product rule before simplifying. For example,

ddx(xtanh⁡x)=tanh⁡x+xcosh⁡2x\frac{d}{dx}(x\tanh x)=\tanh x+\frac{x}{\cosh^2x}

The product rule is in your assumed A-level Maths knowledge; it is not given in the formula booklet. Its two terms are both needed.

Watch out

Wrong: ddxtanh⁡23x=3/cosh⁡23x\frac{d}{dx}\tanh^2 3x=3/\cosh^2 3x. This differentiates only the inner tangent and forgets the square. Right: multiply that derivative by 2tanh⁡3x2\tanh 3x.

Check the three layers with a new inner scale.

Integrating hyperbolic functions

Integration reverses the derivatives, so a constant inner scale must be divided out rather than multiplied in.

The tangent integral needs one extra observation. Since cosh⁡x>0\cosh x>0, the logarithmic derivative gives

ddxln⁡(cosh⁡x)=sinh⁡xcosh⁡x=tanh⁡x\frac{d}{dx}\ln(\cosh x)=\frac{\sinh x}{\cosh x}=\tanh x

There is no absolute-value issue here: cosh⁡x\cosh x is already positive for every real input. The general logarithmic integration rule is in the formula booklet; the hyperbolic results below are not.

Continue this lesson.

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

Create free account