MathGroup Archive 2004

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

Search the Archive

Re: Expansion of an exponential expression


On 3/30/04 at 4:02 AM, carlos at colorado.edu (Carlos Felippa) wrote:

>As a result of some calculations I have (a snipet of a more complex
>expression)

>anlog= Log[ ((2 + Sqrt[1 + 2*h])^(-1))^(t/h)   ]

>I would like to simplify this to

>anlog= (t/h) Log[((2 + Sqrt[1 + 2*h])^(-1))   ]

try PowerExpand as in

In[1]:=
PowerExpand[ Log[((2 + Sqrt[1 + 2*h])^(-1))^(t/h)]]
Out[1]=
-((t*Log[Sqrt[2*h + 1] + 2])/h)

but you should be aware the transformations made by PowerExpand will not always produce what you expect. For example PowerExpand[(a b)^c] yeilds a^c b^c. If you set a = -4, b = -9 and c = 1/2, then Mathematica gives 6 for (a b)^c and -6 for a^c b^c
--
To reply via email subtract one hundred and four


  • Prev by Date: RE: sort list
  • Next by Date: Is there any productive way to use Mathematica + pdfLaTeX?
  • Previous by thread: Re: Expansion of an exponential expression
  • Next by thread: Re: Expansion of an exponential expression