Coth[z]
给出 z 的双曲余切.
Coth
Coth[z]
给出 z 的双曲余切.
背景
- Coth 是双曲余切函数,是三角学中普遍使用的 Cot 圆函数的双曲类比. Coth[α] 定义为对应的双曲余弦和双曲正弦函数的比值,即
. Coth 也可以定义为
,其中
是自然对数 Log 的底数. - 当变量是有理数的(自然)对数时,Coth 会自动计算出精确值. 当给出精确数值表达式作为变量时,Coth 可以算出任意精度的数值结果. TrigFactorList 可将包含 Coth 的表达式因式分解为包含 Sinh、Cosh、Sin 和 Cos 的单项式. 对包含 Coth 的符号表达式,其他适用的操作运算有 TrigToExp、TrigExpand、Simplify 和 FullSimplify.
- Coth 自动逐项作用于列表和矩阵. 相比之下,MatrixFunction 则可用于给出整个方阵的双曲余切值(即用矩阵幂次代替普通幂次的双曲余切函数的幂级数)而不是单个矩阵元素的双曲余切值.
- 对小的负的 x 值 Coth[x] 趋向于
而对大的正的 x 值则趋向于
. Coth 和 Cot 类似,也满足勾股恒等式,即
. 双曲余切函数的定义可由等式
和
扩展到复数变量
上. Coth 在
且
是整数的这些点处取得极值 ComplexInfinity. Coth[z] 在原点处的级数展开为
,可由伯努利数 BernoulliB 构成的项表示. - Coth 的反函数是 ArcCoth. 其他相关的数学函数有 Tanh、Cot 和 Cosh.
范例
打开所有单元 关闭所有单元基本范例 (5)
Coth[1.2]Plot[Coth[x], {x, -5, 5}]ComplexPlot3D[Coth[z], {z, -π / 2 - 3I, π / 2 + 3I}, PlotLegends -> Automatic]Series[Coth[x], {x, 0, 10}]Series[Coth[x], {x, 2I π, 3}]范围 (47)
数值计算 (6)
Coth[1.2]N[Coth[12 / 10], 50]Coth[1.20000000000000000000000]Coth 可接受复数:
Coth[2.5 + I]在高精度条件下高效计算 Coth:
Coth[1.2`500]//TimingCoth[1.2`100000];//TimingCoth[{{(π/3)I, -(π/3)I}, {0, -(π/6)I}}]或用 MatrixFunction 计算矩阵形式的 Coth 函数:
MatrixFunction[Coth[#]&, {{(π/3)I, -(π/3)I}, {0, -(π/6)I}}]用 Interval 和 CenteredInterval 对象计算最坏情况下的区间:
Coth[Interval[{Log[2], Log[7]}]]Coth[CenteredInterval[1, 1 / 100]]Coth[CenteredInterval[2 + 3I, (1 + I) / 100]]或用 Around 计算一般情况下的统计区间:
Coth[Around[Sqrt[3], 0.1]]特殊值 (5)
Coth 在纯虚数点上的值:
Table[Coth[I(π/12)n], {n, 1, 6}]Coth[Infinity]Coth[ComplexInfinity]Coth 的奇点:
Coth[0]f[x_] := Coth[x] - Log[3];sol = Solve[f[x] == 0 && 0 < x, x]xzero = x /. First[sol]Plot[f[x], {x, 0, 4}, Epilog -> Style[Point[{xzero, f[xzero]}], PointSize[Large], Red]]Coth[I Pi / 3]更复杂的情形需要使用 FunctionExpand:
Coth[I Pi / 24]FunctionExpand[%]可视化 (3)
绘制 Coth 函数:
Plot[Coth[x], {x, -5, 5}]ComplexContourPlot[Re[Coth[z]], {z, -3 - 3 I, 3 + 3 I}, IconizedObject[«PlotOptions»]]ComplexContourPlot[Im[Coth[z]], {z, -3 - 3 I, 3 + 3 I}, IconizedObject[«PlotOptions»]]Table[PolarPlot[Coth[k ϕ], {ϕ, -π / 2, 3π}, Sequence[Frame -> True, Exclusions -> All, FrameTicks -> {{{-1, 0, 1}, None}, {{-1, 0, 1}, None}}, PlotRange -> {{-2, 2}, {-1.5, 1.5}}, PlotLabel -> "k=" <> ToString[k]]], {k, 1, 6}]函数属性 (12)
Coth 是针对除 0 之外的所有实数定义的:
FunctionDomain[Coth[x], x]FunctionDomain[Coth[z], z, Complexes]Coth 的值域是开区间
之外的所有实数:
FunctionRange[Coth[x], x, y]Coth 是一个奇函数:
Coth[-x]Coth 具有镜像属性
:
FullSimplify[Coth[Conjugate[z]] == Conjugate[Coth[z]]]Coth 不是解析函数:
FunctionAnalytic[Coth[x], x]FunctionMeromorphic[Coth[x], x]Coth 既不是非递增,也不是非递减:
FunctionMonotonicity[Coth[x], x]Coth 是单射函数:
FunctionInjective[Coth[x], x]Plot[{Coth[x], 2}, {x, -4, 4}]Coth 不是满射函数:
FunctionSurjective[Coth[x], x]Limit[Coth[x], x -> ∞]Plot[{Coth[x], .5}, {x, -4, 4}]Coth 既不是非负,也不是非正:
FunctionSign[Coth[x], x]FunctionSingularities[Coth[x], x]FunctionDiscontinuities[Coth[x], x]Coth 既不凸,也不凹:
FunctionConvexity[Coth[x], x]TraditionalForm 格式:
Coth[x]//TraditionalForm微分 (3)
D[Coth[x], x]Table[D[Coth[x], {x, n}], {n, 1, 4}]Plot[Evaluate[%], {x, -3, 3}, PlotLegends -> {"First Derivative", "Second Derivative", "Third Derivative", "Fourth Derivative"}]D[Coth[x], {x, n}]积分 (3)
Coth 的不定积分:
Integrate[Coth[x], x]Integrate[Coth[x], {x, -1, 1}, PrincipalValue -> True]Integrate[Coth[x]Sinh[x], x]Integrate[x ^ 2Coth[x], x]级数展开式 (3)
使用 Series 求泰勒级数展开:
Series[Coth[x], {x, Log[2], 7}]在
周围绘制 Coth 的前三个近似值:
terms = Normal@Table[Series[Coth[x], {x, Log[2], m}], {m, 0, 5, 2}];
Plot[{Coth[x], terms}, {x, .5, 1.5}]Coth 级数展开式的通项:
SeriesCoefficient[Coth[x], {x, 0, n}]Coth 可被应用于幂级数:
Coth[x + (x^2/2) + (x^3/9) + O[x]^4]积分变换 (2)
使用 LaplaceTransform 计算拉普拉斯变换:
LaplaceTransform[Coth[t], t, s]FourierTransform[Coth[ω], ω, t]函数恒等式和化简 (6)
倍角的 Coth:
Expand[Coth[2x], Trig -> True]TrigExpand[Coth[4x]]TrigReduce[%]和的 Coth:
TrigExpand[Coth[x + y]]TrigFactor[Coth[x] + Coth[y]]TrigExpand[%]ComplexExpand[Coth[x + I y]]TrigToExp[Coth[z]]函数表示 (4)
用 Cot 表示:
Simplify[I Cot[I y]]Simplify[BesselI[-(1/2), x] / BesselI[(1/2), x]]JacobiNS[z, 1]I JacobiSC[(π/2) - I z, 0](I MathieuC[1, 0, I z]/MathieuS[1, 0, I z])应用 (5)
Plot3D[Abs[Coth[x + I y]], {x, -2, 2}, {y, -2Pi, 2Pi}]With[{n = 3.}, Table[Sqrt[n]Coth[2 ^ k ArcTanh[Sqrt[n]]], {k, 0, 5}]]//ChopNestList[(# + 3 / #) / 2&, 1., 5]通过对与 Coth 的乘积进行积分,求玻色子松源(Matsubara)频率的和:
NIntegrate[Coth[x] / (x + 2), {x, 1 + 11Pi / 2I, -1 + 11Pi / 2I, -1 - 11Pi / 2I, 1 - 11Pi / 2I, 1 + 11Pi / 2I}]//Chop2Pi I Sum[Residue[Coth[x] / (x + 2), {x, k I Pi}], {k, -5, 5}]//N//Chop磁场中与温度相关的偶极矩的布里渊 (Brillouin) 函数:
bf[j_, T_] := (1 + (1/2j))Coth[(1 + (1/2j))(1/T)] - (1/2j)Coth[(1/2j)(1/T)]Series[bf[j, T], {T, Infinity, 2}]Limit[bf[j, T], T -> 0, Assumptions -> j > 0, Direction -> -1]用 Coth 函数作为非齐次部分,解微分方程:
DSolve[y'[x] - x y[x] - Coth[x] == 0, y[x], x]属性和关系 (11)
自动应用 Coth 的基本奇偶性和周期性:
Coth[x + Pi I]Coth[-x]Coth[I x]用 Simplify 和 FullSimplify 化简包含 Coth 的表达式:
Simplify[2Coth[2z] / (1 + Coth[z] ^ 2)]FullSimplify[Coth[Log[GoldenRatio]]]用 FunctionExpand 将特殊值表示为根式:
FunctionExpand[Coth[I Pi / 16]]{Coth[ArcCoth[z]], Coth[2ArcCoth[z]], Coth[3ArcCoth[z]]}FunctionExpand[%]//SimplifyReduce[Coth[z]^2 + Coth[z + 2] == 1, z]FindRoot[Coth[z]^3 - 3Coth[z + 1] + z == 3, {z, 1}]Reduce[Coth[a x + b] == c, x, Complexes]FourierTransform[Coth[t], t, s]//FullSimplify从求和和积分获得 Coth:
Sum[1 / (z ^ 2 + k ^ 2 Pi ^ 2), {k, 1, Infinity}]//SimplifyIntegrate[Csch[t] ^ 2, {t, I Pi / 2, z}]Coth 出现在特殊函数的特例中:
{WeierstrassP[I z, {3, 1}], JacobiCS[I z, 0]}Coth 是一个数值函数:
Attributes[Coth]NumericQ[Coth[2 + E]]可能存在的问题 (4)
Coth[10. ^ 30 I]N[Coth[10 ^ 30I], 20]有时需要增大 $MaxExtraPrecision 的值:
N[Coth[10 ^ 100 I], 20]Block[{$MaxExtraPrecision = 200}, N[Coth[10 ^ 100I], 20]]在无穷大处不存在幂级数,此时 Coth 有一个本质奇点:
Series[Coth[x], {x, Infinity, 2}]在 TraditionalForm 中,需要在自变量外加圆括号:
coth xcoth(x)巧妙范例 (1)
绘制无穷大处 Coth 的图形:
ContourPlot[Arg[Coth[1 / (x + I y)]], {x, -1 / 4, 1 / 4}, {y, -1 / 2, 1 / 2}, Exclusions -> {}, PlotPoints -> 60, MaxRecursion -> 1, Contours -> 10]技术笔记
-
▪
- 初等超越函数
相关指南
-
▪
- 双曲线函数
历史
1988年引入 (1.0) | 在以下年份被更新:1996 (3.0) ▪ 2021 (13.0)
文本
Wolfram Research (1988),Coth,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Coth.html (更新于 2021 年).
CMS
Wolfram 语言. 1988. "Coth." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2021. https://reference.wolfram.com/language/ref/Coth.html.
APA
Wolfram 语言. (1988). Coth. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Coth.html 年
BibTeX
@misc{reference.wolfram_2026_coth, author="Wolfram Research", title="{Coth}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Coth.html}", note=[Accessed: 16-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_coth, organization={Wolfram Research}, title={Coth}, year={2021}, url={https://reference.wolfram.com/language/ref/Coth.html}, note=[Accessed: 16-September-2026]}