微积分-函数与极限6(函数的连续性)

引言

\qquad 生活中有很多物理现象都是连续的,例如温度随时间的变化、汽车位移随时间的变化。其实数学中的连续性与之类似。这一节就来研究一下数学中的连续。

连续性定义

定义 1 如果 lim ⁡ x → a f ( x ) = f ( a ) \lim_{x \rightarrow a}f(x) = f(a) limxaf(x)=f(a),函数 f f f x = a x = a x=a处连续。

从上面的定义,可以看出函数 f f f要在 a a a处连续,需要满足三个条件:

  1. f ( a ) f(a) f(a)存在(即 a a a在函数 f f f的定义域内)
  2. lim ⁡ x → a f ( x ) \lim_{x \rightarrow a}f(x) limxaf(x)存在
  3. lim ⁡ x → a f ( x ) = f ( a ) \lim_{x \rightarrow a}f(x) = f(a) limxaf(x)=f(a)

从几何角度上来说,如果一个函数的图像在某个区间内没有间断,那么这个函数在该区间内就是连续的。

例一:根据定义 1再结合函数的图像,说明函数在哪些点上不连续。
在这里插入图片描述
解:

  • 函数在 x = 1 x = 1 x=1处不连续,因为 f ( 1 ) f(1) f(1)不存在;
  • 函数在 x = 3 x = 3 x=3处不连续,因为 lim ⁡ x → 3 f ( x ) \lim_{x \rightarrow 3}f(x) limx3f(x)不存在;
  • 函数在 x = 5 x = 5 x=5处不连续,因为 lim ⁡ x → 5 f ( x ) ≠ f ( 5 ) \lim_{x \rightarrow 5}f(x) \neq f(5) limx5f(x)=f(5)

