next up previous contents index
suivant: Expand powers : powexpand monter: Exponentials and Logarithms précédent: Linearize exponentials : lin   Table des matières   Index


Collect logarithms : lncollect

lncollect takes as argument an expression with logarithms.
lncollect collects the logarithms (rewrites sum of ln as ln of products). It may be a good idea to factor the expression with factor before collecting by lncollect).
Input :
lncollect(ln(x+1)+ln(x-1))
Output :
log((x+1)*(x-1))
Input :
lncollect(exp(ln(x+1)+ln(x-1)))
Output :
(x+1)*(x-1)
Warning!!! For Xcas, log=ln (use log10 for 10-base logarithm).



giac documentation written by Renée De Graeve and Bernard Parisse