Counterexamples needed for integration question

  • Thread starter Thread starter Rosey24
  • Start date Start date
  • Tags Tags
    Integration
Rosey24
Messages
12
Reaction score
0

Homework Statement



The original question required me to show that for f(x) >= 0 for all x, f continuous, where the integral (from a to b) of f =0, that f(x) = 0 for all x in [a,b]. I did that, using a proof by contradiction.

Second part of the question requires me to show that the two hypotheses (f(x) being >= 0 and f being continuous) were required.

Homework Equations





The Attempt at a Solution



I think counterexamples would show this, but can't figure out what would make a counterexample. Do I need to take f(x)<0 for f continuous and show that its integral can't equal zero? Similarly, take f(x)>=0 but not continuous and show that its integral also can't equal zero?
 
Physics news on Phys.org
Rosey24 said:
I think counterexamples would show this, but can't figure out what would make a counterexample. Do I need to take f(x)<0 for f continuous and show that its integral can't equal zero? Similarly, take f(x)>=0 but not continuous and show that its integral also can't equal zero?
Almost. You want the integral to be zero. And for the first bit, you don't really need f(x)<0 for all x, just f(x0)<0 for some x0 in [a,b]. (Actually if f(x)<0 for all x, it won't work, because the integral won't be zero.)
 
Last edited:
so would taking f(x) = x^3, which is continuous, be a suitable counterexample for the first assumption?

I can't think of a function that is always positive and isn't continuous, though.
 
Yup. That works provided you integrate on some interval symmetric about 0, like [-1,1].

How about

<br /> f(x)=\begin{cases}<br /> 0 &amp;\text{if } x \neq 0\\<br /> 1 &amp;\text{if } x = 0<br /> \end{cases}<br /> [/tex]<br /> <br /> for the second one?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top