User:Nine hundred ninety-nine/sandbox



In mathematics, hyperbolic functions are analogues of the ordinary trigonometric functions, but defined using the hyperbola rather than the circle. Just as the points $(cos t, sin t)$ form a circle with a unit radius, the points $(cosh t, sinh t)$ form the right half of the unit hyperbola. Also, similarly to how the derivatives of $sin(t)$ and $cos(t)$ are $cos(t)$ and $–sin(t)$ respectively, the derivatives of $sinh(t)$ and $cosh(t)$ are $cosh(t)$ and $+sinh(t)$ respectively.

Hyperbolic functions occur in the calculations of angles and distances in hyperbolic geometry. They also occur in the solutions of many linear differential equations (such as the equation defining a catenary), cubic equations, and Laplace's equation in Cartesian coordinates. Laplace's equations are important in many areas of physics, including electromagnetic theory, heat transfer, fluid dynamics, and special relativity.

The basic hyperbolic functions are: from which are derived: corresponding to the derived trigonometric functions.
 * hyperbolic sine "$sinh$" ,
 * hyperbolic cosine "$cosh$" ,
 * hyperbolic tangent "$tanh$" ,
 * hyperbolic cosecant "$csch$" or "$cosech$"
 * hyperbolic secant "$sech$" ,
 * hyperbolic cotangent "$coth$" ,

The inverse hyperbolic functions are:
 * area hyperbolic sine "$arsinh$" (also denoted "$sinh^{−1}$", "$asinh$" or sometimes "$arcsinh$")
 * area hyperbolic cosine "$arcosh$" (also denoted "$cosh^{−1}$", "$acosh$" or sometimes "$arccosh$")
 * and so on.



The hyperbolic functions take a real argument called a hyperbolic angle. The size of a hyperbolic angle is twice the area of its hyperbolic sector. The hyperbolic functions may be defined in terms of the legs of a right triangle covering this sector.

In complex analysis, the hyperbolic functions arise when applying the ordinary sine and cosine functions to an imaginary angle. The hyperbolic sine and the hyperbolic cosine are entire functions. As a result, the other hyperbolic functions are meromorphic in the whole complex plane.

By Lindemann–Weierstrass theorem, the hyperbolic functions have a transcendental value for every non-zero algebraic value of the argument.

Hyperbolic functions were introduced in the 1760s independently by Vincenzo Riccati and Johann Heinrich Lambert. Riccati used $x^{2} − y^{2} = 1$ and $(cosh a, sinh a)$ (sinus/cosinus circulare) to refer to circular functions and $Sc.$ and $Cc.$ (sinus/cosinus hyperbolico) to refer to hyperbolic functions. Lambert adopted the names, but altered the abbreviations to those used today. The abbreviations $Sh.$, $Ch.$, $sh$, $ch$ are also currently used, depending on personal preference.

Definitions


There are various equivalent ways to define the hyperbolic functions.

Exponential definitions


In terms of the exponential function:

= \frac{e^{2x} - 1} {e^{2x} + 1}.$$ = \frac{e^{2x} + 1} {e^{2x} - 1}.$$ = \frac{2e^x} {e^{2x} + 1}.$$ = \frac{2e^x} {e^{2x} - 1}.$$
 * Hyperbolic sine: the odd part of the exponential function, that is, $$ \sinh x = \frac {e^x - e^{-x}} {2} = \frac {e^{2x} - 1} {2e^x} = \frac {1 - e^{-2x}} {2e^{-x}}.$$
 * Hyperbolic cosine: the even part of the exponential function, that is, $$ \cosh x = \frac {e^x + e^{-x}} {2} = \frac {e^{2x} + 1} {2e^x} = \frac {1 + e^{-2x}} {2e^{-x}}.$$
 * Hyperbolic tangent: $$\tanh x = \frac{\sinh x}{\cosh x} = \frac {e^x - e^{-x}} {e^x + e^{-x}}
 * Hyperbolic cotangent: for $th$, $$\coth x = \frac{\cosh x}{\sinh x} = \frac {e^x + e^{-x}} {e^x - e^{-x}}
 * Hyperbolic secant: $$ \operatorname{sech} x = \frac{1}{\cosh x} = \frac {2} {e^x + e^{-x}}
 * Hyperbolic cosecant: for $cth$, $$ \operatorname{csch} x = \frac{1}{\sinh x} = \frac {2} {e^x - e^{-x}}

