雙曲函數及其反函數(Hyperbolic Functions and Their Inverses)

Basis
最後更新: 標籤: 初等函數

正如 (cosθ,sinθ)(\cos\theta, \sin\theta)θ\theta 變化時描繪單位圓 x2+y2=1x^2 + y^2 = 1,**雙曲函數(hyperbolic functions)**參數化了單位雙曲線 x2y2=1x^2 - y^2 = 1:點 (cosht,sinht)(\cosh t, \sinh t) 對每個實數 tt 都在該雙曲線上。除幾何圖像外,它們自然地作為微分方程 y=yy'' = y 的解出現,描述懸掛纜線的形狀(懸鏈線(catenary)),並在狹義相對論的勞侖茲變換(Lorentz boosts)中出現。與三角函數的對應物不同,它們不是週期的——它們直接由指數函數建構。

定義

**雙曲餘弦(hyperbolic cosine)雙曲正弦(hyperbolic sine)**定義為

coshxex+ex2,sinhxexex2.(1)\cosh x \coloneqq \frac{e^x + e^{-x}}{2}, \qquad \sinh x \coloneqq \frac{e^x - e^{-x}}{2}. \tag{1}

可以把 coshx\cosh x 看作指數的偶數部分sinhx\sinh x 看作奇數部分,因為 ex=coshx+sinhxe^x = \cosh x + \sinh xex=coshxsinhxe^{-x} = \cosh x - \sinh x

其餘四個雙曲函數定義為這兩者的比值:

tanhxsinhxcoshx,cothxcoshxsinhx,\tanh x \coloneqq \frac{\sinh x}{\cosh x}, \qquad \operatorname{coth} x \coloneqq \frac{\cosh x}{\sinh x}, sechx1coshx,cschx1sinhx.\operatorname{sech} x \coloneqq \frac{1}{\cosh x}, \qquad \operatorname{csch} x \coloneqq \frac{1}{\sinh x}.

注意 cothx\operatorname{coth} xcschx\operatorname{csch} xx=0x = 0 處無定義,因為那裡 sinh0=0\sinh 0 = 0

基本恆等式

雙曲函數之間的核心代數關係是

cosh2xsinh2x=1.\cosh^2 x - \sinh^2 x = 1.

推導。 代入定義 (1)(1)

cosh2xsinh2x=(ex+ex2) ⁣2(exex2) ⁣2=(ex+ex)2(exex)24.\cosh^2 x - \sinh^2 x = \left(\frac{e^x + e^{-x}}{2}\right)^{\!2} - \left(\frac{e^x - e^{-x}}{2}\right)^{\!2} = \frac{(e^x + e^{-x})^2 - (e^x - e^{-x})^2}{4}.

利用代數恆等式 (a+b)2(ab)2=4ab(a + b)^2 - (a - b)^2 = 4ab,令 a=exa = e^xb=exb = e^{-x},分子變為 4exex=4e0=44e^x e^{-x} = 4e^0 = 4。除以 4411\square

這與圓的恆等式 cos2θ+sin2θ=1\cos^2\theta + \sin^2\theta = 1 相呼應,並確認了 (cosht,sinht)(\cosh t,\, \sinh t) 對所有實數 tt 都在單位雙曲線 x2y2=1x^2 - y^2 = 1 上。

加法公式

對所有實數 xxyy

cosh(x+y)=coshxcoshy+sinhxsinhy,\cosh(x + y) = \cosh x \cosh y + \sinh x \sinh y, sinh(x+y)=sinhxcoshy+coshxsinhy.\sinh(x + y) = \sinh x \cosh y + \cosh x \sinh y.

