I am trying to create a Lyapunov exponent plot as a function of $\alpha$ for two functions:
$$ f(x) = (\alpha + 1)x - \alpha x^{3} $$
and a piecewise function given by following Mathematica code:
f[x] = Piecewise[{{-1, x < -1}, {1, x > 1}, {x * (1 - alfa) + alfa, 1 >= x > alfa}, {x * (1 - alfa) - alfa, -alfa > x >= -1}, {x * (2 - alfa), alfa >= x >= -alfa}}]
Here you have an appropriate manipulation plot for second function:
Manipulate[Plot[Piecewise[{{-1, x < -1}, {1, x > 1}, {alfa + (1 - alfa) x, 1 >= x > alfa}, {-alfa + (1 - alfa) x, -alfa > x >= -1}, {(2 - alfa) x, alfa >= x >= -alfa}}, 0], {x, -2, 2}], {alfa, 0, 1}]
There is already a similar post here but I don't know how to apply that solution to my case. Is it even possible for discontinuous functions like my second piecewise function?
I would like to achieve a plot similar to those made for logistic map found on the internet: