Difference between revisions of "Factor Command"

From GeoGebra Manual
Jump to: navigation, search
m (moved note upwards)
m
Line 4: Line 4:
 
;Factor[ <Polynomial> ]
 
;Factor[ <Polynomial> ]
 
:Factors the polynomial.
 
:Factors the polynomial.
:{{example| 1=<div><code><nowiki>Factor[x^2 + x - 6]</nowiki></code> yields ''(x + 3) (x - 2)''.</div>}}
+
:{{example| 1=<div><code><nowiki>Factor[x^2 + x - 6]</nowiki></code> yields ''(x - 2) (x + 3)''.</div>}}
 
{{note| 1=This command needs to load the Computer Algebra System, so can be slow on some computers.}}
 
{{note| 1=This command needs to load the Computer Algebra System, so can be slow on some computers.}}
  

Revision as of 11:08, 23 July 2015



Factor[ <Polynomial> ]
Factors the polynomial.
Example:
Factor[x^2 + x - 6] yields (x - 2) (x + 3).
Note: This command needs to load the Computer Algebra System, so can be slow on some computers.

CAS Syntax

Factor[ <Polynomial> ]
Factors the polynomial.
Example:
Factor[x^2 - y^2] yields (x + y) (x - y).
Factor[ <Expression>, <Variable> ]
Factors an expression with respect to a given variable.
Example:
  • Factor[x^2 - y^2, x] yields (x + y) (x - y), the factorization of x2 - y2 with respect to x,
  • Factor[x^2 - y^2, y] yields (-x - y) (-x + y), the factorization of x2 - y2 with respect to y.
Note: This command factors expressions over the Rational Numbers. To factor over irrational real numbers, see the IFactor Command. To factor over complex numbers, see the CFactor Command and CIFactor Command.
© 2024 International GeoGebra Institute