Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra >

Modulus

Modulus->n
is an option that can be given in certain algebraic functions to specify that integers should be treated modulo n.
  • Equations for Modulus can be given in Solve and related functions.
  • Arithmetic is usually done over the full ring Z of integers; setting the option Modulus specifies that arithmetic should instead be done in the finite ring Z_n.
  • The setting Modulus->0 specifies the full ring Z of integers.
  • Some functions require that Modulus be set to a prime, or a power of a prime. Z_n is a finite field when n is prime.
Solve equations:
Factor polynomials:
Compute inverse:
Compute PolynomialGCD over the integers modulo 2:
Factor a polynomial over the integers modulo 3:
Find a GroebnerBasis over the integers modulo 5:
Reduce equations over the integers modulo 7:
Compute the determinant of a matrix modulo 8:
Find a modulus for which a system of equations has a solution:
Factor a polynomial over a finite field:
Factor a polynomial over a finite Extension of rationals:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team