[Math] Given the value at two points of a curve and a constraint on the integral of the curve over the range between them, how to find the curve itself

calculusintegrationoptimization

I know two points, say A and B, that are the endpoints of a curve (a regular function) over a certain range. I also have a constraint on the integral over this range, say P. Given only this information, it could specify an infinite number of possible curves, but each endpoint also has an "influence" value that governs how much that endpoint should impact the shape of the curve.

For the given curve below, the endpoints are at A=[1.7, 100] with an influence of 0.74, B=[2.1, 550] with an influence of 0.3, and P=145, but this is just an example:

curve to find

How could I find the curve itself over this range? It seems the root of the problem is what exactly is meant by the "influence" parameter. I know it lies in the range [0,1] and that at 0 the endpoint has no effect and at 1 the endpoint has maximal effect on the resulting curve.

What could the influence parameter represent in terms of the generation of the curve?

As you can see, because the first point has a higher influence value, it remains closer to that value over the course of the curve. Also, because the area under the curve is constrained, the curve has to jump above the last point to ensure there is enough area.

Part of what I am wondering is how to even define this problem mathematically. I know the influence values constrain the space of possible curves in some way, but I don't know how to capture this effect in mathematical terms.

Again, all I know is the endpoints, their influence values and the area under the curve. How can I generate the given curve from this information?

I'm not sure where to start solving this problem! Is there a general method for this class of problems? If someone can point me in the right direction I could read up on a method for this, but I'm not even sure where to begin. Thanks!

Best Answer

One idea is to try a generalized sort of interpolation, namely, suppose we get rid of the influence thing, then one can solve the problem by finding a polynomial $p$ such that $$p(A)=p_A, \\ p(B)=p_B, \\ \int_A^B p(x)dx = P.$$ This can be solved with a second degree polynomial, but it seems to me that you can fix the influence issue by adding extra variables to the problem, that is, by raising the degree of the resulting polynomial, though I myself cannot think of a way of reflecting this into equations. Nonetheless, it does not look like the solution is unique.