log(x^2) plot



On 01/02/2013 12:09 PM, Jo?o Vieira Gomes wrote:
> When I tried to plot log(x^2), maxima make the simplification 2log(x) and
> produces its graph. Those 2 functions are not equal because they do not have
> the same domain. How can we do to plot log(x^2) in maxima?

One way to do this is to set logexpand to false, like:

plot2d(log(x^2),[x,-5,5]),logexpand:false$

> Thanks,
> Jo?o
> 

Cheers,
Kris Katterjohn