Error, (in simplify/do) invalid simplification command
Description
Examples
The simplify command is used to apply simplification rules to an expression.
The Error, (in simplify/do) invalid simplification command message occurs when arguments passed to simplify do not comply with a valid calling sequence.
Example 1
In this instance, the arguments do not match any of the valid calling sequences of simplify.
simplifyx2,x=y
Solution 1:
Enclose the equation x=y in a set.
y2
Solution 2:
For a direct substitution, you can also use the eval command.
evalx2,x=y
Example 2
Here, eqn provides a side relation that should be used when simplifying the expression expr. The side relations passed to simplify must be a set or list of equations. For more information on side relations, see simplify/siderels.
eqn≔sinx2+cosx2=1
eqn:=sin⁡x2+cos⁡x2=1
expr≔sinx3−11 sinx2cosx+3 cosx3−sinxcosx+2
expr:=sin⁡x3−11⁢sin⁡x2⁢cos⁡x+3⁢cos⁡x3−sin⁡x⁢cos⁡x+2
simplifyexpr,eqn;
Solution: Enclose the equation in a set.
2−sin⁡x⁢cos⁡x+14⁢cos⁡x3−11⁢cos⁡x+sin⁡x−sin⁡x⁢cos⁡x2
See Also
eval
simplify
simplify/siderels
Download Help Document