Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Questions about Abs[_]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55591] Re: Questions about Abs[_]
  • From: "Dan" <dantopa at gmail.com>
  • Date: Wed, 30 Mar 2005 03:22:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Andrzej:

Mathematica is considering the most general case. I am thinking that
you are dealing with all positive numbers since you have stated the
answer you want.

Let's tell Mathematica we have all positive numbers.

x = Abs[(2 z0 - 2 d m)^2];     (* define the function *)

lst={z0,d,m};                   (* assemble all variables in a list *)

Simplify[x,lst\[Element]Reals && lst > 0]     (* apply criteria *)

output =
(2 z0 - 2 d m)^2

Hope this helps,

Dan


  • Prev by Date: Multiple regression best subset
  • Next by Date: subtle dumb question
  • Previous by thread: Re: Questions about Abs[_]
  • Next by thread: Re: Re: Questions about Abs[_]