Message Boards Message Boards

0
|
3940 Views
|
2 Replies
|
4 Total Likes
View groups...
Share
Share this post:

[?] Get Max of a function assuming x is a real number?

Posted 5 years ago

Assuming[x is a Real number, Max[Exp[x], 0]] should give Exp[x], why doesn't mathematica do that?

POSTED BY: Anthony Leamer
2 Replies
Posted 5 years ago

Thank you very much, works like a charm! :)

POSTED BY: Anthony Leamer

Try:

 Simplify[Max[Exp[x], 0], x \[Element] Reals]

 (* E^x *)
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract