SolveTools
CancelInverses
normalize expression by canceling functions inverse to each other
Calling Sequence
Parameters
Description
Examples
CancelInverses(expr)
CancelInverses(expr,'safe')
expr
-
expression
'safe'
The CancelInverses command performs cancellation of the functions that are inverse to each other.
The following simplifications are made:
trigarctrigsubexpr→subexpr
arctrigtrigsubexpr→subexpr
lnⅇsubexpr→subexpr
ⅇlnsubexpr→subexpr
lnLambertWⅇsubexpr→subexpr−LambertWⅇsubexpr
ⅇinteger⁢LambertWsubexpr→subexprintegerLambertWsubexprinteger
1−sinsubexpr2→cossubexpr2
1−cossubexpr2→sinsubexpr2
subexpr12→subexpr
subexprrationalinteger→subexprrational⁢integer
Any combinations of the previous simplifications are made. Also, arctan of two arguments is simplified if it contains sin(subexpr).
Note: Not all simplifications are valid everywhere. You should be aware of this when calling CancelInverses, if option 'safe' is given, then only valid simplifications are applied.
with⁡SolveTools:
CancelInverses⁡1+exp⁡−x2
1+1ⅇx2
CancelInverses⁡arccos⁡cos⁡x−y⋅2
x−2⁢y
CancelInverses⁡tan⁡arctan⁡x−y⋅2
CancelInverses⁡ln⁡exp⁡x−y⋅2
CancelInverses⁡exp⁡ln⁡x−y⋅2
CancelInverses⁡ln⁡LambertW⁡exp⁡a+b2+c3
c3+b2+a−LambertW⁡ⅇc3+b2+a
CancelInverses⁡exp⁡LambertW⁡a+b2+c3
c3+b2+aLambertW⁡c3+b2+a
CancelInverses⁡g⁡1−cos⁡x+y+z2
g⁡sin⁡x+y+z2
CancelInverses⁡−512
I⁢5
CancelInverses⁡x⁢sin⁡x123
x⁢sin⁡x32
CancelInverses⁡exp⁡ln⁡x+ln⁡y+z+t
ⅇt⁢y+z⁢x
CancelInverses⁡exp⁡2⁢ln⁡x+3⁢ln⁡y+z−4⁢t
ⅇ−4⁢t⁢y+z3⁢x2
CancelInverses⁡exp⁡2⁢ln⁡sin⁡x
sin⁡x2
CancelInverses⁡ln⁡exp⁡c⁢kz⁢exp⁡b⁢t
z⁢c⁢k+b⁢t
CancelInverses⁡ln⁡z32⁢x
ln⁡x+3⁢ln⁡z2
CancelInverses⁡ln⁡z325⁢x
ln⁡x+15⁢ln⁡z2
CancelInverses⁡ln⁡exp⁡zcos⁡x
cos⁡x⁢z
CancelInverses⁡ln⁡sf⁡xg⁡z
g⁡z⁢f⁡x⁢ln⁡s
CancelInverses⁡xx+1ln⁡x+x−1ln⁡x
ⅇ2⁢x
CancelInverses⁡arctan⁡−sin⁡b,cos⁡b
−b
CancelInverses⁡arctan⁡cos⁡b,sin⁡b
π2−b
CancelInverses⁡ln⁡exp⁡x+cos⁡arccos⁡x
2⁢x
CancelInverses⁡ln⁡exp⁡x+cos⁡arccos⁡x,safe
ln⁡ⅇx+x
See Also
exp
SolveTools[Combine]
Download Help Document