在幾何上依據以O為中心的單位圓可以構造角θ的很多三角函數
幾個三角函數的圖形,分別為正弦、餘弦、正切、餘切、正割、餘割和正矢。配色與上圖相同
單位圓的角度
在數學中,三角恆等式是對出現的所有值都為實變量,涉及到三角函數的等式。這些恆等式在表達式中有些三角函數需要簡化的時候是很有用的。一個重要應用是非三角函數的積分:一個常用技巧是首先使用使用三角函數的代換規則,則通過三角恆等式可簡化結果的積分。
為了避免由於
的不同意思所帶來的混淆,我們經常用下列兩個表格來表示三角函數的倒數和反函數。另外在表示餘割函數時,'
'有時會寫成比較長的'
'。
不同的角度度量適合於不同的情況。本表展示最常用的系統。弧度是缺省的角度量並用在指數函數中。所有角度度量都是無單位的。另外在計算機中角度的符號為D,弧度的符號為R,梯度的符號為G。
相同角度的轉換表
角度單位 |
值
|
計算機中代號
|
轉
|
|
|
|
|
|
|
|
|
無
|
角度
|
|
|
|
|
|
|
|
|
D
|
弧度
|
|
|
|
|
|
|
|
|
R
|
梯度
|
|
|
|
|
|
|
|
|
G
|
三角函數間的關係,可分成正函數和餘函數
畢達哥拉斯三角恆等式如下:
|
|
|
由上面的平方關係加上三角函數的基本定義,可以導出下面的表格,即每個三角函數都可以用其他五個表達。(嚴謹地說,所有根號前都應根據實際情況添加正負號)
函數
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
正矢、餘矢、半正矢、半餘矢、外正割用於航行。例如半正矢可以計算球體上的兩個點之間的距離,但它們不常用。
名稱
|
函數
|
值[1]
|
正矢, versine
|
![{\displaystyle \operatorname {versin} \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/127e743f69b0f3ab40c96e9d4cdaba5f196f0b95)
![{\displaystyle \operatorname {vers} \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/8323d244b596454c1cb660e976b2c11907dff76a)
|
|
餘的正矢, vercosine
|
|
|
餘矢, coversine
|
![{\displaystyle \operatorname {coversin} \theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/fd0b7aa4ccb4aabd27732c63ba5cab951dc88956)
|
|
餘的餘矢, covercosine
|
|
|
半正矢, haversine
|
|
|
餘的半正矢, havercosine
|
|
|
半餘矢, hacoversine cohaversine
|
|
|
餘的半餘矢, hacovercosine cohavercosine
|
|
|
外正割,exsecant
|
|
|
外餘割,excosecant
|
|
|
弦函數, chord
|
|
|
純虛數指數函數, cosine and imaginary unit sine
|
|
|
輻角,Argument
|
|
|
通過檢視單位圓,可確立三角函數的下列性質,這些性質也被稱為誘導公式:
當三角函數反射自某個特定的
值,結果經常是另一個其他三角函數。這導致了下列恆等式:
反射於
|
反射於
|
反射於
|
反射於
|
|
|
|
|
通過旋轉特定角度移位三角函數,經常可以找到更簡單的表達結果的不同的三角函數。例如通過旋轉
、
和
弧度移位函數。因爲這些函數的周期要麼是
要麼是
,所以新函數和沒有移位的舊函數完全一樣。
移位
|
移位
|
移位
|
移位
|
和 的周期
|
, , 和 的周期
|
|
|
|
|
正弦與餘弦的角和公式的圖形證明法。使用了相似三角形的性質與三角函數的定義,強調的線段是單位長度
正切的角和公式的圖形證明法。使用了相似三角形的性質與三角函數的定義,強調的線段是單位長度。
又稱做「和差定理」、「和差公式」或「和角公式」。最簡要的檢定方式是使用歐拉公式[註 1]。
根據
,以及和差恆等式,可以得到同角的正弦餘弦的和差關係,例如,
![{\displaystyle \sin \alpha +\cos \alpha ={\sqrt {2}}\left(\sin \alpha \cos {\frac {\pi }{4}}+\sin {\frac {\pi }{4}}\cos \alpha \right)={\sqrt {2}}\sin \left(\alpha +{\frac {\pi }{4}}\right)={\sqrt {2}}\cos \left(\alpha -{\frac {\pi }{4}}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f0c0fb41d5c542fd2db7e222834e833f85137e3b)
![{\displaystyle \sin \alpha -\cos \alpha ={\sqrt {2}}\left(\sin \alpha \cos {\frac {\pi }{4}}-\sin {\frac {\pi }{4}}\cos \alpha \right)={\sqrt {2}}\sin \left(\alpha -{\frac {\pi }{4}}\right)={\sqrt {2}}\cos \left(\alpha +{\frac {\pi }{4}}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/fe93ff6a9521a15be51972898e06a49d2f9b326b)
![{\displaystyle \sin \left(\sum _{i=1}^{\infty }\theta _{i}\right)=\sum _{\mathrm {odd} \ k\geq 1}(-1)^{\frac {k-1}{2}}\sum _{|A|=k}\left(\prod _{i\in A}\sin \theta _{i}\prod _{i\not \in A}\cos \theta _{i}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5abba37dff0d093de221c75ca1e5de54f9f030dd)
![{\displaystyle \cos \left(\sum _{i=1}^{\infty }\theta _{i}\right)=\sum _{\mathrm {even} \ k\geq 0}~(-1)^{\frac {k}{2}}~~\sum _{|A|=k}\left(\prod _{i\in A}\sin \theta _{i}\prod _{i\not \in A}\cos \theta _{i}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/48d3364dbe5f84cdac40c896369cfc690ca5eb14)
這里的"
"意味著索引
遍歷集合
的大小為
的所有子集的集合。
在這兩個恆等式中出現了在有限多項中不出現的不對稱:在每個乘積中,只有有限多個正弦因子和餘有限多個餘弦因子。
如果只有有限多項
是非零,則在右邊只有有限多項是非零,因為正弦因子將變為零,而在每個項中,所有卻有限多的餘弦因子將是單位一。
設
,對於
。設
是變量
,
,
的
次基本對稱多項式。則
![{\displaystyle \tan(\theta _{1}+\cdots +\theta _{n})={\frac {e_{1}-e_{3}+e_{5}-\cdots }{e_{0}-e_{2}+e_{4}-\cdots }},}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4f1265e10551473d7f8178ee0419f881b672331d)
項的數目依賴於
。例如,
![{\displaystyle {\begin{aligned}\tan(\theta _{1}+\theta _{2}+\theta _{3})&{}={\frac {e_{1}-e_{3}}{e_{0}-e_{2}}}={\frac {(x_{1}+x_{2}+x_{3})\ -\ (x_{1}x_{2}x_{3})}{1\ -\ (x_{1}x_{2}+x_{1}x_{3}+x_{2}x_{3})}},\\\\\tan(\theta _{1}+\theta _{2}+\theta _{3}+\theta _{4})&{}={\frac {e_{1}-e_{3}}{e_{0}-e_{2}+e_{4}}}\\\\&{}={\frac {(x_{1}+x_{2}+x_{3}+x_{4})\ -\ (x_{1}x_{2}x_{3}+x_{1}x_{2}x_{4}+x_{1}x_{3}x_{4}+x_{2}x_{3}x_{4})}{1\ -\ (x_{1}x_{2}+x_{1}x_{3}+x_{1}x_{4}+x_{2}x_{3}+x_{2}x_{4}+x_{3}x_{4})\ +\ (x_{1}x_{2}x_{3}x_{4})}},\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/7a697078eec8f2430079e789c6ad432924e0e86d)
並以此類推。一般情況可通過數學歸納法證明。
是 次切比雪夫多項式
|
|
是 次伸展多項式
|
|
棣莫弗定理, 是虛單位
|
|
。
(這個
的函數是狄利克雷核。)
這些公式可以使用和差恆等式或多倍角公式來證明。
|
弦 |
切 |
割
|
雙倍角公式
|
正
|
|
|
|
餘
|
|
|
|
降次公式
|
正
|
|
|
|
餘
|
|
|
|
三倍角公式
|
正
|
|
|
|
餘
|
|
|
|
半角公式
|
正
|
|
|
|
餘
|
|
|
|
參見正切半角公式,它也叫做「萬能公式」。
- 正矢
![{\displaystyle \operatorname {versin} 2\theta =2\sin ^{2}\theta ={\frac {(\sin 2\theta )(\sin \theta )}{\cos \theta }}=1-\cos 2\theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/aceb99e587c6ecb40d6b068d52b2ee7bb909b2f4)
- 餘矢
![{\displaystyle \operatorname {cvs} 2\theta =(\sin \theta -\cos \theta )^{2}=1-\sin 2\theta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/64294d6a4c979754ec9d557b7dd8d646a27dac73)
從解餘弦二倍角公式的第二和第三版本得到。
正弦
|
餘弦
|
其他
|
|
|
|
|
|
|
|
|
|
|
|
|
|
餘弦
|
正弦
|
如果 是奇數
|
|
|
如果 是偶數
|
|
|
[2]
[2]
,
,![{\displaystyle \prod _{k=1}^{n}\sin \left({\frac {k\pi }{2n+1}}\right)={\frac {\sqrt {2n+1}}{2^{n}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8d8fcab63c19214bcd9a304f5fc89ac86e2361b8)
,
,![{\displaystyle \prod _{k=1}^{n}\cos \left({\frac {k\pi }{2n+1}}\right)={\frac {1}{2^{n}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e493a383947ec9f455d9817ab0754828987e83a3)
,
,![{\displaystyle \prod _{k=1}^{n}\tan {\frac {k\pi }{2n+1}}={\sqrt {2n+1}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/720aef44f6ad5df0d4523a2deebb98d349a0184a)
數學家韋達在其三角學著作《應用於三角形的數學定律》給出積化和差與和差化積恆等式。積化和差恆等式可以通過展開角的和差恆等式的右手端來證明。
積化和差 |
和差化積
|
|
|
|
|
|
|
|
|
(可藉由積化和差公式+2倍角公式推導而來)
- 如果
,
- 那麼
![{\displaystyle \cot x\cot y+\cot y\cot z+\cot z\cot x=1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c78edf7300ae9d2baed840ffc0ef18cbd367b282)
- 如果
,
- 那麼
![{\displaystyle \cot x+\cot y+\cot z=\cot x\cot y\cot z}](https://wikimedia.org/api/rest_v1/media/math/render/svg/62d9c739bbc32734b9d3f6190112719647ff9082)
- 如果
,
- 那麼
![{\displaystyle \sin x+\sin y+\sin z=4\cos {\frac {x}{2}}\cos {\frac {y}{2}}\cos {\frac {z}{2}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f24c84765a8fa8c90d01cae62ba2ca8eca577163)
![{\displaystyle \cos x+\cos y+\cos z=1+4\sin {\frac {x}{2}}\sin {\frac {y}{2}}\sin {\frac {z}{2}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4f56787bd45bec901ba5ec0cc39811feeec6a74e)
- 如果
(半圓)
- 那麼:
![{\displaystyle {\begin{aligned}\sin(w+x)\sin(x+y)&=\sin(x+y)\sin(y+z)\\&=\sin(y+z)\sin(z+w)\\&{}=\sin(z+w)\sin(w+x)\\&{}=\sin w\sin y+\sin x\sin z\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b46648973a80e22e4237d4154b8e8b45e1750e6c)
(前三個等式是一般情況;第四個是本質。)
利用三角恆等式的指數定義和雙曲函數的指數定義即可求出下列恆等式:
所以
下表列出部分的三角函數與雙曲函數的恆等式:
三角函數
|
雙曲函數
|
|
|
|
|
|
|
|
|
|
|
|
|
![{\displaystyle \cosh ix={\tfrac {1}{2}}(e^{ix}+e^{-ix})=\cos x}](https://wikimedia.org/api/rest_v1/media/math/render/svg/32b0eaddee3f60e13c7d90dfdd65af6a53bd7dfc)
![{\displaystyle \sinh ix={\tfrac {1}{2}}(e^{ix}-e^{-ix})=i\sin x}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ab2b3b8b9e604ec1d266ae881c8a134ff1b94117)
![{\displaystyle \cosh(x+iy)=\cosh(x)\cos(y)+i\sinh(x)\sin(y)\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/337ae1d61cc17b94332c16bc9845f5d26220caea)
![{\displaystyle \sinh(x+iy)=\sinh(x)\cos(y)+i\cosh(x)\sin(y)\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/478f5c2af9ccda66f3ce5f56a1cf426348631d82)
![{\displaystyle \tanh ix=i\tan x\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c0f5afafaa14ea41f5e7439e3a2c905141516872)
![{\displaystyle \cosh x=\cos ix\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/53566b9877b11f34b7b27bdf17d4a68dd3da7bb0)
![{\displaystyle \sinh x=-i\sin ix\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c9acfb8a6ab10fcaa641b462fb69e022e9aabfdc)
![{\displaystyle \tanh x=-i\tan ix\,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/850c0fc502268e97af08452b7698e5fa43becd4d)
對於某些用途,知道同樣周期但不同相位移動的正弦波的任何線性組合是有相同周期但不同相位移動的正弦波是重要的。在正弦和餘弦波的線性組合的情況下,我們有
![{\displaystyle a\sin x+b\cos x={\sqrt {a^{2}+b^{2}}}\cdot \sin(x+\varphi )\;(a>0)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6f091c6d1ef31cb072eeed2fb823277bfa6c8af2)
這裡的
![{\displaystyle \varphi =\arctan \left({\frac {b}{a}}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/92dc3bf5564467a126709ce7cf03d558a3cdb831)
這個公式也叫輔助角公式或李善蘭公式。更一般的說,對於任何相位移動,我們有
![{\displaystyle a\sin x+b\sin(x+\alpha )=c\sin(x+\beta )\;(a+b\cos x>0)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e5f4ea909c9b399b0c1da7163b03de11de650ec2)
這裡
![{\displaystyle c={\sqrt {a^{2}+b^{2}+2ab\cos \alpha }},}](https://wikimedia.org/api/rest_v1/media/math/render/svg/997d6c4bdc8f20cf41faf1d17143e1fdf4c51fdf)
而
![{\displaystyle \beta =\arctan \left({\frac {b\sin \alpha }{a+b\cos \alpha }}\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6b07526ce1bd712f19547ebb198e3a23f181f0aa)
![{\displaystyle \arcsin x+\arccos x={\frac {\pi }{2}}\;}](https://wikimedia.org/api/rest_v1/media/math/render/svg/77cc100ac1ad39d471cd758ed503d74f221bab5f)
![{\displaystyle \arctan x+\operatorname {arccot} x={\frac {\pi }{2}}.\;}](https://wikimedia.org/api/rest_v1/media/math/render/svg/10400fb3c337b6a6490db1679f356a615c827c9b)
![{\displaystyle \arctan x+\arctan {\frac {1}{x}}=\left\{{\begin{matrix}{\frac {\pi }{2}},&{\mbox{if }}x>0\\-{\frac {\pi }{2}},&{\mbox{if }}x<0\end{matrix}}\right.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/aabac1ced39ee68830ff3f22887f23e06ae5f927)
![{\displaystyle \arctan x+\arctan y=\arctan {\frac {x+y}{1-xy}}+\left\{{\begin{matrix}\pi ,&{\mbox{if }}x,y>0\\-\pi ,&{\mbox{if }}x,y<0\\0,&{\mbox{otherwise }}\end{matrix}}\right.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/04f36240922788ef8548b05c56295b294867dd42)
為了用於特殊函數,有下列三角函數無窮乘積公式[3][4]:
正弦(藍色)、正弦的微分(橘色),其中,正弦的微分正好是餘弦。
餘弦(藍色)、餘弦的微分(橘色),其中,餘弦的微分正好是正弦的對x軸的鏡射。
在微積分中,下面陳述的關係要求角用弧度來度量;如果用其他方式比如角度來這些關係會變得更加複雜。如果三角函數以幾何的方式來定義,它們的導數可以通過驗證兩個極限而找到。第一個是:
![{\displaystyle \lim _{x\rightarrow 0}{\frac {\sin x}{x}}=1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/298e7d7055bdd323b03eac53de3e755814f80fc0)
可以使用單位圓和夾擠定理來驗證。如果用洛必達法則來證明這個極限,那也就用這個極限證明了正弦的導數是餘弦,並因此在應用洛必達法則中使用正弦的導數是餘弦的事實,就是邏輯謬論中的循環論證了。第二個極限是:
![{\displaystyle \lim _{x\rightarrow 0}{\frac {\cos x-1}{x}}=0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/dc57d2c09d6e33df63c9cb984290e74ff311db20)
使用恆等式
驗證。已經確立了這兩個極限,你可以使用導數的極限定義和加法定理來證明
和
。如果正弦和餘弦函數用它們的泰勒級數來定義,則導數可以通過冪級數逐項微分得到。
![{\displaystyle {d \over dx}\sin(x)=\cos(x)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b0292e5e62c680c10a355f65f02eb8a6e32f1b7d)
結果的三角函數可以使用上述恆等式和微分規則來做微分。
![{\displaystyle {\begin{aligned}{d \over dx}\sin x&=\cos x,&{d \over dx}\arcsin x&={1 \over {\sqrt {1-x^{2}}}}\\\\{d \over dx}\cos x&=-\sin x,&{d \over dx}\arccos x&=-{1 \over {\sqrt {1-x^{2}}}}\\\\{d \over dx}\tan x&=\sec ^{2}x,&{d \over dx}\arctan x&={1 \over 1+x^{2}}\\\\{d \over dx}\cot x&=-\csc ^{2}x,&{d \over dx}\operatorname {arccot} x&=-{1 \over 1+x^{2}}\\\\{d \over dx}\sec x&=\tan x\sec x,&{d \over dx}\operatorname {arcsec} x&={1 \over |x|{\sqrt {x^{2}-1}}}\\\\{d \over dx}\csc x&=-\csc x\cot x,&{d \over dx}\operatorname {arccsc} x&=-{1 \over |x|{\sqrt {x^{2}-1}}}\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4ef6a35a53a84719fa4a70f01a76dae6d0bec936)
在三角函數積分表中可以找到積分恆等式。
三角函數(正弦和餘弦)的微分是同樣兩個函數線性組合的事實在很多數學領域包括微分方程和傅立葉變換中是重要的基本原理。
函數
|
反函數
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- ^ Abramowitz and Stegun, p. 78, 4.3.147
- ^ 2.0 2.1 蘇學孟. 求三角函数乘积的常用方法. 中學數學教學. 1995, (6) [2014-12-27]. (原始內容存檔於2014-12-27).
- ^ Abramowitz and Stegun, p. 75, 4.3.89–90
- ^ Abramowitz and Stegun, p. 85, 4.5.68–69