Usually the calculus of variations' take on not variable endpoints means to choose a point in a fixed function, but what I need is for that point to be defined by the function I am maximizing; that is, my problem is to find y(x) to maximize:
If it makes it clearer, the geometrical interpretation (if I imagine it correctly) is to choose y(x) which maximizes the volume of the 3-dimensional area (inside a 3-dimensional compact cube) of F(x,y,z) ($F_y$>0), given that the width of the area is in itself given by the choice of y(x).
My problem is more complicated (since it involves probability measures), but if someone help me solve this (or point me into the right direction) I believe I can work out the rest.
sorry if this question is obvious for some (most), but I'm not a mathematician (economist) and I spent the last week reading several books on calculus of variations and I didn't find anything really helpful to solve my research problem.
Thank all, Pedro.