I'm trying to find the roots for this function:
$$ f'(x) = \dfrac{w_0w_1y_0y_1\left(\frac{x_0}{x+x_0}\right)^\frac{w_0}{v_0}\left(\frac{x_1}{y_0\left(1-\left(\frac{x_0}{x+x_0}\right)^\frac{w_0}{v_0}\right)+x_1}\right)^\frac{w_1}{v_1}}{v_0v_1\left(x+x_0\right)\left(y_0\left(1-\left(\frac{x_0}{x+x_0}\right)^\frac{w_0}{v_0}\right)+x_1\right)}-1 $$
Which is the first derivative of this function of which I'm trying to find the maximum:
$$ f(x) = y_1\left(1-\left(\dfrac{x_1}{y_0\left(1-\left(\frac{x_0}{x+x_0}\right)^\frac{w_0}{v_0}\right)+x_1}\right)^\frac{w_1}{v_1}\right)-x $$
I'm simply trying to use an online derivative calculator (https://www.derivative-calculator.net/) but it says no roots can be found for the derivative, which is strange since there is clearly a local/global maximum when plotted.
To see the plot in the website I've linked follow this steps:
- Copy-paste this formula on the box
y1*(1-(x1/(x1+(y0*(1-(x0/(x0+x))^(w0/v0)))))^(w1/v1))-x
- Click on Go!
- At the bottom on the page you can see the graph, you can use this example parameters:
x0 = 800
y0 = 500,000
x1 = 600,000
y1 = 1417
w0 = 0.8
v0 = 0.2
w1 = 0.15
v1 = 0.85
- Now you can see that there is a global maximum on $ f(3.717) = 0.0772$
Does this function really have no roots?
Thanks