coth function

By Martin McBride, 2021-02-06
Tags: coth tanh inverse hyperbolic function
Categories: hyperbolic functions pure mathematics


The coth function is a hyperbolic function. It is also known as the hyperbolic cotangent function.

Here is a video that explains the cosech, sech, and coth functions:

Equation and graph

The coth function is the reciprocal of the tanh function, and is only defined for non-zero values:

$$ \operatorname{coth}{x} = \frac{1}{tanh{x}} = \frac{\cosh{x}}{\sinh{x}} $$

(This is analogous with trig functions, where cot is the reciprocal of tan.)

Substituting the formula for tanh gives:

$$ \operatorname{coth}{x} = \frac{e^{x}+e^{-x}}{e^{x}-e^{-x}} $$

Here is a graph of the function:

coth as cosh divided by sinh

The coth function involves two functions, $\cosh{x}$ divided by $\sinh{x}$. This animation illustrates this:

When $x$ is large and negative, $\sinh{x}$ becomes ever closer to $-\cosh{x}$. The value of $\coth{x}$ therefore tends towards -1.

When $x$ is large and positive, $\sinh{x}$ becomes ever closer to $\cosh{x}$. The value of $\coth{x}$ therefore tends towards 1.

As $x$ approaches zero from the negative direction, $\sinh{x}$ approaches zero, so $\coth{x}$ tends towards -∞.

As $x$ approaches zero from the positive direction, $\sinh{x}$ approaches zero, so $\coth{x}$ tends towards +∞.

Other forms of the equation

If we take the two alternative forms of the tanh function, and invert them, we get two alternative forms of the coth function:

$$ \operatorname{coth} = \frac{e^{2x}+1}{e^{2x}-1} $$

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

See also



Join the GraphicMaths Newletter

Sign up using this form to receive an email when new content is added:

Popular tags

adder adjacency matrix alu and gate angle area argand diagram binary maths cartesian equation chain rule chord circle cofactor combinations complex polygon complex power complex root cosh cosine cosine rule cpu cube decagon demorgans law derivative determinant diagonal directrix dodecagon ellipse equilateral triangle eulers formula exponent exponential exterior angle first principles flip-flop focus gabriels horn gradient graph hendecagon heptagon hexagon horizontal hyperbola hyperbolic function infinity integration by substitution interior angle inverse hyperbolic function inverse matrix irregular polygon isosceles trapezium isosceles triangle kite koch curve l system locus maclaurin series major axis matrix matrix algebra minor axis nand gate newton raphson method nonagon nor gate normal not gate octagon or gate parabola parallelogram parametric equation pentagon perimeter permutations polar coordinates polynomial power probability probability distribution product rule pythagoras proof quadrilateral radians radius rectangle regular polygon rhombus root set set-reset flip-flop sine sine rule sinh sloping lines solving equations solving triangles square standard curves star polygon straight line graphs surface of revolution symmetry tangent tanh transformations trapezium triangle turtle graphics vertical volume of revolution xnor gate xor gate