Throughout, integrable functions are measurable (The Borel Sets of ℝ Form a σ-Algebra, and Integrable Functions Are Measurable Real-Valued Maps (iii) ), and continuity of a real function at a point of an interval is used in its ε \varepsilon ε –δ \delta δ form (Continuity of Real Functions on Subsets of ℝ in ε-δ Form (i) ).
We begin with (i) . Fix t ∈ I t\in I t ∈ I . For s ∈ I s\in I s ∈ I with s ≠ t s\neq t s = t define the difference quotient Q s : X → R Q_{s}:X\to\mathbb{R} Q s : X → R ,
Q s ( x ) = f ( s , x ) − f ( t , x ) s − t . Q_{s}(x)=\frac{f(s,x)-f(t,x)}{s-t}. Q s ( x ) = s − t f ( s , x ) − f ( t , x ) .
As a linear combination of x ↦ f ( s , x ) x\mapsto f(s,x) x ↦ f ( s , x ) and x ↦ f ( t , x ) x\mapsto f(t,x) x ↦ f ( t , x ) , both in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) , Q s Q_{s} Q s lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) , and by linearity of the integral
∫ X Q s d μ = F ( s ) − F ( t ) s − t . \int_{X}Q_{s}\,d\mu=\frac{F(s)-F(t)}{s-t}. ∫ X Q s d μ = s − t F ( s ) − F ( t ) .
For each x ∈ X x\in X x ∈ X the function s ′ ↦ f ( s ′ , x ) s'\mapsto f(s',x) s ′ ↦ f ( s ′ , x ) is differentiable, hence continuous, on I I I (The Increment Form of the Derivative, and Differentiability Implies Continuity (ii) ). By the mean value theorem, Mean Value Theorem on a Closed Real Interval and on Any Interval (ii) , applied to this function on I I I with the points min ( s , t ) < max ( s , t ) \min(s,t)<\max(s,t) min ( s , t ) < max ( s , t ) of I I I (the quotient Q s ( x ) Q_{s}(x) Q s ( x ) is unchanged when s s s and t t t are exchanged), there is ξ ∈ I \xi\in I ξ ∈ I strictly between s s s and t t t with Q s ( x ) = ∂ t f ( ξ , x ) Q_{s}(x)=\partial_{t}f(\xi,x) Q s ( x ) = ∂ t f ( ξ , x ) , the derivative of s ′ ↦ f ( s ′ , x ) s'\mapsto f(s',x) s ′ ↦ f ( s ′ , x ) at ξ \xi ξ . Since ξ ∈ I \xi\in I ξ ∈ I , the hypothesis gives
∣ Q s ( x ) ∣ ≤ g ( x ) for all x ∈ X and s ∈ I ∖ { t } . |Q_{s}(x)|\le g(x)\qquad\text{for all }x\in X\text{ and }s\in I\setminus\{t\}. ∣ Q s ( x ) ∣ ≤ g ( x ) for all x ∈ X and s ∈ I ∖ { t } .
Next we show that x ↦ ∂ t f ( t , x ) x\mapsto\partial_{t}f(t,x) x ↦ ∂ t f ( t , x ) is integrable. Let s j = t + ( q − t ) / ( j + 1 ) s_{j}=t+(q-t)/(j+1) s j = t + ( q − t ) / ( j + 1 ) for j ∈ N j\in\mathbb{N} j ∈ N ; then s j ∈ I s_{j}\in I s j ∈ I , s j ≠ t s_{j}\neq t s j = t and s j → t s_{j}\to t s j → t . By the definition of the derivative , since s j → t s_{j}\to t s j → t with s j ≠ t s_{j}\neq t s j = t , Q s j ( x ) → ∂ t f ( t , x ) Q_{s_{j}}(x)\to\partial_{t}f(t,x) Q s j ( x ) → ∂ t f ( t , x ) for every x ∈ X x\in X x ∈ X . Thus x ↦ ∂ t f ( t , x ) x\mapsto\partial_{t}f(t,x) x ↦ ∂ t f ( t , x ) is a pointwise limit of measurable functions, hence measurable, and the sequence ( Q s j ) (Q_{s_{j}}) ( Q s j ) is dominated by the integrable function g g g . The dominated convergence theorem, Dominated Convergence Theorem (i) with dominating function g g g , shows that x ↦ ∂ t f ( t , x ) x\mapsto\partial_{t}f(t,x) x ↦ ∂ t f ( t , x ) lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) , and we put
L = ∫ X ∂ t f ( t , x ) d μ ( x ) . L=\int_{X}\partial_{t}f(t,x)\,d\mu(x). L = ∫ X ∂ t f ( t , x ) d μ ( x ) .
It remains to show that F F F is differentiable at t t t with F ′ ( t ) = L F'(t)=L F ′ ( t ) = L . The set Q \mathbb{Q} Q is countable by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (ix) and nonempty, since 0 ∈ Q 0\in\mathbb{Q} 0 ∈ Q ; so, by Countable Set (i) , there is a surjective map N → Q \mathbb{N}\to\mathbb{Q} N → Q , k ↦ q k k\mapsto q_{k} k ↦ q k , and we fix one such enumeration of Q \mathbb{Q} Q . For j ∈ N j\in\mathbb{N} j ∈ N let
P j = { s ∈ I : 0 < ∣ s − t ∣ < 1 / j } , P_{j}=\{s\in I:0<|s-t|<1/j\}, P j = { s ∈ I : 0 < ∣ s − t ∣ < 1/ j } ,
and for j , k ∈ N j,k\in\mathbb{N} j , k ∈ N define φ j , k : X → R \varphi_{j,k}:X\to\mathbb{R} φ j , k : X → R by φ j , k ( x ) = ∣ Q q k ( x ) − ∂ t f ( t , x ) ∣ \varphi_{j,k}(x)=|Q_{q_{k}}(x)-\partial_{t}f(t,x)| φ j , k ( x ) = ∣ Q q k ( x ) − ∂ t f ( t , x ) ∣ if q k ∈ P j q_{k}\in P_{j} q k ∈ P j , and φ j , k ( x ) = 0 \varphi_{j,k}(x)=0 φ j , k ( x ) = 0 otherwise. Each φ j , k \varphi_{j,k} φ j , k is measurable: in the first case Q q k Q_{q_{k}} Q q k and x ↦ ∂ t f ( t , x ) x\mapsto\partial_{t}f(t,x) x ↦ ∂ t f ( t , x ) lie in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) , hence are measurable, and so is φ j , k \varphi_{j,k} φ j , k by Arithmetic of Measurable Real- and [0,∞]-Valued Maps (i) ; in the second case φ j , k \varphi_{j,k} φ j , k is constant, hence measurable by Measurable Maps: Generators, Composition, Continuous Maps, Restrictions, and Criteria for Real- and [0,∞]-Valued Maps (iii) . For s ∈ I ∖ { t } s\in I\setminus\{t\} s ∈ I ∖ { t } and x ∈ X x\in X x ∈ X , the bound on difference quotients and the hypothesis give
∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ ∣ Q s ( x ) ∣ + ∣ ∂ t f ( t , x ) ∣ ≤ 2 g ( x ) , |Q_{s}(x)-\partial_{t}f(t,x)|\le|Q_{s}(x)|+|\partial_{t}f(t,x)|\le2g(x), ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ ∣ Q s ( x ) ∣ + ∣ ∂ t f ( t , x ) ∣ ≤ 2 g ( x ) ,
so 0 ≤ φ j , k ( x ) ≤ 2 g ( x ) 0\le\varphi_{j,k}(x)\le2g(x) 0 ≤ φ j , k ( x ) ≤ 2 g ( x ) for all j , k ∈ N j,k\in\mathbb{N} j , k ∈ N and x ∈ X x\in X x ∈ X . Hence, for each j ∈ N j\in\mathbb{N} j ∈ N , the supremum
h j ( x ) = sup k ∈ N φ j , k ( x ) h_{j}(x)=\sup_{k\in\mathbb{N}}\varphi_{j,k}(x) h j ( x ) = k ∈ N sup φ j , k ( x )
exists in R \mathbb{R} R , the function h j : X → R h_{j}:X\to\mathbb{R} h j : X → R is measurable by Suprema, Pointwise Limits and the Convergence Set of Measurable Real-Valued Maps (i) , and 0 ≤ h j ≤ 2 g 0\le h_{j}\le2g 0 ≤ h j ≤ 2 g . In words, h j ( x ) h_{j}(x) h j ( x ) is the supremum of ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ |Q_{r}(x)-\partial_{t}f(t,x)| ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ over the rational r ∈ P j r\in P_{j} r ∈ P j , with 0 0 0 added.
The function h j h_{j} h j also controls the difference quotients at the real points of P j P_{j} P j :
∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ h j ( x ) for all j ∈ N , s ∈ P j and x ∈ X . |Q_{s}(x)-\partial_{t}f(t,x)|\le h_{j}(x)\qquad\text{for all }j\in\mathbb{N},\ s\in P_{j}\text{ and }x\in X . ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ h j ( x ) for all j ∈ N , s ∈ P j and x ∈ X .
To see this, fix j j j , s ∈ P j s\in P_{j} s ∈ P j and x x x , and put d = ∣ s − t ∣ d=|s-t| d = ∣ s − t ∣ , so that 0 < d < 1 / j 0<d<1/j 0 < d < 1/ j . Let ε > 0 \varepsilon>0 ε > 0 . First, since s ′ ↦ f ( s ′ , x ) s'\mapsto f(s',x) s ′ ↦ f ( s ′ , x ) is continuous on I I I , there is η > 0 \eta>0 η > 0 such that every r ∈ I r\in I r ∈ I with ∣ r − s ∣ < η |r-s|<\eta ∣ r − s ∣ < η satisfies ∣ f ( r , x ) − f ( s , x ) ∣ < ε d / 4 |f(r,x)-f(s,x)|<\varepsilon d/4 ∣ f ( r , x ) − f ( s , x ) ∣ < ε d /4 . Next put
ρ = min { η , d 2 , ε d 4 ( ∣ Q s ( x ) ∣ + 1 ) , s − p , q − s , 1 j − d } > 0 , \rho=\min\Bigl\{\eta,\ \frac{d}{2},\ \frac{\varepsilon d}{4(|Q_{s}(x)|+1)},\ s-p,\ q-s,\ \frac{1}{j}-d\Bigr\}>0 , ρ = min { η , 2 d , 4 ( ∣ Q s ( x ) ∣ + 1 ) ε d , s − p , q − s , j 1 − d } > 0 ,
and, by the density of Q \mathbb{Q} Q in R \mathbb{R} R (The Real Numbers, with the Natural Numbers, Integers and Rationals Identified with Subsets of the Reals, and Completeness (x) ), take r ∈ Q r\in\mathbb{Q} r ∈ Q with s − ρ < r < s + ρ s-\rho<r<s+\rho s − ρ < r < s + ρ ; then r = q k r=q_{k} r = q k for some k ∈ N k\in\mathbb{N} k ∈ N . Since ∣ r − s ∣ < ρ |r-s|<\rho ∣ r − s ∣ < ρ , we have p < r < q p<r<q p < r < q , ∣ r − t ∣ ≥ d − ∣ r − s ∣ > d / 2 > 0 |r-t|\ge d-|r-s|>d/2>0 ∣ r − t ∣ ≥ d − ∣ r − s ∣ > d /2 > 0 and ∣ r − t ∣ ≤ d + ∣ r − s ∣ < 1 / j |r-t|\le d+|r-s|<1/j ∣ r − t ∣ ≤ d + ∣ r − s ∣ < 1/ j , so r ∈ P j r\in P_{j} r ∈ P j and φ j , k ( x ) = ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ \varphi_{j,k}(x)=|Q_{r}(x)-\partial_{t}f(t,x)| φ j , k ( x ) = ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ . Multiplying out the definitions of Q r Q_{r} Q r and Q s Q_{s} Q s gives
( r − t ) ( Q r ( x ) − Q s ( x ) ) = f ( r , x ) − f ( s , x ) − ( r − s ) Q s ( x ) , (r-t)\bigl(Q_{r}(x)-Q_{s}(x)\bigr)=f(r,x)-f(s,x)-(r-s)\,Q_{s}(x), ( r − t ) ( Q r ( x ) − Q s ( x ) ) = f ( r , x ) − f ( s , x ) − ( r − s ) Q s ( x ) ,
By the choice of η \eta η , ∣ f ( r , x ) − f ( s , x ) ∣ < ε d / 4 |f(r,x)-f(s,x)|<\varepsilon d/4 ∣ f ( r , x ) − f ( s , x ) ∣ < ε d /4 , and by the third term of ρ \rho ρ , ∣ r − s ∣ ∣ Q s ( x ) ∣ ≤ ε d / 4 |r-s|\,|Q_{s}(x)|\le\varepsilon d/4 ∣ r − s ∣ ∣ Q s ( x ) ∣ ≤ ε d /4 . Therefore
∣ Q r ( x ) − Q s ( x ) ∣ ≤ ∣ f ( r , x ) − f ( s , x ) ∣ + ∣ r − s ∣ ∣ Q s ( x ) ∣ ∣ r − t ∣ < ε d / 4 + ε d / 4 d / 2 = ε . |Q_{r}(x)-Q_{s}(x)|\le\frac{|f(r,x)-f(s,x)|+|r-s|\,|Q_{s}(x)|}{|r-t|}<\frac{\varepsilon d/4+\varepsilon d/4}{d/2}=\varepsilon . ∣ Q r ( x ) − Q s ( x ) ∣ ≤ ∣ r − t ∣ ∣ f ( r , x ) − f ( s , x ) ∣ + ∣ r − s ∣ ∣ Q s ( x ) ∣ < d /2 ε d /4 + ε d /4 = ε .
Hence ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ + ε ≤ h j ( x ) + ε |Q_{s}(x)-\partial_{t}f(t,x)|\le|Q_{r}(x)-\partial_{t}f(t,x)|+\varepsilon\le h_{j}(x)+\varepsilon ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ ≤ ∣ Q r ( x ) − ∂ t f ( t , x ) ∣ + ε ≤ h j ( x ) + ε , and as ε > 0 \varepsilon>0 ε > 0 was arbitrary, the bound follows.
Moreover, h j ( x ) → 0 h_{j}(x)\to0 h j ( x ) → 0 for every x ∈ X x\in X x ∈ X . Fix x x x and let ε > 0 \varepsilon>0 ε > 0 . First, by the definition of the derivative of s ′ ↦ f ( s ′ , x ) s'\mapsto f(s',x) s ′ ↦ f ( s ′ , x ) at t t t , there is δ > 0 \delta>0 δ > 0 such that ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ < ε / 2 |Q_{s}(x)-\partial_{t}f(t,x)|<\varepsilon/2 ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ < ε /2 for every s ∈ I s\in I s ∈ I with 0 < ∣ s − t ∣ < δ 0<|s-t|<\delta 0 < ∣ s − t ∣ < δ . Then, by the Archimedean property (The Real Numbers, with the Natural Numbers, Integers and Rationals Identified with Subsets of the Reals, and Completeness (ix) ), there is N ∈ N N\in\mathbb{N} N ∈ N with 1 / δ < N 1/\delta<N 1/ δ < N . For j ≥ N j\ge N j ≥ N we have 1 / j ≤ 1 / N < δ 1/j\le1/N<\delta 1/ j ≤ 1/ N < δ , so every φ j , k ( x ) \varphi_{j,k}(x) φ j , k ( x ) is 0 0 0 or a value ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ |Q_{s}(x)-\partial_{t}f(t,x)| ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ with 0 < ∣ s − t ∣ < δ 0<|s-t|<\delta 0 < ∣ s − t ∣ < δ , hence less than ε / 2 \varepsilon/2 ε /2 , and 0 ≤ h j ( x ) ≤ ε / 2 < ε 0\le h_{j}(x)\le\varepsilon/2<\varepsilon 0 ≤ h j ( x ) ≤ ε /2 < ε .
The functions 2 g 2g 2 g and 0 0 0 lie in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) , with ∫ X 0 d μ = 0 \int_{X}0\,d\mu=0 ∫ X 0 d μ = 0 , by Linearity and Monotonicity of the Lebesgue Integral, and the Integrability Criterion (vii) , and ∣ h j ∣ ≤ 2 g |h_{j}|\le2g ∣ h j ∣ ≤ 2 g for every j j j . The dominated convergence theorem, Dominated Convergence Theorem (i) and Dominated Convergence Theorem (iii) with dominating function 2 g 2g 2 g and limit function 0 0 0 , shows that every h j h_{j} h j lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) and that
∫ X h j d μ ⟶ 0. \int_{X}h_{j}\,d\mu\longrightarrow0 . ∫ X h j d μ ⟶ 0.
Now let ε > 0 \varepsilon>0 ε > 0 . First choose j ∈ N j\in\mathbb{N} j ∈ N with ∫ X h j d μ < ε \int_{X}h_{j}\,d\mu<\varepsilon ∫ X h j d μ < ε , and then put δ = 1 / j \delta=1/j δ = 1/ j . Let s ∈ I s\in I s ∈ I with 0 < ∣ s − t ∣ < δ 0<|s-t|<\delta 0 < ∣ s − t ∣ < δ , that is, s ∈ P j s\in P_{j} s ∈ P j . By Linearity and Monotonicity of the Lebesgue Integral, and the Integrability Criterion (vii) , the function x ↦ Q s ( x ) − ∂ t f ( t , x ) x\mapsto Q_{s}(x)-\partial_{t}f(t,x) x ↦ Q s ( x ) − ∂ t f ( t , x ) lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) and has integral ( F ( s ) − F ( t ) ) / ( s − t ) − L (F(s)-F(t))/(s-t)-L ( F ( s ) − F ( t )) / ( s − t ) − L . So, by Linearity and Monotonicity of the Lebesgue Integral, and the Integrability Criterion (x) , and then by Linearity and Monotonicity of the Lebesgue Integral, and the Integrability Criterion (ix) with the bound by h j h_{j} h j above,
∣ F ( s ) − F ( t ) s − t − L ∣ ≤ ∫ X ∣ Q s ( x ) − ∂ t f ( t , x ) ∣ d μ ( x ) ≤ ∫ X h j d μ < ε . \Bigl|\frac{F(s)-F(t)}{s-t}-L\Bigr|\le\int_{X}\bigl|Q_{s}(x)-\partial_{t}f(t,x)\bigr|\,d\mu(x)\le\int_{X}h_{j}\,d\mu<\varepsilon . s − t F ( s ) − F ( t ) − L ≤ ∫ X Q s ( x ) − ∂ t f ( t , x ) d μ ( x ) ≤ ∫ X h j d μ < ε .
Thus L L L is a derivative of F F F at t t t in the sense of Derivative of a Real Function on an Interval (i) , so F F F is differentiable at t t t with F ′ ( t ) = L F'(t)=L F ′ ( t ) = L (Derivative of a Real Function on an Interval (ii) ). As t ∈ I t\in I t ∈ I was arbitrary, this proves (i) .
We deduce (ii) by restricting to a line. Fix u ∈ U u\in U u ∈ U and, by Lines, Scalar Multiples, Basis Directions, Small Balls and Matrix Rows in ℝⁿ (xi) , choose ρ > 0 \rho>0 ρ > 0 such that u + s e i ∈ U u+se_{i}\in U u + s e i ∈ U for every real s s s with ∣ s ∣ < ρ |s|<\rho ∣ s ∣ < ρ , that is, for s ∈ ( − ρ , ρ ) s\in(-\rho,\rho) s ∈ ( − ρ , ρ ) . Define f ~ : ( − ρ , ρ ) × X → R \tilde f:(-\rho,\rho)\times X\to\mathbb{R} f ~ : ( − ρ , ρ ) × X → R by f ~ ( s , x ) = f ( u + s e i , x ) \tilde f(s,x)=f(u+se_{i},x) f ~ ( s , x ) = f ( u + s e i , x ) . For every s s s , the function x ↦ f ~ ( s , x ) x\mapsto\tilde f(s,x) x ↦ f ~ ( s , x ) lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) . For x ∈ X x\in X x ∈ X and s , s + h ∈ ( − ρ , ρ ) s,s+h\in(-\rho,\rho) s , s + h ∈ ( − ρ , ρ ) we have f ~ ( s + h , x ) = f ( ( u + s e i ) + h e i , x ) \tilde f(s+h,x)=f((u+se_{i})+he_{i},x) f ~ ( s + h , x ) = f (( u + s e i ) + h e i , x ) by Lines, Scalar Multiples, Basis Directions, Small Balls and Matrix Rows in ℝⁿ (iii) . Hence, by Partial Derivative of a Real-Valued Function on an Open Subset of R n \mathbb{R}^n R n (i) , for every x ∈ X x\in X x ∈ X the function s ↦ f ~ ( s , x ) s\mapsto\tilde f(s,x) s ↦ f ~ ( s , x ) is differentiable on ( − ρ , ρ ) (-\rho,\rho) ( − ρ , ρ ) , with derivative ∂ i f ( u + s e i , x ) \partial_{i}f(u+se_{i},x) ∂ i f ( u + s e i , x ) at s s s , and this derivative is bounded by g ( x ) g(x) g ( x ) . So f ~ \tilde f f ~ satisfies the hypotheses of (i) on the interval ( − ρ , ρ ) (-\rho,\rho) ( − ρ , ρ ) , applied at the point 0 0 0 (where u + 0 e i = u u+0e_{i}=u u + 0 e i = u , by Lines, Scalar Multiples, Basis Directions, Small Balls and Matrix Rows in ℝⁿ (i) ), which shows that x ↦ ∂ i f ( u , x ) x\mapsto\partial_{i}f(u,x) x ↦ ∂ i f ( u , x ) lies in L 1 ( μ ) \mathcal{L}^{1}(\mu) L 1 ( μ ) and that s ↦ F ( u + s e i ) s\mapsto F(u+se_{i}) s ↦ F ( u + s e i ) is differentiable at 0 0 0 with derivative
∫ X ∂ i f ( u , x ) d μ ( x ) . \int_{X}\partial_{i}f(u,x)\,d\mu(x). ∫ X ∂ i f ( u , x ) d μ ( x ) .
By Partial Derivative of a Real-Valued Function on an Open Subset of R n \mathbb{R}^n R n (i) and Partial Derivative of a Real-Valued Function on an Open Subset of R n \mathbb{R}^n R n (ii) , this number is ∂ i F ( u ) \partial_{i}F(u) ∂ i F ( u ) .