For integer n or rational n with an odd denominator, Maxima's general simplifier does (a*b)^n --> a^n * b^n. Other than turning off all simplifications, there is no way
to prevent this simplification. Even if you wrote a function that did (a*b)^n --> a^n * b^n, the general simplifier would undo this transformation for integer n or rational
n with an odd denominator.
For other exponents, I know of no built in function that does (a*b)^n --> a^n * b^n. Depending on your needs, maybe a visual inspection
along with a substitution would work for you; for example
(%i51) ratsubst((a*b)^n, a^n * b^n, (1 + 2 * z^2013 * a^n * b^n)/(1 + a^n * b^n));
(%o51) (2*(a*b)^n*z^2013+1)/((a*b)^n+1)
--Barton
________________________________
From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on behalf of Ralf Stephan [gtrwst9 at gmail.com]
Sent: Sunday, September 08, 2013 03:38
To: maxima at math.utexas.edu
Subject: a^n*b^n => (ab)^n
Hello,
I could not find this in the manual: how to force a common base of powers for identical exponent.
C
?an you please help?
Regards,
ralf?
--
Ce sont les microbes, qui auront le dernier mot. (Pasteur)