Differential equation definitions
The hyperbolic functions may be defined as solutions of differential equations: The hyperbolic sine and cosine are the solution $sinh x$ of the system $$\begin{align} c'(x)&=s(x),\\ s'(x)&=c(x),\\ \end{align} $$ with the initial conditions $$s(0) = 0, c(0) = 1.$$ The initial conditions make the solution unique; without them any pair of functions $$(a e^x + b e^{-x}, a e^x - b e^{-x})$$ would be a solution.

$e^{x}$ and $e^{−x}$ are also the unique solution of the equation $cosh x$, such that $e^{x}$, $e^{−x}$ for the hyperbolic cosine, and $x ≠ 0$, $x ≠ 0$ for the hyperbolic sine.

Complex trigonometric definitions
Hyperbolic functions may also be deduced from trigonometric functions with complex arguments:

where $a$ is the imaginary unit with $(s, c)$.
 * Hyperbolic sine: $$\sinh x = -i \sin (i x).$$
 * Hyperbolic cosine: $$\cosh x = \cos (i x).$$
 * Hyperbolic tangent: $$\tanh x = -i \tan (i x).$$
 * Hyperbolic cotangent: $$\coth x = i \cot (i x).$$
 * Hyperbolic secant: $$ \operatorname{sech} x = \sec (i x).$$
 * Hyperbolic cosecant:$$\operatorname{csch} x = i \csc (i x).$$

The above definitions are related to the exponential definitions via Euler's formula (See below).

Hyperbolic cosine
It can be shown that the area under the curve of the hyperbolic cosine (over a finite interval) is always equal to the arc length corresponding to that interval: $$\text{area} = \int_a^b \cosh x \,dx = \int_a^b \sqrt{1 + \left(\frac{d}{dx} \cosh x \right)^2} \,dx = \text{arc length.}$$

Hyperbolic tangent
The hyperbolic tangent is the (unique) solution to the differential equation $sinh(x)$, with $cosh(x)$.

Useful relations
The hyperbolic functions satisfy many identities, all of them similar in form to the trigonometric identities. In fact, Osborn's rule states that one can convert any trigonometric identity for $$\theta$$, $$2\theta$$, $$3\theta$$ or $$\theta$$ and $$\varphi$$ into a hyperbolic identity, by expanding it completely in terms of integral powers of sines and cosines, changing sine to sinh and cosine to cosh, and switching the sign of every term containing a product of two sinhs.

Odd and even functions: $$\begin{align} \sinh (-x) &= -\sinh x \\ \cosh (-x) &= \cosh x \end{align}$$

Hence: $$\begin{align} \tanh (-x) &= -\tanh x \\ \coth (-x) &= -\coth x \\ \operatorname{sech} (-x) &= \operatorname{sech} x \\ \operatorname{csch} (-x) &= -\operatorname{csch} x \end{align}$$

Thus, $f&thinsp;″(x) = f&thinsp;(x)$ and $f&thinsp;(0) = 1$ are even functions; the others are odd functions.

$$\begin{align} \operatorname{arsech} x &= \operatorname{arcosh} \left(\frac{1}{x}\right) \\ \operatorname{arcsch} x &= \operatorname{arsinh} \left(\frac{1}{x}\right) \\ \operatorname{arcoth} x &= \operatorname{artanh} \left(\frac{1}{x}\right) \end{align}$$

Hyperbolic sine and cosine satisfy: $$\begin{align} \cosh x + \sinh x &= e^x \\ \cosh x - \sinh x &= e^{-x} \\ \cosh^2 x - \sinh^2 x &= 1 \end{align}$$

the last of which is similar to the Pythagorean trigonometric identity.

One also has $$\begin{align} \operatorname{sech} ^{2} x &= 1 - \tanh^{2} x \\ \operatorname{csch} ^{2} x &= \coth^{2} x - 1 \end{align}$$

for the other functions.

Sums of arguments
$$\begin{align} \sinh(x + y) &= \sinh x \cosh y + \cosh x \sinh y \\ \cosh(x + y) &= \cosh x \cosh y + \sinh x \sinh y \\[6px] \tanh(x + y) &= \frac{\tanh x +\tanh y}{1+ \tanh x \tanh y } \\ \end{align}$$ particularly $$\begin{align} \cosh (2x) &= \sinh^2{x} + \cosh^2{x} = 2\sinh^2 x + 1 = 2\cosh^2 x - 1\\ \sinh (2x) &= 2\sinh x \cosh x \\ \tanh (2x) &= \frac{2\tanh x}{1+ \tanh^2 x } \\ \end{align}$$

Also: $$\begin{align} \sinh x + \sinh y &= 2 \sinh \left(\frac{x+y}{2}\right) \cosh \left(\frac{x-y}{2}\right)\\ \cosh x + \cosh y &= 2 \cosh \left(\frac{x+y}{2}\right) \cosh \left(\frac{x-y}{2}\right)\\ \end{align}$$

