關於組合數學的計數原理,請見「乘法原理」。乘積法則(英語:Product rule),也稱積定則、萊布尼茲法則,是數學中關於兩個函數的積的導數的一個計算法則。 若已知兩個可導函數 f , g {\displaystyle f,g} 及其導數 f ′ , g ′ {\displaystyle f',g'} ,則它們的積 f g {\displaystyle fg} 的導數為: ( f g ) ′ = f ′ g + f g ′ {\displaystyle (fg)'=f'g+fg'\,} 這個法則可衍生出積分的分部積分法。 Remove ads萊布尼茲的發現 人們將這個法則的發現歸功於萊布尼茲,以下是他的論述:設 u ( x ) {\displaystyle u(x)} 和 v ( x ) {\displaystyle v(x)} 為 x {\displaystyle x} 的兩個可導函數。那麼, u v {\displaystyle uv} 的微分是: d ( u ⋅ v ) = ( u + d u ) ⋅ ( v + d v ) − u ⋅ v = u ⋅ d v + v ⋅ d u + d u ⋅ d v . {\displaystyle {\begin{aligned}d(u\cdot v)&{}=(u+du)\cdot (v+dv)-u\cdot v\\&{}=u\cdot dv+v\cdot du+du\cdot dv.\end{aligned}}} 由於 d u ⋅ d v {\displaystyle du\cdot dv} 的可忽略性(法語:Négligeabilité),因此有: d ( u ⋅ v ) = v ⋅ d u + u ⋅ d v {\displaystyle d(u\cdot v)=v\cdot du+u\cdot dv\,} 兩邊除以 d x {\displaystyle dx} ,便得: d d x ( u ⋅ v ) = v ⋅ d u d x + u ⋅ d v d x {\displaystyle {\frac {d}{dx}}(u\cdot v)=v\cdot {\frac {du}{dx}}+u\cdot {\frac {dv}{dx}}} 若用拉格朗日符號來表達,則等式記為 ( u ⋅ v ) ′ = v ⋅ u ′ + u ⋅ v ′ . {\displaystyle (u\cdot v)'=v\cdot u'+u\cdot v'.\,} Remove ads例子 假設我們要求出 f ( x ) = x 2 sin ( x ) {\displaystyle f(x)=x^{2}\sin(x)} 的導數。利用乘積法則,可得 f ′ ( x ) = 2 x sin ( x ) + x 2 cos ( x ) {\displaystyle f'(x)=2x\sin(x)+x^{2}\cos(x)} (這是因為 x 2 {\displaystyle x^{2}} 的導數是 2 x {\displaystyle 2x} , sin ( x ) {\displaystyle \sin(x)} 的導數是 cos ( x ) {\displaystyle \cos(x)} )。 乘積法則的一個特例,是「常數因子法則」,也就是:如果 c {\displaystyle c} 是實數, f ( x ) {\displaystyle f(x)} 是可微函數,那麼 c f ( x ) {\displaystyle cf(x)} 也是可微的,其導數為 ( c × f ) ′ ( x ) = c × f ′ ( x ) {\displaystyle (c\times f)'(x)=c\times f'(x)} 。 乘積法則可以用來推出分部積分法和除法定則。 Remove ads證明一:利用面積 假設 h ( x ) = f ( x ) g ( x ) , {\displaystyle h(x)=f(x)g(x),\,} 且 f {\displaystyle f} 和 x {\displaystyle x} 在x點可導。那麼: h ′ ( x ) = lim w → x h ( w ) − h ( x ) w − x = lim w → x f ( w ) g ( w ) − f ( x ) g ( x ) w − x . ( 1 ) {\displaystyle h'(x)=\lim _{w\to x}{h(w)-h(x) \over w-x}=\lim _{w\to x}{f(w)g(w)-f(x)g(x) \over w-x}.\qquad \qquad (1)} 現在,以下的差 f ( w ) g ( w ) − f ( x ) g ( x ) ( 2 ) {\displaystyle f(w)g(w)-f(x)g(x)\qquad \qquad (2)} 是圖中大矩形的面積減去小矩形的面積。 這個區域可以分割為兩個矩形,它們面積的和為: f ( x ) ( g ( w ) − g ( x ) ) + g ( w ) ( f ( w ) − f ( x ) ) . ( 3 ) {\displaystyle f(x){\Bigg (}g(w)-g(x){\Bigg )}+g(w){\Bigg (}f(w)-f(x){\Bigg )}.\qquad \qquad (3)} 因此,(1)的表達式等於: lim w → x ( f ( x ) ( g ( w ) − g ( x ) w − x ) + g ( w ) ( f ( w ) − f ( x ) w − x ) ) . ( 4 ) {\displaystyle \lim _{w\to x}\left(f(x)\left({g(w)-g(x) \over w-x}\right)+g(w)\left({f(w)-f(x) \over w-x}\right)\right).\qquad \qquad (4)} 如果(5)式中的四個極限都存在,則(4)的表達式等於: ( lim w → x f ( x ) ) ( lim w → x g ( w ) − g ( x ) w − x ) + ( lim w → x g ( w ) ) ( lim w → x f ( w ) − f ( x ) w − x ) . ( 5 ) {\displaystyle \left(\lim _{w\to x}f(x)\right)\left(\lim _{w\to x}{g(w)-g(x) \over w-x}\right)+\left(\lim _{w\to x}g(w)\right)\left(\lim _{w\to x}{f(w)-f(x) \over w-x}\right).\qquad \qquad (5)} 現在: lim w → x f ( x ) = f ( x ) {\displaystyle \lim _{w\to x}f(x)=f(x)\,} 因為當 w → x {\displaystyle w\rightarrow x} 時, f ( x ) {\displaystyle f(x)} 不變; lim w → x g ( w ) − g ( x ) w − x = g ′ ( x ) {\displaystyle \lim _{w\to x}{g(w)-g(x) \over w-x}=g'(x)} 因為 g {\displaystyle g} 在x點可導; lim w → x f ( w ) − f ( x ) w − x = f ′ ( x ) {\displaystyle \lim _{w\to x}{f(w)-f(x) \over w-x}=f'(x)} 因為 f {\displaystyle f} 在x點可導;以及 lim w → x g ( w ) = g ( x ) {\displaystyle \lim _{w\to x}g(w)=g(x)\,} 因為 g {\displaystyle g} 在x點連續(可導的函數一定連續)。 現在可以得出結論,(5)的表達式等於: f ( x ) g ′ ( x ) + g ( x ) f ′ ( x ) . {\displaystyle f(x)g'(x)+g(x)f'(x).\,} Remove ads證明二:使用對數 設 f = u v {\displaystyle f=uv} ,並假設 u {\displaystyle u} 和 v {\displaystyle v} 是正數。那麼: ln f = ln u + ln v . {\displaystyle \ln f=\ln u+\ln v.\,} 兩邊求導,得: 1 f d d x f = 1 u d d x u + 1 v d d x v {\displaystyle {1 \over f}{d \over dx}f={1 \over u}{d \over dx}u+{1 \over v}{d \over dx}v} 把等式的左邊乘以 f {\displaystyle f} ,右邊乘以 u v {\displaystyle uv} ,即得: d d x f = v d d x u + u d d x v . {\displaystyle {d \over dx}f=v{d \over dx}u+u{d \over dx}v.} Remove ads證明三:使用導數的定義 設 h ( x ) = f ( x ) g ( x ) , {\displaystyle h(x)=f(x)g(x),\,} 且 f {\displaystyle f} 和 g {\displaystyle g} 在x點可導。那麼: h ′ ( x ) = lim Δ x → 0 h ( x + Δ x ) − h ( x ) Δ x = lim Δ x → 0 f ( x + Δ x ) g ( x + Δ x ) − f ( x ) g ( x ) Δ x {\displaystyle h'(x)=\lim _{\Delta {x}\to 0}{\frac {h(x+\Delta {x})-h(x)}{\Delta {x}}}=\lim _{\Delta {x}\to 0}{\frac {f(x+\Delta {x})g(x+\Delta {x})-f(x)g(x)}{\Delta {x}}}} = lim Δ x → 0 f ( x + Δ x ) g ( x + Δ x ) − f ( x ) g ( x + Δ x ) + f ( x ) g ( x + Δ x ) − f ( x ) g ( x ) Δ x {\displaystyle =\lim _{\Delta {x}\to 0}{\frac {f(x+\Delta {x})g(x+\Delta {x})-f(x)g(x+\Delta {x})+f(x)g(x+\Delta {x})-f(x)g(x)}{\Delta {x}}}} = lim Δ x → 0 [ f ( x + Δ x ) − f ( x ) ] ⋅ g ( x + Δ x ) + f ( x ) ⋅ [ g ( x + Δ x ) − g ( x ) ] Δ x {\displaystyle =\lim _{\Delta {x}\to 0}{\frac {[f(x+\Delta {x})-f(x)]\cdot g(x+\Delta {x})+f(x)\cdot [g(x+\Delta {x})-g(x)]}{\Delta {x}}}} = lim Δ x → 0 f ( x + Δ x ) − f ( x ) Δ x ⋅ lim Δ x → 0 g ( x + Δ x ) + lim Δ x → 0 f ( x ) ⋅ lim Δ x → 0 g ( x + Δ x ) − g ( x ) Δ x {\displaystyle =\lim _{\Delta {x}\to 0}{\frac {f(x+\Delta {x})-f(x)}{\Delta {x}}}\cdot \lim _{\Delta {x}\to 0}g(x+\Delta {x})+\lim _{\Delta {x}\to 0}f(x)\cdot \lim _{\Delta {x}\to 0}{\frac {g(x+\Delta {x})-g(x)}{\Delta {x}}}} = f ′ ( x ) g ( x ) + f ( x ) g ′ ( x ) {\displaystyle =f'(x)g(x)+f(x)g'(x)} . Remove ads推廣 若有 n {\displaystyle n} 個函數 f 1 , f 2 , . . . , f n {\displaystyle f_{1},f_{2},...,f_{n}} ,則: ( ∏ k = 1 n f k ) ′ = ∑ k = 1 n ( f k ′ ⋅ ∏ j = 1 j ≠ k n f j ) {\displaystyle \left({\prod _{k=1}^{n}{f_{k}}}\right)^{\prime }=\sum _{k=1}^{n}{\left({f'_{k}\cdot \prod _{j=1 \atop j\neq k}^{n}{f_{j}}}\right)}} (萊布尼茲法則)若 f , g {\displaystyle f,g} 均為可導 n {\displaystyle n} 次的函數,則 f g {\displaystyle fg} 的 n {\displaystyle n} 次導數為: ( f ⋅ g ) ( n ) = ∑ k = 0 n ( n k ) f ( k ) g ( n − k ) {\displaystyle (f\cdot g)^{(n)}=\sum _{k=0}^{n}{n \choose k}f^{(k)}g^{(n-k)}} 其中 ( n k ) {\displaystyle {n \choose k}} 是二項式係數。 Remove ads應用 乘積法則的一個應用是證明以下公式: d d x x n = n x n − 1 {\displaystyle {d \over dx}x^{n}=nx^{n-1}} 其中 n {\displaystyle n} 是一個正整數(該公式即使當 n {\displaystyle n} 不是正整數時也是成立的,但證明需要用到其它方法)。我們用數學歸納法來證明這個公式。如果 n = 1 {\displaystyle n=1} , d d x x 1 = lim h → 0 ( x + h ) − x h = 1 = 1 x 1 − 1 {\displaystyle {\frac {d}{dx}}x^{1}=\lim _{h\to 0}{\frac {(x+h)-x}{h}}=1=1x^{1-1}} 假設公式對於某個特定的 k {\displaystyle k} 成立,那麼對於 k + 1 {\displaystyle k+1} ,我們有: d d x x k + 1 = d d x ( x k ⋅ x ) = x d d x x k + x k d d x x = x ( k x k − 1 ) + x k ⋅ 1 = ( k + 1 ) x k . {\displaystyle {\begin{aligned}{d \over dx}x^{k+1}&{}={d \over dx}\left(x^{k}\cdot x\right)\\\\&{}=x{d \over dx}x^{k}+x^{k}{d \over dx}x\\\\&{}=x\left(kx^{k-1}\right)+x^{k}\cdot 1\\\\&{}=(k+1)x^{k}.\end{aligned}}} 因此公式對於 k + 1 {\displaystyle k+1} 也成立。 Remove ads參見 除法定則 倒數定則 鏈式法則 分部積分法 Loading related searches...Wikiwand - on Seamless Wikipedia browsing. On steroids.Remove ads