Re: Simplify
- To: mathgroup at smc.vnet.net
- Subject: [mg58677] Re: Simplify
- From: dh <dh at metrohm.ch>
- Date: Thu, 14 Jul 2005 02:49:02 -0400 (EDT)
- References: <db2g9i$djm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Paul, a square root has in general 2 solutions. Therfore, if you replace your expression by one you loose the solution -1. There is a function that does what you want: PowerExpand. However, this function does potentially unsave operations by making assumptions about its arguments. Using PowerExpand, you better check if the answer is what you want. sincerely, Daniel paulvonhippel at yahoo wrote: > I'm having some trouble getting an expression to simplify in an obvious > way. (There seems to be a long tradition of users posting to this group > with similar troubles.) > > The expression is > > poly = p (p - 1) b^2 + s^2 > prod = Sqrt [poly] Sqrt[1/poly] > Simplify[prod, {0 < p < 1, s > 0, bϵReals}] > > which should return one, I think, but doesn't. > > I'd be grateful for suggestions. > > Thanks! > Paul >