log(x^2) -> 2 log(x)



On Mon, May 24, 2010 at 7:52 PM, Raymond Toy <toy.raymond at gmail.com> wrote:

> On 5/24/10 9:04 PM, John Lapeyre wrote:

>> ?(%i1) log(x^2)
>> ?(%o1) ?2 log(x)
>>
>> Which is true for real, positive x, but not for negative x,
>> or other complex values.
>>
>> Shouldn't this only simplify this way if x>0 ?
>>
> Probably.

Agreed. John, can you please file a bug report about it.

Robert Dodier