MathGroup Archive 2005

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

Search the Archive

Re: Simplfying inside Sqrt


billkavanagh at gmail.com wrote:

> Hi
> 
> I'm wondering how to tell mathematica that I want terms like
> Sqrt[x^2+x^4] to be x*Sqrt[1+x^2].   I have an expression with a few
> terms like this in it so manually inserting a
> PowerExpand[Sqrt[Expand[x^2+x^4]] is no good to me.
> 
> I've tried a general PowerExpand and Simplify with a Im[x]==0 around
> the whole expression but with no luck.
> 
> Does anybody know how to do this?
> 
> Thanks,
> Bill
> 
> --
> William R. Kavanagh
> http://www.physics.mun.ca/~wkavanag
> 
There /has/ to be something more simple than

Simplify[#1, x >= 0] &  /@
  (Sqrt[x^2 + x^4] /. (a_)^(b_) :> (#1^b & ) /@ Factor[a])

but I don't see it at the moment.

-- 
Peter Pein
Berlin


  • Prev by Date: Re: Plotting a super ellipse
  • Next by Date: Mathematica cannot simplify a product of UnitStep functions
  • Previous by thread: Re: Simplfying inside Sqrt
  • Next by thread: Re: Re: Simplfying inside Sqrt