Difference between revisions of "Factor Command"
From GeoGebra Manual
Line 12: | Line 12: | ||
:{{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[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[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[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>}} | ||
+ | {{note| 1=<div> | ||
+ | See also [[CFactor Command]]. | ||
+ | </div>}} |
Revision as of 11:39, 5 August 2011
This command differs among variants of English:
|
- 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[a^2 - x^2, a]
gives (-a - x) (-a + x), the factorization of a2 - x2 with respect to a.
- Example:
Factor[a^2 - x^2, x]
gives (a + x) (a - x), the factorization of a2 - x2 with respect to x.
Note:
See also CFactor Command.