Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Simplify Log[ab] - Log[b] to Log[a] ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16058] Re: Simplify Log[ab] - Log[b] to Log[a] ?
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Tue, 23 Feb 1999 03:45:17 -0500
  • Organization: University of Western Australia
  • References: <7ao3po$rv0@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Simon Allfrey wrote:
 
> How do I persuade Mathematica to simplify
> 
> Log[a b] - Log[b] to Log[a]?
> 
> when processing algebraic expressions?

Use PowerExpand:

In[1]:= Log[a b] - Log[b]//PowerExpand
Out[1]= Log[a]

As another example,

In[2]:= Log[a b/c] - Log[b]//PowerExpand
Out[2]= Log[a] - Log[c]

Cheers,
	Paul

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia           
Nedlands WA  6907                     mailto:paul at physics.uwa.edu.au 
AUSTRALIA                        http://www.physics.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Change Rank in Compile
  • Next by Date: Re: Must Play[] generate a graphic?
  • Previous by thread: Re: Simplify Log[ab] - Log[b] to Log[a] ?
  • Next by thread: RE: Re: Simplify Log[ab] - Log[b] to Log[a] ?