求导公式

以下的列表列出了許多函數的導數。_f_ 和 _g_ 是可微函數，而別的皆為常數。用這些公式，可以求出任何初等函數的導數。

## 一般求導法則

**線性法則**
: ${{\mbox{d}}(Mf) \over {\mbox{d}}x}=M{{\mbox{d}}f \over {\mbox{d}}x};\qquad [Mf(x)]'=Mf'(x)$

　
: ${{{\mbox{d}}(f\pm g)} \over {{\mbox{d}}x}}={{\mbox{d}}f \over {\mbox{d}}x}\pm {{\mbox{d}}g \over {\mbox{d}}x}\ $

**乘法定則**
: ${{\mbox{d}}fg \over {\mbox{d}}x}={{\mbox{d}}f \over {\mbox{d}}x}g+f{\frac {{\mbox{d}}g}{{\mbox{d}}x}}$

**除法定則**
: ${\frac {{\mbox{d}}{\dfrac {f}{g}}}{{\mbox{d}}x}}={\frac {{\dfrac {{\mbox{d}}f}{{\mbox{d}}x}}g-f{\dfrac {{\mbox{d}}g}{{\mbox{d}}x}}}{g^{2}}}\qquad (g\neq 0)$

**倒數定則**
: ${\frac {{\mbox{d}}{\dfrac {1}{g}}}{{\mbox{d}}x}}={\frac {-{\dfrac {{\mbox{d}}g}{{\mbox{d}}x}}}{g^{2}}}\qquad (g\neq 0)$

**複合函數求導法則（連鎖定則）**
: $(f\circ g)'(x)=f'(g(x))g'(x).$

　
: ${\frac {{\mbox{d}}f[g(x)]}{{\mbox{d}}x}}={\frac {{\mbox{d}}f(g)}{{\mbox{d}}g}}{\frac {{\mbox{d}}g}{{\mbox{d}}x}}=f'[g(x)]g'(x)$

