Well, I have a typo even in the first example :( My starting point was $4nyz + 2n(y + z) + n - 4wx - 2(w + x) ? 1 = 0$ for odd $n$.
Thomas (Feb 08 '12) I'd like to explore the solutions of a multilinear diophantine equation like $12(yz) + 6(y+z) +2 -4xw -2(w+x) = 0$. In particular I'd like to generate instances of solutions. I tried the function solve like: which gives me the not particularly useful output: I'd like to generate some actual quadruples that solve this equation or possibly investigate the structure more. Is there some systematic way to do this? In particular, when playing around with coefficients, is there a test of existence of an integer solution? Edit: I had typos in the first version, I edited the equation. |
This is NOT a 'real' answer - achrzesz had the real idea. Maybe he should post it for credit. This is just it in Sage. You may ask why we need the dummy equation This does not answer the question of how to treat this as a non-linear Diophantine equation. I seem to recall that this is undecidable, but maybe I'm misinterpreting your question. You can always just do something really naive like loop through all integers. I don't know that we have anything more efficient that that for integers. |
You can divide by $2$ and solve for $w$. So the set of all solutions is parametrized by $(x,y,z)\in\mathbb{Z}^3$ arbitrary. |
Asked: Feb 06 '12
Seen: 577 times
Last updated: Feb 08 '12
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.
Is this helpful?
sage: maxima('solve(12(yz) + 6(y+x) +2 -4xy -2(w+x) = 0, [x,y,z,w])').sage()
[[x == r1, y == r2, z == r3, w == -(2r1 - 3)r2 + 6r2r3 + 2*r1 + 1]]
achrzesz (Feb 06 '12)Hmm, but those are real solutions, not integer, though in this case it looks like it will work if you use all integers.
kcrisman (Feb 06 '12)