MathGroup Archive 2010

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

Search the Archive

Re: Working with Log


PowerExpand[Log[a b c]]

log(a)+log(b)+log(c)

% //. Log[x_] + Log[y_] -> Log[x*y]

log(a b c)


Bob Hanlon

---- Themis Matsoukas <tmatsoukas at me.com> wrote: 

=============
I can use PowerExapnd to expand a Log:

PowerExpand[Log[a b]]

Log[a] + Log[b]

How can I do the opposite, i.e. combine Log[a] + Log[b] into Log[a b]?

Thanks

Themis




  • Prev by Date: Re: FindRoots?
  • Next by Date: Is it possible?
  • Previous by thread: Working with Log
  • Next by thread: Re: Working with Log