跳到正文

个人记录

常见函数导函数及推导过程

TG178X约 13 分钟
原文
文章信息与版本

文章信息

发布
2022年11月25日
收录
2025年12月12日
更新
2026年11月15日
篇幅
约 13 分钟

版本

  1. v1当前

函数决定你在哪里,而导函数决定你要去哪里。
——波校

#0 前置知识

#0.1 求导方法

#0.1.1 导数定义式

f′(x)=lim⁡h→0f(x+h)−f(x)h\boxed{f'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h}}


#0.1.2 隐函数求导

即对等式两边同时取导(通常搭配 ln⁡\ln 食用)


#0.1.3 乘积 / 商法则 / 链式求导法则

乘积法则:

if f3(x)=f1(x)⋅f2(x), f3′(x)=f1′(x)f2(x)+f1(x)f2′(x)\boxed{ \text{if } f_3(x)=f_1(x)\cdot f_2(x),\ f_3'(x)=f_1'(x)f_2(x)+f_1(x)f_2'(x) }


商法则:

if f6(x)=f4(x)f5(x), f6′(x)=f4′(x)f5(x)−f4(x)f5′(x)(f5(x))2\boxed{ \text{if } f_6(x)=\dfrac{f_4(x)}{f_5(x)},\ f_6'(x)=\dfrac{f_4'(x)f_5(x)-f_4(x)f_5'(x)}{\left(f_5(x)\right)^2} }

链式求导法则:

if f9(x)=f7(f8(x)), f9′(x)=f7′(f8(x))f8′(x)\boxed{ \text{if } f_9(x)=f_7(f_8(x)),\ f_9'(x)=f_7'(f_8(x))f_8'(x) }

#0.2 亿些公式


#0.2.1 二项式定理

(a+b)n(n∈N+)=∑m=1nCnmamb(n−m+1)=an+nan−1b+⋯+nabn−1+bn\boxed{ (a+b)^n(n\in\mathbb{N}+)=\sum\limits^{n}_{m=1}C^m_na^{m}b^{(n-m+1)}=a^n+na^{n-1}b+\dots+nab^{n-1}+b^n }


#0.2.2 关于三角函数

一些不那么常见的三角函数的定义式:

csc⁡(x)=1sin⁡(x)\boxed{ \csc(x)=\dfrac{1}{\sin(x)} }

sec⁡(x)=1cos⁡(x)\boxed{ \sec(x)=\dfrac{1}{\cos(x)} }

cot⁡(x)=1tan⁡(x)\boxed{ \cot(x)=\dfrac{1}{\tan(x)} }

一些常见的三角函数的和角公式:

sin⁡(α+β)=sin⁡(α)cos(β)+cos(α)sin(β)\boxed{ \sin(\alpha+\beta)=\sin(\alpha)cos(\beta)+cos(\alpha)sin(\beta) }

cos⁡(α+β)=cos⁡(α)cos⁡(β)−sin⁡(α)sin⁡(β)\boxed{ \cos(\alpha+\beta)=\cos(\alpha)\cos(\beta)-\sin(\alpha)\sin(\beta) }

tan⁡(α+β)=tan⁡(α)+tan⁡(β)1−tan⁡(α)tan⁡(β)\boxed{ \tan(\alpha+\beta)=\dfrac{\tan(\alpha)+\tan(\beta)}{1-\tan(\alpha)\tan(\beta)} }

一些常见的三角函数的极限:

lim⁡x→0sin⁡(x)x=tan⁡(x)x=1\boxed{ \lim\limits_{x\to0}\dfrac{\sin(x)}{x}=\dfrac{\tan(x)}{x}=1 }

lim⁡x→0cos⁡(x)−1x=0\boxed{ \lim\limits_{x\to0}\dfrac{\cos(x)-1}{x}=0 }


#0.2.3 关于 ee

定义式:

e=lim⁡n→∞(1+ 1 n)n\boxed{ e=\lim\limits_{n\to\infty}\left(1+\dfrac{\ 1\ }{n}\right)^n }


推广式:

lim⁡n→∞(1+ x n)n=ex\boxed{ \lim\limits_{n\to\infty}\left(1+\dfrac{\ x\ }{n}\right)^n=e^x }

lim⁡n→0(1+nx)1/n=ex\boxed{ \lim\limits_{n\to0}\left(1+nx\right)^{1/n}=e^x }

级数展开式:

ex=∑i=0∞ xii!=1+x+  x22+  x36+  x424+…\boxed{ e^x=\sum\limits_{i=0}^\infty\dfrac{\ x^i}{i!}=1+x+\dfrac{\ \ x^2}{2}+\dfrac{\ \ x^3}{6}+\dfrac{\ \ x^4}{24}+\dots }


一个有用的结论:

lim⁡h→0eh−1h=1\boxed{ \lim\limits_{h\to0}\dfrac{e^h-1}{h}=1 }

lim⁡h→0eh−1h=lim⁡h→01h(1+h+  h22+  h36+  h424+⋯−1)=lim⁡h→0(1+ h 2+  h26+  h324+… )=1\begin{aligned} \lim\limits_{h\to0}\dfrac{e^h-1}{h}&= \lim\limits_{h\to0}\dfrac{1}{h}\left(1+h+\dfrac{\ \ h^2}{2}+\dfrac{\ \ h^3}{6}+\dfrac{\ \ h^4}{24}+\dots-1\right)\\ &=\lim\limits_{h\to0}\left(1+\dfrac{\ h\ }{2}+\dfrac{\ \ h^2}{6}+\dfrac{\ \ h^3}{24}+\dots\right)\\ &=1 \end{aligned}


#0.2.4 关于对数

∀a,b,c∈R+:\forall a,b,c\in\mathbb{R}+:

定义式:

alog⁡a(b)=b\boxed{ a^{\log_a(b)}=b }


将指数提前:

log⁡a(bc)=clog⁡a(b)\boxed{ \log_a(b^c)=c\log_a(b) }

log⁡a(b1/c)=1clog⁡a(b)\boxed{ \log_a(b^{1/c})=\dfrac{1}{c}\log_a(b) }


加减法则:

log⁡a(b)+log⁡a(c)=log⁡a(b⋅c)\boxed{ \log_a(b)+\log_a(c)=\log_a\left(b\cdot c\right) }

log⁡a(b)−log⁡a(c)=log⁡a( b c)\boxed{ \log_a(b)-\log_a(c)=\log_a\left(\dfrac{\ b\ }{c}\right) }


换底公式:

log⁡a(b)=log⁡c(b)log⁡c(a)\boxed{ \log_a(b)=\dfrac{\log_c(b)}{\log_c(a)} }


#1 基础篇(直接使用定义求导)

#1.1 相当简单的东西

ddxx2=2x\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}x^2=2x}

ddxx2=lim⁡h→0(x+h)2−x2h=lim⁡h→0(x2+2xh+h2)−x2h=lim⁡h→0(2x+h)=2x\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}x^2&= \lim\limits_{h\to0}\dfrac{\left(x+h\right)^2-x^2}{h}=\lim\limits_{h\to0}\dfrac{(x^2+2xh+h^2)-x^2}{h}\\ &=\lim\limits_{h\to0}(2x+h) =2x \end{aligned}


ddx1x=−1x2\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\dfrac{1}{x}=-\dfrac{1}{x^2}}

