Difference between revisions of "Simplify Command"
From GeoGebra Manual
m (moved note upwards) |
|||
Line 3: | Line 3: | ||
;Simplify[ <Function> ] | ;Simplify[ <Function> ] | ||
:Simplifies the terms of the given function, if possible. | :Simplifies the terms of the given function, if possible. | ||
− | :{{example| 1=<code><nowiki>Simplify[x + x + x]</ | + | :{{example| 1=<code><nowiki>Simplify[x + x + x]</code></nowiki> yields the function ''f(x) = 3x''.}} |
;Simplify[ <Text> ] | ;Simplify[ <Text> ] | ||
:Attempts to tidy up text expressions by removing repeated negatives etc. | :Attempts to tidy up text expressions by removing repeated negatives etc. |
Revision as of 14:09, 27 August 2014
- Simplify[ <Function> ]
- Simplifies the terms of the given function, if possible.
- Example:
<nowiki>Simplify[x + x + x]
</nowiki> yields the function f(x) = 3x.
- Simplify[ <Text> ]
- Attempts to tidy up text expressions by removing repeated negatives etc.
- Example: For a = b = c = -1
Simplify["f(x) = " + a + "x² + " + b + "x + " + c]
yields the text f(x) = -x^2 - x - 1.
- Note:
- The FormulaText Command normally produces better results and is simpler.
- This command needs to load the Computer Algebra System, so can be slow on some computers. Try using the Polynomial Command instead.
CAS Syntax
- Simplify[ <Function> ]
- Simplifies the terms of the given function, if possible. Undefined variables can be included in the terms.
- Example:
Simplify[3 * x + 4 * x + a * x]
yields xa + 7x.
- Note: See also Factor Command.