The Continuous Function That Must Change Sign
Let be continuous, with
Must have at least two sign changes on ? (A "sign change" means a point where transitions from strictly positive to strictly negative or vice versa.)
Prove your answer.
Answer: The Continuous Function That Must Change Sign
Key Idea / Intuition
The two integral conditions say that is orthogonal to both the constant function and to . If had at most one sign change, it would look roughly like a single-signed bump or a function that crosses zero once โ and you can show that any such function cannot be simultaneously orthogonal to both and unless it is identically zero. The trick is to construct a witness: a linear function that has the same sign pattern as , making forced to be positive โ but the two conditions say this integral is exactly zero, giving a contradiction.
Formal Proof / Solution
Claim: Yes, must have at least two sign changes (provided ).
Proof by contradiction. Suppose is continuous, not identically zero, satisfies both integral conditions, but has at most one sign change on .
Case 1: has no sign change.
Then is either or on all of (with at least one point of strict sign, since ). But then , contradicting the first condition. โ
Case 2: has exactly one sign change at .
Without loss of generality, suppose on and on (the other case is symmetric).
Now choose the linear function
Note satisfies:
- for ,
- for .
This is the opposite sign pattern to . Therefore everywhere on , and on a set of positive measure. Hence:
But expanding using linearity:
This is a contradiction: the integral must be strictly negative, but we computed it equals .
Conclusion
In both cases we reach a contradiction. Therefore must have at least two sign changes on .
Remark (geometric picture): The two conditions and say is orthogonal to all linear polynomials in . By the general principle, orthogonality to polynomials of degree forces at least sign changes โ this is a soft version of the Chebyshev equioscillation / Descartes' rule philosophy. Here (orthogonal to ), forcing sign changes.