例二:找出下列函数不连续的点。
(a) f ( x ) = x 2 − x − 2 x − 2 f(x) = \frac{x^2 - x - 2}{x - 2} f(x)=x2x2x2
(b) f ( x ) = { 1 x 2 x ≠ 1 1 x = 1 f(x)=\left\{ \begin{aligned} & \frac{1}{x^2} & x \neq 1\\ & 1 & x = 1\\ \end{aligned} \right. f(x)= x211x=1x=1
(c) f ( x ) = { x 2 − x − 2 x − 2 x ≠ 2 1 x = 2 f(x)=\left\{ \begin{aligned} & \frac{x^2 - x - 2}{x - 2} & x \neq 2\\ & 1 & x = 2\\ \end{aligned} \right. f(x)= x2x2x21x=2x=2
(d) f ( x ) = ⌊ x ⌋ f(x) = \lfloor x \rfloor f(x)=x(向下取整)
解:
(a) 函数在 x = 2 x = 2 x=2处不连续,因为不在定义域内;
(b) 函数在 x = 1 x = 1 x=1处不连续,因为 lim ⁡ x → 1 f ( x ) \lim_{x \rightarrow 1}f(x) limx1f(x)不存在;
(c) 函数在 x = 2 x = 2 x=2处不连续,因为
lim ⁡ x → 2 f ( x ) = lim ⁡ x → 2 ( x − 2 ) ( x + 1 ) x − 2 = lim ⁡ x → 2 ( x + 1 ) = 3 ≠ f ( 2 ) \lim_{x \rightarrow 2}f(x) = \lim_{x \rightarrow 2}\frac{(x - 2)(x + 1)}{x - 2} = \lim_{x \rightarrow 2}(x + 1) = 3 \neq f(2) x2limf(x)=x2limx2(x2)(x+1)=x2lim(x+1)=3=f(2)
(d) 函数在 x x x为整数的点不连续,因为这些点的极限不存在。(下面会证明)

如图所示,其中
(a)和(c)被称为可移除连续
(b)被称为无限不连续
(d)被称为跳跃不连续
在这里插入图片描述
定义 2 如果 lim ⁡ x → a + f ( x ) = f ( a ) \lim_{x \rightarrow a^+}f(x) = f(a) limxa+f(x)=f(a),那么函数 f f f x = a x = a x=a的右侧连续;如果 lim ⁡ x → a − f ( x ) = f ( a ) \lim_{x \rightarrow a^-}f(x) = f(a) limxaf(x)=f(a),那么函数 f f f x = a x = a x=a的左侧连续。

例三:证明对于任意整数 n n n,函数 f ( x ) = ⌊ x ⌋ f(x) = \lfloor x \rfloor f(x)=x x = n x = n x=n的右侧连续。
lim ⁡ x → n + f ( x ) = lim ⁡ x → n + ⌊ x ⌋ = n = f ( n ) lim ⁡ x → n − f ( x ) = lim ⁡ x → n − ⌊ x ⌋ = n − 1 ≠ f ( n ) \begin{aligned} & \lim_{x \rightarrow n^+}f(x) = \lim_{x \rightarrow n^+}{\lfloor x \rfloor} = n = f(n)\\ & \lim_{x \rightarrow n^-}f(x) = \lim_{x \rightarrow n^-}{\lfloor x \rfloor} = n - 1 \neq f(n)\\ \end{aligned} xn+limf(x)=xn+limx=n=f(n)xnlimf(x)=xnlimx=n1=f(n)
通过这个例子,我们可以看出 f ( x ) = ⌊ x ⌋ f(x) = \lfloor x \rfloor f(x)=x x x x为整数的点上没有极限,因此不连续。

定义 3 如果函数 f f f在区间内任意点上连续,那么 f f f在该区间连续。(如果 f f f仅在区间端点的一侧定义,则我们将端点处的连续理解为从右侧连续或从左侧连续。)

例四:证明 f ( x ) = 1 − 1 − x 2 f(x) = 1 - \sqrt{1 - x^2} f(x)=11x2 在区间 [ − 1 , 1 ] [-1, 1] [1,1]连续。
解:
如果 − 1 < a < 1 -1 < a < 1 1<a<1,那么根据前面的极限定律,有
lim ⁡ x → a f ( x ) = lim ⁡ x → a ( 1 − 1 − x 2 ) = 1 − lim ⁡ x → a 1 − x 2 = 1 − lim ⁡ x → a ( 1 − x 2 ) = 1 − 1 − a 2 = f ( a ) \begin{aligned} \lim_{x \rightarrow a}f(x) & = \lim_{x \rightarrow a}(1 - \sqrt{1 - x^2}) \\ & = 1 - \lim_{x \rightarrow a} \sqrt{1 - x^2} \\ & = 1 - \sqrt{\lim_{x \rightarrow a}(1 - x^2)} \\ & = 1 - \sqrt{1 - a^2} \\ & = f(a) \end{aligned} xalimf(x)=xalim(11x2 )=1xalim1x2 =1xalim(1x2) =11a2 =f(a)
根据定义 1 f f f a a a处连续,其中 − 1 < a < 1 -1 < a < 1 1<a<1。另外
lim ⁡ x → − 1 + f ( x ) = 1 = f ( − 1 ) lim ⁡ x → 1 − f ( x ) = 1 = f ( 1 ) \begin{aligned} & \lim_{x \rightarrow -1^+}f(x) = 1 = f(-1) \\ & \lim_{x \rightarrow 1^-}f(x) = 1 = f(1) \end{aligned} x1+limf(x)=1=f(1)x1limf(x)=1=f(1)
根据定义 2 f f f − 1 -1 1右侧连续,在 1 1 1的左侧连续。因此,根据定义 3 f f f [ − 1 , 1 ] [-1, 1] [1,1]上连续。

定理

定理 1 如果 f f f g g g a a a点连续,并且 c c c是一个常数,那么下面的函数同样在 a a a点连续:

  1. f + g f + g f+g
  2. f − g f - g fg
  3. c f cf cf
  4. f g fg fg
  5. f g \frac{f}{g} gf \

证明 f + g f+g f+g也在 a a a处连续。
已知 lim ⁡ x → a f ( x ) = f ( a ) \lim_{x \rightarrow a}f(x) = f(a) limxaf(x)=f(a) lim ⁡ x → a g ( x ) = g ( a ) \lim_{x \rightarrow a}g(x) = g(a) limxag(x)=g(a)
因此
lim ⁡ x → a ( f + g ) ( x ) = lim ⁡ x → a [ f ( x ) + g ( x ) ] = lim ⁡ x → a f ( x ) + lim ⁡ x → a g ( x ) = f ( a ) + g ( a ) = ( f + g ) ( a ) \begin{aligned} \lim_{x \rightarrow a}(f + g)(x) &= \lim_{x \rightarrow a}[f(x) + g(x)] \\ &= \lim_{x \rightarrow a}f(x) + \lim_{x \rightarrow a}g(x) \\ &= f(a) + g(a) \\ &= (f + g)(a) \end{aligned} xalim(f+g)(x)=xalim[f(x)+g(x)]=xalimf(x)+xalimg(x)=f(a)+g(a)=(f+g)(a)
所以 f + g f + g f+g a a a点连续。

定理 2
(a) 多项式在任意点连续;也就是说多项式在 ( − ∞ , ∞ ) (-\infty, \infty) (,)连续;
(b) 分数式在定义域连续;
(c) 根函数在定义域连续;
(d) 三角函数在定义域连续;
证明(a)
多项式的格式为
P ( x ) = c n x n + c n − 1 x n − 1 + . . . + c 1 x 1 + c 0 P(x) = c_nx^n + c_{n-1}x^{n-1} +...+ c_1x^1 + c_0 P(x)=cnxn+cn1xn1+...+c1x1+c0
其中 c 0 , c 1 , . . . , c n c_0, c_1,...,c_n c0,c1,...,cn为常数。根据极限定律我们知道
lim ⁡ x → a c 0 = c 0 \lim_{x \rightarrow a}c_0 = c_0 xalimc0=c0
lim ⁡ x → a x m = a m \lim_{x \rightarrow a}x^m = a^m xalimxm=am
由此可见, f ( x ) = x m f(x) = x^m f(x)=xm是一个连续的函数。根据定理1-3,我们知道 g ( x ) = c x m g(x) = cx^m g(x)=cxm也连续。因此,根据定理1-1可知 P P P连续。

例一:计算 lim ⁡ x → π sin ⁡ x 1 + cos ⁡ x \lim_{x \rightarrow \pi}\frac{\sin x}{1 + \cos x} limxπ1+cosxsinx

  • 首先证明其连续;
  • 然后根据定义 1求解。

定理 3 如果 f f f x = b x = b x=b处连续,并且 lim ⁡ x → a g ( x ) = b \lim_{x \rightarrow a}g(x) = b limxag(x)=b,那么 lim ⁡ x → a f ( g ( x ) ) = f ( b ) \lim_{x \rightarrow a}f(g(x)) = f(b) limxaf(g(x))=f(b)。也就是
lim ⁡ x → a f ( g ( x ) ) = f ( lim ⁡ x → a g ( x ) ) \lim_{x \rightarrow a}f(g(x)) = f(\lim_{x \rightarrow a}g(x)) xalimf(g(x))=f(xalimg(x))

定理 4 如果 g g g a a a处连续, f f f g ( a ) g(a) g(a)处连续,那么复合函数 ( f ∘ g ) ( x ) = f ( g ( x ) ) (f \circ g)(x) = f(g(x)) (fg)(x)=f(g(x)) a a a处连续。

证明
已知
lim ⁡ x → a g ( x ) = g ( a ) \lim_{x \rightarrow a}g(x) = g(a) xalimg(x)=g(a)
根据定理 3,有
lim ⁡ x → a f ( g ( x ) ) = f ( g ( a ) ) \lim_{x \rightarrow a}f(g(x)) = f(g(a)) xalimf(g(x))=f(g(a))

中值定理 5 假设 f f f [ a , b ] [a, b] [a,b]连续,令 N N N处于 f ( a ) f(a) f(a) f ( b ) f(b) f(b)中间,其中 f ( a ) ≠ f ( b ) f(a) \neq f(b) f(a)=f(b)。那么存在 c c c属于 ( a , b ) (a, b) (a,b),使得 f ( c ) = N f(c) = N f(c)=N

如图所示
在这里插入图片描述

练习题

  1. 根据定理,说明函数为什么在其定义域内连续,并指出其定义域。
    B ( x ) = tan ⁡ x 4 − x 2 B(x) = \frac{\tan x}{\sqrt{4 - x^2}} B(x)=4x2 tanx
  2. 根据连续性计算极限。
    lim ⁡ x → π sin ⁡ ( x + sin ⁡ x ) \lim_{x \rightarrow \pi}\sin(x + \sin x) xπlimsin(x+sinx)
  3. 证明 f f f ( − ∞ , ∞ ) (-\infty, \infty) (,)上连续。
    f ( x ) = { 1 − x 2 x ≤ 1 x − 1 x > 1 f(x) = \left\{ \begin{aligned} & 1 - x^2 & x \leq 1 \\ & \sqrt{x - 1} & x > 1 \end{aligned} \right. f(x)={1x2x1 x1x>1
  4. 找出不连续的点,说明在这些点上是左侧连续还是右侧连续,并且画出图像。
    f ( x ) = { x 2 x < − 1 x − 1 ≥ x < 1 1 / x x ≥ 1 f(x) = \left\{ \begin{aligned} & x^2 & x < -1 \\ & x & -1 \geq x < 1 \\ & 1/x & x \geq 1 \end{aligned} \right. f(x)= x2x1/xx<11x<1x1
  5. 地心引力方程如下,请问 F F F r = R r = R r=R处连续吗?
    F ( r ) = { G M r R 3 r < R G M r 2 r ≥ R F(r) = \left\{ \begin{aligned} & \frac{GMr}{R^3} & r < R \\ & \frac{GM}{r^2} & r \geq R \end{aligned} \right. F(r)= R3GMrr2GMr<RrR
  6. 找出常量 c c c,使得 f f f ( − ∞ , ∞ ) (-\infty, \infty) (,)连续。
    f ( x ) = { c x 2 + 2 x x < 2 x 3 − c x x ≥ 1 f(x) = \left\{ \begin{aligned} & cx^2 + 2x & x < 2 \\ & x^3 - cx & x \geq 1 \end{aligned} \right. f(x)={cx2+2xx3cxx<2x1
  7. 根据中值定理,证明下面的式子有解。
    sin ⁡ x = x 2 − x \sin x = x^2 - x sinx=x2x
  8. 证明当前仅当 lim ⁡ h → 0 f ( a + h ) = f ( a ) \lim_{h \rightarrow 0}f(a + h) = f(a) limh0f(a+h)=f(a)时, f f f a a a处连续。
  9. 使用上面的结论证明 sin ⁡ x \sin x sinx在任意 a a a处连续。
  10. 一个僧人一天早上7点从寺庙向山顶出发,晚上7点到达山顶。第二天早上7点从山顶向寺庙出发,走同样路线,晚上7点到达寺庙。请使用中值定理证明路径上有一个点,僧人两天在同一时刻穿过该点。
  • 22
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值