Difference between revisions of "Factor Command"
From GeoGebra Manual
m |
|||
Line 5: | Line 5: | ||
: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>}} | :{{example| 1=<div><code><nowiki>Factor[x^2 + x - 6]</nowiki></code> yields ''f(x) = (x-2)(x+3)''.</div>}} | ||
− | ==CAS | + | ==CAS Syntax== |
;Factor[ <Polynomial> ] | ;Factor[ <Polynomial> ] | ||
:Factors the polynomial. | :Factors the polynomial. |
Revision as of 12:17, 9 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 Syntax
- Factor[ <Polynomial> ]
- Factors the polynomial.
- Example:
Factor[x^2 - y^2]
yields (x + y) (x - y).
- Factor[ <Expression>, <Variable> ]
- 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.