Mathematica Asked by mimuller on May 3, 2021
I’m trying to understand why the first expression doesn’t simplify while the second does:
FullSimplify[a^q <= 1, {0 < a < 1, q > 0}]
FullSimplify[q Log[a] <= 0, {0 < a < 1, q > 0}]
Aren’t these expressions equivalent under the supplied assumptions?
I ended up using this workaround with Reduce
instead. Not super pretty, but at least it shows that the algebra is correct. Applied to this example,
assum = {0 < a < 1, q > 0};
FullSimplify[Reduce[And@@ assum && a^q <= 1], assum]
I will wait a bit before accepting this answer in case anyone else has a more elegant approach, but didn't want you to go through the pain of typing out something that already has an answer elsewhere.
Answered by mimuller on May 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP