Say I have an expression like:

y = sqrt(2) * sqrt(-x + 4)/2

and then we call powsimp(y), we get:

sqrt(-2*x + 8)/2 

is there a way to get

sqrt((-x + 4) / 2), i.e. have the denominator of the fraction be checked 
too? I tried looking at the docs but there didn't seem to be a 
simplification for this. 


My reasoning is for writing logs: if I can collect everything inside a log 
to have a power, then that power can be moved outside the log - in this 
case, log(y) would become:

log((-x + 4) / 2) / 2

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to