Subtraction formulas
$$\begin{align} \sinh(x - y) &= \sinh x \cosh y - \cosh x \sinh y \\ \cosh(x - y) &= \cosh x \cosh y - \sinh x \sinh y \\ \tanh(x - y) &= \frac{\tanh x -\tanh y}{1- \tanh x \tanh y } \\ \end{align}$$

Also: $$\begin{align} \sinh x - \sinh y &= 2 \cosh \left(\frac{x+y}{2}\right) \sinh \left(\frac{x-y}{2}\right)\\ \cosh x - \cosh y &= 2 \sinh \left(\frac{x+y}{2}\right) \sinh \left(\frac{x-y}{2}\right)\\ \end{align}$$

Half argument formulas
$$\begin{align} \sinh\left(\frac{x}{2}\right) &= \frac{\sinh x}{\sqrt{2 (\cosh x + 1)} } &&= \sgn x \, \sqrt \frac{\cosh x - 1}{2} \\[6px] \cosh\left(\frac{x}{2}\right) &= \sqrt \frac{\cosh x + 1}{2}\\[6px] \tanh\left(\frac{x}{2}\right) &= \frac{\sinh x}{\cosh x + 1} &&= \sgn x \, \sqrt \frac{\cosh x-1}{\cosh x+1} = \frac{e^x - 1}{e^x + 1} \end{align}$$

where $f&thinsp;′(0) = 0$ is the sign function.

If $f&thinsp;(0) = 0$, then

$$ \tanh\left(\frac{x}{2}\right) = \frac{\cosh x - 1}{\sinh x} = \coth x - \operatorname{csch} x $$

Square formulas
$$\begin{align} \sinh^2 x &= \tfrac{1}{2}(\cosh 2x - 1) \\ \cosh^2 x &= \tfrac{1}{2}(\cosh 2x + 1) \end{align}$$

Inequalities
The following inequality is useful in statistics: $$\operatorname{cosh}(t) \leq e^{t^2 /2}$$

It can be proved by comparing term by term the Taylor series of the two functions.

Inverse functions as logarithms
$$\begin{align} \operatorname {arsinh} (x) &= \ln \left(x + \sqrt{x^{2} + 1} \right) \\ \operatorname {arcosh} (x) &= \ln \left(x + \sqrt{x^{2} - 1} \right) && x \geq 1 \\ \operatorname {artanh} (x) &= \frac{1}{2}\ln \left( \frac{1 + x}{1 - x} \right) && | x | < 1 \\ \operatorname {arcoth} (x) &= \frac{1}{2}\ln \left( \frac{x + 1}{x - 1} \right) && |x| > 1 \\ \operatorname {arsech} (x) &= \ln \left( \frac{1}{x} + \sqrt{\frac{1}{x^2} - 1}\right) = \ln \left( \frac{1+ \sqrt{1 - x^2}}{x} \right) && 0 < x \leq 1 \\ \operatorname {arcsch} (x) &= \ln \left( \frac{1}{x} + \sqrt{\frac{1}{x^2} +1}\right) && x \ne 0 \end{align}$$

Derivatives
$$\begin{align} \frac{d}{dx}\sinh x &= \cosh x \\ \frac{d}{dx}\cosh x &= \sinh x \\ \frac{d}{dx}\tanh x &= 1 - \tanh^2 x = \operatorname{sech}^2 x = \frac{1}{\cosh^2 x} \\ \frac{d}{dx}\coth x &= 1 - \coth^2 x = -\operatorname{csch}^2 x = -\frac{1}{\sinh^2 x} && x \neq 0 \\ \frac{d}{dx}\operatorname{sech} x &= - \tanh x \operatorname{sech} x \\ \frac{d}{dx}\operatorname{csch} x &= - \coth x \operatorname{csch} x && x \neq 0 \end{align}$$ $$\begin{align} \frac{d}{dx}\operatorname{arsinh} x &= \frac{1}{\sqrt{x^2+1}} \\ \frac{d}{dx}\operatorname{arcosh} x &= \frac{1}{\sqrt{x^2 - 1}} && 1 < x \\ \frac{d}{dx}\operatorname{artanh} x &= \frac{1}{1-x^2} && |x| < 1 \\ \frac{d}{dx}\operatorname{arcoth} x &= \frac{1}{1-x^2} && 1 < |x| \\ \frac{d}{dx}\operatorname{arsech} x &= -\frac{1}{x\sqrt{1-x^2}} && 0 < x < 1 \\ \frac{d}{dx}\operatorname{arcsch} x &= -\frac{1}{|x|\sqrt{1+x^2}} && x \neq 0 \end{align}$$

