SIMPLIFY
Jump to navigation
Jump to search
Syntax
SIMPLIFY( equation|expression, "simplification"[;"simplification"])
Implemented in iMath since version 2.2.0 or earlier.
Explanation
Possible values for simplification are:
expandFully expands all expressions, including function arguments.expandfOnly expand function definition, not arguments.evalNumerically evaluate the equation as far as possible.normalNormalize the equation (see description of GiNaC normal() method for details).collect-commonCollect common factors (see description of GiNaC collect_common_factors() method for details).unsafeDoes unsafe simplifications, for examplesqrt{x^2} => xor\arctan\tan{x} => x. Note that the opposite\tan\arctan{x} => xis not an unsafe evaluation and is thus done automatically (by GiNaC).ignore-unitsRemoves units from certain functions, so that scientific formulas evaluate properly. Currently only units in the arguments oflogandlnare handled.diffEvaluates differential function diff, thus symbolically calculating differentials as far as possible.cancel-diffDissolve all derivatives into fractions of single differentials, and cancel numerators and denominators wherever possible. A typical use would be integration by separation of the variables.sumEvaluates sum functions, thus symbolically calculating sums as far as possible.gather-sqrtGathers single square roots under one root symbol.integrateSymbolically integrates any integrals in the expression as far as possible.
Example
See also
{{{4}}}