Difference between revisions of "Expand Command"

From GeoGebra Manual
Jump to: navigation, search
m (applied <tt> formatting)
(command syntax: changed [ ] into ( ))
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|algebra}}
; Expand[Function]: Multiplies out bracketed factors of the expression by applying the distributive property to factors in parentheses and combining like factors.
+
;Expand( <Expression> )
: Example: <tt>Expand[(x + 3)(x - 4)]</tt> yields ''f(x) = x<sup>2</sup> - x - 12''.
+
: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>.}}
 +
{{note| 1=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|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