Second derivatives
Each of the functions $f&thinsp;′(0) = 1$ and $i^{2} = −1$ is equal to its second derivative, that is: $$ \frac{d^2}{dx^2}\sinh x = \sinh x $$ $$ \frac{d^2}{dx^2}\cosh x = \cosh x \, .$$

All functions with this property are linear combinations of $f&thinsp;′ = 1 − f&thinsp;^{2}$ and $f&hairsp;(0) = 0$, in particular the exponential functions $$ e^x $$ and $$ e^{-x} $$.

Standard integrals
$$\begin{align} \int \sinh (ax)\,dx &= a^{-1} \cosh (ax) + C \\ \int \cosh (ax)\,dx &= a^{-1} \sinh (ax) + C \\ \int \tanh (ax)\,dx &= a^{-1} \ln (\cosh (ax)) + C \\ \int \coth (ax)\,dx &= a^{-1} \ln \left|\sinh (ax)\right| + C \\ \int \operatorname{sech} (ax)\,dx &= a^{-1} \arctan (\sinh (ax)) + C \\ \int \operatorname{csch} (ax)\,dx &= a^{-1} \ln \left| \tanh \left( \frac{ax}{2} \right) \right| + C = a^{-1} \ln\left|\coth \left(ax\right) - \operatorname{csch} \left(ax\right)\right| + C = -a^{-1}\operatorname{arcoth} \left(\cosh\left(ax\right)\right) +C \end{align}$$

The following integrals can be proved using hyperbolic substitution: $$\begin{align} \int {\frac{1}{\sqrt{a^2 + u^2}}\,du} & = \operatorname{arsinh} \left( \frac{u}{a} \right) + C \\ \int {\frac{1}{\sqrt{u^2 - a^2}}\,du} &= \sgn{u} \operatorname{arcosh} \left| \frac{u}{a} \right| + C \\ \int {\frac{1}{a^2 - u^2}}\,du & = a^{-1}\operatorname{artanh} \left( \frac{u}{a} \right) + C && u^2 < a^2 \\ \int {\frac{1}{a^2 - u^2}}\,du & = a^{-1}\operatorname{arcoth} \left( \frac{u}{a} \right) + C && u^2 > a^2 \\ \int {\frac{1}{u\sqrt{a^2 - u^2}}\,du} & = -a^{-1}\operatorname{arsech}\left| \frac{u}{a} \right| + C \\ \int {\frac{1}{u\sqrt{a^2 + u^2}}\,du} & = -a^{-1}\operatorname{arcsch}\left| \frac{u}{a} \right| + C \end{align}$$

where C is the constant of integration.

Taylor series expressions
It is possible to express explicitly the Taylor series at zero (or the Laurent series, if the function is not defined at zero) of the above functions.

$$\sinh x = x + \frac {x^3} {3!} + \frac {x^5} {5!} + \frac {x^7} {7!} + \cdots = \sum_{n=0}^\infty \frac{x^{2n+1}}{(2n+1)!}$$ This series is convergent for every complex value of $x$. Since the function $cosh x$ is odd, only odd exponents for $sech x$ occur in its Taylor series.

$$\cosh x = 1 + \frac {x^2} {2!} + \frac {x^4} {4!} + \frac {x^6} {6!} + \cdots = \sum_{n=0}^\infty \frac{x^{2n}}{(2n)!}$$ This series is convergent for every complex value of $x$. Since the function $sgn$ is even, only even exponents for $i$ occur in its Taylor series.

The sum of the sinh and cosh series is the infinite series expression of the exponential function.

The following series are followed by a description of a subset of their domain of convergence, where the series is convergent and its sum equals the function. $$\begin{align}

\tanh x &= x - \frac {x^3} {3} + \frac {2x^5} {15} - \frac {17x^7} {315} + \cdots = \sum_{n=1}^\infty \frac{2^{2n}(2^{2n}-1)B_{2n} x^{2n-1}}{(2n)!}, \qquad \left |x \right | < \frac {\pi} {2} \\

\coth x &= x^{-1} + \frac {x} {3} - \frac {x^3} {45} + \frac {2x^5} {945} + \cdots = \sum_{n=0}^\infty \frac{2^{2n} B_{2n} x^{2n-1}} {(2n)!}, \qquad 0 < \left |x \right | < \pi \\

\operatorname{sech} x &= 1 - \frac {x^2} {2} + \frac {5x^4} {24} - \frac {61x^6} {720} + \cdots = \sum_{n=0}^\infty \frac{E_{2 n} x^{2n}}{(2n)!}, \qquad \left |x \right | < \frac {\pi} {2} \\