**反函數的導數**
: 由於 $g(f(x))=x$ ，故 $g(f(x))'=1$ ，根據複合函數求導法則，則 $g(f(x))'={\frac {{\mbox{d}}g[f(x)]}{{\mbox{d}}x}}={\frac {{\mbox{d}}g(f)}{{\mbox{d}}f}}{\frac {{\mbox{d}}f}{{\mbox{d}}x}}=1$

　
: 所以 ${\frac {{\mbox{d}}f}{{\mbox{d}}x}}={\frac {1}{\dfrac {{\mbox{d}}g(f)}{{\mbox{d}}f}}}=[{\frac {{\mbox{d}}g(f)}{{\mbox{d}}f}}]^{-1}=[g'(f)]^{-1}$

　
: 同理 ${\frac {{\mbox{d}}g}{{\mbox{d}}x}}={\frac {1}{\dfrac {{\mbox{d}}f(g)}{{\mbox{d}}g}}}=[{\frac {{\mbox{d}}f(g)}{{\mbox{d}}g}}]^{-1}=[f'(g)]^{-1}$

**廣義冪法則**
: $(f^{g})'=\left(e^{g\ln f}\right)'=f^{g}\left(g'\ln f+{\frac {g}{f}}f'\right)$

## 代數函數的導數

**(n 為任意實常數)**
: ${{\mbox{d}}n \over {\mbox{d}}x}=0$

　
: ${{\mbox{d}}x \over {\mbox{d}}x}=1$

　
: ${{\mbox{d}}x^{n} \over {\mbox{d}}x}=nx^{n-1}\qquad $ 當 $n\leq 1$ ，則 $x\neq 0$

　
: ${{\mbox{d}}|x| \over {\mbox{d}}x}={x \over |x|}={|x| \over x}=\operatorname {sgn} x\qquad x\neq 0$

## 指數和對數函數的導數

　
: ${d \over dx}e^{f(x)}=f'(x)e^{f(x)}$ .

　
: ${\begin{aligned}{\frac {{\mbox{d}}\ e^{x}}{{\mbox{d}}x}}&=\lim _{\Delta x\to 0}{\frac {e^{x}-e^{x-\Delta x}}{\Delta x}}\\&=e^{x}\lim _{\Delta x\to 0}{\frac {1-e^{-\Delta x}}{\Delta x}}\\&=e^{x}\end{aligned}}$

　
: ${\begin{aligned}{\frac {{\mbox{d}}\ \alpha ^{x}}{{\mbox{d}}x}}&={\frac {{\mbox{d}}\ e^{x\!\ln \!\alpha }}{{\mbox{d}}x}}\\&={\frac {{\mbox{d}}e^{x\!\ln \!\alpha }}{{\mbox{d}}\ x\!\ln \!\alpha }}\cdot {\frac {{\mbox{d}}\ x\!\ln \!\alpha }{{\mbox{d}}x}}\\&=e^{x\!\ln \!\alpha }\!\ln \!\alpha \\&=\alpha ^{x}\!\ln \!\alpha \end{aligned}}$

　
: ${\begin{aligned}{\frac {{\mbox{d}}\ln x}{{\mbox{d}}x}}&=\lim _{h\to 0}{\frac {\ln(x+h)-\ln x}{h}}\\&=\lim _{h\to 0}({\frac {1}{h}}\ln({\frac {x+h}{x}}))\\&=\lim _{h\to 0}({\frac {x}{xh}}\ln(1+{\frac {h}{x}}))\\&={\frac {1}{x}}\ln(\lim _{h\to 0}(1+{\frac {h}{x}})^{\frac {x}{h}})\\&={\frac {1}{x}}\ln e\\&={\frac {1}{x}}\end{aligned}}$

　
: ${\frac {{\mbox{d}}\log _{\alpha }|x|}{{\mbox{d}}x}}={1 \over \ln \alpha }{\frac {{\mbox{d}}\ln |x|}{{\mbox{d}}x}}={1 \over x\ln \alpha }$

　
: ${\frac {{\mbox{d}}\ x^{x}}{{\mbox{d}}x}}=x^{x}(1+\ln x)$

## 三角函數的導數

$$
{\begin{aligned}(\sin x)'&=\lim _{h\to 0}{\frac {\sin(x+h)-\sin x}{h}}\\&=\lim _{h\to 0}{\frac {\sin x\cos h+\cos x\sin h-\sin x}{h}}\\&=\lim _{h\to 0}(\sin x{\frac {\cos h-1}{h}}+\cos x{\frac {\sin h}{h}})\\&=\cos x\end{aligned}}
$$

$$
{\begin{aligned}(\cos x)'&=\lim _{h\to 0}{\frac {\cos(x+h)-\cos x}{h}}\\&=\lim _{h\to 0}{\frac {\cos x\cos h-\sin x\sin h-\cos x}{h}}\\&=\lim _{h\to 0}(\cos x{\frac {\cos h-1}{h}}-\sin x{\frac {\sin h}{h}})\\&=-\sin x\end{aligned}}
$$

$$
{\begin{aligned}(\tan x)'&=({\frac {\sin x}{\cos x}})'\\&={\frac {(\sin x)'\cos x-\sin x(\cos x)'}{\cos ^{2}x}}\\&={\frac {\cos ^{2}x+\sin ^{2}x}{\cos ^{2}x}}\\&={\frac {1}{\cos ^{2}x}}=\sec ^{2}x\end{aligned}}
$$

$$
{\begin{aligned}(\cot x)'&=({\frac {\cos x}{\sin x}})'\\&={\frac {(\cos x)'\sin x-\cos x(\sin x)'}{\sin ^{2}x}}\\&={\frac {-\sin ^{2}x-\cos ^{2}x}{\sin ^{2}x}}\\&=-{\frac {1}{\sin ^{2}x}}=-\csc ^{2}x\end{aligned}}
$$

$$
{\begin{aligned}(\sec x)'&=({\frac {1}{\cos x}})'\\&={\frac {\sin x}{\cos ^{2}x}}\\&=\sec x\tan x\end{aligned}}
$$

$$
{\begin{aligned}(\csc x)'&=({\frac {1}{\sin x}})'\\&={\frac {-\cos x}{\sin ^{2}x}}\\&=-\csc x\cot x\end{aligned}}
$$

## 反三角函數的導數

$$
{\begin{aligned}(\arcsin x)'&={\frac {1}{\cos(\arcsin x)}}\Leftrightarrow \sin(\arcsin x)=x\Leftrightarrow \cos(\arcsin x)(\arcsin x)'=1\\&={\frac {1}{\sqrt {1-\sin ^{2}(\arcsin x)}}}\\&={\frac {1}{\sqrt {1-x^{2}}}}\ \ (\left|x\right|<1)\end{aligned}}
$$

$$
{\begin{aligned}(\arccos x)'&={\frac {1}{-\sin(\arccos x)}}\Leftrightarrow \cos(\arccos x)=x\Leftrightarrow -\sin(\arccos x)(\arccos x)'=1\\&=-{\frac {1}{\sqrt {1-\cos ^{2}(\arccos x)}}}\\&=-{\frac {1}{\sqrt {1-x^{2}}}}\ \ (\left|x\right|<1)\end{aligned}}
$$

$$
{\begin{aligned}(\arctan x)'&={\frac {1}{\sec ^{2}(\arctan x)}}\Leftrightarrow \tan(\arctan x)=x\Leftrightarrow \sec ^{2}(\arctan x)(\arctan x)'=1\\&={\frac {1}{1+\tan ^{2}(\arctan x)}}\\&={\frac {1}{1+x^{2}}}\end{aligned}}
$$

$$
{\begin{aligned}(\operatorname {arccot} x)'&={\frac {1}{-\csc ^{2}(\operatorname {arccot} x)}}\Leftrightarrow \cot(\operatorname {arccot} x)=x\Leftrightarrow -\csc ^{2}(\operatorname {arccot} x)(\operatorname {arccot} x)'=1\\&=-{\frac {1}{1+\cot ^{2}(\operatorname {arccot} x)}}\\&=-{\frac {1}{1+x^{2}}}\end{aligned}}
$$

$$
{\begin{aligned}(\operatorname {arcsec} x)'&={\frac {1}{\sec(\operatorname {arcsec} x)\tan(\operatorname {arcsec} x)}}\Leftrightarrow \sec(\operatorname {arcsec} x)=x\Leftrightarrow \sec(\operatorname {arcsec} x)\tan(\operatorname {arcsec} x)(\operatorname {arcsec} x)'=1\\&={\frac {1}{|x|{\sqrt {\sec ^{2}(\operatorname {arcsec} x)-1}}}}\\&={\frac {1}{|x|{\sqrt {x^{2}-1}}}}\ \ (\left|x\right|>1)\end{aligned}}
$$

$$
{\begin{aligned}(\operatorname {arccsc} x)'&={\frac {1}{-\csc(\operatorname {arccsc} x)\cot(\operatorname {arccsc} x)}}\Leftrightarrow \csc(\operatorname {arccsc} x)=x\Leftrightarrow -\csc(\operatorname {arccsc} x)\cot(\operatorname {arccsc} x)(\operatorname {arccsc} x)'=1\\&=-{\frac {1}{|x|{\sqrt {\csc ^{2}(\operatorname {arcsec} x)-1}}}}\\&=-{\frac {1}{|x|{\sqrt {x^{2}-1}}}}\ \ (\left|x\right|>1)\end{aligned}}
$$

## 雙曲函數的導數

## 特殊函數的導數

## 註釋