Difference between revisions of "Factor Command"

From GeoGebra Manual
Jump to: navigation, search
Line 10: Line 10:
 
:{{example|1=<div><code><nowiki>Factor[x^2 - y^2]</nowiki></code> yields ''(x + y) (x - y)''.</div>}}
 
:{{example|1=<div><code><nowiki>Factor[x^2 - y^2]</nowiki></code> yields ''(x + y) (x - y)''.</div>}}
 
:Factorizes an expression with respect to a given variable.
 
:Factorizes an expression with respect to a given variable.
:{{example|1=<div><code><nowiki>Factor[a^2 - x^2, a]</nowiki></code> gives ''(-a - x) (-a + x)'', the factorization of ''a<sup>2</sup> - x<sup>2</sup>'' with respect to ''a''.</div>}}
+
:{{example|1=<div><code><nowiki>Factor[x^2-y^2, x]</nowiki></code> gives ''(x + y) (x - y)'', the factorization of ''x<sup>2</sup> - y<sup>2</sup>'' with respect to ''x''.</div>}}
:{{example|1=<div><code><nowiki>Factor[a^2 - x^2, x]</nowiki></code> gives ''(a + x) (a - x)'', the factorization of ''a<sup>2</sup> - x<sup>2</sup>'' with respect to ''x''.</div>}}
+
:{{example|1=<div><code><nowiki>Factor[x^2-y^2, y]</nowiki></code> gives ''(-x - y) (-x + y)'', the factorization of ''x<sup>2</sup> - y<sup>2</sup>'' with respect to ''y''.</div>}}
 
{{note| 1=<div>
 
{{note| 1=<div>
 
See also [[CFactor Command]].
 
See also [[CFactor Command]].
 
</div>}}
 
</div>}}

Revision as of 11:43, 5 August 2011


Factor[ <Polynomial> ]
Factors the polynomial.
Example:
Factor[x^2 + x - 6] yields f(x) = (x-2)(x+3).

CAS view

Factor[ <Polynomial> ]
Factors the polynomial.
Example:
Factor[x^2 - y^2] yields (x + y) (x - y).
Factorizes an expression with respect to a given variable.
Example:
Factor[x^2-y^2, x] gives (x + y) (x - y), the factorization of x2 - y2 with respect to x.
Example:
Factor[x^2-y^2, y] gives (-x - y) (-x + y), the factorization of x2 - y2 with respect to y.
Note:

See also CFactor Command.

© 2024 International GeoGebra Institute