The function \( f(x) \) is defined piecewise as follows:
\[ f(x) = \begin{cases} \frac{1}{2}, & \text{if } 0 \leq x \leq \frac{1}{2}, \\ 1, & \text{if } \frac{1}{2} < x \leq 1 \text{ and } x \in \mathbb{Q}, \\ 0, & \text{if } \frac{1}{2} < x \leq 1 \text{ and } x \notin \mathbb{Q}. \end{cases} \]
The graph of \( f(x) \) can be visualized as:
The partition \( P \) divides the interval \([0, 1]\) into five subintervals: \([0, 0.2]\), \([0.2, 0.4]\), \([0.4, 0.6]\), \([0.6, 0.8]\), and \([0.8, 1]\). For each subinterval, we determine the infimum (\( m_i \)) and supremum (\( M_i \)) of \( f(x) \).
| Subinterval \([x_{i-1}, x_i}]\) | \( \Delta x_i \) | \( m_i = \inf f(x) \) | \( M_i = \sup f(x) \) | Contribution to \( L_P(f) \) | Contribution to \( U_P(f) \) |
|---|---|---|---|---|---|
| [0, 0.2] | 0.2 | \(\frac{1}{2}\) | \(\frac{1}{2}\) | \(0.2 \times \frac{1}{2} = 0.1\) | \(0.2 \times \frac{1}{2} = 0.1\) |
| [0.2, 0.4] | 0.2 | \(\frac{1}{2}\) | \(\frac{1}{2}\) | \(0.2 \times \frac{1}{2} = 0.1\) | \(0.2 \times \frac{1}{2} = 0.1\) |
| [0.4, 0.6] | 0.2 | 0 | 1 | \(0.2 \times 0 = 0\) | \(0.2 \times 1 = 0.2\) |
| [0.6, 0.8] | 0.2 | 0 | 1 | \(0.2 \times 0 = 0\) | \(0.2 \times 1 = 0.2\) |
| [0.8, 1] | 0.2 | 0 | 1 | \(0.2 \times 0 = 0\) | \(0.2 \times 1 = 0.2\) |
Calculations:
\[ L_P(f) = \sum_{i=1}^{5} m_i \Delta x_i = 0.1 + 0.1 + 0 + 0 + 0 = 0.2 \] \[ U_P(f) = \sum_{i=1}^{5} M_i \Delta x_i = 0.1 + 0.1 + 0.2 + 0.2 + 0.2 = 0.8 \]
Therefore, for the given partition \( P \), the lower sum \( L_P(f) = 0.2 \) and the upper sum \( U_P(f) = 0.8 \).
To achieve \( L_P(f) = \frac{1}{4} \) and \( U_P(f) = \frac{3}{4} \), we need to strategically select partition points that balance the contributions from different segments of the function.
Proposed Partition: \( P = \{0, 0.5, 0.75, 1\} \)
| Subinterval \([x_{i-1}, x_i}]\) | \( \Delta x_i \) | \( m_i = \inf f(x) \) | \( M_i = \sup f(x) \) | Contribution to \( L_P(f) \) | Contribution to \( U_P(f) \) |
|---|---|---|---|---|---|
| [0, 0.5] | 0.5 | \(\frac{1}{2}\) | \(\frac{1}{2}\) | \(0.5 \times \frac{1}{2} = 0.25\) | \(0.5 \times \frac{1}{2} = 0.25\) |
| [0.5, 0.75] | 0.25 | 0 | 1 | \(0.25 \times 0 = 0\) | \(0.25 \times 1 = 0.25\) |
| [0.75, 1] | 0.25 | 0 | 1 | \(0.25 \times 0 = 0\) | \(0.25 \times 1 = 0.25\) |
Calculations:
\[ L_P(f) = 0.25 + 0 + 0 = 0.25 = \frac{1}{4} \] \[ U_P(f) = 0.25 + 0.25 + 0.25 = 0.75 = \frac{3}{4} \]
Thus, the partition \( P = \{0, 0.5, 0.75, 1\} \) satisfies the conditions \( L_P(f) = \frac{1}{4} \) and \( U_P(f) = \frac{3}{4} \).
The upper integral \( \overline{\int_0^1} f \) is defined as the infimum of all possible upper sums \( U_P(f) \) over every possible partition \( P \) of \([0, 1]\).
Given the function's behavior:
Therefore, regardless of the partition chosen, the upper sum will always account for the maximum value \( 1 \) in the interval \((\frac{1}{2}, 1]\).
<Consequently, the infimum of all possible upper sums is:
\[ \overline{\int_0^1} f = \frac{1}{2} \times \frac{1}{2} + 1 \times \frac{1}{2} = \frac{1}{4} + \frac{1}{2} = \frac{3}{4} \]
Thus, the upper integral \( \overline{\int_0^1} f = \frac{3}{4} \).
The lower integral \( \underline{\int_0^1} f \) is the supremum of all possible lower sums \( L_P(f) \) over every possible partition \( P \) of \([0, 1]\).
Analyzing the function's behavior:
Given this, the lower sum for any partition will always include the constant contribution from \([0, \frac{1}{2}]\) and zero from \((\frac{1}{2}, 1]\).
Therefore, the supremum of all possible lower sums is:
\[ \underline{\int_0^1} f = \frac{1}{2} \times \frac{1}{2} + 0 \times \frac{1}{2} = \frac{1}{4} + 0 = \frac{1}{4} \]
Thus, the lower integral \( \underline{\int_0^1} f = \frac{1}{4} \).
A function \( f \) is Riemann integrable on \([a, b]\) if and only if the upper integral equals the lower integral:
\[ \overline{\int_a^b} f = \underline{\int_a^b} f \]
For the given function \( f \) on \([0, 1]\), we have:
\[ \overline{\int_0^1} f = \frac{3}{4} \quad \text{and} \quad \underline{\int_0^1} f = \frac{1}{4} \]
Since \( \frac{3}{4} \neq \frac{1}{4} \), the upper and lower integrals do not coincide.
Conclusion: The function \( f \) is not Riemann integrable on \([0, 1]\).
The function \( f(x) \) showcases a high level of discontinuity on the interval \((\frac{1}{2}, 1]\), oscillating between \( 1 \) and \( 0 \) based on the rationality of \( x \). This discontinuity is critical in determining the function's integrability properties. Through meticulous calculation of lower and upper sums across carefully chosen partitions, it is evident that the upper and lower integrals differ, thereby rendering \( f(x) \) non-Riemann integrable on \([0, 1]\).