MIT 18.01 单变量微积分总结
引言
这篇文章是对 MIT Single Variable Calculus 这个课程的知识点总结。在这个课程中,我遇到一些问题涉及到先前高中学过的知识,同时也有一些比较难理解的或容易混淆的概念,因此我把找到的这些资料链接列在下面(这些资料弥补了我先前忘记的知识,并且加深了对课程内容的理解,非常有帮助):
What is a Function?
Even and Odd Functions
Function Transformations
Inverse function
In what sense is the derivative the “best” linear approximation?
Inflection points introduction
Continuous versus differentiable
How to Detrmine when Limits Don’t Exist
Prove that the derivative of an even differentiable function is odd, and the derivative of an odd is even
limit and continuity
下面是 continuous 的定义:
A function
f is continuous atx0 iflimx→x0f(x)=f(x0)
如果一个函数在
-
limx→x+0f(x)=limx→x−0f(x) -
f(x0) is defined -
limx→x+0f(x)=limx→x−0f(x)=f(x0)
下面中的链接是关于 limit 的一些属性,和证明这些属性为什么是正确的。
下面我们来证明一个定理,定理的内容如下:
If
f is differentiable atx0 , thenf is continuous atx0
如果
sin 与 cos 导数的证明
在这个 lecture 中,David Jerison 教授讲解了 sin 与 cos 函数导数的代数与几何证明,在具体证明之前,让我们首先求出2个极限的解,它们分别是:
我们首先来证明第2个极限,下图是个单位圆,角度
把第2个极限中的
接下来让我们来求第1个极限,下图来自于单位圆的一部分,我们可以看出当
上面的几何证明过程中,有2个重点我需要解释一下:
1、在MIT的课堂上,我看到很多同学会问到:当
2、上面极限中的角度全是以弧度来描述的,如果你以度数来描述,则上面的结论不成立,因此当我们对
至此,我们已经求出了上面的2个极限。现在,只需要一些代数 tricks 就可以证明出
下面我们来用几何的方式去证明
下图是个单位圆,当角度增加
当
General Strategy for Curve Sketching
在这个 lecture 中, Jerison 教授介绍了一个通用的策略去大致描绘出函数图像,下面的链接中给出了具体的步骤,如果步骤1和2中的点很难找出,你可以直接跳到第3步。
函数的平均值
想必你已经知道如何求解一个离散集合的平均值,比如:
那么现在,我想求出下图中函数在区间
我们目前虽然不知道如何去求连续函数在某一区间的平均值,但是我们会求一个离散集合的平均值,因此我们可以通过这个方法来粗略估计出上图所示函数的平均值,过程如下:
1、Split
2、Pick a point
3、Average just the
随着 n
4、把上面的公式中的分子与分母都乖上 \Delta x
Average \approx \frac{(f(x_1)+f(x_2)+\dots+f(x_n))*\Delta x}{n*\Delta x}
我们可以看出,上面公式中的分子是 Riemann sum,因此随着 n
5、取极限
因此,函数
Fundamental theorem of calculus 告诉我们:
由于
用积分求立方体体积
我下面介绍的这些方法都是求旋转体(solid of revolution)的体积,它们都是由某个平面沿着某个轴旋转得出的不规则立方体。在某些情况下,我们用哪个方法都可以解决问题,但是某个方法可能比另一个方法的计算要容易,但是在另一些情况下,只能用某个方法,而不能用其它方法。
Disk method
假设下图中弧线的公式为
我们通过 slicing the solid vertically into disk shaped pieces and summing the volumes of the disks,就可以求出体积了,这个方法没什么好说的,太简单了!
这个 disk 的厚度就是
然后把
Washer method
我们把下图中阴影部分的面积沿着
实际上一个 wahser 的体积就是一个大 disk 的体积减掉一个小 disk 的体积, 每个 washer 有一个高度为
然后把
Shell method
这回我们要求的体积依然是 Washer method 中那个图形旋转过后得到的体积,只不过这次是用 shell method. 在 Washer method 中,我们采用的是 slicing the solid horizontally,这回我们要 slicing the solid vertically,那么在 Shell method 方法中,我们得出的是一个 shell(形状像 cylinder),那么我们如何求出 shell 的体积呢?我们把它展开成一个长方体来求体积,它的长为:半径为 (6-x)的周长; 宽为:
考试题目
考试题目 里面涉及了几个综合的问题,对整个积分与微分的学习非常有帮助。下面我把几个重要的点指出来,方便日后 review:
1、第3题(a):除了答案中给的积分方法,你也可以直接将平方展开,然后对每项分别求和,其中每个项的求和结果分别是3,9,9. 在计算的过程中会遇到
2、第3题(b):这个题目要用 fundamental theorem of calculus 来做,答案给的很简略,我现在补充一下。棘手的地方就是它的积分极限是
让
3、第4题(a):当求这种加权平均的问题时,我们可以把要求的变量认为是离散问题中的 1,2,3,4,5. 然后不同的问题一定有一个总体,然后我们可以想像分别把总体切分贡献到上面的1,2,3,4,5上。比如:这个问题中我们要求的是 centroid 的 x,y 坐标,在离散的情况下,x可以是1,2,4,5,5,只不过现在x是连续的,这个问题中的总体是面积,我们把这个面积竖直切割成一个个小部分,然后贡献到对应的 x,当然了千万别忘记最后除以总体,就和离散加权的平均值一样。
其它题目也都非常好,必须要再做一遍。
求解积分的技术
用 Substitution Rule 求解积分通用过程
1、看 integrand 在给定的区间内是否连续?
2、看 integrand 是奇函数或者是偶函数吗?
如果
如果
Note that in order to use these facts the limit of integration must be the same number, but opposite signs!
3、用 Substitution Rule 求解积分
具体步骤参考:Substitution Rule for Definite Integrals
Trigonometric Powers
求下面形式积分的通用过程:
上式中的 m and n are non-negative integers. There are two cases to think about here. The easy case is the one in which at least one exponent is odd. MIT 的教授在课上给了几个这种 case 的例子:
你会发现只要 integrand 有一个是 odd power,我们只需要用
更困难的一种 case 是 m 和 n 都是偶数的。这时我们需要用半角公式 turning even powers of sin x and cos x into odd powers of cos(2x),MIT 的教授给了这种 case 的几个例子:
每当我们看到 the square root of a quadratic in an integral, you should think
of trigonometry and
Trigonometric Substitution and Completing the Square
Review of Trigonometric Identities 包含了很重要的三角函数等式,应该推导性地熟记这些公式。下面的链接中分别包含了求 Tangent,Secant,和一些重要三角函数积分的总结:
Integral of Tangent
Integral of Secant
Summary of Trig Integration
对于 square root of a quadratic function 来说,我们要用 trig substitution 来求解这样的积分,下图中是教授总结出的3种基本形式:
一旦你替换完成,你可以使用 Undoing Trig Substitution 去得到最终的答案。有些时候,我们并没有那么幸运得到上面3种基本形式,我们需要 Completing the Square 来把公式重写成上面熟悉的3种形式,下面是2个 Completing the Square 的例子:
这是一个 Trig Substitution 的例子:Example of Trig Substitution
Integration by Partial Fractions
Partial Fractions 技术总结来说分为以下3个过程:
- Factor the denominator
Q(x) - Set-up (describe the target sum)
- Cover-up (solve for unknown coefficients)
Partial Fractions 技术主要是求解下面形式的积分:
P(x) and Q(x) are polynomials, functions of this type are called rational functions. 下图中的第一个积分我们可以很容易地求出来,但是第2个积分就不容易,而实际上它们是同一个积分,而 partial fractions 技术就是教我们如何把难的积分变成这个简单的形式,这个方法只有在
用 partial fractions 求解上面困难形式的积分如下所示:
我们如何用求解上图中的变量 A 和 B 呢?用 Cover-up 方法可以大大加快我们求解的速度。在 Integrate by Partial Fractions 这个例子中,求 A,B,和 C的过程就叫做 Cover-up,我们可以看出它可以非常快速的求出未知变量。
partial fractions 中第2步的 setup 分为如下几种情况:
Repeated Factors
Quadratic Factors
这是一个关于 Quadratic Factors 的例子,希望我认真 review 一下它解题的过程。
注意:只有当
教授也给我们总结出求这样一种有理函数形式积分的整个过程:Partial Fractions – Big Example,仔细 review.
Integration by Parts
下图是公式:
这个教授介绍了几个 Reduction Formula 去求积分,它们分别是如下的积分:
Integration by reduction formulae 上给出了更多的例子,有空参考一下,尤其是
L’Hˆopital’s Rule
在我们不会洛必达法则之前,如何求出下面的极限呢?
令
上面只是一个例子,我们可以用上面的过程得到一个更加通用的例子:
从上面的推导过程可以看出,
总结来说,只有在
反常积分
下面是反常积分的定义:
An improper integral is a definite integral that has either or both limits infinite or an integrand that approaches infinity at one or more points in the range of integration. Improper integrals cannot be computed using a normal Riemann integral.
从上面的定义可以看出,有2种类型的反常积分,它们分别是:
- either or both limits infinite
- integrand that approaches infinity at one or more points in the range of integration
第一种类型反常积分的求解
下面是一个不错的例子:
我们可以暂时把
这里面有个关于收敛和发散的定义:We will call these integrals convergent if the associated limit exists and is a finite number (i.e. it’s not plus or minus infinity) and divergent if the associated limit either doesn’t exist or is (plus or minus) infinity
对于这种类型的反常积分,如果上下2个极限分别是
Where c is any number. Note as well that this requires BOTH of the integrals to be convergent in order for this integral to also be convergent. If either of the two integrals is divergent then so is this integral.
既然现在可以求出第一种类型的反常积分了,我们可以得到下面的事实:
如果
a>0 ,那么∫∞a1xpdx 是收敛的,当p>1 ; 是发散的,当p≤1
上面事实中的本质其实就是说:if an integrand goes to zero fast enough then the integral will converge. How fast is fast enough? If we use this fact as a guide it looks like integrands that go to zero faster than
MIT 的这个教授为我们推导出上面的事实,证明过程请参考 Integral of
这是关于整个事实的总结,我必须认真看看:事实的整体总结
第二种类型反常积分的求解
这种类型的反常积分实际上就是 integrand 在整个积分区间存在 singularities at finite values. 我把它分为以下4种情况,每种情况都有相对应的求解方法:
1、integrand 在上极限处不连续
2、integrand 在下极限处不连续
3、integrand 在中间某处不连续
4、integrand 在上极限与下极限都不连续
上面公式中涉及到的
Limit Comparison
对于一些积分来说,它们的求解过程非常繁琐,这时我们可以用 limit comparison 来把它转换成一个更容易求解地积分,从而判断出它是收敛还是发散。Limit comparison 的定义如下:
下面是关于 Limit Comparison 的几个例子:
由于我们已经知道
另一个例子:Confirming an Integral Converges
有些 integrands 的增长速度或衰减速度非常快,我们可以用 Ordinary comparison 来判断其是否收敛:例子
关于求解反常积分的总结
当我们求解反常积分时,我们应该看看是否存在无穷,或者一些 singularities,必要时,我们需要把原来的积分拆成几部分。同时我们也可以用 Limit Comparison 来快速的判断积分是否收敛。
序列和级数
Sequences
Sequences 可以用如下3种 notation 表示:
上面中的
你可以把上图 sequence 中的 formula 看作是一个只可以插入整数的函数
从上图可以看出,随着
可以看出,上面的 notation 与表达函数极限时的 notation 一样。If
像函数一样,sequence 也有相应的 Squeeze Theorem,如下:
文章 中 Example 2 的 b 和 c 是关于判断 sequence 收敛/发散 的好例子。下图中是一些关于 sequence 的 terminology and definitions:
下图中是一个关于 sequence 的定理:
上图中的定理并没有说: if a sequence is not bounded and/or not monotonic that it is divergent. 文章 中 Example 2b 就是这样的一个例子。这个定理也有2个很容易理解的变种:
1、If
2、If
Series
级数实际上就是 the sum of a sequence of terms. 比如现在有一个序列为
上面的定理说明如果一个级数收敛,那么它所对应的序列也一定收敛,反之,不成立。 因此,通过这个定理,可以得到 Divergence Test:
If
limn→∞an≠0 then∑an will diverge.
注意:Divergence Test only says that a series is guaranteed to diverge if the series terms don’t go to zero in the limit. If the series terms do happen to go to zero the series may or may not converge!
conditionally convergent 和 absolutely convergent
1、A series
2、If
文章 中介绍了一个关于 rearrangement 的概念,其中作者举个关于它的例子,这个例子大致就是说:当我们 rearrange 级数的这些 term 时,得到 sum 有可能不同。关于 conditionally convergent 和 absolutely convergent 有如下事实:
其实上面的事实主要就是说:当一个级数为 absolutely convergent 时,我们可以把 infinite series 看作是 infinite sum,这是由于当 rearrange term 时,产生的结果并不变; 另一方面,当一个级数为 conditionally convergent 时,我们不可以把 infinite series 看作是 infinite sum.
index shift
比如对于下面的级数
3个 Special Series
通常情况下,得到一个级数的值是非常困难的(当然了,这个级数要收敛),因此在整个单变量微积分的课程中,下面介绍的2个 series 是唯一可以找到值的,其中1个是发散的。
Geometric Series
在文章的后半部分,我会详细介绍 Power Series,你会发现,Geometric Series 只是 Power Series 的一个特例。它记作如下形式:
这里面有个收敛半径的概念,在 Power Series 的章节中我会详细介绍,这里你只需要知道,如果要让上面的公式成立,
有些时候,我们需要把函数用级数来表示,通过把函数转变成上面函数的形式,找出
Telescoping Series
Telescoping Series 之所以可以求出值是因此它可以要把中间的 terms 全部约掉,从而只留下头部 term 和尾部 term,因此我们就可以很容易得到 series 的值了。文章 中的例子 3 和 4 都是非常好的例子。
Harmonic Series
Harmonic Series 的形式如下:
用 Integral Test 就可以很容易地证明它是发散的。
判断级数是否收敛
Integral Test
Integral Test 主要就是用 Riemann sum 把级数与反常积分关联起来,我们可以相对容易地判断出反常积分是否收敛,一旦知道反常反常积分是否收敛以后,就可以判断出级数是否收敛。Integral Test 的内容如下:
Suppose that
f(x) is a continuous, positive and decreasing function on the interval[k,∞) and thatf(n)=an then,∫∞1f(x)dx 与∑∞n=kan 的收敛与发散一致。
下面是做 Integral Test 所需要的条件:
In order to use the Integral Test the series terms MUST eventually be decreasing and positive. If they are not then the test doesn’t work. Also remember that the test only determines the convergence of a series and does NOT give the value of the series
详细的证明过程请参考:Proof of Integral Test,我们可以看到整个证明过程占的篇幅很大,但是思路非常简单,假设我现在想证明的级数是
1、首先让函数
2、写出这个函数的 Right Riemann sum 或者 Left Riemann sum,其中让
3、你会发现 Riemann sum 就是级数,然后你用这个函数的反常积分与 Riemann sum 相比较
现在我们已经把反常积分与级数的收敛与否关联起来,并且在这篇文章上面的章节中的引用块中给出了一个总结,因此我们可以给出下面的总结,它被叫做 p-series test:
如果
k>0 ,那么∑∞n=k1np 是收敛的,当p>1 ; 是发散的,当p≤1
例子:如何用 Integral Test 来判断 harmonic series 是否收敛:文章 的开篇给出了详细的步骤。
Comparison Test 和 Limit Comparison Test
下面是 Comparison Test 所包含的内容:
这篇文章 中的 Example 2 是一个关于 Comparison Test 的非常好的例子,必须好好看看。
其实上面的内容是很直观的,也就说:对于一大一小的2个级数,如果大的级数收敛,那么小的级数必然收敛; 如果小的级数发散,那么大的级数也就必然发散。但是,如果大的级数发散,你就不能断定小级数的行为; 同样地,如果小的级数收敛,你也不能断定大级数的行为。那么在这样的情况下,所以我们才需要 Limit Comparison Test,它的内容如下:
实际上,Limit Comparison Test 只是 Comparison Test 的一个变种,看一下它的证明你就知道为什么了。Proof of Limit Comparison Test
这篇文章 中的 Example 3 是一个关于 Limit Comparison Test 的非常好的例子,必须好好看看。你要仔细注意一下它们是谁除以谁,如果反过来以后,你就会找不出它们比值的极限; 同时你也要注意,要想 Limit Comparison Test 成功,它们的比值的极限必须为常数。
其实你会发现,关于级数的 Limit Comparison Test 与文章上面关于反常积分的 Limit Comparison 的思想是一样的。
Alternating Series Test
从名字就可以看出来,Alternating Series Test 是针对于 Alternating Series 的,那么什么是 Alternating Series 呢?An alternating series is any series,
当然了,还有很多其它形式的 alternating sign,它们都可以转换成上面的2种形式,比如下图中的2种 alternating sign:
Alternating Series Test 的定义如下:
关于这个 Alternating Series Test 有3点需要注意:
1、它只告诉我们级数什么时候收敛,但是并没有告诉我们级数什么时候发散。也就是说,如果我们有一个级数不满足上面的条件,你需要另寻其它的 test 来验证级数是否收敛或发散。
2、我们只需要 series terms,
3、想要判断是否为递减序列,你不能靠直觉,而是应该用导数来检查
Ratio Test
Notice that in the case of
文章中的例子5是一个很好的例子。
Root Test
As with the ratio test, if we get
这些测试方法的总结
有了这么多的 test 工具,我们应该去认真理解它们的应用条件,有可能多个 test 应用到一个级数上,但是只有一个是最容易得到结果的,因此我们只有通过不断地练习,找出一定的感觉,从而在见到一个级数以后就可以找出最合适的 test. 下面的 guidelines 是一个老外总结出来的,当我做练习的时候,我应该按照这个步骤去找级数的收敛/发散,从而给自己形成一定的感觉。
Again, remember that these are only a set of guidelines and not a set of hard and fast rules to use when trying to determine the best test to use on a series. If more than one test can be used try to use the test that will be the easiest for you to use and remember that what is easy for someone else may not be easy for you!
详细内容请参考:Strategy for Series
Power Series
Power Series 记作如下形式:
上式中的
由于现在有了变量
存在一个数
当我们知道
无论如何,Power Series 在
文章中的例子1就是一个关于用 ratio test 找出 radius of convergence 的例子
例子3和例子4是两个比较极端的例子,值得一看。对于这2个例子的总结是:If the power series only converges for
介绍 Taylor 与 Maclaurin polynomials
Taylor polynomials 就是 approximating functions 的一种手段。记得先前我已经学过了 linear approximation 和 quadratic approximation 来 approximating functions,但是有了 Taylor polynomials 以后,我们可以用更高阶的多项式来 approximate 函数,阶数越高,approximate 的越准确。
假设我想用 Taylor polynomials 来 approximate 函数
1、让
2、让
3、让
4、让
5、keep going …
点击我 演示更多的 approximation.
从上面的过程也可以看出,阶数越高,approximate 的越准确。相信从上面的过程中,你也看出了模式,因此现在可以得出 Maclaurin series 了:
上面的过程我们是在
还有一点关于 Taylor polynomial 的重点就是,The nth degree Taylor polynomial may actually have a degree that is less than n. It will never be more than n, but it can be less than n. 文章中的例子3 用到了这个知识,这道题目的大致思路如下:
1、第一种方法也是最容易想到的方法就是求导,然后插入到 Taylor Series 公式中,但是这样的计算量很大。
2、第二种方式就是,分别用相应的 Taylor Series 去替换
Taylor polynomial remainder
下图中,
上式中的
由于我们已经知道了 degree 为
现在,分别对上面的误差公式求第
显然,
通过对上面取积分,我们就可以得到
文件 中的5,6页有2个关于找出误差边界的例子。
下图中是3个比较重要函数的 Taylor series 表示,文章中有详细的推导过程。通过上面的学习,我们都知道 Taylor polynomials 是 approximate 函数,想要下面3个式子相等,我们需要证明