可以代入定義 (1)(1) 展開來驗證。與圓函式的公式 cos(x+y)=cosxcosysinxsiny\cos(x+y) = \cos x\cos y - \sin x\sin ysin(x+y)=sinxcosy+cosxsiny\sin(x+y) = \sin x\cos y + \cos x\sin y 相比:cosh\cosh 的加法公式在餘弦公式有 - 號的地方出現了 ++ 號。這個符號差異直接源於基本恆等式的符號差異(cosh2sinh2=1\cosh^2 - \sinh^2 = 1 對比 cos2+sin2=1\cos^2 + \sin^2 = 1)。

導函數

對定義 (1)(1) 關於 xx 逐項求導:

(coshx)=exex2=sinhx,(sinhx)=ex+ex2=coshx.(\cosh x)' = \frac{e^x - e^{-x}}{2} = \sinh x, \qquad (\sinh x)' = \frac{e^x + e^{-x}}{2} = \cosh x.

所以 sinh\sinhcosh\cosh 互為對方的導函數——它們互換,而 sin\sincos\cos 每次求導都帶符號變化地交替。

tanh\tanh,應用商法則(quotient rule)再利用基本恆等式:

(tanhx)=(sinhx)coshxsinhx(coshx)cosh2x=cosh2xsinh2xcosh2x=1cosh2x=sech2x.(\tanh x)' = \frac{(\sinh x)'\cosh x - \sinh x\,(\cosh x)'}{\cosh^2 x} = \frac{\cosh^2 x - \sinh^2 x}{\cosh^2 x} = \frac{1}{\cosh^2 x} = \operatorname{sech}^2 x.

再次應用基本恆等式得另一種形式 sech2x=1tanh2x\operatorname{sech}^2 x = 1 - \tanh^2 x,所以

(tanhx)=sech2x=1tanh2x.(\tanh x)' = \operatorname{sech}^2 x = 1 - \tanh^2 x.

其餘三個函式的導函數由商法則和鏈式法則(chain rule)得出:

(cothx)=csch2x,(sechx)=sechxtanhx,(cschx)=cschxcothx.(\operatorname{coth} x)' = -\operatorname{csch}^2 x, \qquad (\operatorname{sech} x)' = -\operatorname{sech} x\tanh x, \qquad (\operatorname{csch} x)' = -\operatorname{csch} x\operatorname{coth} x.

cosh 和 sinh 的性質

  • cosh\cosh偶函式(even)cosh(x)=coshx\cosh(-x) = \cosh x。由 AM-GM 不等式,ex+ex2exex=2e^x + e^{-x} \geq 2\sqrt{e^x \cdot e^{-x}} = 2,所以對所有 xRx \in \mathbb{R}coshx1\cosh x \geq 1,等號僅在 x=0x = 0 處成立。y=coshxy = \cosh x 的圖形是懸鏈線(catenary)——均勻柔索在重力作用下懸掛所呈現的形狀。
  • sinh\sinh奇函式(odd)sinh(x)=sinhx\sinh(-x) = -\sinh x。它在整個 R\mathbb{R} 上嚴格遞增(因為 (sinhx)=coshx1>0(\sinh x)' = \cosh x \geq 1 > 0),值域為 R\mathbb{R}
  • tanh\tanh 是奇函式且嚴格遞增,將 R\mathbb{R} 映射到開區間 (1,1)(-1, 1)。當 x±x \to \pm\infty 時,ex0e^{-|x|} \to 0 迫使 tanhx±1\tanh x \to \pm 1,所以 y=±1y = \pm 1 是水平漸近線。

反雙曲函數

由於 sinh\sinhR\mathbb{R} 上嚴格遞增,它有全局反函式。對於 cosh\cosh,必須限制在 [0,)[0, \infty) 上,那裡它嚴格遞增。tanh\tanh 的自然定義域是 R\mathbb{R},值域為 (1,1)(-1, 1)

值得注意的是,三個反函式都有關於對數的**封閉形式(closed-form)**表達式。

反雙曲正弦(Arsinh)

y=sinhx=exex2y = \sinh x = \dfrac{e^x - e^{-x}}{2},解出 xx。兩側乘以 2ex2e^x

e2x2yex1=0.e^{2x} - 2y\,e^x - 1 = 0.

這是關於 exe^x 的二次方程。二次公式給出 ex=y±y2+1e^x = y \pm \sqrt{y^2 + 1}。由於 ex>0e^x > 0y2+1>y\sqrt{y^2+1} > |y|,只有正根合法。取對數:

arsinhxln ⁣(x+x2+1),xR.\operatorname{arsinh} x \coloneqq \ln\!\left(x + \sqrt{x^2 + 1}\right), \qquad x \in \mathbb{R}.

反雙曲餘弦(Arcosh)

y=coshx=ex+ex2y = \cosh x = \dfrac{e^x + e^{-x}}{2}x0x \geq 0),解出。兩側乘以 2ex2e^x

