1.3. Riemann可積分関数の例
典型的な Riemann 可積分関数は,連続関数と区分的に連続な関数である. ここで「区分的に連続」とは,ある分割
a=x_0<x_1<\cdots<x_m=b
が存在して,各開区間 (x_{i-1},x_i) 上で f が連続であり,
各分点 x_i において有限な片側極限をもつことをいう.
後で示すように,このような関数は Riemann 可積分である.
-
NoteKsk.Chapter01.riemannIntegrable_const[missing declaration] -
NoteKsk.Chapter01.riemannIntegral_const[missing declaration]
定数関数f(x) = cはRiemann可積分であり,その積分値は
\int_a^b f(x) dx = c(b-a)
である.
Lean code for Proposition1.3.1●2 declarations, 2 missing
Associated Lean declarations
-
NoteKsk.Chapter01.riemannIntegrable_const[missing declaration]
-
NoteKsk.Chapter01.riemannIntegral_const[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_const[missing declaration] -
NoteKsk.Chapter01.riemannIntegral_const[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_constmissing declarationdeclaration not found (name was not present during directive/code-block registration)
-
NoteKsk.Chapter01.riemannIntegral_constmissing declarationdeclaration not found (name was not present during directive/code-block registration)
区間[a,b]の分割\mathcal{P}と評価点の列tを任意に選ぶと,Riemann和は常に
S(f,\mathcal{P},t) = \sum_{i=1}^n c(x_i - x_{i-1}) = c(b-a)
となる.
これは分割\mathcal{P}の選び方に依らない定数なので,fはRiemann可積分である.
\int_a^b f(x)dx := \lim_{|\calP| \to 0} S(f,\calP,t) = c(b-a).
-
NoteKsk.Chapter01.riemannIntegrable_id[missing declaration] -
NoteKsk.Chapter01.riemannIntegral_id[missing declaration]
区間[a,b]上の関数f(x) = xはRiemann可積分であり,その積分値は
\int_a^b f(x) dx = \frac{b^2 - a^2}{2}
である.
Lean code for Proposition1.3.2●2 declarations, 2 missing
Associated Lean declarations
-
NoteKsk.Chapter01.riemannIntegrable_id[missing declaration]
-
NoteKsk.Chapter01.riemannIntegral_id[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_id[missing declaration] -
NoteKsk.Chapter01.riemannIntegral_id[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_idmissing declarationdeclaration not found (name was not present during directive/code-block registration)
-
NoteKsk.Chapter01.riemannIntegral_idmissing declarationdeclaration not found (name was not present during directive/code-block registration)
区間[a,b]の分割\mathcal{P} : a = x_0 < x_1 < \cdots < x_n = bを用いて,
U(f,\mathcal P) - L(f,\mathcal P) = \sum_{i=1}^n (x_i-x_{i-1}
)^2 \le (b-a)|\mathcal P| \to 0 \quad \text{as} \quad |\mathcal P| \to 0.
よってfは可積分である.一方,
評価点の列として中点c_i := \frac{x_i+x_{i-1}}{2}を選ぶと,Riemann和は以下のようになる.
S(f,\mathcal{P},c) = \sum_{i=1}^n \frac{x_i + x_{i-1}}{2} (x_i - x_{i-1}) = \frac{b^2 - a^2}{2}.
ここで,中点によるRiemann和S(f,\calP,c)とRiemann積分\int_a^b x dxはいずれもDarbouxの上和と下和の間にあるので,はさみうちの原理により
|S(f,\mathcal{P},c) - \int_a^b f(x) dx| \le U(f,\calP) - L(f,\calP) \to 0 \quad \text{as} \quad |\calP| \to 0.
よって\int_a^b x dx = \frac{1}{2}(b^2-a^2) である.
-
NoteKsk.Chapter01.riemannIntegrable_of_continuousOn[missing declaration]
区間[a,b]上の連続関数はRiemann可積分である.
Lean code for Proposition1.3.3●1 declaration, 1 missing
Associated Lean declarations
-
NoteKsk.Chapter01.riemannIntegrable_of_continuousOn[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_of_continuousOn[missing declaration]
-
NoteKsk.Chapter01.riemannIntegrable_of_continuousOnmissing declarationdeclaration not found (name was not present during directive/code-block registration)
区間[a,b]上の連続関数fは一様連続である.したがって,任意の\varepsilon > 0とn \in \mathbb{N}に対して,
ある\delta >0が存在して,
|x-y| < \delta \implies |f(x) - f(y)| < \frac{\varepsilon}{b-a}
が成り立つ.
この\deltaを用いて,区間[a,b]の分割\mathcal{P}として|\mathcal P| < \deltaとなるものを選ぶと,
U(f,\mathcal{P}) - L(f,\mathcal{P}) = \sum_{i=1}^n \left( \sup_{x \in [x_{i-1}, x_i]} f(x) - \inf_{x \in [x_{i-1}, x_i]} f(x) \right)(x_i - x_{i-1}) \le \frac{\varepsilon}{b-a} \sum_{i=1}^n (x_i - x_{i-1}) = \varepsilon
が成り立つ.ただし恒等式 \sup_x f(x) - \inf_y f(y) = \sup_{x,y} |f(x) - f(y)| を使った.したがって,Riemann可積分である.
-
NoteKsk.Chapter01.PiecewiseConstantOnInterval[complete] -
NoteKsk.Chapter01.riemannIntegrable_piecewiseConstant[missing declaration]
区分定数関数.
区間 [a,b] の分割
\mathcal P_0:\ a=x_0<x_1<\cdots<x_n=b
と定数 c_1,\dots,c_n\in\mathbb R を用いて
f(x)=\sum_{i=1}^n c_i \mathbf 1_{[x_{i-1},x_i)}(x),
\qquad
f(b)=c_n
で定まる関数を区分定数関数という.
このとき f は Riemann 可積分であり,
\int_a^b f(x)\,dx
=
\sum_{i=1}^n c_i(x_i-x_{i-1})
が成り立つ.
Lean code for Proposition1.3.4●2 declarations, 1 missing
Associated Lean declarations
-
NoteKsk.Chapter01.PiecewiseConstantOnInterval[complete]
-
NoteKsk.Chapter01.riemannIntegrable_piecewiseConstant[missing declaration]
-
NoteKsk.Chapter01.PiecewiseConstantOnInterval[complete] -
NoteKsk.Chapter01.riemannIntegrable_piecewiseConstant[missing declaration]
-
defdefined in NoteKsk/«01riemann».leancomplete
def NoteKsk.Chapter01.PiecewiseConstantOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop
def NoteKsk.Chapter01.PiecewiseConstantOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop
Definition body
def PiecewiseConstantOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop := ∃ P : IntervalPartition, P.a = a ∧ P.b = b ∧ ∀ uv ∈ P.subintervals, ∃ c : ℝ, ∀ x ∈ Set.Icc uv.1 uv.2, f x = cA lecture-level predicate for functions that are constant on each partition subinterval.
-
NoteKsk.Chapter01.riemannIntegrable_piecewiseConstantmissing declarationdeclaration not found (name was not present during directive/code-block registration)
J:=\sum_{i=1}^n c_i(x_i-x_{i-1}),
\qquad
M:=\max_{1\le i\le n}|c_i|
とおく.任意の \varepsilon>0 をとる.
0<\eta<\frac12\min_{1\le i\le n}(x_i-x_{i-1})
かつ
4M(n-1)\eta<\varepsilon
となるように \eta を選ぶ.
分割
\mathcal P_\eta:\
a=x_0<x_1-\eta<x_1+\eta<\cdots<x_{n-1}-\eta<x_{n-1}+\eta<x_n=b
を考える.
この分割の各小区間のうち,跳び点 x_1,\dots,x_{n-1} を含まないものでは
f は定数であるから,上和と下和の寄与は一致する.
一方,各跳び点 x_i のまわりの区間
[x_i-\eta,x_i+\eta]
\qquad
(1\le i\le n-1)
では,f の振れ幅は高々 2M,長さは 2\eta である.したがって
U(f,\mathcal P_\eta)-L(f,\mathcal P_\eta)
\le
\sum_{i=1}^{n-1}(2\eta)\cdot 2M
=
4M(n-1)\eta
<
\varepsilon.
さらに,J は各跳び点近傍での寄与
\eta c_i+\eta c_{i+1}
をもつので,
2\eta\min\{c_i,c_{i+1}\}
\le
\eta c_i+\eta c_{i+1}
\le
2\eta\max\{c_i,c_{i+1}\}
より
L(f,\mathcal P_\eta)\le J\le U(f,\mathcal P_\eta)
が成り立つ. したがって
\underline{\int_a^b} f(x)\,dx
\le
J
\le
\overline{\int_a^b} f(x)\,dx
であり,しかも
\overline{\int_a^b} f(x)\,dx
-
\underline{\int_a^b} f(x)\,dx
\le
U(f,\mathcal P_\eta)-L(f,\mathcal P_\eta)
<
\varepsilon.
\varepsilon>0 は任意であるから,上積分と下積分は一致し,その共通値は J に等しい.
よって f は Riemann 可積分であり,
\int_a^b f(x)\,dx
=
J
=
\sum_{i=1}^n c_i(x_i-x_{i-1})
となる.
-
NoteKsk.Chapter01.PiecewiseContinuousOnInterval[complete] -
NoteKsk.Chapter01.riemannIntegrable_piecewiseContinuous[missing declaration]
区分的に連続な関数. ある分割
a=x_0<x_1<\cdots<x_m=b
が存在して,各開区間 (x_{i-1},x_i) 上で f が連続であり,
各分点 x_i において有限な片側極限をもつとする.
このとき f は Riemann 可積分である.
Lean code for Proposition1.3.5●2 declarations, 1 missing
Associated Lean declarations
-
NoteKsk.Chapter01.PiecewiseContinuousOnInterval[complete]
-
NoteKsk.Chapter01.riemannIntegrable_piecewiseContinuous[missing declaration]
-
NoteKsk.Chapter01.PiecewiseContinuousOnInterval[complete] -
NoteKsk.Chapter01.riemannIntegrable_piecewiseContinuous[missing declaration]
-
defdefined in NoteKsk/«01riemann».leancomplete
def NoteKsk.Chapter01.PiecewiseContinuousOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop
def NoteKsk.Chapter01.PiecewiseContinuousOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop
Definition body
def PiecewiseContinuousOnInterval (f : ℝ → ℝ) (a b : ℝ) : Prop := ∃ P : IntervalPartition, P.a = a ∧ P.b = b ∧ ∀ uv ∈ P.subintervals, ContinuousOn f (Set.Icc uv.1 uv.2)A lecture-level predicate for functions continuous on each partition subinterval.
-
NoteKsk.Chapter01.riemannIntegrable_piecewiseContinuousmissing declarationdeclaration not found (name was not present during directive/code-block registration)
区分的連続性より,f は [a,b] 上で有界である.
M:=\sup_{x\in[a,b]}|f(x)|<\infty
とおく.任意の \varepsilon>0 をとる.
0<\eta<\frac12\min_{1\le i\le m}(x_i-x_{i-1})
かつ
4Mm\eta<\frac{\varepsilon}{2}
となるように \eta を選ぶ.
まず
[a,a+\eta],\quad
[x_1-\eta,x_1+\eta],\quad \dots,\quad
[x_{m-1}-\eta,x_{m-1}+\eta],\quad
[b-\eta,b]
を「悪い部分」とする.その総延長は 2m\eta であるから,
この部分から来る上和と下和の差の寄与は高々
2M\cdot 2m\eta=4Mm\eta<\frac{\varepsilon}{2}
である.
一方,残りの閉区間
[a+\eta,x_1-\eta],\quad
[x_1+\eta,x_2-\eta],\quad \dots,\quad
[x_{m-1}+\eta,b-\eta]
上では f は連続であるから,一様連続である.
したがって,それぞれをさらに細分して,各小区間における f の振れ幅が
\frac{\varepsilon}{2(b-a)}
未満になるようにできる.
この細分を上の「悪い部分」と合わせた分割を \mathcal P とすると,
良い部分からの寄与は
\frac{\varepsilon}{2(b-a)}\cdot (b-a)=\frac{\varepsilon}{2}
以下である.
以上より
U(f,\mathcal P)-L(f,\mathcal P)<\varepsilon
が成り立つ.
よって f は Darboux 可積分であり,したがって Riemann 可積分である.
-
NoteKsk.Chapter01.riemann_sums_tendsto_integral[missing declaration]
区分求積法.
関数f : [a,b] \to \mathbb{R}はRiemann可積分とする.
区間[a,b]の分割と評価点の列
\mathcal{P}_k : a=x_0^{(k)} < x_1^{(k)} < \cdots < x_{n_k}^{(k)}=b, \quad x_{i_k-1}^{(k)} \le t_{i_k}^{(k)} \le x_{i_k}^{(k)}.
として,\lim_{k \to \infty} |\calP_k| = 0 となるものを1つとる
(|\calP_k| は単調減少でなくてもよい.).
このとき,Riemann和の列はRiemann積分に収束する.
S(f,\calP_k,t_k) = \sum_{i=1}^{n_k} f(t_i^{(k)}) (x_{i}^{(k)} - x_{i-1}^{(k)}) \to \int_a^b f(x) dx, \quad \text{as} \quad k \to \infty.
Lean code for Theorem1.3.6●1 declaration, 1 missing
Associated Lean declarations
-
NoteKsk.Chapter01.riemann_sums_tendsto_integral[missing declaration]
-
NoteKsk.Chapter01.riemann_sums_tendsto_integral[missing declaration]
-
NoteKsk.Chapter01.riemann_sums_tendsto_integralmissing declarationdeclaration not found (name was not present during directive/code-block registration)
可積分性により,\mathcal P_kによるDarbouxの上和と下和の差は0に収束する
U(f,\mathcal{P}_k) - L(f,\mathcal{P}_k) \to 0, \quad \text{as} \quad k \to \infty.
さて,任意の k についてRiemann和は常にDarbouxの上和と下和の間にある.
L(f,\mathcal P_k)\le S(f,\mathcal P_k,t^{(k)})\le U(f,\mathcal P_k)
また Darboux 積分の定義から
L(f,\mathcal P_k)\le I\le U(f,\mathcal P_k)
も成り立つ.したがってはさみうちの原理により,
\bigl|S(f,\mathcal P_k,t^{(k)})-I\bigr|
\le
U(f,\mathcal P_k)-L(f,\mathcal P_k)\to 0.
ゆえに
S(f,\mathcal P_k,t^{(k)})\to \int_a^b f(x)\,dx.
Remark.
区分求積法は,Riemann積分の定義を繰り返しているように見えるが,そうではない.Riemann可積分であることが既に分かっているときは,全ての分割\calPを調べる必要はなく,計算しやすいように都合よくとった1つのRiemann和列 S(f,\calP_k,t_k) の収束先を調べれば,それが積分値であることを主張している.
-
NoteKsk.Chapter01.fundamental_theorem_of_calculus_for_riemann[missing declaration]
微分積分学の第二基本定理.
C^1級関数F:[a,b] \to \mathbb{R}に対して,
Fの微分f := F'は区間[a,b]上でRiemann可積分であり,その積分値は
\int_a^b f(x) dx = F(b) - F(a)
である.
Lean code for Theorem1.3.7●1 declaration, 1 missing
Associated Lean declarations
-
NoteKsk.Chapter01.fundamental_theorem_of_calculus_for_riemann[missing declaration]
-
NoteKsk.Chapter01.fundamental_theorem_of_calculus_for_riemann[missing declaration]
-
NoteKsk.Chapter01.fundamental_theorem_of_calculus_for_riemannmissing declarationdeclaration not found (name was not present during directive/code-block registration)
fは連続なので,Riemann可積分である.
区間[a,b]の分割\mathcal{P}を任意にとる.
Fに対する平均値の定理により,任意のiに対して,区間[x_{i-1}, x_i]の点t_iが存在して,
f(t_i) = \frac{F(x_i) - F(x_{i-1})}{x_i - x_{i-1}}.
この点を評価点としてRiemann和を定義すると,Riemann和S(f,\mathcal{P},t)は以下のようなtelescopic sumとなる.
S(f,\mathcal{P},t) = \sum_{i=1}^n f(t_i)(x_i - x_{i-1}) = \sum_{i=1}^n (F(x_i) - F(x_{i-1})) = F(b) - F(a).
これは分割\calPの取り方に依らない定数であり,特に|\calP| \to 0のとき\lim_{|\calP| \to 0} S(f,\calP,t) = F(b)-F(a).
区分求積法の議論により,
\int_a^b f(x) dx =
\lim_{n \to 0} S(f,\mathcal{P},t)
=F(b) - F(a).