与各模块的例题一样,本页的每个公式都用计算机代数系统 SymPy 检验。
角度以弧度为单位,ln \ln ln 表示自然对数,C C C 是任意
常数。公式旁列出的条件是公式的一部分,条件不成立时公式可能失效。
本系列以中学代数为基础。数学基础系列的代数复习选修课
可帮助你回顾这些知识。模块 1 回顾了指数函数、
对数函数和三角函数。
代数
名称
公式
适用条件
二次方程公式
a x 2 + b x + c = 0 ⟺ x = − b ± b 2 − 4 a c 2 a {ax^2 + bx + c = 0 \iff x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}} a x 2 + b x + c = 0 ⟺ x = 2 a − b ± b 2 − 4 a c
实系数,a ≠ 0 {a \ne 0} a = 0 和 b 2 − 4 a c ≥ 0 。 {b^2 - 4ac \ge 0}\mathclose{\text{。}} b 2 − 4 a c ≥ 0 。 负判别式给出无实根
配方法
a x 2 + b x + c = a ( x + b 2 a ) 2 + c − b 2 4 a {ax^2 + bx + c = a\Big(x + \dfrac{b}{2a}\Big)^2 + c - \dfrac{b^2}{4a}} a x 2 + b x + c = a ( x + 2 a b ) 2 + c − 4 a b 2
a ≠ 0 {a \ne 0} a = 0
幂差公式
x n − a n = ( x − a ) ( x n − 1 + x n − 2 a + ⋯ + a n − 1 ) {x^n - a^n = (x - a)(x^{n-1} + x^{n-2}a + \cdots + a^{n-1})} x n − a n = ( x − a ) ( x n − 1 + x n − 2 a + ⋯ + a n − 1 )
n = 1 , 2 , 3 , … {n = 1, 2, 3, \ldots} n = 1 , 2 , 3 , …
直线上距离
∣ x − a ∣ < δ ⟺ a − δ < x < a + δ {\abs{x - a} < \delta \iff a - \delta < x < a + \delta} ∣ x − a ∣ < δ ⟺ a − δ < x < a + δ
δ > 0 {\delta > 0} δ > 0
三角不等式
∣ a + b ∣ ≤ ∣ a ∣ + ∣ b ∣ {\abs{a + b} \le \abs{a} + \abs{b}} ∣ a + b ∣ ≤ ∣ a ∣ + ∣ b ∣
所有实数 a , {a,} a , b {b} b
最后两行是模块 2 中严格定义极限的工具。
指数与对数
法则
公式
适用条件
积
a x a y = a x + y {a^x a^y = a^{x+y}} a x a y = a x + y
a > 0 ; {a > 0;} a > 0 ; x , {x,} x , y {y} y 实数
商
a x a y = a x − y {\dfrac{a^x}{a^y} = a^{x-y}} a y a x = a x − y
a > 0 {a > 0} a > 0
幂的幂
( a x ) y = a x y {(a^x)^y = a^{xy}} ( a x ) y = a x y
a > 0 {a > 0} a > 0
积的幂
( a b ) x = a x b x {(ab)^x = a^x b^x} ( ab ) x = a x b x
a > 0 , {a > 0,} a > 0 , b > 0 {b > 0} b > 0
零与负指数
a 0 = 1 , {a^0 = 1,} a 0 = 1 , a − x = 1 a x {\ a^{-x} = \dfrac{1}{a^x}} a − x = a x 1
a > 0 {a > 0} a > 0
根
a m / n = a m n {a^{m/n} = \sqrt[n]{a^m}} a m / n = n a m
a > 0 ; {a > 0;} a > 0 ; m , {m,} m , n {n} n 整数, n ≥ 1 {n \ge 1} n ≥ 1
非零负数底的整数次幂的乘积、商和幂的法则同样适用。
对于分数指数,底数为正的条件不可省略。例如 ( ( − 1 ) 2 ) 1 / 2 = 1 , \big((-1)^2\big)^{1/2} = 1\mathclose{\text{,}} ( ( − 1 ) 2 ) 1/2 = 1 , 但 ( − 1 ) 2 ⋅ 1 / 2 = − 1 。 (-1)^{2 \cdot 1/2} = -1\mathclose{\text{。}} ( − 1 ) 2 ⋅ 1/2 = − 1 。
法则
公式
适用条件
模块
反函数
e ln x = x {e^{\ln x} = x} e l n x = x
x > 0 {x > 0} x > 0
1
ln ( e x ) = x {\ln(e^x) = x} ln ( e x ) = x
每个实数 x {x} x
1
积
ln ( x y ) = ln x + ln y {\ln(xy) = \ln x + \ln y} ln ( x y ) = ln x + ln y
x > 0 , {x > 0,} x > 0 , y > 0 {y > 0} y > 0
1
商
ln x y = ln x − ln y {\ln\dfrac{x}{y} = \ln x - \ln y} ln y x = ln x − ln y
x > 0 , {x > 0,} x > 0 , y > 0 {y > 0} y > 0
1
幂
ln ( x r ) = r ln x {\ln(x^r) = r\ln x} ln ( x r ) = r ln x
x > 0 , {x > 0,} x > 0 , r {r} r 实数
1
偶次幂
ln ( x 2 ) = 2 ln ∣ x ∣ {\ln(x^2) = 2\ln\abs{x}} ln ( x 2 ) = 2 ln ∣ x ∣
x ≠ 0 {x \ne 0} x = 0
1
值
ln 1 = 0 , {\ln 1 = 0,} ln 1 = 0 , ln e = 1 {\ \ln e = 1} ln e = 1
1
底数变换
log a x = ln x ln a {\log_a x = \dfrac{\ln x}{\ln a}} log a x = ln a ln x
a > 0 , {a > 0,} a > 0 , a ≠ 1 , {a \ne 1,} a = 1 , x > 0 {x > 0} x > 0
1
底数 e {e} e
a x = e x ln a {a^x = e^{x\ln a}} a x = e x l n a
a > 0 , {a > 0,} a > 0 , x {x} x 实数
6
三角恒等式
它们适用于所有实数角度,除非给出特定条件。
名称
恒等式
适用条件
勾股定理
sin 2 θ + cos 2 θ = 1 {\sin^2\theta + \cos^2\theta = 1} sin 2 θ + cos 2 θ = 1
1 + tan 2 θ = sec 2 θ {1 + \tan^2\theta = \sec^2\theta} 1 + tan 2 θ = sec 2 θ
cos θ ≠ 0 {\cos\theta \ne 0} cos θ = 0
1 + cot 2 θ = csc 2 θ {1 + \cot^2\theta = \csc^2\theta} 1 + cot 2 θ = csc 2 θ
sin θ ≠ 0 {\sin\theta \ne 0} sin θ = 0
定义
tan θ = sin θ cos θ , {\tan\theta = \dfrac{\sin\theta}{\cos\theta},} tan θ = cos θ sin θ , sec θ = 1 cos θ {\ \sec\theta = \dfrac{1}{\cos\theta}} sec θ = cos θ 1
cos θ ≠ 0 {\cos\theta \ne 0} cos θ = 0
cot θ = cos θ sin θ , {\cot\theta = \dfrac{\cos\theta}{\sin\theta},} cot θ = sin θ cos θ , csc θ = 1 sin θ {\ \csc\theta = \dfrac{1}{\sin\theta}} csc θ = sin θ 1
sin θ ≠ 0 {\sin\theta \ne 0} sin θ = 0
对称性
sin ( − θ ) = − sin θ , {\sin(-\theta) = -\sin\theta,} sin ( − θ ) = − sin θ , cos ( − θ ) = cos θ {\ \cos(-\theta) = \cos\theta} cos ( − θ ) = cos θ
周期
sin ( θ + 2 π ) = sin θ , {\sin(\theta + 2\pi) = \sin\theta,} sin ( θ + 2 π ) = sin θ , cos ( θ + 2 π ) = cos θ {\ \cos(\theta + 2\pi) = \cos\theta} cos ( θ + 2 π ) = cos θ
tan ( θ + π ) = tan θ {\tan(\theta + \pi) = \tan\theta} tan ( θ + π ) = tan θ
cos θ ≠ 0 {\cos\theta \ne 0} cos θ = 0
余角
sin ( π 2 − θ ) = cos θ , {\sin\big(\tfrac{\pi}{2} - \theta\big) = \cos\theta,} sin ( 2 π − θ ) = cos θ , cos ( π 2 − θ ) = sin θ {\ \cos\big(\tfrac{\pi}{2} - \theta\big) = \sin\theta} cos ( 2 π − θ ) = sin θ
补角
sin ( π − θ ) = sin θ , {\sin(\pi - \theta) = \sin\theta,} sin ( π − θ ) = sin θ , cos ( π − θ ) = − cos θ {\ \cos(\pi - \theta) = -\cos\theta} cos ( π − θ ) = − cos θ
加法
sin ( α ± β ) = sin α cos β ± cos α sin β {\sin(\alpha \pm \beta) = \sin\alpha\cos\beta \pm \cos\alpha\sin\beta} sin ( α ± β ) = sin α cos β ± cos α sin β
cos ( α ± β ) = cos α cos β ∓ sin α sin β {\cos(\alpha \pm \beta) = \cos\alpha\cos\beta \mp \sin\alpha\sin\beta} cos ( α ± β ) = cos α cos β ∓ sin α sin β
tan ( α + β ) = tan α + tan β 1 − tan α tan β {\tan(\alpha + \beta) = \dfrac{\tan\alpha + \tan\beta}{1 - \tan\alpha\tan\beta}} tan ( α + β ) = 1 − tan α tan β tan α + tan β
两边均有定义
双角公式
sin 2 θ = 2 sin θ cos θ {\sin 2\theta = 2\sin\theta\cos\theta} sin 2 θ = 2 sin θ cos θ
cos 2 θ = cos 2 θ − sin 2 θ = 2 cos 2 θ − 1 = 1 − 2 sin 2 θ {\cos 2\theta = \cos^2\theta - \sin^2\theta = 2\cos^2\theta - 1 = 1 - 2\sin^2\theta} cos 2 θ = cos 2 θ − sin 2 θ = 2 cos 2 θ − 1 = 1 − 2 sin 2 θ
平方
sin 2 θ = 1 2 ( 1 − cos 2 θ ) , {\sin^2\theta = \tfrac12(1 - \cos 2\theta),} sin 2 θ = 2 1 ( 1 − cos 2 θ ) , cos 2 θ = 1 2 ( 1 + cos 2 θ ) {\ \cos^2\theta = \tfrac12(1 + \cos 2\theta)} cos 2 θ = 2 1 ( 1 + cos 2 θ )
积
sin α cos β = 1 2 [ sin ( α − β ) + sin ( α + β ) ] {\sin\alpha\cos\beta = \tfrac12\big[\sin(\alpha - \beta) + \sin(\alpha + \beta)\big]} sin α cos β = 2 1 [ sin ( α − β ) + sin ( α + β ) ]
sin α sin β = 1 2 [ cos ( α − β ) − cos ( α + β ) ] {\sin\alpha\sin\beta = \tfrac12\big[\cos(\alpha - \beta) - \cos(\alpha + \beta)\big]} sin α sin β = 2 1 [ cos ( α − β ) − cos ( α + β ) ]
cos α cos β = 1 2 [ cos ( α − β ) + cos ( α + β ) ] {\cos\alpha\cos\beta = \tfrac12\big[\cos(\alpha - \beta) + \cos(\alpha + \beta)\big]} cos α cos β = 2 1 [ cos ( α − β ) + cos ( α + β ) ]
精确值
由于 π \pi π 弧度等于 180 ∘ , 180^\circ\mathclose{\text{,}} 18 0 ∘ , 一个 d d d 度的角等于 π d / 180 \pi d/180 π d /180 弧度。
θ {\theta} θ
sin θ {\sin\theta} sin θ
cos θ {\cos\theta} cos θ
tan θ {\tan\theta} tan θ
0 {0} 0
0 {0} 0
1 {1} 1
0 {0} 0
π / 6 ( 30 ∘ ) {\pi/6\;\;(30^\circ)} π /6 ( 3 0 ∘ )
1 / 2 {1/2} 1/2
3 / 2 {\sqrt3/2} 3 /2
1 / 3 = 3 / 3 {1/\sqrt3 = \sqrt3/3} 1/ 3 = 3 /3
π / 4 ( 45 ∘ ) {\pi/4\;\;(45^\circ)} π /4 ( 4 5 ∘ )
2 / 2 {\sqrt2/2} 2 /2
2 / 2 {\sqrt2/2} 2 /2
1 {1} 1
π / 3 ( 60 ∘ ) {\pi/3\;\;(60^\circ)} π /3 ( 6 0 ∘ )
3 / 2 {\sqrt3/2} 3 /2
1 / 2 {1/2} 1/2
3 {\sqrt3} 3
π / 2 ( 90 ∘ ) {\pi/2\;\;(90^\circ)} π /2 ( 9 0 ∘ )
1 {1} 1
0 {0} 0
无定义
π ( 180 ∘ ) {\pi\;\;(180^\circ)} π ( 18 0 ∘ )
0 {0} 0
− 1 {-1} − 1
0 {0} 0
3 π / 2 ( 270 ∘ ) {3\pi/2\;\;(270^\circ)} 3 π /2 ( 27 0 ∘ )
− 1 {-1} − 1
0 {0} 0
无定义
其他标准角度可通过上述对称性得出:例如
sin ( 5 π / 6 ) = sin ( π / 6 ) = 1 / 2 \sin(5\pi/6) = \sin(\pi/6) = 1/2 sin ( 5 π /6 ) = sin ( π /6 ) = 1/2 与 cos ( 2 π / 3 ) = − cos ( π / 3 ) = − 1 / 2 。 \cos(2\pi/3) = -\cos(\pi/3) = -1/2\mathclose{\text{。}} cos ( 2 π /3 ) = − cos ( π /3 ) = − 1/2 。
极限
值
适用条件
模块
lim θ → 0 sin θ θ {\lim\limits_{\theta\to0}\dfrac{\sin\theta}{\theta}} θ → 0 lim θ sin θ
1 {1} 1
θ {\theta} θ 以弧度为单位
2
lim θ → 0 1 − cos θ θ {\lim\limits_{\theta\to0}\dfrac{1 - \cos\theta}{\theta}} θ → 0 lim θ 1 − cos θ
0 {0} 0
θ {\theta} θ 以弧度为单位
2
lim n → ∞ ( 1 + 1 n ) n {\lim\limits_{n\to\infty}\Big(1 + \dfrac{1}{n}\Big)^n} n → ∞ lim ( 1 + n 1 ) n
e {e} e
6
lim n → ∞ ( 1 + x n ) n {\lim\limits_{n\to\infty}\Big(1 + \dfrac{x}{n}\Big)^n} n → ∞ lim ( 1 + n x ) n
e x {e^x} e x
每个实数 x {x} x
6
lim h → 0 e h − 1 h {\lim\limits_{h\to0}\dfrac{e^h - 1}{h}} h → 0 lim h e h − 1
1 {1} 1
6
lim x → ∞ 1 x p {\lim\limits_{x\to\infty}\dfrac{1}{x^p}} x → ∞ lim x p 1
0 {0} 0
p > 0 {p > 0} p > 0
3
lim x → ∞ ln x x p {\lim\limits_{x\to\infty}\dfrac{\ln x}{x^p}} x → ∞ lim x p ln x
0 {0} 0
p > 0 {p > 0} p > 0
3 , 7
lim x → ∞ x p a x {\lim\limits_{x\to\infty}\dfrac{x^p}{a^x}} x → ∞ lim a x x p
0 {0} 0
p {p} p 实数,a > 1 {a > 1} a > 1
3 , 7
lim n → ∞ a n n ! {\lim\limits_{n\to\infty}\dfrac{a^n}{n!}} n → ∞ lim n ! a n
0 {0} 0
a {a} a 实数
3
lim n → ∞ n ! n n {\lim\limits_{n\to\infty}\dfrac{n!}{n^n}} n → ∞ lim n n n !
0 {0} 0
3
lim x → 0 + x ln x {\lim\limits_{x\to0^+} x\ln x} x → 0 + lim x ln x
0 {0} 0
7
增长速度。 当 f / g → 0 f/g \to 0 f / g → 0 时记作 f ≪ g 。 f \ll g\mathclose{\text{。}} f ≪ g 。 当 x → ∞ , x \to \infty\mathclose{\text{,}} x → ∞ , 且 p > 0 、 p > 0\mathclose{\text{、}} p > 0 、 a > 1 a > 1 a > 1 时,
ln x ≪ x p ≪ a x , and for whole numbers n : a n ≪ n ! ≪ n n . \ln x \ll x^p \ll a^x, \qquad\text{and for whole numbers } n\text{:}\quad a^n \ll n! \ll n^n. ln x ≪ x p ≪ a x , and for whole numbers n : a n ≪ n ! ≪ n n .
洛必达法则 (模块 7 ,模块 8 给出证明)。设 f f f 和
g g g 在含 a a a 的开区间内可微,唯独在 a a a 处可例外,且在去心区间内 g ′ ( x ) ≠ 0 。 g'(x) \ne 0\mathclose{\text{。}} g ′ ( x ) = 0 。
设 f f f 和 g g g 均趋于 0,或两者的绝对值均趋于无穷大。若
当 x → a x \to a x → a 时有 f ′ ( x ) g ′ ( x ) → L , \dfrac{f'(x)}{g'(x)} \to L\mathclose{\text{,}} g ′ ( x ) f ′ ( x ) → L , 其中 L L L 可为实数或 ± ∞ , \pm\infty\mathclose{\text{,}} ± ∞ , 则
f ( x ) g ( x ) → L 。 \dfrac{f(x)}{g(x)} \to L\mathclose{\text{。}} g ( x ) f ( x ) → L 。 求单侧极限时,只考虑 a a a 的相应一侧。对于 ± ∞ , \pm\infty\mathclose{\text{,}} ± ∞ ,
只要求在相应方向上充分远处可微,且分母的导数非零。
定义与近似
名称
公式
模块
a {a} a 处的导数
f ′ ( a ) = lim h → 0 f ( a + h ) − f ( a ) h = lim x → a f ( x ) − f ( a ) x − a , {f'(a) = \lim\limits_{h \to 0} \dfrac{f(a + h) - f(a)}{h} = \lim\limits_{x \to a} \dfrac{f(x) - f(a)}{x-a},} f ′ ( a ) = h → 0 lim h f ( a + h ) − f ( a ) = x → a lim x − a f ( x ) − f ( a ) , 当极限存在时
4
a {a} a 处的切线
y = f ( a ) + f ′ ( a ) ( x − a ) , {y = f(a) + f'(a)(x - a),} y = f ( a ) + f ′ ( a ) ( x − a ) , 如果 f {f} f 在 a {a} a 处可导
4
线性近似
f ( x ) ≈ f ( a ) + f ′ ( a ) ( x − a ) , {f(x) \approx f(a) + f'(a)(x - a)}\mathclose{\text{,}} f ( x ) ≈ f ( a ) + f ′ ( a ) ( x − a ) , 其中 x {x} x 接近 a {a} a
7
微分
d y = f ′ ( x ) d x ; ; {dy = f'(x)\,dx;}\mathclose{\text{;}} d y = f ′ ( x ) d x ; ; d x {dx} d x 充分小时,Δ y ≈ d y {\Delta y \approx dy} Δ y ≈ d y
7
牛顿法
x n + 1 = x n − f ( x n ) f ′ ( x n ) , {x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)},} x n + 1 = x n − f ′ ( x n ) f ( x n ) , 当 f ′ ( x n ) ≠ 0 {f'(x_n) \ne 0} f ′ ( x n ) = 0
7
前向差分
f ′ ( a ) ≈ f ( a + h ) − f ( a ) h , ; {f'(a) \approx \dfrac{f(a + h) - f(a)}{h},}\mathclose{\text{;}} f ′ ( a ) ≈ h f ( a + h ) − f ( a ) , ; 误差约为 − h 2 f ′ ′ ( a ) {-\tfrac{h}{2}f''(a)} − 2 h f ′′ ( a )
4 , 15
中心差分
f ′ ( a ) ≈ f ( a + h ) − f ( a − h ) 2 h , ; {f'(a) \approx \dfrac{f(a + h) - f(a - h)}{2h},}\mathclose{\text{;}} f ′ ( a ) ≈ 2 h f ( a + h ) − f ( a − h ) , ; 误差约为 − h 2 6 f ′ ′ ′ ( a ) {-\tfrac{h^2}{6}f'''(a)} − 6 h 2 f ′′′ ( a )
4 , 15
与本系列其他地方一样,误差为精确值减去估计值,此处具体为
f ′ ( a ) f'(a) f ′ ( a ) 减去差分。当 h > 0 h > 0 h > 0 很小时,两个误差估计在 f ′ ′ f'' f ′′ (前向)或
f ′ ′ ′ f''' f ′′′ (中心)在 a a a 附近连续时成立。在浮点运算中,舍入误差的大小约为
ε / h \varepsilon/h ε / h ,对于数量级为 1 的函数值,其中 ε \varepsilon ε 是浮点舍入的量级。
在双精度下,步长约为 10 − 8 10^{-8} 1 0 − 8 (前向)和 10 − 5 10^{-5} 1 0 − 5 (中心)可以在该
量级上很好地工作。选择取决于函数值和导数。
规则
对于和、积、商的规则,f f f 和 g g g 在 x x x 处可导。
对于链式法则,g g g 在 x x x 处可导,f f f 在 g ( x ) g(x) g ( x ) 处可导。字母 c c c 是常数。
规则
公式
模块
常数
d d x ( c ) = 0 {\dfrac{d}{dx}(c) = 0} d x d ( c ) = 0
4
常数倍
d d x ( c f ( x ) ) = c f ′ ( x ) {\dfrac{d}{dx}\big(c\,f(x)\big) = c\,f'(x)} d x d ( c f ( x ) ) = c f ′ ( x )
4
和与差
( f ± g ) ′ = f ′ ± g ′ {(f \pm g)' = f' \pm g'} ( f ± g ) ′ = f ′ ± g ′
4
积
( f g ) ′ = f ′ g + f g ′ {(fg)' = f'g + fg'} ( f g ) ′ = f ′ g + f g ′
5
商
( f g ) ′ = f ′ g − f g ′ g 2 , , {\Big(\dfrac{f}{g}\Big)' = \dfrac{f'g - fg'}{g^2},}\mathclose{\text{,}} ( g f ) ′ = g 2 f ′ g − f g ′ , , 其中 g ( x ) ≠ 0 {g(x) \ne 0} g ( x ) = 0
5
链式法则
d d x f ( g ( x ) ) = f ′ ( g ( x ) ) g ′ ( x ) , {\dfrac{d}{dx}f\big(g(x)\big) = f'\big(g(x)\big)\,g'(x),} d x d f ( g ( x ) ) = f ′ ( g ( x ) ) g ′ ( x ) , 或 d y d x = d y d u d u d x {\dfrac{dy}{dx} = \dfrac{dy}{du}\,\dfrac{du}{dx}} d x d y = d u d y d x d u
5
反函数
( f − 1 ) ′ ( x ) = 1 f ′ ( f − 1 ( x ) ) , , {(f^{-1})'(x) = \dfrac{1}{f'\big(f^{-1}(x)\big)},}\mathclose{\text{,}} ( f − 1 ) ′ ( x ) = f ′ ( f − 1 ( x ) ) 1 , , 其中 f ′ ( f − 1 ( x ) ) ≠ 0 {f'\big(f^{-1}(x)\big) \ne 0} f ′ ( f − 1 ( x ) ) = 0
6
隐函数求导
对于曲线 F ( x , y ) = 0 : {F(x, y) = 0}\mathclose{\text{:}} F ( x , y ) = 0 : d y d x = − F x F y , {\dfrac{dy}{dx} = -\dfrac{F_x}{F_y},} d x d y = − F y F x , 其中 F y ≠ 0 {F_y \ne 0} F y = 0
6 , 17
对数求导
f ′ ( x ) = f ( x ) d d x ln ∣ f ( x ) ∣ , , {f'(x) = f(x)\,\dfrac{d}{dx}\ln\abs{f(x)},}\mathclose{\text{,}} f ′ ( x ) = f ( x ) d x d ln ∣ f ( x ) ∣ , , 其中 f ( x ) ≠ 0 {f(x) \ne 0} f ( x ) = 0
6
反函数求导法则适用于 f f f 的值域中的 x 。 x\mathclose{\text{。}} x 。 要求 f f f
在某开区间内连续且为单射,并在 f − 1 ( x ) f^{-1}(x) f − 1 ( x ) 处可微且导数非零。
对于隐函数求导,在曲线 F ( x , y ) = 0 F(x,y)=0 F ( x , y ) = 0 上,若某点处 F y ≠ 0 , F_y\ne 0\mathclose{\text{,}} F y = 0 , 且一阶偏导数在该点
的邻域内连续,则有局部可微分支 y = y ( x ) 。 y=y(x)\mathclose{\text{。}} y = y ( x ) 。 沿该分支求导并解出 y ′ 。 y'\mathclose{\text{。}} y ′ 。
标准函数的导数
f ( x ) {f(x)} f ( x )
f ′ ( x ) {f'(x)} f ′ ( x )
适用条件
模块
x n {x^n} x n
n x n − 1 {nx^{n-1}} n x n − 1
n {n} n 为实数,且 x > 0 ; ; {x > 0;}\mathclose{\text{;}} x > 0 ; ; 若 n {n} n 为整数,可取任意 x ≠ 0 ; {x \ne 0}\mathclose{\text{;}} x = 0 ; 若 n = 1 , 2 , 3 , … , {n = 1, 2, 3, \ldots}\mathclose{\text{,}} n = 1 , 2 , 3 , … , 可取任意 x {x} x
4 , 5 , 6
e x {e^x} e x
e x {e^x} e x
任意 x {x} x
6
e k x {e^{kx}} e k x
k e k x {ke^{kx}} k e k x
k {k} k 为常数
6
a x {a^x} a x
a x ln a {a^x\ln a} a x ln a
a > 0 {a > 0} a > 0
6
ln x {\ln x} ln x
1 x {\dfrac{1}{x}} x 1
x > 0 {x > 0} x > 0
6
ln ∣ x ∣ {\ln\abs{x}} ln ∣ x ∣
1 x {\dfrac{1}{x}} x 1
x ≠ 0 {x \ne 0} x = 0
6
log a x {\log_a x} log a x
1 x ln a {\dfrac{1}{x\ln a}} x ln a 1
a > 0 , {a > 0,} a > 0 , a ≠ 1 , {a \ne 1,} a = 1 , x > 0 {x > 0} x > 0
6
模块 4 证明了正整数幂的求导法则,模块 5 将其扩展到负整数幂,
模块 6 将其推广到定义域 x > 0 x>0 x > 0 上的实指数幂。
三角函数 (模块 5 ):
f ( x ) {f(x)} f ( x )
f ′ ( x ) {f'(x)} f ′ ( x )
适用条件
sin x {\sin x} sin x
cos x {\cos x} cos x
任意 x {x} x
cos x {\cos x} cos x
− sin x {-\sin x} − sin x
任意 x {x} x
tan x {\tan x} tan x
sec 2 x {\sec^2 x} sec 2 x
cos x ≠ 0 {\cos x \ne 0} cos x = 0
cot x {\cot x} cot x
− csc 2 x {-\csc^2 x} − csc 2 x
sin x ≠ 0 {\sin x \ne 0} sin x = 0
sec x {\sec x} sec x
sec x tan x {\sec x\tan x} sec x tan x
cos x ≠ 0 {\cos x \ne 0} cos x = 0
csc x {\csc x} csc x
− csc x cot x {-\csc x\cot x} − csc x cot x
sin x ≠ 0 {\sin x \ne 0} sin x = 0
这些需要 x x x 以弧度为单位:以度数为单位时, d d x sin x ∘ = π 180 cos x ∘ \dfrac{d}{dx}\sin x^\circ = \dfrac{\pi}{180}\cos x^\circ d x d sin x ∘ = 180 π cos x ∘
反三角函数 (模块 6 ):
f ( x ) {f(x)} f ( x )
f ′ ( x ) {f'(x)} f ′ ( x )
适用条件
值域在
arcsin x {\arcsin x} arcsin x
1 1 − x 2 {\dfrac{1}{\sqrt{1 - x^2}}} 1 − x 2 1
− 1 < x < 1 {-1 < x < 1} − 1 < x < 1
[ − π / 2 , π / 2 ] {[-\pi/2, \pi/2]} [ − π /2 , π /2 ]
arccos x {\arccos x} arccos x
− 1 1 − x 2 {-\dfrac{1}{\sqrt{1 - x^2}}} − 1 − x 2 1
− 1 < x < 1 {-1 < x < 1} − 1 < x < 1
[ 0 , π ] {[0, \pi]} [ 0 , π ]
arctan x {\arctan x} arctan x
1 1 + x 2 {\dfrac{1}{1 + x^2}} 1 + x 2 1
任意 x {x} x
( − π / 2 , π / 2 ) {(-\pi/2, \pi/2)} ( − π /2 , π /2 )
arcsec x {\arcsec x} arcsec x
1 ∣ x ∣ x 2 − 1 {\dfrac{1}{\abs{x}\sqrt{x^2 - 1}}} ∣ x ∣ x 2 − 1 1
∣ x ∣ > 1 {\abs{x} > 1} ∣ x ∣ > 1
[ 0 , π / 2 ) ∪ ( π / 2 , π ] {[0, \pi/2) \cup (\pi/2, \pi]} [ 0 , π /2 ) ∪ ( π /2 , π ]
本系列对 ∣ x ∣ ≥ 1 \abs{x}\ge 1 ∣ x ∣ ≥ 1 取值域 arcsec x = arccos ( 1 / x ) 。 \arcsec x = \arccos(1/x)\mathclose{\text{。}} arcsec x = arccos ( 1/ x ) 。 下面的求导公式不适用于
端点。有些其他分支会使 x < − 1 x < -1 x < − 1 的求导公式变号。
双曲函数 (模块 6 ):
sinh x = e x − e − x 2 , cosh x = e x + e − x 2 , cosh 2 x − sinh 2 x = 1 , \sinh x = \frac{e^x - e^{-x}}{2}, \qquad \cosh x = \frac{e^x + e^{-x}}{2}, \qquad \cosh^2 x - \sinh^2 x = 1, sinh x = 2 e x − e − x , cosh x = 2 e x + e − x , cosh 2 x − sinh 2 x = 1 ,
用 tanh x = sinh x cosh x \tanh x = \dfrac{\sinh x}{\cosh x} tanh x = cosh x sinh x 和 sech x = 1 cosh x \sech x = \dfrac{1}{\cosh x} sech x = cosh x 1 表示;对于 x ≠ 0 , x \ne 0\mathclose{\text{,}} x = 0 , 也
coth x = cosh x sinh x \coth x = \dfrac{\cosh x}{\sinh x} coth x = sinh x cosh x 与 csch x = 1 sinh x 。 \csch x = \dfrac{1}{\sinh x}\mathclose{\text{。}} csch x = sinh x 1 。
f ( x ) {f(x)} f ( x )
f ′ ( x ) {f'(x)} f ′ ( x )
适用条件
sinh x {\sinh x} sinh x
cosh x {\cosh x} cosh x
任意 x {x} x
cosh x {\cosh x} cosh x
sinh x {\sinh x} sinh x
任意 x {x} x
tanh x {\tanh x} tanh x
sech 2 x {\sech^2 x} sech 2 x
任意 x {x} x
coth x {\coth x} coth x
− csch 2 x {-\csch^2 x} − csch 2 x
x ≠ 0 {x \ne 0} x = 0
sech x {\sech x} sech x
− sech x tanh x {-\sech x\tanh x} − sech x tanh x
任意 x {x} x
csch x {\csch x} csch x
− csch x coth x {-\csch x\coth x} − csch x coth x
x ≠ 0 {x \ne 0} x = 0
定积分的性质
模块 9 定义了有界函数 f f f 在
[ a , b ] [a,b] [ a , b ] 上的积分,其中 a < b 。 a<b\mathclose{\text{。}} a < b 。 分割 P P P 的分点为 a = x 0 < ⋯ < x n = b , a=x_0<\dots<x_n=b\mathclose{\text{,}} a = x 0 < ⋯ < x n = b , 各小区间的宽度为 Δ x i = x i − x i − 1 , \Delta x_i=x_i-x_{i-1}\mathclose{\text{,}} Δ x i = x i − x i − 1 ,
最大宽度为 ∥ P ∥ 。 \norm{P}\mathclose{\text{。}} ∥ P ∥ 。 以下性质假设函数在
涉及的区间上均可积。k k k 为常数。
性质
公式
适用条件
定义
∫ a b f ( x ) d x = lim ∥ P ∥ → 0 ∑ i = 1 n f ( x i ∗ ) Δ x i {\displaystyle\int_a^b f(x)\,dx = \lim_{\norm{P}\to 0}\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i} ∫ a b f ( x ) d x = ∥ P ∥ → 0 lim i = 1 ∑ n f ( x i ∗ ) Δ x i
所有分划和 x i ∗ ∈ [ x i − 1 , x i ] {x_i^*\in[x_{i-1},x_i]} x i ∗ ∈ [ x i − 1 , x i ] 的选择都有相同的极限
相同的宽度
∫ a b f ( x ) d x = lim n → ∞ ∑ i = 1 n f ( x i ∗ ) Δ x {\displaystyle\int_a^b f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^*)\,\Delta x} ∫ a b f ( x ) d x = n → ∞ lim i = 1 ∑ n f ( x i ∗ ) Δ x
f {f} f 可积,Δ x = ( b − a ) / n , {\Delta x=(b-a)/n}\mathclose{\text{,}} Δ x = ( b − a ) / n , 采样点任取
和
∫ a b ( f ( x ) + g ( x ) ) d x = ∫ a b f ( x ) d x + ∫ a b g ( x ) d x {\displaystyle\int_a^b \big(f(x) + g(x)\big)\,dx = \int_a^b f(x)\,dx + \int_a^b g(x)\,dx} ∫ a b ( f ( x ) + g ( x ) ) d x = ∫ a b f ( x ) d x + ∫ a b g ( x ) d x
常数倍
∫ a b k f ( x ) d x = k ∫ a b f ( x ) d x {\displaystyle\int_a^b k\,f(x)\,dx = k\int_a^b f(x)\,dx} ∫ a b k f ( x ) d x = k ∫ a b f ( x ) d x
交换积分上下限
∫ b a f ( x ) d x = − ∫ a b f ( x ) d x , {\displaystyle\int_b^a f(x)\,dx = -\int_a^b f(x)\,dx,} ∫ b a f ( x ) d x = − ∫ a b f ( x ) d x , ∫ a a f ( x ) d x = 0 {\ \displaystyle\int_a^a f(x)\,dx = 0} ∫ a a f ( x ) d x = 0
相邻区间
∫ a b f ( x ) d x + ∫ b c f ( x ) d x = ∫ a c f ( x ) d x {\displaystyle\int_a^b f(x)\,dx + \int_b^c f(x)\,dx = \int_a^c f(x)\,dx} ∫ a b f ( x ) d x + ∫ b c f ( x ) d x = ∫ a c f ( x ) d x
a , {a,} a , b , {b,} b , c {c} c 以任何顺序排列
比较
∫ a b f ( x ) d x ≤ ∫ a b g ( x ) d x {\displaystyle\int_a^b f(x)\,dx \le \int_a^b g(x)\,dx} ∫ a b f ( x ) d x ≤ ∫ a b g ( x ) d x
f ( x ) ≤ g ( x ) {f(x) \le g(x)} f ( x ) ≤ g ( x ) 在 [ a , b ] , {[a, b],} [ a , b ] , 和 a ≤ b {a \le b} a ≤ b 上
上下界
m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) {m(b - a) \le \displaystyle\int_a^b f(x)\,dx \le M(b - a)} m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a )
m ≤ f ( x ) ≤ M {m \le f(x) \le M} m ≤ f ( x ) ≤ M 在 [ a , b ] , {[a, b],} [ a , b ] , 和 a ≤ b {a \le b} a ≤ b 上
绝对值
∣ ∫ a b f ( x ) d x ∣ ≤ ∫ a b ∣ f ( x ) ∣ d x {\abs{\displaystyle\int_a^b f(x)\,dx} \le \displaystyle\int_a^b \abs{f(x)}\,dx} ∫ a b f ( x ) d x ≤ ∫ a b ∣ f ( x ) ∣ d x
a ≤ b {a \le b} a ≤ b
偶函数
∫ − a a f ( x ) d x = 2 ∫ 0 a f ( x ) d x {\displaystyle\int_{-a}^{a} f(x)\,dx = 2\int_0^a f(x)\,dx} ∫ − a a f ( x ) d x = 2 ∫ 0 a f ( x ) d x
f ( − x ) = f ( x ) {f(-x) = f(x)} f ( − x ) = f ( x )
奇函数
∫ − a a f ( x ) d x = 0 {\displaystyle\int_{-a}^{a} f(x)\,dx = 0} ∫ − a a f ( x ) d x = 0
f ( − x ) = − f ( x ) {f(-x) = -f(x)} f ( − x ) = − f ( x )
积分中值定理
∫ a b f ( x ) d x = f ( c ) ( b − a ) {\displaystyle\int_a^b f(x)\,dx = f(c)\,(b - a)} ∫ a b f ( x ) d x = f ( c ) ( b − a ) 对某个 c {c} c 在 [ a , b ] {[a, b]} [ a , b ] 中成立
f {f} f 在 [ a , b ] {[a, b]} [ a , b ] 上连续
求和公式 (模块 9),其中 n = 1 , 2 , 3 , … : n = 1, 2, 3, \ldots\mathclose{\text{:}} n = 1 , 2 , 3 , … :
∑ i = 1 n i = n ( n + 1 ) 2 , ∑ i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 , ∑ i = 1 n i 3 = ( n ( n + 1 ) 2 ) 2 . \sum_{i=1}^{n} i = \frac{n(n+1)}{2}, \qquad \sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}, \qquad \sum_{i=1}^{n} i^3 = \Big(\frac{n(n+1)}{2}\Big)^2. i = 1 ∑ n i = 2 n ( n + 1 ) , i = 1 ∑ n i 2 = 6 n ( n + 1 ) ( 2 n + 1 ) , i = 1 ∑ n i 3 = ( 2 n ( n + 1 ) ) 2 .
微积分基本定理
模块 10 证明了两部分。
公式
公式
适用条件
第一部分
d d x ∫ a x f ( t ) d t = f ( x ) {\dfrac{d}{dx}\displaystyle\int_a^x f(t)\,dt = f(x)} d x d ∫ a x f ( t ) d t = f ( x )
f {f} f 在 [ a , b ] , {[a, b],} [ a , b ] , 上连续,且 x {x} x 在 ( a , b ) {(a, b)} ( a , b ) 中取值
使用链式法则的第一部分
d d x ∫ a u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) {\dfrac{d}{dx}\displaystyle\int_a^{u(x)} f(t)\,dt = f\big(u(x)\big)\,u'(x)} d x d ∫ a u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x )
f {f} f 在某个区间上连续,该区间含 a {a} a 及可微函数 u {u} u 的取值,且 u ( x ) {u(x)} u ( x ) 在该区间的内部
变下限
d d x ∫ x b f ( t ) d t = − f ( x ) {\dfrac{d}{dx}\displaystyle\int_x^b f(t)\,dt = -f(x)} d x d ∫ x b f ( t ) d t = − f ( x )
f {f} f 在 [ a , b ] {[a,b]} [ a , b ] 上连续, x {x} x 在 ( a , b ) {(a,b)} ( a , b )
第2部分
∫ a b f ( x ) d x = F ( b ) − F ( a ) = [ F ( x ) ] a b {\displaystyle\int_a^b f(x)\,dx = F(b) - F(a) = \big[F(x)\big]_a^b} ∫ a b f ( x ) d x = F ( b ) − F ( a ) = [ F ( x ) ] a b
f {f} f 在 [ a , b ] {[a, b]} [ a , b ] 上连续,且在该区间上有 F ′ = f {F' = f} F ′ = f
总变化量
∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) {\displaystyle\int_a^b F'(x)\,dx = F(b) - F(a)} ∫ a b F ′ ( x ) d x = F ( b ) − F ( a )
F ′ {F'} F ′ 在 [ a , b ] {[a, b]} [ a , b ] 上连续
不定积分
∫ f ( x ) d x = F ( x ) + C {\displaystyle\int f(x)\,dx = F(x) + C} ∫ f ( x ) d x = F ( x ) + C
意味着 F ′ ( x ) = f ( x ) {F'(x) = f(x)} F ′ ( x ) = f ( x ) 在一个区间上
方法
方法
公式
模块
换元法
∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u , ; {\displaystyle\int f\big(g(x)\big)\,g'(x)\,dx = \int f(u)\,du,}\mathclose{\text{;}} ∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u , ; 代入 u = g ( x ) , {u = g(x)}\mathclose{\text{,}} u = g ( x ) , 再把结果写回变量 x {x} x
10
定积分换元法
∫ a b f ( g ( x ) ) g ′ ( x ) d x = ∫ g ( a ) g ( b ) f ( u ) d u {\displaystyle\int_a^b f\big(g(x)\big)\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du} ∫ a b f ( g ( x ) ) g ′ ( x ) d x = ∫ g ( a ) g ( b ) f ( u ) d u
10
分部积分法
∫ u d v = u v − ∫ v d u {\displaystyle\int u\,dv = uv - \int v\,du} ∫ u d v = uv − ∫ v d u
11
分部积分法,定积分
∫ a b f ( x ) g ′ ( x ) d x = [ f ( x ) g ( x ) ] a b − ∫ a b f ′ ( x ) g ( x ) d x {\displaystyle\int_a^b f(x)\,g'(x)\,dx = \big[f(x)\,g(x)\big]_a^b - \int_a^b f'(x)\,g(x)\,dx} ∫ a b f ( x ) g ′ ( x ) d x = [ f ( x ) g ( x ) ] a b − ∫ a b f ′ ( x ) g ( x ) d x
11
降阶公式
∫ sin n x d x = − sin n − 1 x cos x n + n − 1 n ∫ sin n − 2 x d x , ; {\displaystyle\int \sin^n x\,dx = -\frac{\sin^{n-1}x\cos x}{n} + \frac{n-1}{n}\int \sin^{n-2}x\,dx,}\mathclose{\text{;}} ∫ sin n x d x = − n sin n − 1 x cos x + n n − 1 ∫ sin n − 2 x d x , ; n {\ n} n 为整数且满足 n ≥ 2 {n \ge 2} n ≥ 2
11
部分分式分解
1 ( x − p ) ( x − q ) = 1 p − q ( 1 x − p − 1 x − q ) , {\dfrac{1}{(x - p)(x - q)} = \dfrac{1}{p - q}\Big(\dfrac{1}{x - p} - \dfrac{1}{x - q}\Big),} ( x − p ) ( x − q ) 1 = p − q 1 ( x − p 1 − x − q 1 ) , p ≠ q , {\ p \ne q}\mathclose{\text{,}} p = q , x ≠ p , q {x\ne p,q} x = p , q
11
对于定积分的换元法,要求 g ′ g' g ′ 在 [ a , b ] [a,b] [ a , b ] 上连续,并且 f f f 在一个区间上连续,
该区间包含 g g g 的值域。定积分的分部积分法要求 f ′ f' f ′ 和 g ′ g' g ′ 在 [ a , b ] [a,b] [ a , b ] 上连续。
对于不定积分的换元法,只要 f f f 的原函数可微,且
其可微点为 g ( x ) , g(x)\mathclose{\text{,}} g ( x ) , 同时 g g g 在 x x x 可微,就可以应用链式法则。
原函数
C C C 是任意常数。如果定义域由多个区间组成(例如 x ≠ 0 x \ne 0 x = 0 是
1 / x 1/x 1/ x 的定义域),不同区间的常数可以不同。
f ( x ) {f(x)} f ( x )
∫ f ( x ) d x {\displaystyle\int f(x)\,dx} ∫ f ( x ) d x
适用条件
模块
x n {x^n} x n
x n + 1 n + 1 + C {\dfrac{x^{n+1}}{n + 1} + C} n + 1 x n + 1 + C
n ≠ − 1 。 {n \ne -1}\mathclose{\text{。}} n = − 1 。 实数 n {n} n 的一般情形取 x > 0 ; {x>0}\mathclose{\text{;}} x > 0 ; 当 n = 0 , 1 , 2 , … {n=0,1,2,\ldots} n = 0 , 1 , 2 , … 时可取任意实数 x ; {x}\mathclose{\text{;}} x ; 负整数 n {n} n 的情形取 x ≠ 0 。 {x\ne 0}\mathclose{\text{。}} x = 0 。
10
1 x {\dfrac{1}{x}} x 1
ln ∣ x ∣ + C {\ln\abs{x} + C} ln ∣ x ∣ + C
x ≠ 0 {x \ne 0} x = 0
10
e x {e^x} e x
e x + C {e^x + C} e x + C
10
e k x {e^{kx}} e k x
1 k e k x + C {\dfrac{1}{k}e^{kx} + C} k 1 e k x + C
k ≠ 0 {k \ne 0} k = 0
10
a x {a^x} a x
a x ln a + C {\dfrac{a^x}{\ln a} + C} ln a a x + C
a > 0 , {a > 0,} a > 0 , a ≠ 1 {a \ne 1} a = 1
10
sin x {\sin x} sin x
− cos x + C {-\cos x + C} − cos x + C
10
cos x {\cos x} cos x
sin x + C {\sin x + C} sin x + C
10
sec 2 x {\sec^2 x} sec 2 x
tan x + C {\tan x + C} tan x + C
cos x ≠ 0 {\cos x \ne 0} cos x = 0
10
csc 2 x {\csc^2 x} csc 2 x
− cot x + C {-\cot x + C} − cot x + C
sin x ≠ 0 {\sin x \ne 0} sin x = 0
10
sec x tan x {\sec x\tan x} sec x tan x
sec x + C {\sec x + C} sec x + C
cos x ≠ 0 {\cos x \ne 0} cos x = 0
10
csc x cot x {\csc x\cot x} csc x cot x
− csc x + C {-\csc x + C} − csc x + C
sin x ≠ 0 {\sin x \ne 0} sin x = 0
10
tan x {\tan x} tan x
ln ∣ sec x ∣ + C {\ln\abs{\sec x} + C} ln ∣ sec x ∣ + C
cos x ≠ 0 {\cos x \ne 0} cos x = 0
10
cot x {\cot x} cot x
ln ∣ sin x ∣ + C {\ln\abs{\sin x} + C} ln ∣ sin x ∣ + C
sin x ≠ 0 {\sin x \ne 0} sin x = 0
对数求导法见模块 6
sec x {\sec x} sec x
ln ∣ sec x + tan x ∣ + C {\ln\abs{\sec x + \tan x} + C} ln ∣ sec x + tan x ∣ + C
cos x ≠ 0 {\cos x \ne 0} cos x = 0
11
csc x {\csc x} csc x
ln ∣ csc x − cot x ∣ + C {\ln\abs{\csc x - \cot x} + C} ln ∣ csc x − cot x ∣ + C
sin x ≠ 0 {\sin x \ne 0} sin x = 0
11
sin 2 x {\sin^2 x} sin 2 x
x 2 − sin 2 x 4 + C {\dfrac{x}{2} - \dfrac{\sin 2x}{4} + C} 2 x − 4 sin 2 x + C
11
cos 2 x {\cos^2 x} cos 2 x
x 2 + sin 2 x 4 + C {\dfrac{x}{2} + \dfrac{\sin 2x}{4} + C} 2 x + 4 sin 2 x + C
11
ln x {\ln x} ln x
x ln x − x + C {x\ln x - x + C} x ln x − x + C
x > 0 {x > 0} x > 0
11
1 a 2 + x 2 {\dfrac{1}{a^2 + x^2}} a 2 + x 2 1
1 a arctan x a + C {\dfrac{1}{a}\arctan\dfrac{x}{a} + C} a 1 arctan a x + C
a ≠ 0 {a \ne 0} a = 0
10 , 11
1 a 2 − x 2 {\dfrac{1}{\sqrt{a^2 - x^2}}} a 2 − x 2 1
arcsin x a + C {\arcsin\dfrac{x}{a} + C} arcsin a x + C
a > 0 , {a > 0,} a > 0 , ∣ x ∣ < a {\abs{x} < a} ∣ x ∣ < a
10 , 11
1 x 2 − a 2 {\dfrac{1}{x^2 - a^2}} x 2 − a 2 1
1 2 a ln ∣ x − a x + a ∣ + C {\dfrac{1}{2a}\ln\abs{\dfrac{x - a}{x + a}} + C} 2 a 1 ln x + a x − a + C
a ≠ 0 , {a \ne 0,} a = 0 , x ≠ ± a {x \ne \pm a} x = ± a
11
1 x 2 + a 2 {\dfrac{1}{\sqrt{x^2 + a^2}}} x 2 + a 2 1
ln ( x + x 2 + a 2 ) + C {\ln\big(x + \sqrt{x^2 + a^2}\big) + C} ln ( x + x 2 + a 2 ) + C
a ≠ 0 {a \ne 0} a = 0
11
sinh x {\sinh x} sinh x
cosh x + C {\cosh x + C} cosh x + C
10
cosh x {\cosh x} cosh x
sinh x + C {\sinh x + C} sinh x + C
10
三角换元
这些方法见模块 11 。每行都有 a > 0 。 a > 0\mathclose{\text{。}} a > 0 。 化简根式时,θ \theta θ 的取值范围决定绝对值
内的符号。只能使用使原被积函数有定义的点。
被积函数包含
代入
然后
a 2 − x 2 {\sqrt{a^2 - x^2}} a 2 − x 2
x = a sin θ , {x = a\sin\theta,} x = a sin θ , − π 2 ≤ θ ≤ π 2 {\ -\tfrac{\pi}{2} \le \theta \le \tfrac{\pi}{2}} − 2 π ≤ θ ≤ 2 π
a 2 − x 2 = a cos θ , {\sqrt{a^2 - x^2} = a\cos\theta,} a 2 − x 2 = a cos θ , d x = a cos θ d θ {\ dx = a\cos\theta\,d\theta} d x = a cos θ d θ
a 2 + x 2 {\sqrt{a^2 + x^2}} a 2 + x 2
x = a tan θ , {x = a\tan\theta,} x = a tan θ , − π 2 < θ < π 2 {\ -\tfrac{\pi}{2} < \theta < \tfrac{\pi}{2}} − 2 π < θ < 2 π
a 2 + x 2 = a sec θ , {\sqrt{a^2 + x^2} = a\sec\theta,} a 2 + x 2 = a sec θ , d x = a sec 2 θ d θ {\ dx = a\sec^2\theta\,d\theta} d x = a sec 2 θ d θ
x 2 − a 2 {\sqrt{x^2 - a^2}} x 2 − a 2
x = a sec θ , {x = a\sec\theta,} x = a sec θ , 0 ≤ θ < π 2 {\ 0 \le \theta < \tfrac{\pi}{2}} 0 ≤ θ < 2 π (对于 x ≥ a ) {x \ge a}\mathclose{\text{)}} x ≥ a )
x 2 − a 2 = a tan θ , {\sqrt{x^2 - a^2} = a\tan\theta,} x 2 − a 2 = a tan θ , d x = a sec θ tan θ d θ {\ dx = a\sec\theta\tan\theta\,d\theta} d x = a sec θ tan θ d θ
x 2 − a 2 {\sqrt{x^2 - a^2}} x 2 − a 2
x = a sec θ , {x = a\sec\theta,} x = a sec θ , π 2 < θ ≤ π {\ \tfrac{\pi}{2} < \theta \le \pi} 2 π < θ ≤ π (对于 x ≤ − a ) {x \le -a}\mathclose{\text{)}} x ≤ − a )
x 2 − a 2 = − a tan θ , {\sqrt{x^2 - a^2} = -a\tan\theta,} x 2 − a 2 = − a tan θ , d x = a sec θ tan θ d θ {\ dx = a\sec\theta\tan\theta\,d\theta} d x = a sec θ tan θ d θ
数值积分
这些公式见模块 11 。设 f f f 在 [ a , b ] [a,b] [ a , b ] 上连续,且 a < b 。 a<b\mathclose{\text{。}} a < b 。
将 [ a , b ] [a,b] [ a , b ] 分成 n ≥ 1 n\ge 1 n ≥ 1 个等宽的子区间,宽度为
Δ x = ( b − a ) / n , \Delta x = (b - a)/n\mathclose{\text{,}} Δ x = ( b − a ) / n , 端点为 x i = a + i Δ x , x_i = a + i\,\Delta x\mathclose{\text{,}} x i = a + i Δ x , 中点为
x ˉ i = 1 2 ( x i − 1 + x i ) . \bar{x}_i = \tfrac12(x_{i-1} + x_i)\mathclose{\text{.}} x ˉ i = 2 1 ( x i − 1 + x i ) .
M n = Δ x [ f ( x ˉ 1 ) + f ( x ˉ 2 ) + ⋯ + f ( x ˉ n ) ] M_n = \Delta x\,\big[f(\bar{x}_1) + f(\bar{x}_2) + \cdots + f(\bar{x}_n)\big] M n = Δ x [ f ( x ˉ 1 ) + f ( x ˉ 2 ) + ⋯ + f ( x ˉ n ) ]
T n = Δ x 2 [ f ( x 0 ) + 2 f ( x 1 ) + 2 f ( x 2 ) + ⋯ + 2 f ( x n − 1 ) + f ( x n ) ] T_n = \frac{\Delta x}{2}\big[f(x_0) + 2f(x_1) + 2f(x_2) + \cdots + 2f(x_{n-1}) + f(x_n)\big] T n = 2 Δ x [ f ( x 0 ) + 2 f ( x 1 ) + 2 f ( x 2 ) + ⋯ + 2 f ( x n − 1 ) + f ( x n ) ]
S n = Δ x 3 [ f ( x 0 ) + 4 f ( x 1 ) + 2 f ( x 2 ) + 4 f ( x 3 ) + ⋯ + 2 f ( x n − 2 ) + 4 f ( x n − 1 ) + f ( x n ) ] , n even S_n = \frac{\Delta x}{3}\big[f(x_0) + 4f(x_1) + 2f(x_2) + 4f(x_3) + \cdots + 2f(x_{n-2}) + 4f(x_{n-1}) + f(x_n)\big], \quad n \text{ even} S n = 3 Δ x [ f ( x 0 ) + 4 f ( x 1 ) + 2 f ( x 2 ) + 4 f ( x 3 ) + ⋯ + 2 f ( x n − 2 ) + 4 f ( x n − 1 ) + f ( x n ) ] , n even
误差 E E E 是积分值减去近似值。对于误差界,假设所指的
导数在 [ a , b ] [a,b] [ a , b ] 上连续。
规则
误差界
精确成立的情形
中点法 M n {M_n} M n
∣ E M ∣ ≤ K ( b − a ) 3 24 n 2 , , {\abs{E_M} \le \dfrac{K(b - a)^3}{24n^2},}\mathclose{\text{,}} ∣ E M ∣ ≤ 24 n 2 K ( b − a ) 3 , , 其中在 [ a , b ] {[a, b]} [ a , b ] 上有 ∣ f ′ ′ ( x ) ∣ ≤ K {\abs{f''(x)} \le K} ∣ f ′′ ( x ) ∣ ≤ K
次数为 ≤ 1 {\le 1} ≤ 1 的多项式
梯形法则 T n {T_n} T n
∣ E T ∣ ≤ K ( b − a ) 3 12 n 2 , , {\abs{E_T} \le \dfrac{K(b - a)^3}{12n^2},}\mathclose{\text{,}} ∣ E T ∣ ≤ 12 n 2 K ( b − a ) 3 , , 其中在 [ a , b ] {[a, b]} [ a , b ] 上有 ∣ f ′ ′ ( x ) ∣ ≤ K {\abs{f''(x)} \le K} ∣ f ′′ ( x ) ∣ ≤ K
次数为 ≤ 1 {\le 1} ≤ 1 的多项式
辛普森法则 S n {S_n} S n
∣ E S ∣ ≤ K ( b − a ) 5 180 n 4 , , {\abs{E_S} \le \dfrac{K(b - a)^5}{180n^4},}\mathclose{\text{,}} ∣ E S ∣ ≤ 180 n 4 K ( b − a ) 5 , , 其中在 [ a , b ] {[a, b]} [ a , b ] 上有 ∣ f ( 4 ) ( x ) ∣ ≤ K {\abs{f^{(4)}(x)} \le K} f ( 4 ) ( x ) ≤ K
次数为 ≤ 3 {\le 3} ≤ 3 的多项式
这些界限无法改进:对于 f ( x ) = x 2 , f(x) = x^2\mathclose{\text{,}} f ( x ) = x 2 , 中点法和梯形法则的误差在绝对值上达到其界限。
辛普森法则用于 f ( x ) = x 4 f(x)=x^4 f ( x ) = x 4 时,误差的绝对值也达到相应上界。
反常积分
这些内容见模块 12 。反常积分收敛 ,是指
定义它的极限存在且有限,例如:
∫ a ∞ f ( x ) d x = lim t → ∞ ∫ a t f ( x ) d x , ∫ a b f ( x ) d x = lim t → b − ∫ a t f ( x ) d x if f is unbounded near b , \int_a^\infty f(x)\,dx = \lim_{t\to\infty}\int_a^t f(x)\,dx, \qquad \int_a^b f(x)\,dx = \lim_{t\to b^-}\int_a^t f(x)\,dx \ \text{ if } f \text{ is unbounded near } b, ∫ a ∞ f ( x ) d x = t → ∞ lim ∫ a t f ( x ) d x , ∫ a b f ( x ) d x = t → b − lim ∫ a t f ( x ) d x if f is unbounded near b ,
其中每个截断积分都必须是正常定积分。奇点位于左端点时,取相应的单侧极限。
若奇点位于区间内部,则在该点拆分,并要求两侧的反常积分都收敛。
同时, ∫ − ∞ ∞ f ( x ) d x = ∫ − ∞ c f ( x ) d x + ∫ c ∞ f ( x ) d x \int_{-\infty}^{\infty} f(x)\,dx = \int_{-\infty}^{c} f(x)\,dx + \int_{c}^{\infty} f(x)\,dx ∫ − ∞ ∞ f ( x ) d x = ∫ − ∞ c f ( x ) d x + ∫ c ∞ f ( x ) d x 当右侧两个
积分均收敛时。(两者都需要: ∫ − t t x d x = 0 \int_{-t}^{t} x\,dx = 0 ∫ − t t x d x = 0 对于每一个 t , t\mathclose{\text{,}} t , 然而
∫ − ∞ ∞ x d x \int_{-\infty}^{\infty} x\,dx ∫ − ∞ ∞ x d x 发散。)
积分
值
适用条件
∫ 1 ∞ d x x p {\displaystyle\int_1^\infty \frac{dx}{x^p}} ∫ 1 ∞ x p d x
1 p − 1 {\dfrac{1}{p - 1}} p − 1 1
p > 1 ; {p > 1;} p > 1 ; 在 p ≤ 1 {p \le 1} p ≤ 1 处发散
∫ 0 1 d x x p {\displaystyle\int_0^1 \frac{dx}{x^p}} ∫ 0 1 x p d x
1 1 − p {\dfrac{1}{1 - p}} 1 − p 1
p < 1 ; {p < 1;} p < 1 ; 在 p ≥ 1 {p \ge 1} p ≥ 1 处发散
∫ 0 ∞ e − a x d x {\displaystyle\int_0^\infty e^{-ax}\,dx} ∫ 0 ∞ e − a x d x
1 a {\dfrac{1}{a}} a 1
a > 0 {a > 0} a > 0
∫ − ∞ ∞ d x 1 + x 2 {\displaystyle\int_{-\infty}^{\infty} \frac{dx}{1 + x^2}} ∫ − ∞ ∞ 1 + x 2 d x
π {\pi} π
∫ − ∞ ∞ e − x 2 d x {\displaystyle\int_{-\infty}^{\infty} e^{-x^2}\,dx} ∫ − ∞ ∞ e − x 2 d x
π {\sqrt{\pi}} π
引用自模块 12,证明见 模块 19
比较法。 设 f 、 f\mathclose{\text{、}} f 、 g g g 在 [ a , ∞ ) [a,\infty) [ a , ∞ ) 上连续,且在该区间满足 0 ≤ f ( x ) ≤ g ( x ) 。 0 \le f(x) \le g(x)\mathclose{\text{。}} 0 ≤ f ( x ) ≤ g ( x ) 。 反常积分 ∫ a ∞ f ( x ) d x \int_a^\infty f(x)\,dx ∫ a ∞ f ( x ) d x 在
∫ a ∞ g ( x ) d x \int_a^\infty g(x)\,dx ∫ a ∞ g ( x ) d x 收敛时收敛;反常积分 ∫ a ∞ g ( x ) d x \int_a^\infty g(x)\,dx ∫ a ∞ g ( x ) d x 在 ∫ a ∞ f ( x ) d x \int_a^\infty f(x)\,dx ∫ a ∞ f ( x ) d x
发散时发散。
模块 12 教授这些内容,除了平均值
(模块 9 ) 和参数曲线的弧长 (模块 16 ).
计算面积和体积时,要求边界函数或截面面积在所述区间内连续。
量
公式
适用情形
曲线之间的面积
A = ∫ a b ( f ( x ) − g ( x ) ) d x {A = \displaystyle\int_a^b \big(f(x) - g(x)\big)\,dx} A = ∫ a b ( f ( x ) − g ( x ) ) d x
在 [ a , b ] {[a, b]} [ a , b ] 上有 f ( x ) ≥ g ( x ) , {f(x) \ge g(x)}\mathclose{\text{,}} f ( x ) ≥ g ( x ) , 竖直条带的高度为上方函数减下方函数。若两曲线相交,则对 ∣ f ( x ) − g ( x ) ∣ , {\abs{f(x) - g(x)},} ∣ f ( x ) − g ( x ) ∣ , 积分,或在两曲线上下位置交换的点分段。
面积,水平条带
A = ∫ c d ( x R ( y ) − x L ( y ) ) d y {A = \displaystyle\int_c^d \big(x_R(y) - x_L(y)\big)\,dy} A = ∫ c d ( x R ( y ) − x L ( y ) ) d y
x R ( y ) ≥ x L ( y ) {x_R(y)\ge x_L(y)} x R ( y ) ≥ x L ( y ) 在 [ c , d ] {[c,d]} [ c , d ] 上。用右边界的值减去左边界的值
切片法求体积
V = ∫ a b A ( x ) d x {V = \displaystyle\int_a^b A(x)\,dx} V = ∫ a b A ( x ) d x
垂直于 x {x} x 轴在 x {x} x 处的切片具有已知面积 A ( x ) {A(x)} A ( x )
圆盘法
V = π ∫ a b f ( x ) 2 d x {V = \pi\displaystyle\int_a^b f(x)^2\,dx} V = π ∫ a b f ( x ) 2 d x
y = f ( x ) ≥ 0 {y = f(x) \ge 0} y = f ( x ) ≥ 0 下方的区域绕 x {x} x 轴旋转,每个截面为半径 f ( x ) {f(x)} f ( x ) 的圆盘
圆环法
V = π ∫ a b ( R ( x ) 2 − r ( x ) 2 ) d x {V = \pi\displaystyle\int_a^b \big(R(x)^2 - r(x)^2\big)\,dx} V = π ∫ a b ( R ( x ) 2 − r ( x ) 2 ) d x
每个切片是一个环形,外半径为 R ( x ) , {R(x)}\mathclose{\text{,}} R ( x ) , 内半径为 r ( x ) , {r(x),} r ( x ) , 0 ≤ r ( x ) ≤ R ( x ) {0 \le r(x) \le R(x)} 0 ≤ r ( x ) ≤ R ( x )
圆柱壳法
V = 2 π ∫ a b x f ( x ) d x {V = 2\pi\displaystyle\int_a^b x\,f(x)\,dx} V = 2 π ∫ a b x f ( x ) d x
y = f ( x ) ≥ 0 , {y = f(x) \ge 0,} y = f ( x ) ≥ 0 , 下方的区域 0 ≤ a ≤ x ≤ b , {0 \le a \le x \le b,} 0 ≤ a ≤ x ≤ b , 绕 y {y} y 轴旋转;一般情形下有 2 π ∫ ( radius ) ( height ) {2\pi\int(\text{radius})(\text{height})} 2 π ∫ ( radius ) ( height )
弧长
L = ∫ a b 1 + f ′ ( x ) 2 d x {L = \displaystyle\int_a^b \sqrt{1 + f'(x)^2}\,dx} L = ∫ a b 1 + f ′ ( x ) 2 d x
一条曲线 y = f ( x ) , {y = f(x)}\mathclose{\text{,}} y = f ( x ) , 其上 f ′ {f'} f ′ 在 [ a , b ] {[a, b]} [ a , b ] 上连续
参数形式的弧长
L = ∫ α β x ′ ( t ) 2 + y ′ ( t ) 2 d t {L = \displaystyle\int_\alpha^\beta \sqrt{x'(t)^2 + y'(t)^2}\,dt} L = ∫ α β x ′ ( t ) 2 + y ′ ( t ) 2 d t
α ≤ t ≤ β , {\alpha \le t \le \beta,} α ≤ t ≤ β , 取遍指定区间时曲线 ( x ( t ) , y ( t ) ) {\big(x(t), y(t)\big)} ( x ( t ) , y ( t ) ) 恰好描绘一次,且 x ′ , 、 {x',}\mathclose{\text{、}} x ′ , 、 y ′ {y'} y ′ 连续
平均值
f avg = 1 b − a ∫ a b f ( x ) d x {f_{\text{avg}} = \dfrac{1}{b - a}\displaystyle\int_a^b f(x)\,dx} f avg = b − a 1 ∫ a b f ( x ) d x
f {f} f 在 [ a , b ] {[a,b]} [ a , b ] 上可积,且满足 a < b {a<b} a < b
功
W = ∫ a b F ( x ) d x {W = \displaystyle\int_a^b F(x)\,dx} W = ∫ a b F ( x ) d x
F ( x ) {F(x)} F ( x ) 是沿直线的力的有符号分量。缓慢拉伸理想弹簧所需的力是 k x , {kx}\mathclose{\text{,}} k x , 方向与弹簧本身的力相反。对于抽水情况,将每一层的重量乘以其被提升的距离进行积分
细杆的质心
x ˉ = ∫ a b x ρ ( x ) d x ∫ a b ρ ( x ) d x {\bar{x} = \dfrac{\int_a^b x\,\rho(x)\,dx}{\int_a^b \rho(x)\,dx}} x ˉ = ∫ a b ρ ( x ) d x ∫ a b x ρ ( x ) d x
一根位于 [ a , b ] {[a,b]} [ a , b ] 上的杆,具有可积的非负密度 ρ ( x ) {\rho(x)} ρ ( x ) 且总质量为正
薄板的形心
x ˉ = 1 A ∫ a b x ( f ( x ) − g ( x ) ) d x {\bar{x} = \dfrac{1}{A}\displaystyle\int_a^b x\big(f(x) - g(x)\big)\,dx} x ˉ = A 1 ∫ a b x ( f ( x ) − g ( x ) ) d x
一个均匀板 g ( x ) ≤ y ≤ f ( x ) , {g(x) \le y \le f(x),} g ( x ) ≤ y ≤ f ( x ) , a ≤ x ≤ b , , {a \le x \le b,}\mathclose{\text{,}} a ≤ x ≤ b , , 面积为正数 A {A} A
y ˉ = 1 A ∫ a b 1 2 ( f ( x ) 2 − g ( x ) 2 ) d x {\bar{y} = \dfrac{1}{A}\displaystyle\int_a^b \tfrac12\big(f(x)^2 - g(x)^2\big)\,dx} y ˉ = A 1 ∫ a b 2 1 ( f ( x ) 2 − g ( x ) 2 ) d x
同一平板
概率
P ( a ≤ X ≤ b ) = ∫ a b f ( x ) d x {P(a \le X \le b) = \displaystyle\int_a^b f(x)\,dx} P ( a ≤ X ≤ b ) = ∫ a b f ( x ) d x
f {f} f 是概率密度:f ≥ 0 {f \ge 0} f ≥ 0 且 ∫ − ∞ ∞ f ( x ) d x = 1 {\int_{-\infty}^{\infty} f(x)\,dx = 1} ∫ − ∞ ∞ f ( x ) d x = 1
均值
μ = ∫ − ∞ ∞ x f ( x ) d x {\mu = \displaystyle\int_{-\infty}^{\infty} x\,f(x)\,dx} μ = ∫ − ∞ ∞ x f ( x ) d x
X {X} X 具有密度 f {f} f 且满足 ∫ − ∞ ∞ ∣ x ∣ f ( x ) d x < ∞ {\displaystyle\int_{-\infty}^{\infty}\abs{x}\,f(x)\,dx<\infty} ∫ − ∞ ∞ ∣ x ∣ f ( x ) d x < ∞
当力的单位为牛顿,距离的单位为米时,功的单位为焦耳。
这些内容见模块 13 。模块 6 通过代入检验
y ′ = k y y' = ky y ′ = k y 的解。
模型
方程
解
适用条件
增长与衰减
d y d t = k y {\dfrac{dy}{dt} = ky} d t d y = k y
y = y 0 e k t {y = y_0e^{kt}} y = y 0 e k t
y ( 0 ) = y 0 > 0 。 {y(0)=y_0>0}\mathclose{\text{。}} y ( 0 ) = y 0 > 0 。 当 k > 0 {k > 0} k > 0 时增长(倍增时间为 ln 2 / k ); {\ln 2/k}\mathclose{\text{);}} ln 2/ k ); 当 k < 0 {k < 0} k < 0 时衰减(半衰期为 ln 2 / ∣ k ∣ ) {\ln 2/\abs{k}}\mathclose{\text{)}} ln 2/ ∣ k ∣ )
牛顿冷却定律
d T d t = − k ( T − T s ) {\dfrac{dT}{dt} = -k(T - T_s)} d t d T = − k ( T − T s )
T = T s + ( T 0 − T s ) e − k t {T = T_s + (T_0 - T_s)e^{-kt}} T = T s + ( T 0 − T s ) e − k t
k > 0 , {k > 0,} k > 0 , T ( 0 ) = T 0 , {T(0) = T_0,} T ( 0 ) = T 0 , 周围环境温度为 T s {T_s} T s
逻辑斯蒂模型
d y d t = r y ( 1 − y K ) {\dfrac{dy}{dt} = ry\Big(1 - \dfrac{y}{K}\Big)} d t d y = r y ( 1 − K y )
y ( t ) = K 1 + K − y 0 y 0 e − r t {y(t) = \dfrac{K}{1 + \dfrac{K-y_0}{y_0}e^{-rt}}} y ( t ) = 1 + y 0 K − y 0 e − r t K
设 r , K > 0 、 {r,K>0}\mathclose{\text{、}} r , K > 0 、 y ( 0 ) = y 0 > 0 、 {y(0)=y_0>0}\mathclose{\text{、}} y ( 0 ) = y 0 > 0 、 t ≥ 0 。 {t\ge 0}\mathclose{\text{。}} t ≥ 0 。 当 t → ∞ {t\to\infty} t → ∞ 时有 y → K 。 {y\to K}\mathclose{\text{。}} y → K 。 若 y 0 = 0 , {y_0=0}\mathclose{\text{,}} y 0 = 0 , 解为 y = 0 {y=0} y = 0
可分离变量
d y d x = g ( x ) h ( y ) {\dfrac{dy}{dx} = g(x)\,h(y)} d x d y = g ( x ) h ( y )
∫ d y h ( y ) = ∫ g ( x ) d x {\displaystyle\int \frac{dy}{h(y)} = \int g(x)\,dx} ∫ h ( y ) d y = ∫ g ( x ) d x
其中 h ( y ) ≠ 0 ; ; {h(y) \ne 0;}\mathclose{\text{;}} h ( y ) = 0 ; ; h {h} h 的每个零点 y 1 {y_1} y 1 都给出常数解 y = y 1 {y = y_1} y = y 1
一阶线性
y ′ + p ( t ) y = q ( t ) {y' + p(t)y = q(t)} y ′ + p ( t ) y = q ( t )
y ( t ) = R ( t ) + C μ ( t ) , {y(t) = \dfrac{R(t)+C}{\mu(t)}}\mathclose{\text{,}} y ( t ) = μ ( t ) R ( t ) + C , μ ( t ) = e P ( t ) {\mu(t) = e^{P(t)}} μ ( t ) = e P ( t )
连续 p , q {p,q} p , q 在一个区间上。取 P ′ = p {P'=p} P ′ = p 和 R ′ = μ q {R'=\mu q} R ′ = μ q
二阶线性方程具有常系数。 对 a y ′ ′ + b y ′ + c y = 0 ay''+by'+cy=0 a y ′′ + b y ′ + cy = 0 具有实
系数和 a ≠ 0 , a\ne0\mathclose{\text{,}} a = 0 , 尝试 y = e r t 。 y=e^{rt}\mathclose{\text{。}} y = e r t 。 这给出特征方程 a r 2 + b r + c = 0 。 ar^2+br+c=0\mathclose{\text{。}} a r 2 + b r + c = 0 。
你可以通过将整个方程乘以 − 1 -1 − 1 来取 a > 0 。 a>0\mathclose{\text{。}} a > 0 。
a r 2 + b r + c = 0 {ar^2 + br + c = 0} a r 2 + b r + c = 0 的根
通解
当
两个实根 r 1 ≠ r 2 {r_1 \ne r_2} r 1 = r 2
y = C 1 e r 1 t + C 2 e r 2 t {y = C_1e^{r_1t} + C_2e^{r_2t}} y = C 1 e r 1 t + C 2 e r 2 t
b 2 − 4 a c > 0 {b^2 - 4ac > 0} b 2 − 4 a c > 0
一个重根 r = − b 2 a {r = -\dfrac{b}{2a}} r = − 2 a b
y = ( C 1 + C 2 t ) e r t {y = (C_1 + C_2t)\,e^{rt}} y = ( C 1 + C 2 t ) e r t
b 2 − 4 a c = 0 {b^2 - 4ac = 0} b 2 − 4 a c = 0
复数根 α ± i β {\alpha \pm i\beta} α ± i β
y = e α t ( C 1 cos β t + C 2 sin β t ) {y = e^{\alpha t}(C_1\cos\beta t + C_2\sin\beta t)} y = e α t ( C 1 cos β t + C 2 sin β t )
b 2 − 4 a c < 0 ; {b^2 - 4ac < 0;} b 2 − 4 a c < 0 ; α = − b 2 a , {\ \alpha = -\dfrac{b}{2a},} α = − 2 a b , β = 4 a c − b 2 2 a {\ \beta = \dfrac{\sqrt{4ac-b^2}}{2a}} β = 2 a 4 a c − b 2
欧拉法 ,适用于初值问题 y ′ = F ( t , y ) 、 y'=F(t,y)\mathclose{\text{、}} y ′ = F ( t , y ) 、 y ( t 0 ) = y 0 , y(t_0)=y_0\mathclose{\text{,}} y ( t 0 ) = y 0 , 步长为 h > 0 : h>0\mathclose{\text{:}} h > 0 :
t n + 1 = t n + h , y n + 1 = y n + h F ( t n , y n ) . t_{n+1}=t_n+h,\qquad y_{n+1}=y_n+h\,F(t_n,y_n). t n + 1 = t n + h , y n + 1 = y n + h F ( t n , y n ) .
如果精确解的二阶导数有界且 F F F 在 y y y 上利普希茨连续(例如,
F y F_y F y 有界),则在固定网格时间点的误差为 O ( h ) 。 O(h)\mathclose{\text{。}} O ( h ) 。 对于 y ′ = y y'=y y ′ = y 具有 y ( 0 ) = 1 y(0)=1 y ( 0 ) = 1 的方法给出
( 1 + h ) 1 / h (1+h)^{1/h} ( 1 + h ) 1/ h 在 t = 1 t=1 t = 1 处(当 1 / h 1/h 1/ h 是整数时),
并且误差 e − ( 1 + h ) 1 / h e - (1 + h)^{1/h} e − ( 1 + h ) 1/ h 约为 e 2 h , \tfrac{e}{2}\,h\mathclose{\text{,}} 2 e h , 当 h h h 较小时。
常见级数
见模块 14 。
级数
和
适用条件
等比级数:∑ n = 0 ∞ a r n = a + a r + a r 2 + ⋯ {\displaystyle\sum_{n=0}^{\infty} ar^n = a + ar + ar^2 + \cdots} n = 0 ∑ ∞ a r n = a + a r + a r 2 + ⋯
a 1 − r {\dfrac{a}{1 - r}} 1 − r a
当 ∣ r ∣ ≥ 1 {\abs{r} \ge 1} ∣ r ∣ ≥ 1 时 ∣ r ∣ < 1 ; {\abs{r} < 1;} ∣ r ∣ < 1 ; 发散(假设 a ≠ 0 ) {a \ne 0}\mathclose{\text{)}} a = 0 )
等比级数的部分和:∑ n = 0 N − 1 a r n {\displaystyle\sum_{n=0}^{N-1} ar^n} n = 0 ∑ N − 1 a r n
a 1 − r N 1 − r {a\,\dfrac{1 - r^N}{1 - r}} a 1 − r 1 − r N
r ≠ 1 {r \ne 1} r = 1
p {p} p 级数:∑ n = 1 ∞ 1 n p {\displaystyle\sum_{n=1}^{\infty} \frac{1}{n^p}} n = 1 ∑ ∞ n p 1
收敛
p > 1 ; {p > 1;} p > 1 ; 在 p ≤ 1 {p \le 1} p ≤ 1 处发散
调和级数:∑ n = 1 ∞ 1 n {\displaystyle\sum_{n=1}^{\infty} \frac{1}{n}} n = 1 ∑ ∞ n 1
发散
第 N {N} N 个部分和增长类似于 ln N {\ln N} ln N
裂项相消级数:∑ n = 1 ∞ 1 n ( n + 1 ) = ∑ n = 1 ∞ ( 1 n − 1 n + 1 ) {\displaystyle\sum_{n=1}^{\infty} \frac{1}{n(n+1)} = \sum_{n=1}^{\infty}\Big(\frac{1}{n} - \frac{1}{n+1}\Big)} n = 1 ∑ ∞ n ( n + 1 ) 1 = n = 1 ∑ ∞ ( n 1 − n + 1 1 )
1 {1} 1
收敛性检验
模块 14 教授这些用于级数 ∑ a n \sum a_n ∑ a n 的测试方法。它们的假设条件
仅需从某个 n n n 开始成立:级数的前几项不影响其是否收敛。
判别法
条件
然后
发散
lim n → ∞ a n ≠ 0 , {\lim\limits_{n\to\infty} a_n \ne 0,} n → ∞ lim a n = 0 , 或极限不存在
∑ a n {\sum a_n} ∑ a n 发散。如果 a n → 0 , {a_n \to 0,} a n → 0 , 该测试无结论
积分
a n = f ( n ) , , {a_n = f(n),}\mathclose{\text{,}} a n = f ( n ) , , 其中 f {f} f 在 [ 1 , ∞ ) {[1, \infty)} [ 1 , ∞ ) 上连续、为正且递减
∑ a n {\sum a_n} ∑ a n 与 ∫ 1 ∞ f ( x ) d x {\int_1^\infty f(x)\,dx} ∫ 1 ∞ f ( x ) d x 均收敛或均发散;余项 R N = ∑ n = N + 1 ∞ a n {R_N = \sum_{n=N+1}^{\infty} a_n} R N = ∑ n = N + 1 ∞ a n 对于收敛级数和 N {N} N 在递减尾部满足 ∫ N + 1 ∞ f ( x ) d x ≤ R N ≤ ∫ N ∞ f ( x ) d x {\int_{N+1}^{\infty} f(x)\,dx \le R_N \le \int_N^\infty f(x)\,dx} ∫ N + 1 ∞ f ( x ) d x ≤ R N ≤ ∫ N ∞ f ( x ) d x
比较
0 ≤ a n ≤ b n {0 \le a_n \le b_n} 0 ≤ a n ≤ b n
如果 ∑ b n {\sum b_n} ∑ b n 收敛,则 ∑ a n ; {\sum a_n;} ∑ a n ; 也收敛;如果 ∑ a n {\sum a_n} ∑ a n 发散,则 ∑ b n {\sum b_n} ∑ b n 也发散
极限比较
a n > 0 , {a_n > 0,} a n > 0 , b n > 0 {b_n > 0} b n > 0 与 lim n → ∞ a n b n = L {\lim\limits_{n\to\infty} \dfrac{a_n}{b_n} = L} n → ∞ lim b n a n = L 满足 0 < L < ∞ {0 < L < \infty} 0 < L < ∞
∑ a n {\sum a_n} ∑ a n 与 ∑ b n {\sum b_n} ∑ b n 均收敛或均发散
交错级数
a n = ( − 1 ) n − 1 b n {a_n = (-1)^{n-1}b_n} a n = ( − 1 ) n − 1 b n 与 b n > 0 , {b_n > 0,} b n > 0 , b n + 1 ≤ b n {b_{n+1} \le b_n} b n + 1 ≤ b n 和 b n → 0 {b_n \to 0} b n → 0
∑ a n {\sum a_n} ∑ a n 收敛,且其和 S {S} S 满足 ∣ S − S N ∣ ≤ b N + 1 {\abs{S - S_N} \le b_{N+1}} ∣ S − S N ∣ ≤ b N + 1
绝对收敛
∑ ∣ a n ∣ {\sum \abs{a_n}} ∑ ∣ a n ∣ 收敛
∑ a n {\sum a_n} ∑ a n 收敛。其逆命题不成立:∑ ( − 1 ) n − 1 / n {\sum (-1)^{n-1}/n} ∑ ( − 1 ) n − 1 / n 收敛,∑ 1 / n {\sum 1/n} ∑ 1/ n 不收敛
比值判别法
ρ = lim n → ∞ ∣ a n + 1 a n ∣ {\rho = \lim\limits_{n\to\infty} \abs{\dfrac{a_{n+1}}{a_n}}} ρ = n → ∞ lim a n a n + 1 存在或为 ∞ , {\infty}\mathclose{\text{,}} ∞ , 且 a n ≠ 0 {a_n\ne0} a n = 0 最终成立
ρ < 1 : {\rho < 1}\mathclose{\text{:}} ρ < 1 : ∑ a n {\sum a_n} ∑ a n 绝对收敛;ρ > 1 {\rho > 1} ρ > 1 或 ρ = ∞ : {\rho = \infty}\mathclose{\text{:}} ρ = ∞ : 它发散;ρ = 1 : {\rho = 1}\mathclose{\text{:}} ρ = 1 : 无结论
根值判别法
ρ = lim n → ∞ ∣ a n ∣ 1 / n {\rho = \lim\limits_{n\to\infty} \abs{a_n}^{1/n}} ρ = n → ∞ lim ∣ a n ∣ 1/ n 存在或为 ∞ {\infty} ∞
与比值判别法相同的三种结论
泰勒公式
若 f f f 在含 a a a 和 x x x 的开区间内具有 n + 1 n + 1 n + 1 阶导数
(见模块 15 ),则
f ( x ) = ∑ k = 0 n f ( k ) ( a ) k ! ( x − a ) k + R n ( x ) , R n ( x ) = f ( n + 1 ) ( c ) ( n + 1 ) ! ( x − a ) n + 1 f(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k + R_n(x), \qquad R_n(x) = \frac{f^{(n+1)}(c)}{(n + 1)!}(x - a)^{n+1} f ( x ) = k = 0 ∑ n k ! f ( k ) ( a ) ( x − a ) k + R n ( x ) , R n ( x ) = ( n + 1 )! f ( n + 1 ) ( c ) ( x − a ) n + 1
对某个 c c c 在 a a a 与 x x x 之间(拉格朗日余项形式)。和为泰勒
多项式 T n ( x ) , T_n(x)\mathclose{\text{,}} T n ( x ) , 其次数不超过 n , n\mathclose{\text{,}} n , 展开中心为 a 。 a\mathclose{\text{。}} a 。 当 a = 0 a=0 a = 0 时称为麦克劳林多项式。
泰勒不等式。 如果 ∣ f ( n + 1 ) ( t ) ∣ ≤ M \abs{f^{(n+1)}(t)} \le M f ( n + 1 ) ( t ) ≤ M 对于每个 t t t 在 a a a 与 x x x 之间,那么
∣ R n ( x ) ∣ ≤ M ( n + 1 ) ! ∣ x − a ∣ n + 1 . \abs{R_n(x)} \le \frac{M}{(n + 1)!}\,\abs{x - a}^{n+1}. ∣ R n ( x ) ∣ ≤ ( n + 1 )! M ∣ x − a ∣ n + 1 .
泰勒级数。 若 f f f 在 a a a 附近各阶可导,系数满足 c k = f ( k ) ( a ) / k ! c_k = f^{(k)}(a)/k! c k = f ( k ) ( a ) / k ! 的级数 ∑ k = 0 ∞ c k ( x − a ) k \sum_{k=0}^{\infty} c_k(x - a)^k ∑ k = 0 ∞ c k ( x − a ) k
恰在 n → ∞ n \to \infty n → ∞ 时有 R n ( x ) → 0 R_n(x) \to 0 R n ( x ) → 0 的情况下等于 f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。
麦克劳林级数
见模块 15 。
函数
级数
在下列条件下等于原函数
e x {e^x} e x
∑ n = 0 ∞ x n n ! = 1 + x + x 2 2 ! + x 3 3 ! + ⋯ {\displaystyle\sum_{n=0}^{\infty} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots} n = 0 ∑ ∞ n ! x n = 1 + x + 2 ! x 2 + 3 ! x 3 + ⋯
任意 x {x} x
sin x {\sin x} sin x
∑ n = 0 ∞ ( − 1 ) n x 2 n + 1 ( 2 n + 1 ) ! = x − x 3 3 ! + x 5 5 ! − ⋯ {\displaystyle\sum_{n=0}^{\infty} (-1)^n\frac{x^{2n+1}}{(2n+1)!} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots} n = 0 ∑ ∞ ( − 1 ) n ( 2 n + 1 )! x 2 n + 1 = x − 3 ! x 3 + 5 ! x 5 − ⋯
任意 x {x} x
cos x {\cos x} cos x
∑ n = 0 ∞ ( − 1 ) n x 2 n ( 2 n ) ! = 1 − x 2 2 ! + x 4 4 ! − ⋯ {\displaystyle\sum_{n=0}^{\infty} (-1)^n\frac{x^{2n}}{(2n)!} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots} n = 0 ∑ ∞ ( − 1 ) n ( 2 n )! x 2 n = 1 − 2 ! x 2 + 4 ! x 4 − ⋯
任意 x {x} x
1 1 − x {\dfrac{1}{1 - x}} 1 − x 1
∑ n = 0 ∞ x n = 1 + x + x 2 + x 3 + ⋯ {\displaystyle\sum_{n=0}^{\infty} x^n = 1 + x + x^2 + x^3 + \cdots} n = 0 ∑ ∞ x n = 1 + x + x 2 + x 3 + ⋯
− 1 < x < 1 {-1 < x < 1} − 1 < x < 1
ln ( 1 + x ) {\ln(1 + x)} ln ( 1 + x )
∑ n = 1 ∞ ( − 1 ) n − 1 x n n = x − x 2 2 + x 3 3 − ⋯ {\displaystyle\sum_{n=1}^{\infty} (-1)^{n-1}\frac{x^n}{n} = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots} n = 1 ∑ ∞ ( − 1 ) n − 1 n x n = x − 2 x 2 + 3 x 3 − ⋯
− 1 < x ≤ 1 {-1 < x \le 1} − 1 < x ≤ 1
arctan x {\arctan x} arctan x
∑ n = 0 ∞ ( − 1 ) n x 2 n + 1 2 n + 1 = x − x 3 3 + x 5 5 − ⋯ {\displaystyle\sum_{n=0}^{\infty} (-1)^n\frac{x^{2n+1}}{2n+1} = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots} n = 0 ∑ ∞ ( − 1 ) n 2 n + 1 x 2 n + 1 = x − 3 x 3 + 5 x 5 − ⋯
− 1 ≤ x ≤ 1 {-1 \le x \le 1} − 1 ≤ x ≤ 1
( 1 + x ) k {(1 + x)^k} ( 1 + x ) k
∑ n = 0 ∞ ( k n ) x n = 1 + k x + k ( k − 1 ) 2 ! x 2 + ⋯ {\displaystyle\sum_{n=0}^{\infty} \binom{k}{n}x^n = 1 + kx + \frac{k(k-1)}{2!}x^2 + \cdots} n = 0 ∑ ∞ ( n k ) x n = 1 + k x + 2 ! k ( k − 1 ) x 2 + ⋯
− 1 < x < 1 , {-1 < x < 1,} − 1 < x < 1 , k {k} k 实数
对于二项式级数,有 ( k n ) = k ( k − 1 ) ⋯ ( k − n + 1 ) n ! \dbinom{k}{n} = \dfrac{k(k-1)\cdots(k-n+1)}{n!} ( n k ) = n ! k ( k − 1 ) ⋯ ( k − n + 1 ) 和 ( k 0 ) = 1 。 \dbinom{k}{0} = 1\mathclose{\text{。}} ( 0 k ) = 1 。 若
k k k 为非负整数,则级数在 n = k n = k n = k 处终止,对任意 x x x 均成立(二项式定理)。
在端点 x = ± 1 x = \pm 1 x = ± 1 处是否收敛取决于 k 。 k\mathclose{\text{。}} k 。 当 k > 0 k > 0 k > 0 时,级数在 [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 上收敛;当
− 1 < k < 0 -1 < k < 0 − 1 < k < 0 在 ( − 1 , 1 ] (-1, 1] ( − 1 , 1 ] 上,而对于 k ≤ − 1 k \le -1 k ≤ − 1 仅在 ( − 1 , 1 ) (-1, 1) ( − 1 , 1 ) 上。
在 x = 1 x = 1 x = 1 处,级数给出 ln 2 = 1 − 1 2 + 1 3 − ⋯ \ln 2 = 1 - \tfrac12 + \tfrac13 - \cdots ln 2 = 1 − 2 1 + 3 1 − ⋯ 并
π 4 = 1 − 1 3 + 1 5 − ⋯ . \tfrac{\pi}{4} = 1 - \tfrac13 + \tfrac15 - \cdots\mathclose{\text{.}} 4 π = 1 − 3 1 + 5 1 − ⋯ . 欧拉公式 (模块 15):
e i θ = cos θ + i sin θ e^{i\theta} = \cos\theta + i\sin\theta e i θ = cos θ + i sin θ 对于每个实数 θ ; \theta\mathclose{\text{;}} θ ; 特别是 e i π = − 1 。 e^{i\pi} = -1\mathclose{\text{。}} e iπ = − 1 。
向量、直线和平面
模块 16 教授这些内容。此处 a = ⟨ a 1 , a 2 , a 3 ⟩ , \vb{a} = \langle a_1, a_2, a_3\rangle\mathclose{\text{,}} a = ⟨ a 1 , a 2 , a 3 ⟩ ,
b = ⟨ b 1 , b 2 , b 3 ⟩ , \vb{b} = \langle b_1, b_2, b_3\rangle\mathclose{\text{,}} b = ⟨ b 1 , b 2 , b 3 ⟩ , c = ⟨ c 1 , c 2 , c 3 ⟩ , \vb{c} = \langle c_1, c_2, c_3\rangle\mathclose{\text{,}} c = ⟨ c 1 , c 2 , c 3 ⟩ , 并且对于非零 a \vb{a} a 和 b , \vb{b}\mathclose{\text{,}} b , θ \theta θ 是它们之间的角度,0 ≤ θ ≤ π 。 0\le\theta\le\pi\mathclose{\text{。}} 0 ≤ θ ≤ π 。
量
公式
注释
长度
∥ a ∥ = a 1 2 + a 2 2 + a 3 2 = a ⋅ a {\norm{\vb{a}} = \sqrt{a_1^2 + a_2^2 + a_3^2} = \sqrt{\vb{a}\cdot\vb{a}}} ∥ a ∥ = a 1 2 + a 2 2 + a 3 2 = a ⋅ a
数量积
a ⋅ b = a 1 b 1 + a 2 b 2 + a 3 b 3 = ∥ a ∥ ∥ b ∥ cos θ {\vb{a}\cdot\vb{b} = a_1b_1 + a_2b_2 + a_3b_3 = \norm{\vb{a}}\norm{\vb{b}}\cos\theta} a ⋅ b = a 1 b 1 + a 2 b 2 + a 3 b 3 = ∥ a ∥ ∥ b ∥ cos θ
组件公式也适用于零向量。非零向量垂直当且仅当 a ⋅ b = 0 {\vb{a}\cdot\vb{b}=0} a ⋅ b = 0
投影
proj a b = a ⋅ b ∥ a ∥ 2 a {\operatorname{proj}_{\vb{a}}\vb{b} = \dfrac{\vb{a}\cdot\vb{b}}{\norm{\vb{a}}^2}\,\vb{a}} proj a b = ∥ a ∥ 2 a ⋅ b a
a ≠ 0 ; {\vb{a} \ne \vb{0};} a = 0 ; b − proj a b {\vb{b} - \operatorname{proj}_{\vb{a}}\vb{b}} b − proj a b 垂直于 a {\vb{a}} a
叉乘
a × b = ⟨ a 2 b 3 − a 3 b 2 , a 3 b 1 − a 1 b 3 , a 1 b 2 − a 2 b 1 ⟩ {\vb{a}\times\vb{b} = \langle a_2b_3 - a_3b_2,\ a_3b_1 - a_1b_3,\ a_1b_2 - a_2b_1\rangle} a × b = ⟨ a 2 b 3 − a 3 b 2 , a 3 b 1 − a 1 b 3 , a 1 b 2 − a 2 b 1 ⟩
垂直于 a {\vb{a}} a 和 b {\vb{b}} b (右手法则: i × j = k ); {\vb{i}\times\vb{j} = \vb{k}}\mathclose{\text{);}} i × j = k ); b × a = − a × b {\vb{b}\times\vb{a} = -\vb{a}\times\vb{b}} b × a = − a × b
a × b {\vb{a}\times\vb{b}} a × b 的长度
∥ a × b ∥ = ∥ a ∥ ∥ b ∥ sin θ {\norm{\vb{a}\times\vb{b}} = \norm{\vb{a}}\norm{\vb{b}}\sin\theta} ∥ a × b ∥ = ∥ a ∥ ∥ b ∥ sin θ
以 a {\vb{a}} a 和 b {\vb{b}} b 为边的平行四边形的面积
混合积
a ⋅ ( b × c ) = det ( a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3 ) {\vb{a}\cdot(\vb{b}\times\vb{c}) = \det\begin{pmatrix} a_1 & a_2 & a_3\\ b_1 & b_2 & b_3\\ c_1 & c_2 & c_3\end{pmatrix}} a ⋅ ( b × c ) = det a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3
其绝对值是 a , {\vb{a},} a , b , {\vb{b},} b , c {\vb{c}} c 上的盒子(平行六面体)的体积
直线
r ( t ) = r 0 + t v , {\vb{r}(t) = \vb{r}_0 + t\,\vb{v},} r ( t ) = r 0 + t v , 是 x = x 0 + v 1 t , {x = x_0 + v_1t,} x = x 0 + v 1 t , y = y 0 + v 2 t , {y = y_0 + v_2t,} y = y 0 + v 2 t , z = z 0 + v 3 t {z = z_0 + v_3t} z = z 0 + v 3 t
经过 ( x 0 , y 0 , z 0 ) {(x_0, y_0, z_0)} ( x 0 , y 0 , z 0 ) 且方向为 v = ⟨ v 1 , v 2 , v 3 ⟩ ≠ 0 {\vb{v} = \langle v_1, v_2, v_3\rangle \ne \vb{0}} v = ⟨ v 1 , v 2 , v 3 ⟩ = 0
平面
a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0 {a(x - x_0) + b(y - y_0) + c(z - z_0) = 0} a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0
经过 ( x 0 , y 0 , z 0 ) {(x_0, y_0, z_0)} ( x 0 , y 0 , z 0 ) 且法向量为 n = ⟨ a , b , c ⟩ ≠ 0 {\vb{n} = \langle a, b, c\rangle \ne \vb{0}} n = ⟨ a , b , c ⟩ = 0
点到平面的距离
D = ∣ a x 1 + b y 1 + c z 1 + d ∣ a 2 + b 2 + c 2 {D = \dfrac{\abs{ax_1 + by_1 + cz_1 + d}}{\sqrt{a^2 + b^2 + c^2}}} D = a 2 + b 2 + c 2 ∣ a x 1 + b y 1 + c z 1 + d ∣
点 ( x 1 , y 1 , z 1 ) , {(x_1, y_1, z_1),} ( x 1 , y 1 , z 1 ) , 平面 a x + b y + c z + d = 0 {ax+by+cz+d=0} a x + b y + cz + d = 0 且法向量 ⟨ a , b , c ⟩ {\langle a,b,c\rangle} ⟨ a , b , c ⟩ 非零
偏导数和梯度
这些内容见模块 17 。偏导数可能存在,而函数
仍不可微。下面的链式法则、方向导数公式和线性近似
均以可微为条件。
要点
公式
适用条件
偏导数
f x = ∂ f ∂ x : {f_x = \dfrac{\partial f}{\partial x}}\mathclose{\text{:}} f x = ∂ x ∂ f : 固定 y , {y}\mathclose{\text{,}} y , 对 x {x} x 求导; f y = ∂ f ∂ y {\ f_y = \dfrac{\partial f}{\partial y}} f y = ∂ y ∂ f
二阶偏导数
f x x = ∂ 2 f ∂ x 2 , {f_{xx} = \dfrac{\partial^2 f}{\partial x^2},} f xx = ∂ x 2 ∂ 2 f , f x y = ( f x ) y = ∂ 2 f ∂ y ∂ x {\ f_{xy} = (f_x)_y = \dfrac{\partial^2 f}{\partial y\,\partial x}} f x y = ( f x ) y = ∂ y ∂ x ∂ 2 f
克莱罗定理
f x y = f y x {f_{xy} = f_{yx}} f x y = f y x
f x y {f_{xy}} f x y 和 f y x {f_{yx}} f y x 在点附近连续
梯度
∇ f = ⟨ f x , f y , f z ⟩ {\nabla f = \langle f_x, f_y, f_z\rangle} ∇ f = ⟨ f x , f y , f z ⟩
方向导数
D u f = ∇ f ⋅ u {D_{\vb{u}}f = \nabla f\cdot\vb{u}} D u f = ∇ f ⋅ u
u {\vb{u}} u 是单位向量
最陡上升方向
当取 ∇ f ; {\nabla f;} ∇ f ; 的方向时,D u f {D_{\vb{u}}f} D u f 的最大值为 ∥ ∇ f ∥ , 。 {\norm{\nabla f},}\mathclose{\text{。}} ∥ ∇ f ∥ , 。 ∇ f {\nabla f} ∇ f 垂直于等值线(或等值面)
∇ f ≠ 0 {\nabla f \ne \vb{0}} ∇ f = 0
链式法则
d z d t = ∂ z ∂ x d x d t + ∂ z ∂ y d y d t {\dfrac{dz}{dt} = \dfrac{\partial z}{\partial x}\dfrac{dx}{dt} + \dfrac{\partial z}{\partial y}\dfrac{dy}{dt}} d t d z = ∂ x ∂ z d t d x + ∂ y ∂ z d t d y
z = f ( x , y ) , {z = f(x, y),} z = f ( x , y ) , x = x ( t ) , {x = x(t),} x = x ( t ) , y = y ( t ) {y = y(t)} y = y ( t )
链式法则,两个参数
∂ z ∂ s = ∂ z ∂ x ∂ x ∂ s + ∂ z ∂ y ∂ y ∂ s , {\dfrac{\partial z}{\partial s} = \dfrac{\partial z}{\partial x}\dfrac{\partial x}{\partial s} + \dfrac{\partial z}{\partial y}\dfrac{\partial y}{\partial s},} ∂ s ∂ z = ∂ x ∂ z ∂ s ∂ x + ∂ y ∂ z ∂ s ∂ y , 和 t {t} t 的相同情况
x = x ( s , t ) , {x = x(s, t),} x = x ( s , t ) , y = y ( s , t ) {y = y(s, t)} y = y ( s , t )
切平面
z = f ( a , b ) + f x ( a , b ) ( x − a ) + f y ( a , b ) ( y − b ) {z = f(a, b) + f_x(a, b)(x - a) + f_y(a, b)(y - b)} z = f ( a , b ) + f x ( a , b ) ( x − a ) + f y ( a , b ) ( y − b )
z = f ( x , y ) {z = f(x, y)} z = f ( x , y ) 在 ( a , b ) {(a, b)} ( a , b ) 处的图像
线性近似
f ( x , y ) ≈ f ( a , b ) + f x ( a , b ) ( x − a ) + f y ( a , b ) ( y − b ) {f(x, y) \approx f(a, b) + f_x(a, b)(x - a) + f_y(a, b)(y - b)} f ( x , y ) ≈ f ( a , b ) + f x ( a , b ) ( x − a ) + f y ( a , b ) ( y − b )
( x , y ) {(x, y)} ( x , y ) 在 ( a , b ) {(a, b)} ( a , b ) 附近
等值面的切平面
∇ F ( P ) ⋅ ⟨ x − x 0 , y − y 0 , z − z 0 ⟩ = 0 {\nabla F(P)\cdot\langle x - x_0,\ y - y_0,\ z - z_0\rangle = 0} ∇ F ( P ) ⋅ ⟨ x − x 0 , y − y 0 , z − z 0 ⟩ = 0
过 P = ( x 0 , y 0 , z 0 ) {P=(x_0,y_0,z_0)} P = ( x 0 , y 0 , z 0 ) 的等值面 F ( x , y , z ) = k , {F(x,y,z)=k}\mathclose{\text{,}} F ( x , y , z ) = k , 其中 F {F} F 在附近具有连续的一阶偏导数,且 ∇ F ( P ) ≠ 0 {\nabla F(P)\ne\vb{0}} ∇ F ( P ) = 0
混合偏导数不连续时,克莱罗定理可能失效。例如,对 f ( x , y ) = x y ( x 2 − y 2 ) x 2 + y 2 , f(x, y) = \dfrac{xy(x^2 - y^2)}{x^2 + y^2}\mathclose{\text{,}} f ( x , y ) = x 2 + y 2 x y ( x 2 − y 2 ) , 若
f ( 0 , 0 ) = 0 f(0, 0) = 0 f ( 0 , 0 ) = 0 在原点处的混合偏导数分别为 f x y ( 0 , 0 ) = − 1 f_{xy}(0, 0) = -1 f x y ( 0 , 0 ) = − 1 和 f y x ( 0 , 0 ) = 1 f_{yx}(0, 0) = 1 f y x ( 0 , 0 ) = 1
优化
这些内容见模块 18 。函数 f ( x , y ) f(x, y) f ( x , y ) 的临界点 是指满足下列条件的点:
∇ f = 0 , \nabla f = \vb{0}\mathclose{\text{,}} ∇ f = 0 , 或有一个偏导数不存在。定义域内部的
局部极大值和极小值只能出现在临界点。设 ( a , b ) (a,b) ( a , b ) 是一个内部临界点,两个一阶偏导数都为零,二阶偏导数
在其邻域内连续。记
H = ( f x x f x y f y x f y y ) , D = det H = f x x f y y − f x y 2 at ( a , b ) . H = \begin{pmatrix} f_{xx} & f_{xy}\\ f_{yx} & f_{yy}\end{pmatrix}, \qquad D = \det H = f_{xx}f_{yy} - f_{xy}^2 \quad\text{at } (a, b). H = ( f xx f y x f x y f y y ) , D = det H = f xx f y y − f x y 2 at ( a , b ) .
D {D} D
f x x ( a , b ) {f_{xx}(a, b)} f xx ( a , b )
( a , b ) {(a, b)} ( a , b ) 是
D > 0 {D > 0} D > 0
f x x > 0 {f_{xx} > 0} f xx > 0
局部极小值点
D > 0 {D > 0} D > 0
f x x < 0 {f_{xx} < 0} f xx < 0
局部极大值点
D < 0 {D < 0} D < 0
鞍点
D = 0 {D = 0} D = 0
无法用此判别法确定其类型
用拉格朗日乘数法。 假设 f f f 和约束函数有连续的一阶偏导数
在一个受约束的极值点附近。在 g = k g=k g = k 的一个正则点,且 ∇ g ≠ 0 , \nabla g\ne\vb{0}\mathclose{\text{,}} ∇ g = 0 , 它必须满足
∇ f = λ ∇ g 。 \nabla f=\lambda\,\nabla g\mathclose{\text{。}} ∇ f = λ ∇ g 。 当有两个约束 g = k g=k g = k 和 h = c h=c h = c 且梯度线性无关时,
它必须满足 ∇ f = λ ∇ g + μ ∇ h 。 \nabla f=\lambda\,\nabla g+\mu\,\nabla h\mathclose{\text{。}} ∇ f = λ ∇ g + μ ∇ h 。 检查奇点和任何边界
限制要另行检查。
多重积分
模块 19 教授这些内容。
坐标
变量替换
面积或体积元素
极坐标
x = r cos θ , {x = r\cos\theta,} x = r cos θ , y = r sin θ {\ y = r\sin\theta} y = r sin θ
d A = r d r d θ {dA = r\,dr\,d\theta} d A = r d r d θ
圆柱坐标
x = r cos θ , {x = r\cos\theta,} x = r cos θ , y = r sin θ , {\ y = r\sin\theta,} y = r sin θ , z = z {\ z = z} z = z
d V = r d z d r d θ {dV = r\,dz\,dr\,d\theta} d V = r d z d r d θ
球坐标
x = ρ sin φ cos θ , {x = \rho\sin\varphi\cos\theta,} x = ρ sin φ cos θ , y = ρ sin φ sin θ , {\ y = \rho\sin\varphi\sin\theta,} y = ρ sin φ sin θ , z = ρ cos φ {\ z = \rho\cos\varphi} z = ρ cos φ
d V = ρ 2 sin φ d ρ d φ d θ {dV = \rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta} d V = ρ 2 sin φ d ρ d φ d θ
这里 r ≥ 0 、 r \ge 0\mathclose{\text{、}} r ≥ 0 、 ρ ≥ 0 , \rho \ge 0\mathclose{\text{,}} ρ ≥ 0 , φ \varphi φ 表示从 z z z 轴正向量起的角,并且 0 ≤ φ ≤ π 0 \le \varphi \le \pi 0 ≤ φ ≤ π
(许多物理教材互换符号 θ \theta θ 和 φ )。 \varphi\mathclose{\text{)。}} φ )。 选取角度范围时,应使该区域
恰好被覆盖一次,零面积或零体积的接缝、坐标轴及塌缩的边界点可例外。
富比尼定理。 若 f f f 在矩形 R = [ a , b ] × [ c , d ] R = [a,b]\times[c,d] R = [ a , b ] × [ c , d ] 上连续,且 a < b 、 a<b\mathclose{\text{、}} a < b 、 c < d , c<d\mathclose{\text{,}} c < d , 则∬ R f ( x , y ) d A = ∫ a b ∫ c d f ( x , y ) d y d x = ∫ c d ∫ a b f ( x , y ) d x d y . \iint_R f(x, y)\,dA = \int_a^b\!\!\int_c^d f(x, y)\,dy\,dx = \int_c^d\!\!\int_a^b f(x, y)\,dx\,dy. ∬ R f ( x , y ) d A = ∫ a b ∫ c d f ( x , y ) d y d x = ∫ c d ∫ a b f ( x , y ) d x d y .
变量替换 。设 S S S 和 R R R 是类型 I 或 II 的有界闭区域,且 f f f 在 R R R 上连续。
映射 x = g ( u , v ) 、 x=g(u,v)\mathclose{\text{、}} x = g ( u , v ) 、 y = h ( u , v ) y=h(u,v) y = h ( u , v ) 必须把 S S S 映满 R , R\mathclose{\text{,}} R , 且一阶偏导数连续,其连续性须在
S S S 的某个邻域内成立。在 S S S 的内部,映射必须单射且雅可比行列式非零。于是∬ R f ( x , y ) d A = ∬ S f ( g ( u , v ) , h ( u , v ) ) ∣ ∂ ( x , y ) ∂ ( u , v ) ∣ d u d v , ∂ ( x , y ) ∂ ( u , v ) = det ( x u x v y u y v ) . \iint_R f(x, y)\,dA = \iint_S f\big(g(u, v), h(u, v)\big)\,\abs{\frac{\partial(x, y)}{\partial(u, v)}}\,du\,dv, \qquad \frac{\partial(x, y)}{\partial(u, v)} = \det\begin{pmatrix} x_u & x_v\\ y_u & y_v\end{pmatrix}. ∬ R f ( x , y ) d A = ∬ S f ( g ( u , v ) , h ( u , v ) ) ∂ ( u , v ) ∂ ( x , y ) d u d v , ∂ ( u , v ) ∂ ( x , y ) = det ( x u y u x v y v ) .
质量与质心。 设有界薄板 D D D 的密度 ρ ( x , y ) ≥ 0 \rho(x,y)\ge0 ρ ( x , y ) ≥ 0 连续,总质量 m m m 为正:m = ∬ D ρ d A , x ˉ = 1 m ∬ D x ρ d A , y ˉ = 1 m ∬ D y ρ d A . m = \iint_D \rho\,dA, \qquad \bar{x} = \frac{1}{m}\iint_D x\rho\,dA, \qquad \bar{y} = \frac{1}{m}\iint_D y\rho\,dA. m = ∬ D ρ d A , x ˉ = m 1 ∬ D x ρ d A , y ˉ = m 1 ∬ D y ρ d A .
高斯积分 在半径为 R R R 的圆盘上,二重积分 e − ( x 2 + y 2 ) e^{-(x^2+y^2)} e − ( x 2 + y 2 ) 为
π ( 1 − e − R 2 ) , \pi(1-e^{-R^2})\mathclose{\text{,}} π ( 1 − e − R 2 ) , 这是用极坐标计算得到的。当 R → ∞ R\to\infty R → ∞ 时,比较圆盘和正方形,可得
∫ − ∞ ∞ e − x 2 d x = π \int_{-\infty}^{\infty}e^{-x^2}\,dx=\sqrt{\pi} ∫ − ∞ ∞ e − x 2 d x = π (模块 19 ).
向量微积分
模块 20 教授这些内容。F = ⟨ P , Q , R ⟩ \vb{F} = \langle P, Q, R\rangle F = ⟨ P , Q , R ⟩ 是一个向量场,且
C C C 是参数 a ≤ t ≤ b a\le t\le b a ≤ t ≤ b 下由 r ( t ) \vb{r}(t) r ( t ) 描绘的有向光滑路径。对于分段光滑的路径,
将其各段的积分相加。
要点
公式
适用条件
函数的线积分
∫ C f d s = ∫ a b f ( r ( t ) ) ∥ r ′ ( t ) ∥ d t {\displaystyle\int_C f\,ds = \int_a^b f\big(\vb{r}(t)\big)\,\norm{\vb{r}'(t)}\,dt} ∫ C f d s = ∫ a b f ( r ( t ) ) ∥ r ′ ( t ) ∥ d t
f {f} f 在 C {C} C 上连续
场的线积分(功)
∫ C F ⋅ d r = ∫ a b F ( r ( t ) ) ⋅ r ′ ( t ) d t {\displaystyle\int_C \vb{F}\cdot d\vb{r} = \int_a^b \vb{F}\big(\vb{r}(t)\big)\cdot\vb{r}'(t)\,dt} ∫ C F ⋅ d r = ∫ a b F ( r ( t ) ) ⋅ r ′ ( t ) d t
F {\vb{F}} F 在 C {C} C 上连续。路径反转会使积分取反
线积分的基本定理
∫ C ∇ f ⋅ d r = f ( r ( b ) ) − f ( r ( a ) ) {\displaystyle\int_C \nabla f\cdot d\vb{r} = f\big(\vb{r}(b)\big) - f\big(\vb{r}(a)\big)} ∫ C ∇ f ⋅ d r = f ( r ( b ) ) − f ( r ( a ) )
f {f} f 在 C {C} C 的邻域内可微且梯度连续
保守场
存在 f {f} f 使 ⟨ P , Q ⟩ = ∇ f , {\langle P, Q\rangle = \nabla f}\mathclose{\text{,}} ⟨ P , Q ⟩ = ∇ f , 当且仅当 P y = Q x ; ; {P_y = Q_x;}\mathclose{\text{;}} P y = Q x ; ; 在空间中,F = ∇ f {\vb{F} = \nabla f} F = ∇ f 当且仅当 curl F = 0 {\operatorname{curl}\vb{F} = \vb{0}} curl F = 0
开单连通区域(连通,且每条闭曲线都可在区域内连续收缩为一点)内的一阶偏导数连续
旋度
curl F = ∇ × F = ⟨ R y − Q z , P z − R x , Q x − P y ⟩ {\operatorname{curl}\vb{F} = \nabla\times\vb{F} = \langle R_y - Q_z,\ P_z - R_x,\ Q_x - P_y\rangle} curl F = ∇ × F = ⟨ R y − Q z , P z − R x , Q x − P y ⟩
下标表示偏导数: R y = ∂ R / ∂ y {R_y = \partial R/\partial y} R y = ∂ R / ∂ y
发散
div F = ∇ ⋅ F = P x + Q y + R z {\operatorname{div}\vb{F} = \nabla\cdot\vb{F} = P_x + Q_y + R_z} div F = ∇ ⋅ F = P x + Q y + R z
恒等式
curl ( ∇ f ) = 0 , {\operatorname{curl}(\nabla f) = \vb{0},} curl ( ∇ f ) = 0 , div ( curl F ) = 0 {\ \operatorname{div}(\operatorname{curl}\vb{F}) = 0} div ( curl F ) = 0
连续二阶偏导数
曲面积分
∬ S f d S = ∬ D f ( r ( u , v ) ) ∥ r u × r v ∥ d u d v {\displaystyle\iint_S f\,dS = \iint_D f\big(\vb{r}(u, v)\big)\,\norm{\vb{r}_u\times\vb{r}_v}\,du\,dv} ∬ S f d S = ∬ D f ( r ( u , v ) ) ∥ r u × r v ∥ d u d v
f {f} f 在 S {S} S 上连续,具有一个光滑参数化,覆盖 S {S} S 一次,除了可能的边界重复
通量
∬ S F ⋅ d S = ∬ D F ( r ( u , v ) ) ⋅ ( r u × r v ) d u d v {\displaystyle\iint_S \vb{F}\cdot d\vb{S} = \iint_D \vb{F}\big(\vb{r}(u, v)\big)\cdot(\vb{r}_u\times\vb{r}_v)\,du\,dv} ∬ S F ⋅ d S = ∬ D F ( r ( u , v ) ) ⋅ ( r u × r v ) d u d v
相同的参数化,其中 F {\vb{F}} F 连续且 r u × r v {\vb{r}_u\times\vb{r}_v} r u × r v 指向 S {S} S 所选的一侧
单连通性使这个导数判别法成为充分条件。即使在有孔的区域上,
只要存在势函数,向量场仍为保守场。作为该判别法无法推出势函数存在的例子,向量场 F = ⟨ − y , x ⟩ x 2 + y 2 \vb{F} = \dfrac{\langle -y, x\rangle}{x^2 + y^2} F = x 2 + y 2 ⟨ − y , x ⟩
在原点之外满足 ∂ P / ∂ y = ∂ Q / ∂ x , \partial P/\partial y = \partial Q/\partial x\mathclose{\text{,}} ∂ P / ∂ y = ∂ Q / ∂ x , 但它沿单位圆逆时针一周的
线积分为 2 π , 2\pi\mathclose{\text{,}} 2 π , 故在挖去原点的平面上并非保守场。
定理
公式
适用条件
格林定理
∮ C P d x + Q d y = ∬ D ( ∂ Q ∂ x − ∂ P ∂ y ) d A {\displaystyle\oint_C P\,dx + Q\,dy = \iint_D \Big(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\Big)\,dA} ∮ C P d x + Q d y = ∬ D ( ∂ x ∂ Q − ∂ y ∂ P ) d A
C {C} C 一条按逆时针方向绘制的分段光滑简单闭合曲线,包围 D ; {D;} D ; P , {P,} P , Q , {Q}\mathclose{\text{,}} Q , 在包含 D {D} D 的开区域上,其一阶偏导数连续
格林定理计算面积
A = 1 2 ∮ C x d y − y d x {A = \dfrac12\displaystyle\oint_C x\,dy - y\,dx} A = 2 1 ∮ C x d y − y d x
与 C {C} C 和 D {D} D 相同
斯托克斯定理
∮ C F ⋅ d r = ∬ S curl F ⋅ d S {\displaystyle\oint_C \vb{F}\cdot d\vb{r} = \iint_S \operatorname{curl}\vb{F}\cdot d\vb{S}} ∮ C F ⋅ d r = ∬ S curl F ⋅ d S
S {S} S 有定向且分段光滑,具有分段光滑简单闭合边界 C , {C}\mathclose{\text{,}} C , 由 S {S} S 定向。场在 S {S} S 的邻域内一阶偏导数连续
散度定理
∬ S F ⋅ d S = ∭ E div F d V {\displaystyle\iint_S \vb{F}\cdot d\vb{S} = \iiint_E \operatorname{div}\vb{F}\,dV} ∬ S F ⋅ d S = ∭ E div F d V
S {S} S 是一个有界实体 E {E} E 的向外定向的分段光滑边界。场在 E {E} E 的邻域内一阶偏导数连续
五个基本定理(微积分基本定理、线积分基本定理、格林定理、斯托克斯定理和散度
定理)结构相同:在区域上对导数积分,得到对应的边界表达式。边界可以是区间或曲线的两个端点、曲面的边缘,或
立体区域的表面。
下表列出本系列「动手计算」栏在执行 import sympy as sp 后使用的命令。
模块一列指向相应的讲解和例题。
命令
它的作用
模块
sp.symbols('x n')
创建符号:x, n = sp.symbols('x n'); positive=True 添加一个假设
1 , 6
f.subs(x, 2)
在 f 中用 2 {2} 2 替换 x {x} x
1
sp.expand(f)
展开乘积和幂
1
sp.factor(f)
因式分解
1
sp.simplify(f)
简化
1
sp.N(f, 10)
f 在 10 位有效数字精度下的数值近似
1
sp.lambdify(x, f)
将 f 转换为可调用的函数以进行数值评估
1
sp.log(x)
ln x , {\ln x,} ln x , 保持原样 math.log(x); sp.log(x, 10) 是 log 10 x {\log_{10} x} log 10 x
1
sp.limit(f, x, a, '+-')
当 x → a ; {x \to a;} x → a ; 时的极限。省略 '+-' 时,SymPy 默认取右极限('+');'-' 表示取左极限
2
sp.oo
∞ , {\infty,} ∞ , 如 sp.limit(f, x, sp.oo) 所示
2 , 3
sp.diff(f, x)
导数;sp.diff(f, x, 2) 是二阶导数
4
sp.solve(f, x)
试图解 f = 0 {f=0} f = 0 对于 x。当它解一个方程对于一个符号时,它返回一个列表
8
sp.summation(a, (n, 1, N))
求和 ∑ n = 1 N a ; ; {\sum_{n=1}^{N} a;}\mathclose{\text{;}} ∑ n = 1 N a ; ; N {N} N 可以是 sp.oo
9 , 14
sp.integrate(f, x)
试图找到一个原函数,不带 + C {+\,C} + C
10
sp.integrate(f, (x, a, b))
试图计算定积分 ∫ a b f d x {\int_a^b f\,dx} ∫ a b f d x
10
sp.dsolve(eq, y(x))
试图解微分方程;首先 y = sp.Function('y')
13
sp.series(f, x, a, n)
在 a {a} a 附近展开到 n {n} n 阶,通常带有 O ( ( x − a ) n ) {O\big((x-a)^n\big)} O ( ( x − a ) n ) 余项。泰勒展开是普通非负整数幂的情况
15
动手计算一段程序中的 11 个命令
Python 复制
import sympy as sp
x, n = sp.symbols ('x n' )
y = sp.Function ('y' )
f = x**2 * sp.exp (x)
print ("diff: " , sp.diff (f, x))
print ("integrate:" , sp.integrate (f, x))
print ("definite: " , sp.integrate (f, (x, 0 , 1 )))
print ("limit: " , sp.limit (sp.sin (x)/x, x, 0 , '+-' ))
print ("series: " , sp.series (sp.cos (x), x, 0 , 6 ))
print ("solve: " , sp.solve (x**2 - 5 *x + 6 , x))
print ("summation:" , sp.summation (1 /n**2 , (n, 1 , sp.oo)))
print ("dsolve: " , sp.dsolve (y (x).diff (x) - 2 *y (x), y (x)))
print ("N: " , sp.N (sp.pi, 10 ))
print ("simplify: " , sp.simplify (sp.sin (x)**2 + sp.cos (x)**2 ))
print ("lambdify: " , sp.lambdify (x, f)(1.0 ))
输出
diff: x**2*exp(x) + 2*x*exp(x)
integrate: (x**2 - 2*x + 2)*exp(x)
definite: -2 + E
limit: 1
series: 1 - x**2/2 + x**4/24 + O(x**6)
solve: [2, 3]
summation: pi**2/6
dsolve: Eq(y(x), C1*exp(2*x))
N: 3.141592654
simplify: 1
lambdify: 2.718281828459045
SymPy 用 E 表示 e , e\mathclose{\text{,}} e , 用 exp(x) 表示 e x , e^x\mathclose{\text{,}} e x , 因此定积分为 e − 2 。 e - 2\mathclose{\text{。}} e − 2 。
原函数 ( x 2 − 2 x + 2 ) e x (x^2 - 2x + 2)e^x ( x 2 − 2 x + 2 ) e x 不带 + C , +\,C\mathclose{\text{,}} + C , 而 dsolve 命名其任意常数
C1。cos x \cos x cos x 的级数在 x 6 x^6 x 6 之前截断,用 O(x**6) 表示截断项。sp.N 将 π \pi π 计算到 10 位
有效数字,由 sp.lambdify 构造的函数返回普通浮点数:
e 1 ≈ 2.718281828459045 . e^1 \approx 2.718281828459045\mathclose{\text{.}} e 1 ≈ 2.718281828459045 .