跳至主要內容

函数

大约 3 分钟

函数

注意

该笔记尚未完成

函数性质速览

三角函数

正弦函数

  • 符号 sin⁡\sin
  • 定义域 (−∞,∞)(-\infty,\infty)
  • 值域 [−1,1][-1,1]
  • 周期 2π2\pi
  • 导数

ddxsin⁡x=cos⁡x \frac{\mathrm{d}}{\mathrm{d}x}\sin x=\cos x

  • 图像

余弦函数

  • 符号 cos⁡\cos
  • 定义域 (−∞,∞)(-\infty,\infty)
  • 值域 [−1,1][-1,1]
  • 周期 2π2\pi
  • 导数

ddxcos⁡x=−sin⁡x \frac{\mathrm{d}}{\mathrm{d}x}\cos x=-\sin x

  • 图像

正切函数

  • 符号 tan⁡\tan
  • 定义域 {x∈R∣x≠kπ+π2,k∈Z}\{x\in\R|x\neq k\pi+\frac{\pi}{2},k\in Z\}
  • 值域 (−∞,∞)(-\infty,\infty)
  • 周期 π\pi
  • 表达式

tan⁡x=cos⁡xsin⁡x \tan x=\frac{\cos x}{\sin x}

  • 导数

ddxtan⁡x=1cos⁡2x \frac{\mathrm{d}}{\mathrm{d}x}\tan x=\frac{1}{\cos^2 x}

  • 图像

对数与指数函数

指数函数

  • 符号 exp⁡,ex\exp,e^x
  • 定义域 (−∞,∞)(-\infty,\infty)
  • 值域 [0,∞)[0,\infty)
  • 导数

ddxex=ex \frac{\mathrm{d}}{\mathrm{d}x}e^x=e^x

  • 图像

对数函数

  • 符号 ln⁡\ln
  • 定义域 [0,∞)[0,\infty)
  • 值域 (−∞,∞)(-\infty,\infty)
  • 导数

ddxln⁡x=1x \frac{\mathrm{d}}{\mathrm{d}x}\ln x=\frac{1}{x}

  • 图像

反三角函数

反正弦函数

  • 符号 arcsin⁡\arcsin
  • 定义域 [−1,1][-1,1]
  • 值域 [−π2,π2][-\frac{\pi}{2},\frac{\pi}{2}]
  • 导数

ddxarcsin⁡x=11−x2 \frac{\mathrm{d}}{\mathrm{d}x}\arcsin x=\frac{1}{\sqrt{1-x^2}}

  • 图像

反余弦函数

  • 符号 arccos⁡\arccos
  • 定义域 [−1,1][-1,1]
  • 值域 [0,π][0,\pi]
  • 导数

ddxarccos⁡x=−11−x2 \frac{\mathrm{d}}{\mathrm{d}x}\arccos x=\frac{-1}{\sqrt{1-x^2}}

  • 图像

反正切函数

  • 符号 arctan⁡\arctan
  • 定义域 (−∞,∞)(-\infty,\infty)
  • 值域 [−π2,π2][-\frac{\pi}{2},\frac{\pi}{2}]
  • 导数

ddxarccos⁡x=11+x2 \frac{\mathrm{d}}{\mathrm{d}x}\arccos x=\frac{1}{1+x^2}

  • 图像

四象限反正切函数

  • 符号 Arctan⁡(x,y)\operatorname{Arctan}(x,y) 通常用于获取向量 (x,y)(x,y) 与 xx 轴的夹角
  • 定义域 x,y∈Rx,y\in\R
  • 值域 (−π,π](-\pi,\pi]
  • 表达式

