This post is a clarified version of the question in this one.
Consider an implicit function, $F(e,w,a,b,i,n)=0$, whose code is:
D[w - 1/((1 - e) w), e] == D[1 - e, e] ((-((-a (i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) + (-1 + a^2) (-1 + e)^2 w - a (-1 + e) (i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w^2)/(a (-1 + e) i (1 - e + i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w))) - (-((-a (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(1 - n e (1/(b (a e)^(b)))^(1/(b - 1))) + (-1 + a^2) (-1 + e) (-1 + e - i) w - a (-1 + e) (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1))) w^2)/( a (-1 + e) i (1 - e + i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w))))
From the above implicit function, $e$ can be implicitly defined as a function of $w$ with the rest of the variables taken as constant.
My task takes three steps as follows.
Step 1: I numerically examined how this function $e=e(w)$ looks like for any given value of $a = 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1$ along with the other parameters fixed at $n=1$, $b=0.7$, $i=0.1$. My code for this is:
Clear["Global`*"]
n = 1;
eqns[i_, b_] = {D[w - 1/((1 - e) w), e] ==
D[1 - e, e] ((-((-a (i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) + (-1 +
a^2) (-1 + e)^2 w -
a (-1 + e) (i + (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w^2)/(
a (-1 + e) i (1 - e + i + (
n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w))) - (-((-a (
n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1))) + (-1 + a^2) (-1 +
e) (-1 + e - i) w -
a (-1 + e) (n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1))) w^2)/(
a (-1 + e) i (1 - e + i + (
n (1 - e) (1/(b (a e)^(b)))^(1/(b - 1)))/(
1 - n e (1/(b (a e)^(b)))^(1/(b - 1)))) w)))), 0 <= i <= 1, 0 <= a <= 1, 0 <= e <= 1, w >= 0, 0 <= b <= 1};
ContourPlot[Evaluate@ Table[Simplify@ eqns[1/10, 7/10][[1]], {a, {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}}], {w, 0, 5}, {e, 0, 1}, PlotPoints -> 50, MaxRecursion -> 4, FrameLabel -> (Style[#, 14] & /@ {w, e}), RotateLabel -> False, PlotLegends -> Placed[LineLegend[{0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1},
LegendLabel -> "a"], {.7, .4}]]
Step 2: I would like to use this $e=e(w)$ function numerically found as above to obtain the solution for $e$ and $w$ that solve $\frac{\partial e}{\partial w}=\frac{e}{w}$. That is, the pair of solutions $(e^* , w^* )$ for each $a$ will be obtained at the tangent point between the $e=e(w)$ function and the ray from the origin. Graphically, it will look like this (In the figure, I indicated the solution pairs in red dot):
As is clearly described in the above figure, I will be able to obtain a unique $(e^* , w^* )$ for each $a$.
Step 3: Finally, what I would like to produce two separate plots, one plotting $e^* $ against $a$ and the other plotting $w^* $ against $a$. These will look something like below. Step 1 is already done. Now, I need help on Steps 2 & 3. (But I don't need to produce the second figure, the one with the red dots added. All I need to produce are the last two plots.) Please help.
D[1 - e, e]
seems a somewhat confusing way to write-1
, and I wanted to check, is-1
correct? $\endgroup$