4

I wonder how to simplify this expression in Maxima.

log(product (exp(-(1/%lambda)*(x[i] -\mu)^a), i, 1, n));

Edit

The following code is not simplifying the expression

expand(log(product (exp(-(1/%lambda)*(x[i] -\mu)^a), i, 1, n)));

Is there any other possibility?

I know how to solve the expression but I want to do this in Maxima.

halfer
  • 19,824
  • 17
  • 99
  • 186
MYaseen208
  • 22,666
  • 37
  • 165
  • 309

1 Answers1

5

Try ev(foo, logexpand=all) or ev(foo, logexpand=super) where foo is the product you stated. Try ? logexpand to see some documentation (incomplete, however).

Robert Dodier
  • 16,905
  • 2
  • 31
  • 48