Let's assume we have data for two points ( X_Left -> Y_Left, X_Right -> Y_Right ), and we break the interval between X_Left, and X_Right, into equaly distant sub intervals.
In case I wanted to do a linear interpolation, for either of the equaly distant points, between X_Left and X_Right, I could simply use the following equation,
Y = Y_Left + ( X - X_Left ) . ( Y_Right - Y_Left )/( X_Right - X_Left )
Where X was the point I wanted to find (linearly interpolate) the value of.
Now, let's say that instead of using the assumption of similar increments beteween X_Left, and X_Right, we want to assume that between each consecutive interval their rate of increase will be constant.
So, for example, in case X_Left = 0, Y_Left = 1, X_Right = 3, Y_Right = 8, we would have 3 equaly distant intervals. And the following condition would need to be satisfied,
( Y1 - Y_Left )/Y_Left = ( Y2 - Y1 )/Y1 = ( Y_Right - Y2 )/Y2
What would be the mathematical equation (equivalent to the one I shared for the linear interpolation), in this scenario of constant increase\decrease rate?