I'm looking for hints on a problem I am facing. Not sure where to look to learn to solve such a thing or determine properties of the solution. I need to find an $f(x)$ that maximizes:
$\int_b^a{f(x)w(x)dx}$
$w(x)$ is a density function bounded everywhere.
$f$ need not be continuous or smooth.
Subject to the following constraints:
$f:[a,b]\rightarrow[0,1]$
$f(x)$ is monotonic increasing.
$\int_b^a{f(x)dx}=z<(a-b)$
Edit: Seems like making some assumptions about $w$ would help the progress.
I suspect if $w(x)$ is increasing in $x$ then the optimal $f$ is a step function $0$ up to some point and $1$ after.
What if $w(x)$ is concave, and symmetric over $[a,b]$?