Trying to solve the following equation,. and assuming the slope as positive or negative works well, but assuming m=0 does not.
assume(m>0);
solve((m*x+b)>0,x); [Enter] x>-b/m
assume(m<0);
solve((m*x+b)>0,x); [Enter] x<-b/m
assume(m=0);
assume(b>0);
solve((m*x+b)>0,x); [Enter] is expected x=x
(0*x)>-b
0>+# true => is valid for all real numbers
assume(m=0);
assume(b<0);
solve((m*x+b)>0,x); [Enter] is expected x={ }
(0*x)>-b // --b
0># false => x={ }
assume(m=0) in solve((m*x+b)>0,x);
Modérateur : xcasadmin
-
- Messages : 603
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
-
- Messages : 603
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: assume(m=0) in solve((m*x+b)>0,x);
Hello:
here is a link to the outputs when assuming m=0
https://mathsolver.microsoft.com/en/sol ... x%2Bb)%3E0
here is a link to the outputs when assuming m=0
https://mathsolver.microsoft.com/en/sol ... x%2Bb)%3E0
Re: assume(m=0) in solve((m*x+b)>0,x);
Please take in consideration that assume(m=0) is not the same as m:=0, it only means that m is assumed to be near 0.