Let $f:\mathbb{R}_+\rightarrow\mathbb{R}$ be a $C^1$ function such that $f(0)>0$ and there exist an increasing sequence of positive reals $a_1,...,a_k$ with $k\geq 2$ satisfying $f(a_k)=0$.
Define $F(s):=\int_0^s f(\sigma)d\sigma$.
I want to show that the following conditions are equivalent:
i) $F(a_k)>\max\{F(s):\ 0\leq s\leq a_{k-1}\}$
ii) $F(a_k)>F(a_{k-1})$
Also, it is true that $\max\{F(s):\ 0\leq s\leq a_{k-1}\}=F(a_{k-1})$? if i) or ii) are satisfied?
Edit: The values $a_k$ need not to be the only zeroes of $f$.
Edit 2: In this edit I will change some of the hypothesis, please verify if in this case, i) is equivalently to ii). The only hypothesis that changes, is the hypothesis about the $a_i's$.
There exist $0<a_1<b_1<a_2<b_2<...<b_{m-1}<a_m$ such that for all $k=1,...,m-1$, $f(x)\leq 0$ in $(a_k,b_k)$ and $f(x)\geq 0$ in $(b_k,a_{k+1})$. $f$ does not have zeroes on the interval $(0,a_1)$.