e2x2yex+1=0,e^{2x} - 2y\,e^x + 1 = 0,

所以 ex=y±y21e^x = y \pm \sqrt{y^2 - 1}。這要求 y1y \geq 1。對 x0x \geq 0,較大的根對應 x0x \geq 0,故選 ++ 號。取對數:

arcoshxln ⁣(x+x21),x1.\operatorname{arcosh} x \coloneqq \ln\!\left(x + \sqrt{x^2 - 1}\right), \qquad x \geq 1.

反雙曲正切(Artanh)

y=tanhx=exexex+exy = \tanh x = \dfrac{e^x - e^{-x}}{e^x + e^{-x}},解出。令 u=e2xu = e^{2x}

y=u1u+1y(u+1)=u1u=1+y1y.y = \frac{u - 1}{u + 1} \quad\Longrightarrow\quad y(u + 1) = u - 1 \quad\Longrightarrow\quad u = \frac{1 + y}{1 - y}.

由於 u=e2xu = e^{2x},取對數得 2x=ln ⁣1+y1y2x = \ln\!\dfrac{1+y}{1-y},因此:

artanhx12ln1+x1x,x<1.\operatorname{artanh} x \coloneqq \frac{1}{2}\ln\frac{1 + x}{1 - x}, \qquad |x| < 1.

限制 x<1|x| < 1tanh\tanh 的值域一致,並確保對數內的 1+x1 + x1x1 - x 均嚴格為正。

反雙曲函數的導函數

可以直接對對數表達式微分,也可以應用反函式定理,兩種方法如下所示。

反雙曲正弦的導函數

arsinhx=ln ⁣(x+x2+1)\operatorname{arsinh} x = \ln\!\left(x + \sqrt{x^2+1}\right) 求導:

(arsinhx)=1x+x2+1(1+xx2+1)=1x+x2+1x+x2+1x2+1=1x2+1.(\operatorname{arsinh} x)' = \frac{1}{x + \sqrt{x^2+1}} \cdot \left(1 + \frac{x}{\sqrt{x^2+1}}\right) = \frac{1}{x + \sqrt{x^2+1}} \cdot \frac{x + \sqrt{x^2+1}}{\sqrt{x^2+1}} = \frac{1}{\sqrt{x^2+1}}. arsinh(x)=1x2+1,xR.\operatorname{arsinh}'(x) = \frac{1}{\sqrt{x^2 + 1}}, \qquad x \in \mathbb{R}.

反雙曲餘弦的導函數

arcoshx=ln ⁣(x+x21)\operatorname{arcosh} x = \ln\!\left(x + \sqrt{x^2-1}\right)x>1x > 1)求導:

(arcoshx)=1x+x21(1+xx21)=1x+x21x+x21x21=1x21.(\operatorname{arcosh} x)' = \frac{1}{x + \sqrt{x^2-1}} \cdot \left(1 + \frac{x}{\sqrt{x^2-1}}\right) = \frac{1}{x + \sqrt{x^2-1}} \cdot \frac{x + \sqrt{x^2-1}}{\sqrt{x^2-1}} = \frac{1}{\sqrt{x^2-1}}. arcosh(x)=1x21,x>1.\operatorname{arcosh}'(x) = \frac{1}{\sqrt{x^2 - 1}}, \qquad x > 1.

