MathGroup Archive 2006

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

Search the Archive

Re: Composition of series

Geico Caveman wrote:
> I am trying to compose two series with Mathematica :
> One is f1(x) = ...
> The other is x(y) = ...
> ComposeSeries quits complaining that the expansion point of the first series
> is different from the constant term of the second series
> (ComposeSeries::scmp). What I am really trying to do here is to express f
> (x) as a series in Log[x] (x is strictly greater than zero), so the second
> series is simply the series expansion of Exp[y].
> Mathematically, what is the problem with even attempting this operation ?
> Can't I replace x by log(z) in the first series, no matter what ?

Can't you just do:

f[Exp[y]]+O[y]^5 /. y->Log[x]

For example:

Sin[Exp[y]] + O[y]^3 /. y -> Log[x]

Sin[1]+Cos[1] Log[x]+1/2 (Cos[1]-Sin[1]) (Log[x])^2+(O[Log[x]])^3

Carl Woll
Wolfram Research

  • Prev by Date: Re: Writing prime factor decomposision in conventional form
  • Next by Date: Re: About subscripts
  • Previous by thread: Composition of series
  • Next by thread: Re: Composition of series