MathGroup Archive 2007

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

Search the Archive

Re: Re: Re: Simplifying Log[a] + Log[expr_] -

>> You can use a rule to bring everything under one Log:
>> LogZusammenRule={
>>   n_. Log[a_]+m_. Log[b_]:>Log[a^n b^m],
>>   n_. Log[a_]-m_. Log[b_]:>Log[a^n/b^m],
>>   a_ Log[b_]:>Log[b^a] };
>  ComplexExpand[-2*Log[-2*((R + x)^2 + y^2 + (z - zvar)^2)] +
>   2*Log[(R + x)^2 + y^2 + (z - zvar)^2]]
>  -2*I*Pi - 2*Log[2]

Thanks everyone. I view the rules as brute force (but that 
is a matter of taste, not a disparaging comment on the 
useful help). In the complexexpand example, I had to do this:
to get the result that I wanted (which was Sqrt[-1] Pi)

  • Prev by Date: Help notebook style in Mathematica 6.0
  • Next by Date: Re: Functions with data hidden in them
  • Previous by thread: Re: Re: Simplifying Log[a] + Log[expr_] - Log[2 expr_]: Brute force necessary?
  • Next by thread: Re: Rotate a 2D graph