MathGroup Archive 2001

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

Search the Archive

Re: combining Log[] terms


In a message dated 2001/8/23 2:24:57 AM, nbock at acsu.buffalo.edu writes:

>Is there a function that combines terms like
>
>Log[a] - Log[b]
>
>to
>
>Log[a/b]?
>
>I couldn't find anything so far in the documentation regarding the
>Log[] function, only some references to Collect[], which does
>something similar to what I want for powers of a given expression.
>

Use a rule

Log[a] - Log[b];

% /. Log[y_] - Log[z_] -> Log[y/z]

Log[a/b]

%//PowerExpand

Log[a] - Log[b]


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: ColorFunction
  • Next by Date: Re: ColorFunction
  • Previous by thread: combining Log[] terms
  • Next by thread: RE: combining Log[] terms