solve equations for integer solutions - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Numbers : Integer Functions : isolve

isolve - solve equations for integer solutions

Calling Sequence

isolve(eqns, vars)

Parameters

eqns

-

set of equations or single equation, or inequalities

vars

-

(optional) set of variables or a variable

Description

• 

The procedure isolve solves the equations in eqns over the integers. It solves for all of the indeterminates occurring in the equations.

• 

The optional second argument vars is used to name global variables that have integer values and occur in the solution, and if there is only one argument, then the global names _Z1, _Z2, and so forth, are used. For non-negative solutions, _NN1, _NN2, and so forth, are used. This has been introduced since Release 5.1 which used to use _N1 in order to make the behavior similar to that of solve.

• 

It returns the NULL value if either there are no integer solutions or Maple is unable to find the solutions.

• 

The isolve command has some limited ability to deal with inequalities.

Examples

isolve3x4y=7

x=5+4_Z1,y=2+3_Z1

(1)

isolve3x4y=7,a

x=5+4a,y=2+3a

(2)

isolve3x4y=7,x+y=14

x=9,y=5

(3)

NULL is returned if Maple is unable to find any integer solutions.

isolvex2=3

solve4xy=7,x+2y=8

x=229,y=259

(4)

isolve4xy=7,x+2y=8

The following homogeneous polynomial in x, y, z has genus 0.

isolvey4z2y23xzy2x3z

x=_Z3_Z12_Z12_Z22igcd_Z12_Z12_Z22,_Z13_Z2,_Z24,y=_Z3_Z13_Z2igcd_Z12_Z12_Z22,_Z13_Z2,_Z24,z=_Z3_Z24igcd_Z12_Z12_Z22,_Z13_Z2,_Z24

(5)

isolvey4z2y23xzy2x3z,a,b,c

x=ca2a2b2igcda2a2b2,a3b,b4,y=ca3bigcda2a2b2,a3b,b4,z=cb4igcda2a2b2,a3b,b4

(6)

isolvec&equals;d&comma;d&equals;1&comma;b1&comma;b0&comma;a<1&comma;a0

a&equals;0&comma;b&equals;0&comma;c&equals;1&comma;d&equals;1&comma;a&equals;0&comma;b&equals;1&comma;c&equals;1&comma;d&equals;1

(7)

See Also

allvalues, assign, dsolve, fsolve, Groebner, invfunc, isolate, LinearAlgebra[LinearSolve], match, msolve, RootOf, rsolve, simplex, solve, solve[identity]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam