wany
- 72
- 0
Homework Statement
Find formulas for the upper and lower sums of f on P_n, and use them to compute the value of \int_0^1f(x)dx.
P_n:=\{\frac{j}{n}:j=0,1,...,n\} (a partition of [0,1])
\[<br /> f(x) = \left\{ \begin{array}{ccc} 0 & 0 \le x < 1/2 \\ 1 & 1/2 \le x \le 1 \end{array} \right. \]
Homework Equations
U(f,P)=\sum\limits_{j=1}^{n} M_j(f)\Delta x_j and
L(f,P)=\sum\limits_{j=1}^{n} M_j(f)\Delta x_j
where M_j=sup f([x_{j-1},x_j]) and m_j=inf f([x_{j-1},x_j])
if \lim_{n \rightarrow \infty} L(f,P_n)=\lim_{n \rightarrow \infty} U(f,P_n) then this equals \int_0^1f(x)dx
The Attempt at a Solution
So it is easy to see that this function is bounded on [0,1]. So now we can break this up into the different partitions, but now is where I run into a problem. It is finding the inf and the sup of each interval:
so obviously if both x_j, x_{j-1} are < 1/2 then both inf and sup are 0;
if both x_j, x_{j-1} are >= 1/2 then both inf and sup are 1;
so now it is possible for one case to be x_j \ge 1/2, x_{j-1} < 1/2
in which case sup =1/2 and inf =0.
I am stuck from this point. Any help would be appreciated.