Difference between revisions of "Simplify Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|algebra}}
 
{{command|algebra}}
; Simplify[Function]: Simplifies the terms of the given function, if possible.
+
; Simplify[ <Function>]
<div class="note">
+
:Simplifies the terms of the given function, if possible.
:{{Example| 1=<br/><code>Simplify[x + x + x]</code> gives you a function ''f(x) = 3x''.}}
+
:{{example| 1=<div><code><nowiki>Simplify[x + x + x]</nowiki></code> yields the function ''f(x) = 3x''.</div>}}
; 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.
:{{Example| 1=<br/> for ''a=b=c=-1'' <code>Simplify["f(x) = "+a+"x²+"+b+"x+"+c]</code> returns "f(x)=-x^2-x-1".}}
+
:{{example| 1=<div>For ''a=b=c=-1'' <code><nowiki>Simplify["f(x) = " + a + "x² + " + b + "x + " + c]</nowiki></code> yields "f(x)=-x^2 - x - 1".</div>}}
{{Note| The [[FormulaText Command]] normally produces better results and is simpler.}}
+
:{{note| 1=The [[FormulaText Command]] normally produces better results and is simpler.}}
 
 
 
== CAS Syntax ==
 
== CAS Syntax ==
; Simplify[Function]: Simplifies the terms of the given function, if possible. Undefined variables can be included in the terms.  
+
;Simplify[ <Function> ]
<div class="note">
+
:Simplifies the terms of the given function, if possible. Undefined variables can be included in the terms.  
:{{Example| 1=<br/><code>Simplify[3*x+4*x+a*x]</code> gives you ''x*(a+7)''.
+
:{{example| 1=<div><code><nowiki>Simplify[3 * x + 4 * x + a * x]</div></code> yields ''x*(a+7)''.</div>}}
}}
 

Revision as of 10:56, 25 August 2011


Simplify[ <Function>]
Simplifies the terms of the given function, if possible.
Example:
Simplify[x + x + x] 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 "f(x)=-x^2 - x - 1".
Note: The FormulaText Command normally produces better results and is simpler.

CAS Syntax

Simplify[ <Function> ]
Simplifies the terms of the given function, if possible. Undefined variables can be included in the terms.
Example:
<nowiki>Simplify[3 * x + 4 * x + a * x]
yields x*(a+7).
© 2024 International GeoGebra Institute