ddx1x=lim⁡h→01h(1x+h−1x)=lim⁡h→0−(x+h)−xh(x+h)x=lim⁡h→0−1(x+h)x=−1x2\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\dfrac{1}{x} &=\lim\limits_{h\to0}\dfrac{1}{h}\left(\dfrac{1}{x+h}-\dfrac{1}{x}\right)=\lim\limits_{h\to0}-\dfrac{(x+h)-x}{h(x+h)x}\\ &=\lim\limits_{h\to0}-\dfrac{1}{(x+h)x}=-\dfrac{1}{x^2} \end{aligned}


ddxx=12x\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\sqrt{x}=\dfrac{1}{2\sqrt{x}}}

ddxx=lim⁡h→0x+h−xh=lim⁡h→0(x+h−x)(x+h+x)h(x+h+x)=lim⁡h→01x+h+x=12x\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\sqrt{x}& =\lim\limits_{h\to0}\dfrac{\sqrt{x+h}-\sqrt{x}}{h}\\ &=\lim\limits_{h\to0}\dfrac{(\sqrt{x+h}-\sqrt{x})(\sqrt{x+h}+\sqrt{x})}{h(\sqrt{x+h}+\sqrt{x})}\\ &=\lim\limits_{h\to0}\dfrac{1}{\sqrt{x+h}+\sqrt{x}} =\dfrac{1}{2\sqrt{x}} \end{aligned}


