MathGroup Archive 2009

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

Search the Archive

Re: Distributing square-root (1/2) power through exponential equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101306] Re: Distributing square-root (1/2) power through exponential equation
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 1 Jul 2009 06:31:52 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <h2cprm$agj$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

Dist = Sqrt[SqD] // PowerExpand

does not what you want ?

Regards
   Jens

Steven Matthew Anderson wrote:
> I'm playing with normal distributions, Two random points 1 and 2 with x and y coordinates given by:
> 
> px1=PDF[NormalDistribution[Mu,Sx],X1]
> px2=PDF[NormalDistribution[Mu,Sx],X1]
> py1=PDF[NormalDistribution[Mu,Sy],Y1]
> py2=PDF[NormalDistribution[Mu,Sy],Y2]
> 
> The square of the Euclidean Distance between them is
> 
> SqD = (px2-px1)^2+(py2-py1)^2
> 
> Take the square root and expand of that to get
> 
> Dist = Sqrt[Expand[SqD]]
> 
> Now the question:  
> 
> How do I get the square root to act just like another power so I can simplify this mess?  I have tried PowerExpand, FullSimplify, Expand, Simplify, and various combinations.  Not sure what I'm missing here.
> 


  • Prev by Date: Re: palettes: Mathematica input
  • Next by Date: LogLinearPlot strange "features"
  • Previous by thread: Re: Applying lists to FindRoot of a NIntegrate function
  • Next by thread: Re: Distributing square-root (1/2) power through exponential equation