I would like to modify the question a bit. I want to plot the function m
with different combination of (a1,b1,a2,b2)
over a range of d
generated also by Reduce
below.
How can I do that?
I don't want to manually input all combination.
intvars ={a1,b1,a2,b2};
m = (a2 (-1+d)-a1 d) /(b2+b1 d-b2 d);
vd =a1 + b1 m;
vdb = a2 + b2 m;
assumptions=And@@Thread[-2<= intvars <= 2] && Element[intvars,Integers] &&
Element[d,Reals] && vd >0 && vdb<0;
comb=Reduce[assumptions];
Plot[m, (each of combination of (a1, b1,a2, b2) from comb and d range from comb]
Manipulate
with(a1,b1,a2,b2)
as parameters? $\endgroup$ – Alx Jan 21 '20 at 5:14