[Date Index] [Thread Index] [Author Index]
Re: Expansion of an exponential expression
Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote in message news:<c4gg30$3fh$1 at smc.vnet.net>... > On 30 Mar 2004, at 18:02, 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)) ] > > > > so I can then take the Taylor series in h. > > But FullSimplify[anlog,h>0] doesnt do it. > > Do i need a ComplexityFunction? > > There is always PowerExpand. I avoid PowerExpand in complicated expressions (remember that what I showed is a tiny part of something much longer). Very often the answer is wrong, and then I have to trace back a needle in a haystack. In my opinion PowerExpand should be removed from Mathematica. Paraphrasing Dijkstra, "PowerExpand considered dangerous"