SIMPLIFY

From iMath
Revision as of 18:27, 15 May 2017 by Jrheinlaender (talk | contribs) (Created page with "{{Keyword | <code>SIMPLIFY( equation|expression, "simplification"[;"simplification"])</code> | 2= Possible values for <code>simplification</code> are: * <code>ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

  • expand Fully expands all expressions, including function arguments.
  • expandf Only expand function definition, not arguments.
  • eval Numerically evaluate the equation as far as possible.
  • normal Normalize the equation (see description of GiNaC normal() method for details).
  • collect-common Collect common factors (see description of GiNaC collect_common_factors() method for details).
  • unsafe Does unsafe simplifications, for example sqrt{x^2} => x or \arctan\tan{x} => x. Note that the opposite \tan\arctan{x} => x is not an unsafe evaluation and is thus done automatically (by GiNaC).
  • ignore-units Removes units from certain functions, so that scientific formulas evaluate properly. Currently only units in the arguments of log and ln are handled.
  • diff Evaluates differential function diff, thus symbolically calculating differentials as far as possible.
  • cancel-diff Dissolve 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.
  • sum Evaluates sum functions, thus symbolically calculating sums as far as possible.
  • gather-sqrt Gathers single square roots under one root symbol.
  • integrate Symbolically integrates any integrals in the expression as far as possible.

Example

See also

{{{4}}}