numtheory(deprecated)
minkowski
solve Minkowski's linear forms (homogeneous diophantine approximation)
Calling Sequence
Parameters
Description
Examples
minkowski(ineqs, xvars, yvars)
minkowski(form, err)
ineqs
-
inequality or a set of inequalities with abs and/or valuep (p-adic valuation)
xvars
variable or a set of variables
yvars
form
list of lists of real numbers and/or p-adic numbers and primes
err
real number or a list of real numbers or list of positive integers
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[HomogeneousDiophantine] instead.
This function finds a solution x1,x2,…,xn,y1,…,ym over the integers to a set of inequalities of the form
|a11⁢x1⁢+…+a1n⁢xn⁢−y1|≤err1
..............
|aj1⁢x1⁢+…+ajn⁢xn⁢−yj|≤errj
valuepaj+11⁢x1⁢+…+aj+1n⁢xn⁢−yj+1,⁢pj+1≤errj+1
valuepam1⁢x1⁢+…+amn⁢xn⁢−ym,⁢pm≤errm
where 0≤j≤m.
The inequalities can be described either explicitly, corresponding to the first calling sequence shown above (see the first two examples below) or implicitly, corresponding to the second calling sequence (see the last two examples below).
If the first calling sequence is used (i.e., the inequalities are given explicitly), then the result is returned in the form
x1=...,...,xn=...,y1,...,...,ym=...
If the second calling sequence is used, the result is returned as a pair of lists, the first corresponding to the x values and the second corresponding to the y values.
The command with(numtheory,minkowski) allows the use of the abbreviated form of this command.
with⁡numtheory:
with⁡padic:
minkowski⁡abs⁡313⁢z1+π⁢z2−s2≤10−4,abs⁡exp⁡1⁢z1+212⁢z2−s1≤10−2,z1,z2,s1,s2
z1=7484,z2=−2534,s2=2833,s1=16760
minkowski⁡abs⁡exp⁡2⁢x+π⁢y+313⁢z−s≤10−5,abs⁡log⁡2⁢x+log⁡5⁢y+312⁢z−r≤10−2,valuep⁡log⁡3⁢x+log⁡7⁢y+log⁡13⁢z−u,2≤2−7,valuep⁡sin⁡5⁢x+1log⁡7⁢y+exp⁡5⁢z−v,5≤5−9,x,y,z,r,s,u,v
x=−154525,y=−165325,z=147450,s=−1448518,r=−117798,u=−52,v=14613
minkowski⁡exp⁡1,10−2
465,1264
minkowski⁡log⁡5,log⁡7,1log⁡7,log⁡11,log⁡3,exp⁡7,3,5,7,20,15,12
328700,11704900,395598,70177,−334904
See Also
isolve
NumberTheory[HomogeneousDiophantine]
numtheory(deprecated)[kronecker]
Download Help Document