ddxxn(n∈N)=nxn−1\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}x^n(n\in\mathbb{N})=nx^{n-1}}

ddxxn(n∈N)=lim⁡h→0(x+h)n−xnh=lim⁡h→0(xn+nxn−1h+h2( … ))−xnh=lim⁡h→0(nxn−1+h( … ))=nxn−1\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}x^n(n\in\mathbb{N})& =\lim\limits_{h\to0}\dfrac{(x+h)^n-x^n}{h}\\ &=\lim\limits_{h\to0}\dfrac{\left(x^n+nx^{n-1}h+h^2(\ \dots\ )\right)-x^n}{h}\\ &=\lim\limits_{h\to0}\left(nx^{n-1}+h(\ \dots\ )\right)=nx^{n-1} \end{aligned}


ddxsin⁡(x)=cos⁡(x)\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\sin(x)=\cos(x)}

ddxsin⁡(x)=lim⁡h→0sin⁡(x+h)−sin⁡(x)h=lim⁡h→0sin⁡(x)cos⁡(h)+cos⁡(x)sin⁡(h)−sin⁡(x)h=lim⁡h→0(sin⁡(x)cos⁡(h)−1h+cos⁡(x)sin⁡(h)h)=sin⁡(x)⋅0+cos⁡(x)⋅1=cos⁡(x)\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\sin(x)& =\lim\limits_{h\to0}\dfrac{\sin(x+h)-\sin(x)}{h}\\ &=\lim\limits_{h\to0}\dfrac{\sin(x)\cos(h)+\cos(x)\sin(h)-\sin(x)}{h}\\ &=\lim\limits_{h\to0}\left(\sin(x)\dfrac{\cos(h)-1}{h}+\cos(x)\dfrac{\sin (h)}{h}\right)\\ &=\sin(x)\cdot 0+\cos(x)\cdot 1=\cos(x) \end{aligned}


ddxcos⁡(x)=−sin⁡(x)\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\cos(x)=-\sin(x)}

ddxcos⁡(x)=lim⁡h→0cos⁡(x+h)−cos⁡(x)h=lim⁡h→0cos⁡(x)cos⁡(h)−sin⁡(x)sin⁡(h)−cos⁡(x)h=lim⁡h→0(cos⁡(x)cos⁡(h)−1h−sin⁡(x)sin⁡(h)h)=cos⁡(x)⋅0−sin⁡(x)⋅1=−sin⁡(x)\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\cos(x)& =\lim\limits_{h\to0}\dfrac{\cos(x+h)-\cos(x)}{h}\\ &=\lim\limits_{h\to0}\dfrac{\cos(x)\cos(h)-\sin(x)\sin(h)-\cos(x)}{h}\\ &=\lim\limits_{h\to0}\left(\cos(x)\dfrac{\cos(h)-1}{h}-\sin(x)\dfrac{\sin (h)}{h}\right)\\ &=\cos(x)\cdot 0-\sin(x)\cdot 1=-\sin(x) \end{aligned}


ddxtan⁡(x)=tan⁡2(x)+1=sec⁡2(x)\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\tan(x)=\tan^2(x)+1=\sec^2(x)}

