Definite integral · Exercise-DEFINITE-INTEGRAL-008
Step-by-step solved exercise: Integrals
Is it true that if \(\displaystyle \int_{-1}^{1} f(x)\,dx=0\) then \(\displaystyle f(x)=0\) for all \(\displaystyle x\in[-1,1]\)?
Definite integral · Exercise-DEFINITE-INTEGRAL-008
Is it true that if \(\displaystyle \int_{-1}^{1} f(x)\,dx=0\) then \(\displaystyle f(x)=0\) for all \(\displaystyle x\in[-1,1]\)?
The question is whether a zero integral forces the function to be zero.
A counterexample is enough: we take \(\displaystyle f(x)=x\).
Its integral over \(\displaystyle [-1,1]\) is zero because the positive and negative parts cancel.
Since \(\displaystyle f\) is not identically zero, the implication is false.
Comment: With net integrals, a zero value does not imply a zero function.
No: f(x)=x has integral 0 on [-1,1] without being zero