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

· · 个人记录

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

#0 前置知识

#0.1 求导方法

#0.1.1 导数定义式

\boxed{f'(x)=\lim\limits_{h\to0}\dfrac{f(x+h)-f(x)}{h}}

#0.1.2 隐函数求导

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

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

乘积法则:

\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) }

商法则:

\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} }

链式求导法则:

\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 二项式定理

\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 关于三角函数

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

\boxed{ \csc(x)=\dfrac{1}{\sin(x)} } \boxed{ \sec(x)=\dfrac{1}{\cos(x)} } \boxed{ \cot(x)=\dfrac{1}{\tan(x)} }

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

\boxed{ \sin(\alpha+\beta)=\sin(\alpha)cos(\beta)+cos(\alpha)sin(\beta) } \boxed{ \cos(\alpha+\beta)=\cos(\alpha)\cos(\beta)-\sin(\alpha)\sin(\beta) } \boxed{ \tan(\alpha+\beta)=\dfrac{\tan(\alpha)+\tan(\beta)}{1-\tan(\alpha)\tan(\beta)} }

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

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

#0.2.3 关于 e

定义式:

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

推广式:

\boxed{ \lim\limits_{n\to\infty}\left(1+\dfrac{\ x\ }{n}\right)^n=e^x } \boxed{ \lim\limits_{n\to0}\left(1+nx\right)^{1/n}=e^x }

级数展开式:

\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 }

一个有用的结论:

\boxed{ \lim\limits_{h\to0}\dfrac{e^h-1}{h}=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 关于对数

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

定义式:

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

将指数提前:

\boxed{ \log_a(b^c)=c\log_a(b) } \boxed{ \log_a(b^{1/c})=\dfrac{1}{c}\log_a(b) }

加减法则:

\boxed{ \log_a(b)+\log_a(c)=\log_a\left(b\cdot c\right) } \boxed{ \log_a(b)-\log_a(c)=\log_a\left(\dfrac{\ b\ }{c}\right) }

换底公式:

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

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

#1.1 相当简单的东西

\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}x^2=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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\dfrac{1}{x}=-\dfrac{1}{x^2}} \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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\sqrt{x}=\dfrac{1}{2\sqrt{x}}} \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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}x^n(n\in\mathbb{N})=nx^{n-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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\sin(x)=\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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\cos(x)=-\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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\tan(x)=\tan^2(x)+1=\sec^2(x)} \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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}\log_n(x)=\dfrac{1}{x\ln(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}

由上式易知:

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

#1.2 殊途同归

由

\boxed{ \lim\limits_{h\to0}\dfrac{e^h-1}{h}=1 }\

可知:

\boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}e^x=e^x} \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} \boxed{\dfrac{\mathrm{d}}{\mathrm{d}x}n^x=n^x\ln(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}