combine/ln
combine logarithmic terms
Calling Sequence
Parameters
Description
Examples
combine(f, ln)
combine(f, ln, t)
combine(f, ln, t, m)
f
-
any expression
t
type
m
the name 'symbolic'
In the case combine(f, ln), expressions involving sums of logarithms are combined by applying the following transformations:
alnx→lnxaprovideda⋅argumentx=argumentxa
lnx+lny→lnxyprovidedargumentxy=argumentx+argumenty
lnx−lny→lnxyprovidedargumentxy=argumentx−argumenty
where the coefficient a must be a rational constant and the argument of x and y must be in the region where this transformation is valid, unless 'symbolic' is specified.
In the case combine(f, ln, t), the first transformation is done if the coefficient a is of type t, and the third if the coefficient -1 is of type t. Often it is useful to restrict the transformation to be done only if a is an integer instead of a rational. Also, by specifying the type anything, the transformation is done in all valid cases, provided of course that the coefficient a itself is not a logarithm.
combine3ln2−2ln3,ln
6ln23233
combinealnx+3lnx−ln1−x+ln1+x2,ln
alnx+3lnx+ln1+x−ln1−x
assumea,real;assume0<x
a~lnx~−ln1−x~x~31+x~
combinealnx+3lnx−ln1−x+ln1+x2,ln,integer
a~lnx~+ln1+x~2−ln1−x~x~3
combinealnx+3lnx−ln1−x+ln1+x2,ln,anything
−ln1−x~x~a~x~31+x~
additionallyx,RealRange0,1
lnx~a~x~31+x~1−x~
combineblny+3lny−ln1−y+ln1+y2,ln,anything,symbolic
lnyby31+y1−y
See Also
additionally
assume
combine
ln
Download Help Document