MathGroup Archive 2010

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

Search the Archive

Re: Working with Log

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112102] Re: Working with Log
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 31 Aug 2010 04:14:17 -0400 (EDT)

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