Date: May 21, 2013 4:21 AM Author: Bob Hanlon Subject: Re: Replacing spurious Abs

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

exp

or

Abs[exp] /. Abs -> Identity

exp

Bob Hanlon

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

carlos.felippa%colorado.edu@gtempaccount.com> 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.

>

>