Arctan⁡(x,y)={arctan⁡yx,x>0arctan⁡yx+π,x<0,y≥0arctan⁡yx−π,x<0,y<0π2,x=0,y>0−π2,x=0,y<00,x=0,y=0 \operatorname{Arctan}(x,y)=\begin{cases} \arctan\frac{y}{x}&,x>0\\ \arctan\frac{y}{x}+\pi&,x<0,y\ge 0\\ \arctan\frac{y}{x}-\pi&,x<0,y<0\\ \frac{\pi}{2}&,x=0,y>0\\ -\frac{\pi}{2}&,x=0,y<0\\ 0&,x=0,y=0 \end{cases}

推导图像如下

注意

  • 一般编程中使用的是 arctan2(y,x), 与上述定义存在差异
  • Arctan⁡(x⋅b,y⋅b)≠Arctan⁡(x,y)\operatorname{Arctan}(x \cdot b,y \cdot b) \neq \operatorname{Arctan}(x,y), 但可通过判断 bb 的符号使用 ±1\pm 1 代替
  • Arctan⁡(x⋅b,y⋅b)=Arctan⁡(x,y)(b>0)\operatorname{Arctan}(x \cdot b,y \cdot b) = \operatorname{Arctan}(x,y) (b>0), 如果 b>0b>0 如 b=x2+y2b=x^2+y^2 则可以通分

参考文献 https://wuli.wiki/online/Arctan.htmlopen in new window

双曲函数

双曲正弦函数

  • 符号 sinh⁡,sh⁡\sinh,\sh
  • 表达式

sinh⁡x=ex−e−x2 \sinh x=\frac{e^x-e^{-x}}{2}

  • 图像

双曲余弦函数

  • 符号 cosh⁡,ch⁡\cosh,\ch
  • 表达式

cosh⁡x=ex+e−x2 \cosh x=\frac{e^x+e^{-x}}{2}

  • 图像

函数公式

三角函数公式

诱导公式

sin⁡(π2−θ)=cos⁡θ \sin(\frac{\pi}{2}-\theta)=\cos\theta

cos⁡(π2−θ)=sin⁡θ \cos(\frac{\pi}{2}-\theta)=\sin\theta

sin⁡(π−θ)=sin⁡θ \sin(\pi-\theta)=\sin\theta

cos⁡(π−θ)=−cos⁡θ \cos(\pi-\theta)=-\cos\theta

sin⁡(2π+θ)=sin⁡θ \sin(2\pi+\theta)=\sin\theta

cos⁡(2π+θ)=cos⁡θ \cos(2\pi+\theta)=\cos\theta

两角和公式

两角和公式

sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B \sin(A+B)=\sin A\cos B+\cos A\sin B

cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B \cos(A+B)=\cos A\cos B-\sin A\sin B

tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B \tan(A+B)=\frac{\tan A+\tan B}{1-\tan A\tan B}

辅助角公式 (求解方程 asin⁡θ+bcos⁡θ=Ca\sin\theta+b\cos\theta=C 中的 θ\theta)

asin⁡θ+bcos⁡θ=a2+b2sin⁡(θ+arctan⁡ba) a\sin\theta+b\cos\theta=\sqrt{a^2+b^2}\sin(\theta+\arctan\frac{b}{a})

和差化积公式

sin⁡A+sin⁡B=2sin⁡[A+B2]cos⁡[A−B2] \sin A+\sin B=2\sin[\frac{A+B}{2}]\cos[\frac{A-B}{2}]

cos⁡A+cos⁡B=2cos⁡[A+B2]cos⁡[A−B2] \cos A+\cos B=2\cos[\frac{A+B}{2}]\cos[\frac{A-B}{2}]

积化和差公式

sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)] \sin A\cos B=\frac{1}{2}[\sin(A+B)+\sin(A-B)]

cos⁡Acos⁡B=12[cos⁡(A+B)+cos⁡(A−B)] \cos A\cos B=\frac{1}{2}[\cos(A+B)+\cos(A-B)]

sin⁡Asin⁡B=12[−cos⁡(A+B)+cos⁡(A−B)] \sin A\sin B=\frac{1}{2}[-\cos(A+B)+\cos(A-B)]

万能公式

将仅含三角函数的超越方程转换为多项式方程

x=tan⁡θ2 x=\tan\frac{\theta}{2}

cos⁡θ=1−x21+x2 \cos\theta=\frac{1-x^2}{1+x^2}

sin⁡θ=2x1+x2 \sin\theta=\frac{2x}{1+x^2}

反三角函数公式

反正切函数公式

arctan⁡(−x)=−arctan⁡x \arctan (-x)=-\arctan x

π2−arctan⁡xy=arctan⁡yx \frac{\pi}{2}-\arctan \frac{x}{y}=\arctan\frac{y}{x}

arctan⁡A+arctan⁡B=arctan⁡(A+B1−AB) \arctan A+\arctan B=\arctan(\frac{A+B}{1-AB})

指数对数函数公式

指数性质

(ea)b=eab (e^{a})^{b}=e^{ab}

eaeb=ea+b e^{a}e^{b}=e^{a+b}

ealn⁡x=xa e^{a\ln x}=x^a

e0=1 e^{0}=1

对数性质

alog⁡ab=b a^{\log_a b}=b

log⁡a(AB)=log⁡aA+log⁡aB \log_a (AB)=\log_a A+\log_a B

log⁡a(Ak)=klog⁡aA \log_a (A^k)=k\log_a A

log⁡1=0 \log 1=0

换底公式

log⁡ab=log⁡cblog⁡ca \log_a b=\frac{\log_c b}{\log_c a}

函数变换