2025-05-06

1108: For Interval on \(\mathbb{R}\) and Continuous Function on It Whose Integral Is Finite, a Way of Changing Function to Be Continuous with Desired Integral

<The previous article in this series | The table of contents of this series | The next article in this series>

description/proof of that for interval on \(\mathbb{R}\) and continuous function on it whose integral is finite, a way of changing function to be continuous with desired integral

Topics


About: measure space

The table of contents of this article


Starting Context



Target Context


  • The reader will have a description and a proof of the proposition that for any interval on \(\mathbb{R}\) and any continuous function on it whose integral is finite, a way of changing the function to be continuous with any desired integral is this.

Orientation


There is a list of definitions discussed so far in this site.

There is a list of propositions discussed so far in this site.


Main Body


1: Structured Description


Here is the rules of Structured Description.

Entities:
\(\mathbb{R}\): \(= \text{ the Euclidean topological space }\)
\((I, \sigma, \lambda)\): \(\in \{\text{ the intervals of } \mathbb{R}\}\), with the subspace topology, with the Borel \(\sigma\)-algebra and the Lebesgue measure
\(f\): \(: I \to \mathbb{C}\), \(\in \{\text{ the continuous functions }\}\) such that \(\int_I f d \mu = c \lt \infty\)
\([x_0, x_1]\): \(\subseteq I\)
\(c'\): \(\in \mathbb{C}\)
\(\delta\): \(= 4 (c' - c) / (x_1 - x_0)^2\)
\(f'\): \(: I \to \mathbb{C}\) such that on \(I \setminus [x_0, x_1]\), \(f' = f\), on \([x_0, (x_0 + x_1) / 2]\), \(f' = f + \delta (x - x_0)\), and on \(((x_0 + x_1) / 2, x_1]\), \(f' = f + \delta (x_1 - x)\)
//

Statements:
\(f' \in \{\text{ the continuous functions }\}\)
\(\land\)
\(\int_I f' d \lambda = c'\)
//


2: Note


Of course, this is not the only way.

And of course, this is a quite natural way that anyone will probably hit upon as one of some options, but as we do not want to the same calculation twice, we will record the result here.


3: Proof


Whole Strategy: Step 1: see that \(f'\) is continuous; Step 2: see that \(\int_I f' d \lambda = c'\).

Step 1:

Let us see that \(f'\) is indeed continuous.

On \(I \setminus [x_0, x_1]\), \(f'\) is continuous, because \(f' = f\) there.

On \([x_0, (x_0 + x_1) / 2]\), \(f'\) is obviously continuous.

On \(((x_0 + x_1) / 2, x_1]\), \(f'\) is obviously continuous.

The concerns are whether that 1) when \(x\) approaches \(x_0\) from left, \(f' (x)\) approaches \(f' (x_0)\); 2) when \(x\) approaches \((x_0 + x_1) / 2\) from right, \(f' (x)\) approaches \(f' ((x_0 + x_1) / 2)\); 3) when \(x\) approaches \(x_1\) from right, \(f' (x)\) approaches \(f' (x_1)\).

For 1), \(f' (x_0) = f (x_0) + \delta (x_0 - x_0) = f (x_0)\), and certainly, when \(x\) approaches \(x_0\) from left, \(f' (x)\) approaches \(f (x_0) = f' (x_0)\).

For 2), \(f' ((x_0 + x_1) / 2) = f ((x_0 + x_1) / 2) + \delta ((x_0 + x_1) / 2 - x_0) = f ((x_0 + x_1) / 2) + \delta ((x_1 - x_0) / 2)\), and when \(x\) approaches \((x_0 + x_1) / 2\) from right, \(f' (x)\) approaches \(f ((x_0 + x_1) / 2) + \delta (x_1 - (x_0 + x_1) / 2) = f ((x_0 + x_1) / 2) + \delta ((x_1 - x_0) / 2) = f' ((x_0 + x_1) / 2)\).

For 3), \(f' (x_1) = f (x_1) + \delta (x_1 - x_1) = f (x_1)\), and when \(x\) approaches \(x_1\) from right, \(f' (x)\) approaches \(f (x_1) = f' (x_1)\).

So, \(f'\) is continuous.

Step 2:

Let us see that indeed \(\int_I f' d \lambda = c'\).

\(\int_I f' d \lambda = \int_{I \setminus [x_0, x_1]} f' d \lambda + \int_{[x_0, (x_0 + x_1) / 2]} f' d \lambda + \int_{((x_0 + x_1) / 2, x_1]} f' d \lambda = \int_{I \setminus [x_0, x_1]} f d \lambda + \int_{[x_0, (x_0 + x_1) / 2]} (f + \delta (x - x_0)) d \lambda + \int_{((x_0 + x_1) / 2, x_1]} (f + \delta (x_1 - x)) d \lambda = \int_{I \setminus [x_0, x_1]} f d \lambda + \int_{[x_0, (x_0 + x_1) / 2]} f d \lambda + \int_{((x_0 + x_1) / 2, x_1]} f d \lambda + \int_{[x_0, (x_0 + x_1) / 2]} \delta (x - x_0) d \lambda + \int_{((x_0 + x_1) / 2, x_1]} \delta (x_1 - x) d \lambda = \int_I f d \lambda + \int_{[x_0, (x_0 + x_1) / 2]} \delta (x - x_0) d \lambda + \int_{((x_0 + x_1) / 2, x_1]} \delta (x_1 - x) d \lambda = c + \int_{[x_0, (x_0 + x_1) / 2]} \delta (x - x_0) d \lambda + \int_{((x_0 + x_1) / 2, x_1]} \delta (x_1 - x) d \lambda\).

\(\int_{[x_0, (x_0 + x_1) / 2]} \delta (x - x_0) d \lambda = \delta [(x - x_0)^2 / 2]^{(x_0 + x_1) / 2}_{x_0} = \delta / 2 ((x_0 + x_1) / 2 - x_0)^2 = \delta / 2 ((x_1 - x_0) / 2)^2 = \delta / 8 (x_1 - x_0)^2\).

\(\int_{((x_0 + x_1) / 2, x_1]} \delta (x_1 - x) d \lambda = - \delta [(x_1 - x)^2 / 2]^{x_1}_{(x_0 + x_1) / 2} = \delta / 2 (x_1 - ((x_0 + x_1) / 2))^2 = \delta / 2 ((x_1 - x_0) / 2)^2 = \delta / 8 (x_1 - x_0)^2\).

So, \(\int_I f' d \lambda = c + \delta / 8 (x_1 - x_0)^2 + \delta / 8 (x_1 - x_0)^2 = c + \delta / 4 (x_1 - x_0)^2 = c + 4 (c' - c) / (x_1 - x_0)^2 / 4 (x_1 - x_0)^2 = c + (c' - c) = c'\).


References


<The previous article in this series | The table of contents of this series | The next article in this series>