Difference between revisions of "Factors Command"

From GeoGebra Manual
Jump to: navigation, search
m (typo)
Line 3: Line 3:
 
;Factors[ <Polynomial> ]:Returns list of lists ''{factor,exponent}'' such that product of all these factors raised to corresponding exponents equals the given polynomial.  
 
;Factors[ <Polynomial> ]:Returns list of lists ''{factor,exponent}'' such that product of all these factors raised to corresponding exponents equals the given polynomial.  
 
{{Note|Not all of the factors are irreducible over the reals.}}
 
{{Note|Not all of the factors are irreducible over the reals.}}
{{Example|
+
{{Example| <code>Factors[x^8-1]</code> returns ''{{x-1,1},{x+1,1},{x^2+1,1},{x^4+1,1}}''.}}
* <code>Factors[x^8-1]</code> returns ''{{x-1,1},{x+1,1},{x^2+1,1},{x^4+1,1}}''.
 
 
{{description}}
 
{{description}}
 
;Factors[ <Number> ]:Returns list of lists ''{prime,exponent}'' such that product of all these primes raised to corresponding exponents equals the given number. Primes are sorted in ascending order.
 
;Factors[ <Number> ]:Returns list of lists ''{prime,exponent}'' such that product of all these primes raised to corresponding exponents equals the given number. Primes are sorted in ascending order.

Revision as of 17:22, 28 February 2011



Factors[ <Polynomial> ]
Returns list of lists {factor,exponent} such that product of all these factors raised to corresponding exponents equals the given polynomial.
Note: Not all of the factors are irreducible over the reals.
Example: Factors[x^8-1] returns {{x-1,1},{x+1,1},{x^2+1,1},{x^4+1,1}}.


Factors[ <Number> ]
Returns list of lists {prime,exponent} such that product of all these primes raised to corresponding exponents equals the given number. Primes are sorted in ascending order.
Example:
  • Factors[1024] returns {{2,10}}, because 1024=210.
  • Factors[42] returns {{2,1},{3,1},{7,1}}, because 42=213171.
© 2024 International GeoGebra Institute