I would like to plot some graphs with the general form $f(x)=ax^3+bx^2+cx+d$ on the domain $[0.5,1]$.
The parameters $(a,b,c,d)$ are dependent on some other variables $(p,q,r)$ and they satisfy all of the followings:
- $f'(0.5)=0.75a+b+c=p$
- $f'(1)=3a+2b+c=q$
- $f(1)=a+b+c+d=r$
- $f(0.5)=0.125a+0.25b+0.5c+d=0.5$
where all $p$ and $q$ are positive real numbers and $r$ is in $(0.5,1)$.
I solved the above system of equations and managed to obtain a set of solution as follows:
$a=4p+4q-16r+8$
$b=-10p-8q+36r-18$
$c=8p+5q-24r+12s$
$d=-2p-q+5r-2$
BUT I am wondering if there IS actually another set of solutions which also satisfies the above conditions. The solution above gave me some plots where $f''(x)$ is not strictly positive (i.e. $6ax+2b>0$) and this is not what I want. I need a solution which gives me curves whose slopes are always increasing, if not constant, but I do not know how to do it.
Thanks in advance!
============================================
EDIT:
I am actually seeking a function, not necessarily the cubic function above, that can satisfy (1)-(4) above, as will as $f''(x)$ is positive and increasing (i.e. $f'''(x)$, given the ranges of $(p,q,r)$ above.
So whether to get an alternative solution for the above system is not really the ultimate concern...