這個計算機能做什麼
本工具可計算實數(無量綱)x 的六個雙曲函數:對應正弦、餘弦、正切的 sinh、cosh、tanh,以及它們的倒數 csch(餘割)、sech(正割)與 coth(餘切)。這裡的 x 是純數值,並不是以「度」為單位的角度,因此不會進行度與弧度的轉換。雙曲函數在物理與工程中無所不在:懸掛纜繩的形狀(懸鏈線)、狹義相對論、訊號處理、熱傳導,以及許多微分方程的解,都會用到它們。
使用方式
輸入任意實數 x,並選擇要顯示的有效位數,計算機就會一次傳回全部六個函數值。由於 cosh(x) 恆大於等於 1,所以 sech(x) 永遠有定義;但 sinh(0) = 0 且 tanh(0) = 0,因此 csch(0) 與 coth(0) 會出現除以零的情形,結果會標示為「未定義」。
公式解析
所有函數都由指數函數推導而來。令 ep = e^x、en = e^(-x):sinh(x) = (ep − en)/2 代表指數函數的奇部,cosh(x) = (ep + en)/2 代表偶部,而 tanh(x) = sinh(x)/cosh(x)。倒數則直接由此導出:csch = 1/sinh、sech = 1/cosh、coth = 1/tanh。一個恆成立的實用恆等式是 cosh²(x) − sinh²(x) = 1,這正是畢氏恆等式在雙曲函數中的對應形式。
實例演算(x = 1)
取 e = 2.718281828…、e^(-1) = 0.367879441…:sinh(1) = (2.718281828 − 0.367879441)/2 = 1.175201194;cosh(1) = (2.718281828 + 0.367879441)/2 = 1.543080635;tanh(1) = 1.175201194 / 1.543080635 = 0.761594156。倒數則為 csch(1) = 0.850918128、sech(1) = 0.648054274、coth(1) = 1.313035285。
常見 x 的雙曲函數值
此表列出選定非負 x 的 sinh、cosh 與 tanh,四捨五入至小數點後 6 位。負輸入可依對稱性求得:\(\sinh(-x) = -\sinh x\)、\(\tanh(-x) = -\tanh x\) 與 \(\cosh(-x) = \cosh x\)。
| x | sinh x | cosh x | tanh x |
|---|---|---|---|
| 0 | 0.000000 | 1.000000 | 0.000000 |
| 0.5 | 0.521095 | 1.127626 | 0.462117 |
| 1 | 1.175201 | 1.543081 | 0.761594 |
| 2 | 3.626860 | 3.762196 | 0.964028 |
| 3 | 10.017875 | 10.067662 | 0.995055 |
| 5 | 74.203211 | 74.209949 | 0.999909 |
例如,當 x = −1 時:sinh = −1.175201、cosh = 1.543081、tanh = −0.761594。
極限行為:當 \(|x|\) 增大時,\(\tanh x\) 趨近於 +1(x 為正)或 −1(x 為負)。同時,\(\sinh x\) 與 \(\cosh x\) 都以 \(e^{|x|}/2\) 的速度增長,且兩者之差相對於其大小而言逐漸縮小(在 x = 5 時,兩者僅相差約 0.0067)。
重要雙曲恆等式與反函數
| 性質 | 公式 |
|---|---|
| 奇偶性 | \(\sinh(-x) = -\sinh x\)、\(\tanh(-x) = -\tanh x\)(奇函數);\(\cosh(-x) = \cosh x\)(偶函數) |
| 基本恆等式 | \(\cosh^2 x - \sinh^2 x = 1\) |
| Tanh / sech | \(1 - \tanh^2 x = \operatorname{sech}^2 x\) |
| Coth / csch | \(\coth^2 x - 1 = \operatorname{csch}^2 x\)(x ≠ 0) |
| 倒數關係 | \(\operatorname{csch} x = 1/\sinh x\)、\(\operatorname{sech} x = 1/\cosh x\)、\(\coth x = \cosh x/\sinh x\) |
| 和差公式(sinh) | \(\sinh(a \pm b) = \sinh a \cosh b \pm \cosh a \sinh b\) |
| 和差公式(cosh) | \(\cosh(a \pm b) = \cosh a \cosh b \pm \sinh a \sinh b\) |
| 倍角公式 | \(\sinh 2x = 2 \sinh x \cosh x\);\(\cosh 2x = \cosh^2 x + \sinh^2 x\) |
| 導數 | \(\dfrac{d}{dx}\sinh x = \cosh x\);\(\dfrac{d}{dx}\cosh x = \sinh x\);\(\dfrac{d}{dx}\tanh x = \operatorname{sech}^2 x\) |
| 反正弦雙曲函數 | \(\operatorname{asinh} x = \ln\left(x + \sqrt{x^2 + 1}\right)\),所有實數 x |
| 反餘弦雙曲函數 | \(\operatorname{acosh} x = \ln\left(x + \sqrt{x^2 - 1}\right)\),x ≥ 1(主值,非負分支) |
| 反正切雙曲函數 | \(\operatorname{atanh} x = \tfrac{1}{2}\ln\dfrac{1 + x}{1 - x}\),|x| < 1 |
常見問題
x 是以度為單位的角度嗎?不是。雙曲函數的引數是一個單純的實數,沒有角度模式,也不需要任何轉換。
為什麼 csch(0) 與 coth(0) 是未定義?兩者都要除以 sinh(0) = 0,因此沒有定義。計算機會直接標示為未定義,而不是傳回無限大。
哪些函數是偶函數、哪些是奇函數?sinh、tanh、csch 與 coth 是奇函數(f(−x) = −f(x));cosh 與 sech 則是偶函數(f(−x) = f(x))。