3. 函数极限与连续函数
3.2 连续函数
3.2.1 一点连续
从分析上讲, f ( x ) f(x) f(x)在 x 0 x_{0} x0点连续:当 x → x 0 x\to x_{0} x→x0, f ( x ) → f ( x 0 ) f(x)\to f(x_{0}) f(x)→f(x0)
【定义3.2.1】设 f ( x ) f(x) f(x)在 x 0 x_{0} x0的某个邻域中有定义,且成立 lim x → x 0 f ( x ) = f ( x 0 ) \lim\limits_{x\to x_{0}}f(x)=f(x_{0}) x→x0limf(x)=f(x0),则称 f ( x ) f(x) f(x)在 x 0 x_{0} x0点连续,即 x 0 x_{0} x0是 f ( x ) f(x) f(x)的连续点。
符号表述: ∀ ε > 0 , ∃ δ > 0 , ∀ x ( ∣ x − x 0 ∣ < δ ) : ∣ f ( x ) − f ( x 0 ) ∣ < ε \forall \varepsilon>0,\exists \delta>0,\forall x(|x-x_{0}|<\delta):|f(x)-f(x_{0})|<\varepsilon ∀ε>0,∃δ>0,∀x(∣x−x0∣<δ):∣f(x)−f(x0)∣<ε( ∀ x ( 0 < ∣ x − x 0 ∣ < δ ) \forall x(0<|x-x_{0}|<\delta) ∀x(0<∣x−x0∣<δ)是在 x ≠ 0 x\ne 0 x=0时候的极限,现在 x = x 0 x=x_{0} x=x0是可以的,所以写成 ∀ x ( ∣ x − x 0 ∣ < δ ) \forall x(|x-x_{0}|<\delta) ∀x(∣x−x0∣<δ))
3.2.2 开区间连续性
开区间情况:
【定义3.2.2】若 f ( x ) f(x) f(x)在 ( a , b ) (a,b) (a,b)的每一点都连续,则称 f ( x ) f(x) f(x)在开区间 ( a , b ) (a,b) (a,b)上连续。
【例3.2.1】 f ( x ) = 1 x f(x)=\frac{1}{x} f(x)=x1,证明 f ( x ) f(x) f(x)在 ( 0 , 1 ) (0,1) (0,1)开区间连续。
【证】设 x 0 ∈ ( 0 , 1 ) x_{0}\in(0,1) x0∈(0,1)为 ( 0 , 1 ) (0,1) (0,1)当中任意一点, ∀ ε > 0 \forall \varepsilon>0 ∀ε>0找 δ > 0 \delta>0 δ>0
∣ 1 x − 1 x 0 ∣ = ∣ x − x 0 x x 0 ∣ |\frac{1}{x}-\frac{1}{x_{0}}|=|\frac{x-x_{0}}{xx_{0}}| ∣x1−x01∣=∣xx0x−x0∣
加上条件,在 x 0 x_{0} x0附近的邻域内放缩, ∣ x − x 0 ∣ < x 0 2 ⇒ x > x 0 2 |x-x_{0}|<\frac{x_{0}}{2}\Rightarrow x>\frac{x_{0}}{2} ∣x−x0∣<2x0⇒x>2x0
所以 ∣ 1 x − 1 x 0 ∣ = ∣ x − x 0 x x 0 ∣ < ∣ x − x 0 ∣ ∣ x 0 ∣ 2 2 = 2 ∣ x − x 0 ∣ ∣ x 0 ∣ 2 < ε |\frac{1}{x}-\frac{1}{x_{0}}|=|\frac{x-x_{0}}{xx_{0}}|<\frac{|x-x_{0}|}{\frac{|x_{0}|^{2}}{2}}=\frac{2|x-x_{0}|}{|x_{0}|^{2}}<\varepsilon ∣x1−x01∣=∣xx0x−x0∣<2∣x0∣2∣x−x0∣=∣x0∣22∣x−x0∣<ε
即 ∣ x − x 0 ∣ < ∣ x 0 ∣ 2 2 ε |x-x_{0}|<\frac{|x_{0}|^{2}}{2}\varepsilon ∣x−x0∣<2∣x0∣2ε,又 ∣ x − x 0 ∣ < x 0 2 |x-x_{0}|<\frac{x_{0}}{2} ∣x−x0∣<2x0
所以取 δ = min { ∣ x 0 ∣ 2 2 ε , x 0 2 } , ∀ x ( ∣ x − x 0 ∣ < δ ) \delta=\min\{\frac{|x_{0}|^{2}}{2}\varepsilon,\frac{x_{0}}{2}\},\forall x(|x-x_{0}|<\delta) δ=min{2∣x0∣2ε,2x0},∀x(∣x−x0∣<δ)
∣ 1 x − 1 x 0 ∣ < ε |\frac{1}{x}-\frac{1}{x_{0}}|<\varepsilon ∣x1−x01∣<ε
所以 f ( x ) f(x) f(x)在 ( 0 , 1 ) (0,1) (0,1)开区间连续。
3.2.3 左连续和右连续
【定义3.2.3】若 lim x → x 0 − f ( x ) = f ( x 0 ) \lim\limits_{x\to x_{0}^{-}}f(x)=f(x_{0}) x→x0−limf(x)=f(x0),则称 f ( x ) f(x) f(x)在 x 0 x_{0} x0点左连续;若 lim x → x 0 + f ( x ) = f ( x 0 ) \lim\limits_{x\to x_{0}^{+}}f(x)=f(x_{0}) x→x0+limf(x)=f(x0),则称 f ( x ) f(x) f(x)在 x 0 x_{0} x0点右连续。
符号表示
左连续: ∀ ε > 0 , ∃ δ > 0 , ∀ x ( − δ < x − x 0 ≤ 0 ) : ∣ f ( x ) − f ( x 0 ) ∣ < ε \forall\varepsilon>0,\exists \delta>0,\forall x(-\delta<x-x_{0}\le 0):|f(x)-f(x_{0})|<\varepsilon ∀ε>0,∃δ>0,∀x(−δ<x−x0≤0):∣f(x)−f(x0)∣<ε
右连续: ∀ ε > 0 , ∃ δ > 0 , ∀ x ( 0 ≤ x − x 0 < δ ) : ∣ f ( x ) − f ( x 0 ) ∣ < ε \forall\varepsilon>0,\exists \delta>0,\forall x(0\le x-x_{0}< \delta):|f(x)-f(x_{0})|<\varepsilon ∀ε>0,∃δ>0,∀x(0≤x−x0<δ):∣f(x)−f(x0)∣<ε
3.2.4 闭区间连续性
【定义3.2.4】 f ( x ) f(x) f(x)在 ( a , b ) (a,b) (a,b)上连续,且在 a a a点右连续,在 b b b点左连续,则称 f ( x ) f(x) f(x)在闭区间 ( a , b ) (a,b) (a,b)上连续。
【例3.2.2】 f ( x ) = x ( 1 − x ) f(x)=\sqrt{x(1-x)} f(x)=x(1−x),证明 f ( x ) f(x) f(x)在 [ 0 , 1 ] [0,1] [0,1]闭区间上连续。
【证】设 ∀ x 0 ∈ ( 0 , 1 ) \forall x_{0}\in(0,1) ∀x0∈(0,1),取 η = min { x 0 , 1 − x 0 } \eta=\min\{x_{0},1-x_{0}\} η=min{x0,1−x0}(该任意点 x 0 x_{0} x0到区间两端的距离)
当 ∣ x − x 0 ∣ < η |x-x_{0}|<\eta ∣x−x0∣<η
∀ ε > 0 , ∣ x ( 1 − x ) − x 0 ( 1 − x 0 ) ∣ = ∣ ( x ( 1 − x ) − x 0 ( 1 − x 0 ) ) ( x ( 1 − x ) + x 0 ( 1 − x 0 ) ) x ( 1 − x ) + x 0 ( 1 − x 0 ) ∣ = ∣ x ( 1 − x ) − x 0 ( 1 − x 0 ) ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) = ∣ x − x 2 − x 0 + x 0 2 ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) = ∣ x − x 0 + ( x 0 2 − x 2 ) ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) = ∣ x − x 0 + ( x 0 − x ) ( x 0 + x ) ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) = ∣ x − x 0 − ( x − x 0 ) ( x 0 + x ) ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) = ∣ 1 − x − x 0 ∣ x ( 1 − x ) + x 0 ( 1 − x 0 ) ∣ x − x 0 ∣ < 1 x 0 ( 1 − x 0 ) ∣ x − x 0 ∣ \forall \varepsilon>0,|\sqrt{x(1-x)}-\sqrt{x_{0}(1-x_{0})}|=|\frac{(\sqrt{x(1-x)}-\sqrt{x_{0}(1-x_{0})})(\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})})}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}|=\frac{|x(1-x)-x_{0}(1-x_{0})|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}=\frac{|x-x^{2}-x_{0}+x_{0}^{2}|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}=\frac{|x-x_{0}+(x_{0}^{2}-x^{2})|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}=\frac{|x-x_{0}+(x_{0}-x)(x_{0}+x)|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}=\frac{|x-x_{0}-(x-x_{0})(x_{0}+x)|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}=\frac{|1-x-x_{0}|}{\sqrt{x(1-x)}+\sqrt{x_{0}(1-x_{0})}}|x-x_{0}|<\frac{1}{\sqrt{x_{0}(1-x_{0})}}|x-x_{0}| ∀ε>0,∣x(1−x)−x0(1−x0)∣=∣x(1−x)+x0(1−x0)(x(1−x)−x0(1−x0))(x(1−x)+x0(1−x0))∣=x(1−x)+x0(1−x0)∣x(1−x)−x0(1−x0)∣=x(1−x)+x0(1−x0)∣x−x2−x0+x02∣=x(1−x)+x0(1−x0)∣x−x0+(x02−x2)∣=x(1−x)+x0(1−x0)∣x−x0+(x0−x)(x0+x)∣=x(1−x)+x0(1−x0)∣x−x0−(x−x0)(x0+x)∣=x(1−x)+x0(1−x0)∣1−x−x0∣∣x−x0∣<x0(1−x0)1∣x−x0∣
取 δ = min { η , x 0 ( 1 − x 0 ) ⋅ ε } , ∀ x ( ∣ x − x 0 ∣ < δ ) : ∣ x ( 1 − x ) − x 0 ( 1 − x 0 ) ∣ < 1 x 0 ( 1 − x 0 ) ∣ x − x 0 ∣ < ε \delta=\min\{\eta,\sqrt{x_{0}(1-x_{0})}\cdot\varepsilon\},\forall x(|x-x_{0}|<\delta):|\sqrt{x(1-x)}-\sqrt{x_{0}(1-x_{0})}|<\frac{1}{\sqrt{x_{0}(1-x_{0})}}|x-x_{0}|<\varepsilon δ=min{η,x0(1−x0)⋅ε},∀x(∣x−x0∣<δ):∣x(1−x)−x0(1−x0)∣<x0(1−x0)1∣x−x0∣<ε
所以 f ( x ) f(x) f(x)在 ( 0 , 1 ) (0,1) (0,1)上连续
当 x 0 = 0 x_{0}=0 x0=0时,现在证明 lim x → 0 + f ( x ) = lim x → 0 + x ( 1 − x ) = 0 \lim\limits_{x\to 0^{+}}f(x)=\lim\limits_{x\to 0^{+}}\sqrt{x(1-x)}=0 x→0+limf(x)=x→0+limx(1−x)=0
∀ ε > 0 , ∣ x ( 1 − x ) − 0 ∣ = ∣ x ( 1 − x ) ∣ ≤ x < ε ( 0 < x < 1 ) \forall\varepsilon>0,|\sqrt{x(1-x)}-0|=|\sqrt{x(1-x)}|\le\sqrt{x}<\varepsilon(0<x<1) ∀ε>0,∣x(1−x)−0∣=∣x(1−x)∣≤x<ε(0<x<1)
取 δ = ε 2 , ∀ x ( 0 ≤ x − 0 = x < δ ) : ∣ x ( 1 − x ) − 0 ∣ < ε \delta=\varepsilon ^{2},\forall x(0\le x-0=x<\delta):|\sqrt{x(1-x)}-0|<\varepsilon δ=ε2,∀x(0≤x−0=x<δ):∣x(1−x)−0∣<ε
所以 lim x → 0 + f ( x ) = lim x → 0 + x ( 1 − x ) = 0 = f ( 0 ) \lim\limits_{x\to 0^{+}}f(x)=\lim\limits_{x\to 0^{+}}\sqrt{x(1-x)}=0=f(0) x→0+limf(x)=x→0+limx(1−x)=0=f(0)
当 x 0 = 1 x_{0}=1 x0=1时,现证明 lim x → 1 − f ( x ) = lim x → 1 − x ( 1 − x ) = 0 = f ( 1 ) \lim\limits_{x\to 1^{-}}f(x)=\lim\limits_{x\to 1^{-}}\sqrt{x(1-x)}=0=f(1) x→1−limf(x)=x→1−limx(1−x)=0=f(1)
∀ ε > 0 , \forall \varepsilon>0, ∀ε>0,
∣ x ( 1 − x ) − 0 ∣ = ∣ x ( 1 − x ) ∣ ≤ 1 − x ( 0 < x < 1 ) |\sqrt{x(1-x)}-0|=|\sqrt{x(1-x)}|\le\sqrt{1-x}(0<x<1) ∣x(1−x)−0∣=∣x(1−x)∣≤1−x(0<x<1)
取 δ = ε 2 , ∀ x ( − δ < x − 1 ≤ 1 ) : ∣ x ( 1 − x ) − 0 ∣ = ∣ x ( 1 − x ) ∣ ≤ 1 − x < ε \delta=\varepsilon^{2},\forall x(-\delta<x-1\le 1):|\sqrt{x(1-x)}-0|=|\sqrt{x(1-x)}|\le\sqrt{1-x}<\varepsilon δ=ε2,∀x(−δ<x−1≤1):∣x(1−x)−0∣=∣x(1−x)∣≤1−x<ε
即 ∣ 1 − x ∣ = ∣ x − 1 ∣ < ε 2 |1-x|=|x-1|<\varepsilon^{2} ∣1−x∣=∣x−1∣<ε2
故 lim x → 0 + f ( x ) = lim x → 0 + x ( 1 − x ) = 0 = f ( 0 ) , lim x → 1 − f ( x ) = lim x → 1 − x ( 1 − x ) = 0 = f ( 1 ) \lim\limits_{x\to 0^{+}}f(x)=\lim\limits_{x\to 0^{+}}\sqrt{x(1-x)}=0=f(0),\lim\limits_{x\to 1^{-}}f(x)=\lim\limits_{x\to 1^{-}}\sqrt{x(1-x)}=0=f(1) x→0+limf(x)=x→0+limx(1−x)=0=f(0),x→1−limf(x)=x→1−limx(1−x)=0=f(1)
所以 f ( x ) f(x) f(x)在闭区间 [ 0 , 1 ] [0,1] [0,1]上连续。
3.2.5 函数在区间连续的定义扩充
关于函数 f ( x ) f(x) f(x)定义在某一个区间 X X X上( X X X可以是开区间,闭区间,半开半闭区间),若 ∀ x 0 ∈ X \forall x_{0}\in X ∀x0∈X与 ∀ ε > 0 , ∃ δ > 0 , ∀ x ∈ X ( ∣ x − x 0 ∣ < δ ) : ∣ f ( x ) − f ( x 0 ) ∣ < ε \forall \varepsilon>0,\exists\delta>0,\forall x\in X(|x-x_{0}|<\delta):|f(x)-f(x_{0})|<\varepsilon ∀ε>0,∃δ>0,∀x∈X(∣x−x0∣<δ):∣f(x)−f(x0)∣<ε,则称 f ( x ) f(x) f(x)在区间 X X X上连续。
【例3.2.3】证明: f ( x ) = sin x f(x)=\sin x f(x)=sinx在 ( − ∞ , + ∞ ) (-\infty,+\infty) (−∞,+∞)上连续。
【证】 ∀ x 0 ∈ ( − ∞ , + ∞ ) \forall x_{0}\in(-\infty,+\infty) ∀x0∈(−∞,+∞)及 ∀ ε > 0 \forall\varepsilon>0 ∀ε>0
∣ sin x − sin x 0 ∣ = ∣ 2 cos x + x 0 2 sin x − x 0 2 ∣ ≤ 2 ∣ sin x − x 0 2 ∣ ≤ 2 × ∣ x − x 0 2 ∣ = ∣ x − x 0 ∣ |\sin x -\sin x_{0}|=|2\cos \frac{x+x_{0}}{2}\sin \frac{x-x_{0}}{2}|\le 2|\sin \frac{x-x_{0}}{2}|\le 2\times|\frac{x-x_{0}}{2}|=|x-x_{0}| ∣sinx−sinx0∣=∣2cos2x+x0sin2x−x0∣≤2∣sin2x−x0∣≤2×∣2x−x0∣=∣x−x0∣
取 δ = ε , ∀ x ( ∣ x − x 0 ∣ < δ ) \delta=\varepsilon,\forall x(|x-x_{0}|<\delta) δ=ε,∀x(∣x−x0∣<δ)
则 ∣ sin x − sin x 0 ∣ = ∣ 2 cos x + x 0 2 sin x − x 0 2 ∣ ≤ 2 ∣ sin x − x 0 2 ∣ ≤ 2 × ∣ x − x 0 2 ∣ = ∣ x − x 0 ∣ < ε |\sin x -\sin x_{0}|=|2\cos \frac{x+x_{0}}{2}\sin \frac{x-x_{0}}{2}|\le 2|\sin \frac{x-x_{0}}{2}|\le 2\times|\frac{x-x_{0}}{2}|=|x-x_{0}|<\varepsilon ∣sinx−sinx0∣=∣2cos2x+x0sin2x−x0∣≤2∣sin2x−x0∣≤2×∣2x−x0∣=∣x−x0∣<ε
所以 f ( x ) = sin x f(x)=\sin x f(x)=sinx在 ( − ∞ , + ∞ ) (-\infty,+\infty) (−∞,+∞)上连续。
【注】同理 f ( x ) = cos x f(x)=\cos x f(x)=cosx在 ( − ∞ , + ∞ ) (-\infty,+\infty) (−∞,+∞)上连续