Difference between revisions of "Expand Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|algebra}}
{{command|algebra}}
+
;Expand( <Expression> )
;Expand[ <Function> ]
+
:Expands the expression.
:Expands the function expression.
+
:{{example|1=<code><nowiki>Expand((2 x - 1)^2 + 2 x + 3)</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.}}
{{example|1=<code>Expand[(2x - 1)² + 2x + 3]</code> returns the expression ''4x² - 2x + 4''.}}
+
{{note| 1=This command needs to load the Computer Algebra System, so can be slow on some computers. Try using the [[Polynomial Command]] instead.}}
  
This command works in [[CAS-View]] too.
+
==CAS Syntax==
 +
;Expand( <Expression> )
 +
:Expands the expression.
 +
:{{example|1=<code><nowiki>Expand((2 x - 1)^2 + 2 x + 3)</nowiki></code> yields <math>4 x^2 - 2 x + 4</math>.}}

Latest revision as of 12:48, 5 October 2017


Expand( <Expression> )
Expands the expression.
Example: Expand((2 x - 1)^2 + 2 x + 3) yields 4 x^2 - 2 x + 4.
Note: This command needs to load the Computer Algebra System, so can be slow on some computers. Try using the Polynomial Command instead.

CAS Syntax

Expand( <Expression> )
Expands the expression.
Example: Expand((2 x - 1)^2 + 2 x + 3) yields 4 x^2 - 2 x + 4.
© 2024 International GeoGebra Institute