余弦(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
|
|
|
|
|
|
余弦定理
余弦定理(也叫做余弦公式)是勾股定理的扩展:

也表示为:

这个定理也可以通过把三角形分为两个直角三角形来证明。余弦定律用于在一个三角形的两个边和一个角已知时确定未知的数据。
如果这个角不包含在这两个边之间,三角形可能不是唯一的(边-边-角全等歧义)。小心余弦定律的这种歧义情况。
參見