1
$\begingroup$

I need a function (polynome) that values $0$ at $0$ and $1$ at $1$ and has these values as local maxima and minima. So far so easy the straight solution is:

$f(x) = -x^4+2x^2$

Now I want to parametrize the slope increase with which the function approaches $0$ and $1$ respectively (the pointedness or flatness of the maxima and minima). I further want the pointedness identical for $0$ and $1$. How can this be done?

Edit to make the purpose clearer:

I want a non linear function which is almost linear around 0.5 but then approaches 1(0) faster as x tends towards 1(0) respectively. The behavior should be the same for both edge cases.

  • 0
    Maybe you could just sketch what you want freehand, pointing out the characteristics of interest. I am not sure what you mean by linear around 0.5-should it be straight, which is what linear means to me, or should the slope be small, which seems more in the spirit of the rest of the question? Ignoring the local max/min for a minute, is $f(x)=\frac 12+4(x-\frac 12)^3$ something like what you want?2012-12-20

0 Answers 0