ddxtan⁡(x)=lim⁡h→0tan⁡(x+h)−tan⁡(x)h=lim⁡h→0tan⁡(x)+tan⁡(h)1−tan⁡(x)tan⁡(h)−tan⁡(x)h=lim⁡h→0tan⁡(x)+tan⁡(h)−tan⁡(x)(1−tan⁡(x)tan⁡(h))h(1−tan⁡(x)tan⁡(h))=lim⁡h→0tan⁡(x)+tan⁡(h)−tan⁡(x)+tan⁡2(x)tan⁡(h)h(1−tan⁡(x)tan⁡(h))=lim⁡h→0tan⁡(h)+tan⁡2(x)tan⁡(h)h(1−tan⁡(x)tan⁡(h))=lim⁡h→0tan⁡(h)h(tan⁡2(x)+11−tan⁡(x)tan⁡(h))=tan⁡2(x)+1\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\tan(x)& =\lim\limits_{h\to0}\dfrac{\tan(x+h)-\tan(x)}{h}\\ &=\lim\limits_{h\to0}\dfrac{\dfrac{\tan(x)+\tan(h)}{1-\tan(x)\tan(h)}-\tan(x)}{h}\\ &=\lim\limits_{h\to0}\dfrac{\tan(x)+\tan(h)-\tan(x)\left(1-\tan(x)\tan(h)\right)}{h\left(1-\tan(x)\tan(h)\right)}\\ &=\lim\limits_{h\to0}\dfrac{\tan(x)+\tan(h)-\tan(x)+\tan^2(x)\tan(h)}{h\left(1-\tan(x)\tan(h)\right)}\\ &=\lim\limits_{h\to0}\dfrac{\tan(h)+\tan^2(x)\tan(h)}{h\left(1-\tan(x)\tan(h)\right)}\\ &=\lim\limits_{h\to0}\dfrac{\tan(h)}{h}\left(\dfrac{\tan^2(x)+1}{1-\tan(x)\tan(h)}\right)\\ &=\tan^2(x)+1\\ \end{aligned}


ddxlog⁡n(x)=1xln⁡(n)\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\log_n(x)=\dfrac{1}{x\ln(n)}}

ddxlog⁡n(x)=lim⁡h→0log⁡n(x+h)−log⁡n(x)h=lim⁡h→01hlog⁡n(x+hx)=lim⁡h→0log⁡n((1+hx)1/h)=log⁡n(e1/x)=1xlog⁡n(e)=1xlog⁡e(e)log⁡e(n)=1xln⁡(n)\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}\log_n(x)& =\lim\limits_{h\to0}\dfrac{\log_n(x+h)-\log_n(x)}{h} =\lim\limits_{h\to0}\dfrac{1}{h}\log_n\left(\dfrac{x+h}{x}\right)\\ &=\lim\limits_{h\to0}\log_n\left(\left(1+\dfrac{h}{x}\right)^{1/h}\right) =\log_n\left(e^{1/x}\right)\\ &=\dfrac{1}{x}\log_n\left(e\right) =\dfrac{1}{x}\dfrac{\log_e(e)}{\log_e(n)}\\ &=\dfrac{1}{x\ln(n)}\\ \end{aligned}


由上式易知:

ddxln⁡(x)= 1 x\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\ln(x)=\dfrac{\ 1\ }{x}}


#1.2 殊途同归


由  lim⁡h→0eh−1h=1 \ \small \boxed{ \lim\limits_{h\to0}\dfrac{e^h-1}{h}=1 }\ 可知:

ddxex=ex\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}e^x=e^x}

ddxex=lim⁡h→0ex+h−exh=lim⁡h→0ex(eh−1)h=ex\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}e^x&= \lim\limits_{h\to0}\dfrac{e^{x+h}-e^x}{h}\\ &=\lim\limits_{h\to0}\dfrac{e^x\left(e^h-1\right)}{h}\\ &=e^x \end{aligned}


ddxnx=nxln⁡(n)\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}n^x=n^x\ln(n)}

ddxnx=lim⁡h→0nx+h−nxh=lim⁡h→0eln⁡(n)(x+h)−eln⁡(n)xh=lim⁡h→0eln⁡(n)x(eln⁡(n)h−1)h=lim⁡h→0nxln⁡(n)(eln⁡(n)h−1)ln⁡(n)h=nxln⁡(n)\begin{aligned} \dfrac{\mathrm{d}}{\mathrm{d}x}n^x&= \lim\limits_{h\to0}\dfrac{n^{x+h}-n^x}{h}\\ &=\lim\limits_{h\to0}\dfrac{e^{\ln(n)(x+h)}-e^{\ln(n)x}}{h}\\ &=\lim\limits_{h\to0}\dfrac{e^{\ln(n)x}\left(e^{\ln(n)h}-1\right)}{h}\\ &=\lim\limits_{h\to0}n^x\ln(n)\dfrac{\left(e^{\ln(n)h}-1\right)}{\ln(n)h}\\ &=n^x\ln(n) \end{aligned}