Skip to content

Coth ​

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.

Hyperbolic cotangent, the reciprocal of hyperbolic tangent.

✓ checked against that system · ! checked, with disagreements (hover a chip)DLMF4.28.E7FungrimCoth✓Fungrim entry03e2a6✓22a9cd✓3ac0ce✓Wolfram LanguageCoth✓
Coth(complex | signed_infinity) -> numberHyperbolic cotangent, the reciprocal of hyperbolic tangent.
SageMathcoth(complex | signed_infinity)SymPycoth(complex | signed_infinity)mpmathcoth(complex | signed_infinity)Juliaenumeratio_ball(coth, complex | signed_infinity)
Typed signatures
TypePackageApplies
(complex | quantity | signed_infinity) -> numberanalyticreplaces compute-enginealways
(complex | quantity | signed_infinity) -> numbercompute-enginealways

Domain: Compute engine

Examples

Basic #
live ↗
InSeries⁡(coth⁡(x),x,0,10)\operatorname{Series}(\coth(x), x, 0, 10)Out1x+x3−x345+2x5945−x74 725+2x993 555+O(x11)\frac{1}{x}+\frac{x}{3}-\frac{x^3}{45}+\frac{2x^5}{945}-\frac{x^7}{4\,725}+\frac{2x^9}{93\,555}+O\left(x^{11}\right)
live ↗
InSeries⁡(coth⁡(x),x,2iπ,3)\operatorname{Series}(\coth(x), x, 2i π, 3)Out1x−2iπ+13(x−2iπ)−145(x−2iπ)3+O((x−2iπ)5)\frac{1}{x-2i π}+\frac{1}{3}(x-2i π)-\frac{1}{45}(x-2i π)^3+O\left((x-2i π)^5\right)
Scope #

Fifty digits of coth⁡(6/5)\coth(6/5)

live ↗
InN(coth⁡(65),50)N(\coth(\frac{6}{5}), 50)Out1.199 537 544 192 350 766 749 919 931 568 098 165 628 059 955 188 61.199\,537\,544\,192\,350\,766\,749\,919\,931\,568\,098\,165\,628\,059\,955\,188\,6

Threads over a matrix; the zero entry is a pole, complexInfinity

live ↗
Incoth⁡([[(1/3)iπ,(−(1/3)i)π],[0,(−(1/6)i)π]])\coth(\bigl\lbrack\bigl\lbrack(1/3)i π, (-(1/3)i)π\bigr\rbrack, \bigl\lbrack0, (-(1/6)i)π\bigr\rbrack\bigr\rbrack)Out[[−31/23i,31/23i],[∞~,3i]]\bigl\lbrack\bigl\lbrack-\frac{3^{1/2}}{3}i, \frac{3^{1/2}}{3}i\bigr\rbrack, \bigl\lbrack\tilde∞, \sqrt{3}i\bigr\rbrack\bigr\rbrack

Tends to 1 at +∞+\infty

live ↗
Incoth⁡(∞)\coth(∞)Out11

A pole at the origin

live ↗
Incoth⁡(0)\coth(0)Out∞~\tilde∞

Derivative is −csch⁡2x-\operatorname{csch}^2 x

live ↗
Indcoth⁡(x)dx\frac{\mathrm{d}\coth(x)}{\mathrm{d}x}Out−csch⁡(x)2-\operatorname{csch}(x)^2

As a matrix function the off-diagonal entry is a divided difference

live ↗
InMatrixFunction(_1⁡↦coth⁡(_1⁡),[[(1/3)iπ,(−(1/3)i)π],[0,(−(1/6)i)π]])\mathrm{MatrixFunction}(\operatorname{\_1}↦\coth(\operatorname{\_1}), \bigl\lbrack\bigl\lbrack(1/3)i π, (-(1/3)i)π\bigr\rbrack, \bigl\lbrack0, (-(1/6)i)π\bigr\rbrack\bigr\rbrack)Out[[−31/23i,8×31/29i],[0,3i]]\bigl\lbrack\bigl\lbrack-\frac{3^{1/2}}{3}i, \frac{8×3^{1/2}}{9}i\bigr\rbrack, \bigl\lbrack0, \sqrt{3}i\bigr\rbrack\bigr\rbrack
live ↗
InFunctionMeromorphic(coth⁡(x),x)\mathrm{FunctionMeromorphic}(\coth(x), x)OutTrue\mathrm{True}
Properties #
live ↗
InN(coth⁡(1)coth⁡(12))N(\coth(1)\coth(\frac{1}{2}))Out2.841 347 188 415 584 637 899 128 662 683 723 870 522 82.841\,347\,188\,415\,584\,637\,899\,128\,662\,683\,723\,870\,522\,8

Known value · Wolfram MathematicalFunctionData, Coth, FunctionalEquations

live ↗
InN(coth⁡(12+12iπ))N(\coth(\frac{1}{2}+\frac{1}{2}i π))Out0.462 117 157 260 009 740.462\,117\,157\,260\,009\,74

Known value · Wolfram MathematicalFunctionData, Coth, FunctionalEquations

live ↗
InN(coth⁡(2)coth⁡(4))N(\coth(2)\coth(4))Out1.038 010 914 919 035 549 626 687 667 882 357 812 570 81.038\,010\,914\,919\,035\,549\,626\,687\,667\,882\,357\,812\,570\,8

Known value · Wolfram MathematicalFunctionData, Coth, FunctionalEquations

live ↗
InN(coth⁡(2+12iπ))N(\coth(2+\frac{1}{2}i π))Out0.964 027 580 075 816 90.964\,027\,580\,075\,816\,9

Known value · Wolfram MathematicalFunctionData, Coth, FunctionalEquations

About
Examples13
Checked againstWolfram Language 13 agreeSageMath 11 agreeSymPy 12 agreempmath 6 agree2 errorJulia 5 agree3 errorRust 3 agree1 error
CrosswalkDLMFFungrimFungrim entry ×3Wolfram LanguageSageMathSymPympmathJulia

Implementation

mappedsympypackages/oracle/src/mappings.ts
mappedmpmathpackages/oracle/src/mappings.ts
mappedsagepackages/oracle/src/mappings.ts
mappedjuliapackages/oracle/src/mappings.ts
mappedrustpackages/oracle/src/mappings.ts

The reciprocal of tanh.