I have a simple function and I tried to simulate whether the resulting values are positive/negative/zero (all I want to know). I plotted the function with a set of parametric assumptions and the output made no intutive/mathematical sense (strange shapes with spikes). I picked a few coordinates, which are supposed to be nonnegative, and evaluated them individually. The results are contradictions.
Below are the two variables, the function, the assumptions, the RegionPlot for negative values only and three examples of contradictions. Unfortunately, the RegionPlot takes some time.
λupper1[α_, c_, e_, ϵ_, η_] := (-e + c η + α η)/(-c + α + c ϵ - α ϵ + c η + α η) // FullSimplify
λupper2[α_, c_, e_, ϵ_, η_, y_] := (c - y + (-e + y + α) η)/(-(e - y + α) (-1 + ϵ) + (-e + y + α) η) // FullSimplify
assumptions12 = α > 0 && e > 0 && c > 0 && α > e && α > c && y > c && y > e && y < e + c;
Simplify[Sign[λupper12[α, c, e, ϵ, η, y] /. {ϵ -> 0.55, η -> 1}], assumptions12]
λupper12[α_, c_, e_, ϵ_, η_, y_] =λupper1[α, c, e, ϵ, η] -λupper2α, c, e, ϵ, η, y] // FullSimplify
RegionPlot[Simplify[λupper12[α, c, e, ϵ, η, y] < 0, assumptions12], {ϵ, 0.5, 1}, {η, 0.5, 1}]
Simplify[Sign[λupper12[α, c, e, ϵ, η, y] /. {ϵ -> 0.6, η -> 0.52}], assumptions12]
Simplify[Sign[λupper12[α, c, e, ϵ, η, y] /. {ϵ -> 0.85, η -> 0.8}], assumptions12]
Is there a way to get an accurate representation for lambdaupper12 in a diagram with epsilon and eta on the axes?
Thank you!
PlotPoints
setting, does it help? $\endgroup$RegionPlot
even with assumptions still contains a whole bunch of unspecified variables.RegionPlot
wont know what to do with it. $\endgroup$Sign
function seems to be able to handle the same degree of information to assign a "-1" for these points. Are there alternatives? $\endgroup$