MathGroup Archive 2002

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

Search the Archive

Re: Reversing PowerExpand

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37565] Re: Reversing PowerExpand
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 5 Nov 2002 05:00:11 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <aq0379$4nd$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Sqrt[x] Sqrt[y] /. c_.*Power[a_, n_]*Power[b_, n_] :> c*Power[a*b, n]

But be carefull when x and y are complex.

Regards
  Jens

Dave Snead wrote:
> 
> I can use PowerExpand to go from
> 
> Sqrt[x y] to Sqrt[x] Sqrt[y]
> 
> How do I reverse this and go from
> 
> Sqrt[x] Sqrt[y] to Sqrt[x y]
> 
> Thanks in advance.
> --Dave Snead


  • Prev by Date: Re: ListPlot3D
  • Next by Date: How to get the linear independent subset of a list? (Newbie Question)
  • Previous by thread: RE: Reversing PowerExpand
  • Next by thread: Newbie-type question: structured data types in Mathematica?