The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Replacing spurious Abs
Replies: 1   Last Post: May 21, 2013 4:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Bob Hanlon

Posts: 906
Registered: 10/29/11
Re: Replacing spurious Abs
Posted: May 21, 2013 4:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Abs[exp] /. Abs[x_] -> x



Abs[exp] /. Abs -> Identity


Bob Hanlon

On Tue, May 21, 2013 at 12:02 AM, <> wrote:

> Hi,
> Sometimes I get Abs[exp] from Simplify or Integrate, when it should be
> simply exp.
> Is there a simple way to get rid of the Abs, when exp may be an arbitrarily
> complex expression? Something like /.Abs[#]->#? Thanks.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.