WOLFRAM LANGUAGE TUTORIAL
|Simplify[expr]||try various algebraic and trigonometric transformations to simplify an expression|
|FullSimplify[expr]||try a much wider range of transformations|
The Wolfram Language does not automatically simplify an algebraic expression like this.
performs standard algebraic and trigonometric simplifications.
It does not, however, do more sophisticated transformations that involve, for example, special functions.
Here is an expression involving trigonometric functions and square roots.
|try to simplify expr, working for at most t seconds on each transformation|
|use only the functions fi in trying to transform parts of expr|
|use built‐in transformations as well as the fi|
|Simplify[expr,ComplexityFunction->c] and FullSimplify[expr,ComplexityFunction->c]|
|simplify using c to determine what form is considered simplest|
Further control of simplification.
In both Simplify and FullSimplify there is always an issue of what counts as the "simplest" form of an expression. You can use the option ComplexityFunction->c to provide a function to determine this. The function will be applied to each candidate form of the expression, and the one that gives the smallest numerical value will be considered simplest.
With its default definition of simplicity, Simplify
leaves this unchanged.
This now tries to minimize the number of elements in the expression.