餘弦(cosine)是三角函數的一種。它的定義域是整個實數集,值域是
。它是周期函數,其最小正周期為
(360°)。在自變量為
(或
,其中
為整數)時,該函數有極大值1;在自變量為
(
)時,該函數有極小值-1。餘弦函數是偶函數,其圖像關於y軸對稱。
符號說明
餘弦的符號為
,取自拉丁文cosinus。該符號最早由瑞士數學家萊昂哈德·歐拉所採用。
定義
直角三角形中
直角三角形,∠C為直角,∠A 的角度為
, 對於 ∠A 而言,a為對邊、b為鄰邊、c為斜邊
在直角三角形中,一個銳角
的餘弦定義為它的鄰邊與斜邊的比值,也就是:

可以發現其定義和正割函數互為倒數。
直角坐標系中
設
是平面直角坐標系xOy中的一個象限角,
是角的終邊上一點,
是P到原點O的距離,則
的餘弦定義為:

單位圓定義
單位圓
圖像中給出了用弧度度量的某個公共角。逆時針方向的度量是正角,而順時針的度量是負角。設一個過原點的線,同x軸正半部分得到一個角
,並與單位圓相交。這個交點的y坐標等於
。
在這個圖形中的三角形確保了這個公式;半徑等於斜邊並有長度1,所以有了
。單位圓可以被認為是通過改變鄰邊和對邊的長度並保持斜邊等於1查看無限數目的三角形的一種方式。
對於大於
(360°)或小於
(-360°)的角度,簡單的繼續繞單位圓旋轉。在這種方式下,餘弦變成了周期為
(360°)的周期函數:

對於任何角度
和任何整數
。
級數定義

微分方程定義
由於餘弦的導數是負的正弦,正弦的導數是餘弦,因此餘弦函數滿足初值問題

這就是餘弦的微分方程定義。
指數定義

恆等式
用其它三角函數來表示餘弦
函數
|
sin
|
cos
|
tan
|
csc
|
sec
|
cot
|
|
|
|
|
|
|
|
兩角和差公式


二倍角公式

三倍角公式

半角公式

冪簡約公式


和差化積公式


萬能公式

含有餘弦的積分
















特殊值
弳度
|
|
|
|
|
|
|
|
|
|
|
|
角度
|
|
|
|
|
|
|
|
|
|
|
|
cos
|
|
|
|
|
|
|
|
|
|
|
|
角度
|
|
|
|
|
|
cos
|
|
|
|
|
|
餘弦定理
餘弦定理(也叫做餘弦公式)是勾股定理的擴展:

也表示為:

這個定理也可以通過把三角形分為兩個直角三角形來證明。餘弦定律用於在一個三角形的兩個邊和一個角已知時確定未知的數據。
如果這個角不包含在這兩個邊之間,三角形可能不是唯一的(邊-邊-角全等歧義)。小心餘弦定律的這種歧義情況。
參見