反雙曲正切的導函數

改寫 artanhx=12ln(1+x)12ln(1x)\operatorname{artanh} x = \dfrac{1}{2}\ln(1+x) - \dfrac{1}{2}\ln(1-x) 並對 x<1|x| < 1 求導:

(artanhx)=1211+x+1211x=12(1x)+(1+x)(1+x)(1x)=11x2.(\operatorname{artanh} x)' = \frac{1}{2} \cdot \frac{1}{1+x} + \frac{1}{2} \cdot \frac{1}{1-x} = \frac{1}{2} \cdot \frac{(1-x) + (1+x)}{(1+x)(1-x)} = \frac{1}{1 - x^2}. artanh(x)=11x2,x<1.\operatorname{artanh}'(x) = \frac{1}{1 - x^2}, \qquad |x| < 1.

反三角函數中的 arctan(x)=11+x2\arctan'(x) = \dfrac{1}{1+x^2} 相比:兩者唯一的差別是分母中的符號,這反映了 cosh2sinh2=1\cosh^2 - \sinh^2 = 1cos2+sin2=1\cos^2 + \sin^2 = 1 的符號差異。

導函數彙整

六個雙曲函數的導函數,彙整供參考:

函式導函數
sinhx\sinh xcoshx\cosh x
coshx\cosh xsinhx\sinh x
tanhx\tanh xsech2x\operatorname{sech}^2 x
cothx\operatorname{coth} xcsch2x-\operatorname{csch}^2 x
sechx\operatorname{sech} xsechxtanhx-\operatorname{sech} x\tanh x
cschx\operatorname{csch} xcschxcothx-\operatorname{csch} x\operatorname{coth} x

摘要

  • 雙曲函數由指數函數定義:coshxex+ex2\cosh x \coloneqq \dfrac{e^x+e^{-x}}{2}sinhxexex2\sinh x \coloneqq \dfrac{e^x-e^{-x}}{2}tanhxsinhxcoshx\tanh x \coloneqq \dfrac{\sinh x}{\cosh x}
  • 基本恆等式 cosh2xsinh2x=1\cosh^2 x - \sinh^2 x = 1 與畢達哥拉斯恆等式相呼應,說明 (cosht,sinht)(\cosh t, \sinh t) 在單位雙曲線上。
  • 導函數(sinhx)=coshx(\sinh x)' = \cosh x(coshx)=sinhx(\cosh x)' = \sinh x(tanhx)=sech2x(\tanh x)' = \operatorname{sech}^2 x
  • cosh\cosh偶函式coshx1\cosh x \geq 1sinh\sinh奇函式且嚴格遞增,值域為 R\mathbb{R}tanh\tanhR\mathbb{R} 映射到 (1,1)(-1, 1)
  • 反雙曲函數有封閉形式的對數表達式,由代數求解得出:
    • arsinhx=ln ⁣(x+x2+1)\operatorname{arsinh} x = \ln\!\left(x + \sqrt{x^2+1}\right),定義在 R\mathbb{R} 上。
    • arcoshx=ln ⁣(x+x21)\operatorname{arcosh} x = \ln\!\left(x + \sqrt{x^2-1}\right),定義在 [1,)[1, \infty) 上。
    • artanhx=12ln1+x1x\operatorname{artanh} x = \dfrac{1}{2}\ln\dfrac{1+x}{1-x},定義在 (1,1)(-1, 1) 上。
  • 其導函數——1x2+1\dfrac{1}{\sqrt{x^2+1}}1x21\dfrac{1}{\sqrt{x^2-1}}11x2\dfrac{1}{1-x^2}——與反三角函數的導函數密切對應,差別僅在根號下及分母中的符號。