Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

$Assumption for multiple variables

I want to restrict my variables to certain ranges for my entire notebook, is there a way I can do that in one go without entering a different $assumption line for every variable?

Edit: I want to define the domain of variables for all calculations in my notebook (googling helped me frame my needs better!)

like image 411
skr Avatar asked Apr 08 '26 08:04

skr


1 Answers

Globally define as follows

$Assumptions = b >= 0 && c >= 0 && {u11, u13, u14} \[Element] Reals

then use globally defined variables as follows

Simplify[expression  with global variables] 
like image 157
user4315525 Avatar answered Apr 20 '26 14:04

user4315525



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!