Suppose we have random variable $X$ and functions $f(X)$ and $g(X)$. I need to know that if $f(X)$ and $g(X)$ are both increasing then the solution of the following maximization has two mass points.?! $$\max_{P(X),\\ \text{Subject to}\quad 0\leq X \leq A, \quad E[X]\leq\alpha}Cov(f(X),g(X))$$ Remark: It could be shown if $f(x)$ or $g(X)$ are a linear function of $X$, then the solution of maximization of covariance by considering peak and average constraints has two mass points. For example, if $f(X)=X$ and $g(X)$ is increasing, then the solution has two mass points at $X=0$ and $X=A$.
Thank you for your help