Difference between revisions of "Factor Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|algebra}} | {{command|algebra}} | ||
{{Alternate Language|region=US|page_type=Command|US_version=Factor|UK_version=Factorise|Aus_version=Factorise}} | {{Alternate Language|region=US|page_type=Command|US_version=Factor|UK_version=Factorise|Aus_version=Factorise}} | ||
− | + | ;Factor[ <Polynomial> ] | |
− | ; Factor[Polynomial]: Factors the polynomial. | + | :Factors the polynomial. |
− | : {{ | + | :{{example| 1=<div><code><nowiki>Factor[x^2 + x - 6]</nowiki></code> yields ''f(x) = (x-2)(x+3)''.</div>}} |
− | |||
==CAS view== | ==CAS view== | ||
− | + | ;Factor[ <Polynomial> ] | |
− | ; Factor[Polynomial]: Factors the polynomial. | + | :Factors the polynomial. |
− | :{{ | + | :{{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. | ||
+ | :{{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>}} |
Revision as of 11:35, 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.