# Continuous and regulated functions

• Nov 1st 2009, 12:34 PM
nmatthies1
Continuous and regulated functions
(a) Let $\displaystyle g:[a,b] \to \mathbb{R}$ be a continuous function. Suppose that $\displaystyle g(x) \geq 0 ~\forall x \in [a,b]$ and $\displaystyle \int_{a}^{b} g = 0$.

Prove that $\displaystyle g(x)=0 \forall x \in [a,b]$.

Intuitively, this statement is obviously true. However, I can't seem to find a starting point for a formal proof. Where to start? Any hints?

(b) Give an example of a regulated function $\displaystyle h:[a,b] \to \mathbb{R}$ such that $\displaystyle h(x) \geq 0 ~ \forall x \in [a,b]$, $\displaystyle \int_{a}^{b} h = 0$, and there is a point $\displaystyle c\in [a,b]$ such that $\displaystyle h(c) \neq 0$.

My problem here is that I don't really understand the difference between continuous and regulated functions. I do know the formal definition of a regulated function, and the fact that a continuous function is regulated but do not entirely grasp the concept.
Also, it seems rather counterintuitive to assert that there would be a point $\displaystyle c$ such that $\displaystyle h(c) \neq 0$.
• Nov 1st 2009, 02:06 PM
redsoxfan325
Quote:

Originally Posted by nmatthies1
(a) Let $\displaystyle g:[a,b] \to \mathbb{R}$ be a continuous function. Suppose that $\displaystyle g(x) \geq 0 ~\forall x \in [a,b]$ and $\displaystyle \int_{a}^{b} g = 0$.

Prove that $\displaystyle g(x)=0 \forall x \in [a,b]$.

Intuitively, this statement is obviously true. However, I can't seem to find a starting point for a formal proof. Where to start? Any hints?

(b) Give an example of a regulated function $\displaystyle h:[a,b] \to \mathbb{R}$ such that $\displaystyle h(x) \geq 0 ~ \forall x \in [a,b]$, $\displaystyle \int_{a}^{b} h = 0$, and there is a point $\displaystyle c\in [a,b]$ such that $\displaystyle h(c) \neq 0$.

My problem here is that I don't really understand the difference between continuous and regulated functions. I do know the formal definition of a regulated function, and the fact that a continuous function is regulated but do not entirely grasp the concept.
Also, it seems rather counterintuitive to assert that there would be a point $\displaystyle c$ such that $\displaystyle h(c) \neq 0$.

For (a), proceed by contradiction and assume that there exists a point $\displaystyle c\in[a,b]$ s.t. $\displaystyle g(c)>0$. Then use the continuity of $\displaystyle g$ to show that there must exist $\displaystyle \delta>0$ s.t. $\displaystyle \forall x\in(c-\delta,c+\delta)$, $\displaystyle g(x)>0$, and derive a contradiction from that.

For (b), what about something as simple as:

$\displaystyle h(x)\left\{\begin{array}{lr}1:&x=(a+b)/2\\0:&else\end{array}\right\}$

The left and right limits always exist, so it's regulated, and certainly has an integral of 0.