3
$\begingroup$

When one gives values to the $Assumptions variable, it seems to not matter whether you separate the conditions with && or just give is a list of the conditions (see below). Is there any subtle difference I am not catching?

Remove["Global`*"] 
$Assumptions = {a>0 && b <=0}
Sqrt[a^2]+ Sqrt[b ^2] // FullSimplify

yeilds the same result as

Remove["Global`*"] 
$Assumptions = {a>0 , b <=0}
Sqrt[a^2]+ Sqrt[b ^2] // FullSimplify
$\endgroup$
  • 5
    $\begingroup$ Your question isn't strictly about Assuming, you may want to use it instead. From the documentation: Assuming converts lists of assumptions {a1, a2, ...} to a1 && a2 &&... $\endgroup$ – Carl Lange Feb 9 at 22:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.