# Absolute value of a function integrable?

1. Nov 23, 2008

### tomboi03

this is the question,
Prove that if f is continuous on (a,b] and if |f| is bounded on [a,b] then f is integrable on [a,b]. (note: it is not assumed that f is continuous at a.)

I know you have to use the upper and lower bounds to prove this statement but i don't know where to start?

Thanks,
Jonnah Song

2. Nov 23, 2008

### HallsofIvy

Staff Emeritus
The simplest thing to do is to construct Riemann sums with base having n intervals taking one "rectangle" with base from a to a+ 1/n. Since f is bounded and continuous on (a, b], it is integrable from a+ 1/n to b and the area of the "leftmost rectangle", from a to a+ 1/n goes to 0 as 1/n goes to 0.

By the way, this doesn't have anything at all to do with |f| being integrable. In fact, I don't know why you say "|f| bounded". That is exactly equivalent to f itself being bounded which is the important thing.

3. Nov 23, 2008

### tomboi03

but, that's what it says on the question. I didn't state that.

4. Nov 23, 2008

### tomboi03

My TA said " this function is integrable if and only if the upper and lower limits are the same. Function is continuous, so consider the intermediate value theorem." Do you guys have any idea what he's talking about?

I'm very confused.

5. Dec 15, 2008

### tomboi03

I'm still not sure how to solve this.. because..

I tried doing this...
We set sk= inf U(f,P)
tk= sup L(f,P)
define step function s and t by letting their values equal
sk and tk on (xk-1, xk)
s(xk)= t(xk)= f(xk)
s(x)$$\leq$$f(x)$$\leq$$t(x) for all x
tk-sk<E
$$\int$$(a+1/n, b) t - $$\int$$(a+1/n, b) = $$\int$$(a+1/n, b)(t-s) $$\leq$$ E(b-a)
therefore f is integrable on [a+1/n, b]

On the other hand,
for [a, a+1/n]
lim $$\int$$ (a, a+1/n) f$$\leq$$E(a+1/n-a)
n$$\rightarrow$$0
lim $$\int$$ (a, a+1/n) f$$\leq$$ E(1/n)
therefore f is integrable on [a,a+1/n]
therefore f is integrable on [a,b]

what am i doing wrong?
because i got this wrong.