0 like 0 dislike
0 like 0 dislike
Looking for an S-Curve between 0 and 1 with controllable slope.

2 Answers

0 like 0 dislike
0 like 0 dislike
5 constraints requires at least 5 coefficients, which would mean a quartic. But I'm guessing that you want rotational symmetry, f(1/2+x)-1/2 = 1/2-f(1/2-x), which requires a polynomial of odd degree, so it would need to be at least quintic.

If you move the centre to 0,0, i.e. f(x)=1/2+g(x-1/2), then g(x) is odd and so consists only of odd-degree terms:

g(x) = ax^(5) + bx^(3) + cx

f(0)=0 => g(-1/2)=-1/2

f(1)=1 => g(1/2)=1/2

f(1/2)=1/2 => g(0)=0 (this is guaranteed for an odd function)

f'(0)=f'(1)=0 => g'(-1/2)=g'(1/2)=0 (g' is even so g'(-1/2)=g'(1/2) is guaranteed).

g'(x) = 5ax^(4) + 3bx^(2) + c

g'(1/2) = 0 => 5a+12b+16c = 0

f'(1/2) = α => g'(0)=α => c=α (I've used α here to avoid the conflict with the coefficient a).

=> 5a+12b+16α = 0 => a = -(16α+12b)/5

(If you think what happens to the curve outside [0,1], you'll probably want a to be negative).

=> g(x) = -((16α+12b)/5)x^(5) + bx^(3) + αx

g'(x)=0 => x^(2) = 1/4 or x^(2) = -α/(4α+3b)

I'm assuming that you want the function to be monotonic increasing, in which case -α/(4α+3b) should be negative (so that g'(x)=0 only has two real roots) => 4α+3b>0 => 3b>-4α => b>-(4/3)α.

Aside from that, try different values of b to get the desired shape.
0 like 0 dislike
0 like 0 dislike
Within [0, 1/2), 2^a-1 x^a.
Within [1/2, 1], -2^a-1 (x - 1)^a + 1.

Related questions

0 like 0 dislike
0 like 0 dislike
1 answer
MSR_Tlse asked Jun 21
Are the S3/S4 Edexcel Further Maths units useful to become an actuary? Topics include sampling, unbiased and biased estimators, confidence intervals and significance test...
MSR_Tlse asked Jun 21
0 like 0 dislike
0 like 0 dislike
9 answers
HilaryKHarper asked Jun 21
Has anyone successfully guessed on like half of the questions on an exam and still passed?
HilaryKHarper asked Jun 21
0 like 0 dislike
0 like 0 dislike
19 answers
chorleyfc asked Jun 21
What do you do after an exam without instant results?
chorleyfc asked Jun 21
0 like 0 dislike
0 like 0 dislike
26 answers
ShanePaulNeil asked Jun 21
Why is it boring to be an actuary?
ShanePaulNeil asked Jun 21
0 like 0 dislike
0 like 0 dislike
7 answers
alfonsoesparzao asked Jun 21
Using SOA suggested text books to study for an exam
alfonsoesparzao asked Jun 21

24.8k questions

103k answers

0 comments

33.7k users

OhhAskMe is a math solving hub where high school and university students ask and answer loads of math questions, discuss the latest in math, and share their knowledge. It’s 100% free!