From Calculus of Variations, G&F, the problem is: Given two linear functional $\varphi,\psi$ over a linear space $R$ such that $\varphi[h]=0\iff\psi[h]=0$. Show that there is a constant $\lambda$ such that $$\varphi[h]=\lambda\psi[h]\tag{1}\label{eq1}$$
Let $S\subset R$ the set where $\varphi,\psi$ are both zero. What I have so far is: let $\bar{h}:=\{k\in R:h-k\in S\}$ then exists $\lambda_h$ such that $\varphi[k]=\lambda_h\psi[k]$ for every $k\in\bar{h}$, thus partitioning $R$ into disjoint sets where \eqref{eq1} holds locally. This is what I have. I kinda feel that very close to complete the solution but I just can't see it right away. Thanks