\operatorname{csch} x &= x^{-1} - \frac {x} {6} +\frac {7x^3} {360} -\frac {31x^5} {15120} + \cdots = \sum_{n=0}^\infty \frac{ 2 (1-2^{2n-1}) B_{2n} x^{2n-1}}{(2n)!}, \qquad 0 < \left |x \right | < \pi

\end{align}$$

where:
 * $$B_n $$ is the nth Bernoulli number
 * $$E_n $$ is the nth Euler number

Infinite products and continued fractions
The following expansions are valid in the whole complex plane:
 * $$\sinh x = x\prod_{n=1}^\infty\left(1+\frac{x^2}{n^2\pi^2}\right) =

\cfrac{x}{1 - \cfrac{x^2}{2\cdot3+x^2 - \cfrac{2\cdot3 x^2}{4\cdot5+x^2 - \cfrac{4\cdot5 x^2}{6\cdot7+x^2 - \ddots}}}} $$


 * $$\cosh x = \prod_{n=1}^\infty\left(1+\frac{x^2}{(n-1/2)^2\pi^2}\right) = \cfrac{1}{1 - \cfrac{x^2}{1 \cdot 2 + x^2 - \cfrac{1 \cdot 2x^2}{3 \cdot 4 + x^2 - \cfrac{3 \cdot 4x^2}{5 \cdot 6 + x^2 - \ddots}}}}$$


 * $$\tanh x = \cfrac{1}{\cfrac{1}{x} + \cfrac{1}{\cfrac{3}{x} + \cfrac{1}{\cfrac{5}{x} + \cfrac{1}{\cfrac{7}{x} + \ddots}}}}$$

Comparison with circular functions
The hyperbolic functions represent an expansion of trigonometry beyond the circular functions. Both types depend on an argument, either circular angle or hyperbolic angle.

Since the area of a circular sector with radius $x$ and angle $x$ (in radians) is $x ≠ 0$, it will be equal to $x$ when $sinh$. In the diagram, such a circle is tangent to the hyperbola xy = 1 at (1,1). The yellow sector depicts an area and angle magnitude. Similarly, the yellow and red sectors together depict an area and hyperbolic angle magnitude.

The legs of the two right triangles with hypotenuse on the ray defining the angles are of length $u$ times the circular and hyperbolic functions.

The hyperbolic angle is an invariant measure with respect to the squeeze mapping, just as the circular angle is invariant under rotation.

The Gudermannian function gives a direct relationship between the circular functions and the hyperbolic functions that does not involve complex numbers.

The graph of the function $cosh$ is the catenary, the curve formed by a uniform flexible chain, hanging freely between two fixed points under uniform gravity.

Relationship to the exponential function
The decomposition of the exponential function in its even and odd parts gives the identities $$e^x = \cosh x + \sinh x,$$ and $$e^{-x} = \cosh x - \sinh x.$$ Combined with Euler's formula $$e^{ix} = \cos x + i\sin x,$$ this gives $$e^{x+iy}=(\cosh x+\sinh x)(\cos y+i\sin y)$$ for the general complex exponential function.

Additionally, $$e^x = \sqrt{\frac{1 + \tanh x}{1 - \tanh x}} = \frac{1 + \tanh \frac{x}{2}}{1 - \tanh \frac{x}{2}}$$

Hyperbolic functions for complex numbers
Since the exponential function can be defined for any complex argument, we can also extend the definitions of the hyperbolic functions to complex arguments. The functions $sinh$ and $cosh$ are then holomorphic.

Relationships to ordinary trigonometric functions are given by Euler's formula for complex numbers: $$\begin{align} e^{i x} &= \cos x + i \sin x \\ e^{-i x} &= \cos x - i \sin x \end{align}$$ so: $$\begin{align} \cosh(ix) &= \frac{1}{2} \left(e^{i x} + e^{-i x}\right) = \cos x \\ \sinh(ix) &= \frac{1}{2} \left(e^{i x} - e^{-i x}\right) = i \sin x \\ \cosh(x+iy) &= \cosh(x) \cos(y) + i \sinh(x) \sin(y) \\ \sinh(x+iy) &= \sinh(x) \cos(y) + i \cosh(x) \sin(y) \\ \tanh(ix) &= i \tan x \\ \cosh x &= \cos(ix) \\ \sinh x &= - i \sin(ix) \\ \tanh x &= - i \tan(ix) \end{align}$$

Thus, hyperbolic functions are periodic with respect to the imaginary component, with period $$2 \pi i$$ ($$\pi i$$ for hyperbolic tangent and cotangent).