Difference between revisions of "Factor Command"

From GeoGebra Manual
Jump to: navigation, search
m (changed CAS syntax description)
(add Factor[number])
Line 8: Line 8:
 
{{hint|1=
 
{{hint|1=
 
In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] you can also use the following syntax:
 
In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] you can also use the following syntax:
 +
;Factor[ <Number> ]
 +
:Expresses a number in its prime factorization
 +
:{{example| 1=<div><code><nowiki>Factor[360]</nowiki></code> yields ''2³ 3² 5''.</div>}}
 
;Factor[ <Expression>, <Variable> ]
 
;Factor[ <Expression>, <Variable> ]
 
:Factors an expression with respect to a given variable.
 
:Factors an expression with respect to a given variable.

Revision as of 17:46, 20 May 2017


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.


Note Hint: In the Menu view cas.svg CAS View you can also use the following syntax:
Factor[ <Number> ]
Expresses a number in its prime factorization
Example:
Factor[360] yields 2³ 3² 5.
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 -(y - x) (y + x), 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