Questions tagged [linear-diophantine-equations]

Diophantine equations where all of the terms are monomials of degree zero or one. For example, finding all integers $x$ satisfying $ax = b$, finding all integers $x,y$ such that $ax + by = c$, or finding all integers $x,y,z$ such that $ax + by + cz = d$. Probably appropriate with (elementary-number-theory).

A linear diophantine equation is a diophantine equation (see ) where all of the terms are monomials of degree zero or one.

For example, some linear diophantine equation problems are:

  • Finding all integers $x$ satisfying $ax = b$.

  • Finding all integers $x,y$ such that $ax + by = c$.

  • Finding all integers $x,y,z$ such that $ax + by + cz = d$.

The equation $ax \equiv b \pmod{n}$ may also be thought of as a linear diophantine equation. If we like, we may write it as $ax = b + yn$.

We may also have a system of such equations. For example, the Chinese remainder theorem asserts a unique solution $x$ mod $mn$ to the equations $x \equiv a \pmod{m}$ and $x \equiv b \pmod{n}$ when $m$ and $n$ are relatively prime.

More generally, every system of linear Diophantine equations may be solved by computing the Smith normal form of its matrix, in a way that is similar to the use of the reduced row echelon form to solve a system of linear equations over a field.

For reference, see linear diophantine equations on Wikipedia.

286 questions
5
votes
3 answers

Solving $\frac{a_1}{1!}-\frac{a_2}{2!}+\frac{a_3}{3!}=\frac{1}{3}$

Solve $$\frac{a_1}{1!}-\frac{a_2}{2!}+\frac{a_3}{3!}=\frac{1}{3}$$ where $a_1,a_2,a_3$ are positive integers. By trial and error, I found $a_1=1$, $a_2=5$, $a_3=11$. I ask if there are others solutions. Thanks.
1
vote
0 answers

minimum solutions for linear Diophantine equation in n variables

As we know for the most simple Diophantine equation $ax+by=1$ for positive $a,b$ if $1\le x\le b-1$ then $-(a-1)\le y\le -1$ but what if we have n variables and not just two , if equation be equals to 1 could we form smallest boundaries for each…
ssd
  • 11
1
vote
1 answer

Linear Diophantine using substitution $15x+16y=17$

I'm not sure what part went wrong if someone could point out. I did the question again with Euclidean algorithm and got answers $x=-17+16t$ and $y=17-15t$, so with that in mind, this is what I did $16y \equiv 17\pmod{15}$ $16y \equiv 32\pmod{15}$ $y…
beepboop
  • 119
1
vote
5 answers

An equation in two variables?

Given 13x + 35y = 2000. How do I find positive integer solutions for this equation (without hit and trial). My work :- I know I can use Bezout's Theorem to find integer solutions to this equation if I have first solution (x., y.). But I just want…
UT's
  • 31
1
vote
0 answers

Solvability of linear diophantine equations over a polynomial ring

I am trying to decide whether following diophantine equation over $\mathbb{Q}[x]$ are solvable: (a) $p(x^2 − 1) + q(x^2 + 2x + 1) + r(x^2 − 2x + 1) = x^2 + 1$ (b) $p(x^3 − 1) + q(x^4 − 1) = x^2 − 1$ For either, I get for example…
monoid
  • 608
0
votes
0 answers

Can linear diophantine equation be extended with coefficients infinitely?

That's the linear diophantine equation: $Ax + By = c$ where $A,B,x,y,c \in Z$ We can represent A and B as below: $GCD(A,B) = g$ $A = k_1*g$ $B= k_2*g$ So we can represent original equation like this: $k_1*g*x + k_2 * g*y = c$ If we divide both sides…
0
votes
1 answer

Expressing difference of squares as diophantine equation

I have a function defined by $f=(2c-1)^2-2b^2$. I want to express this in the form of a linear diophantine equation. I tried $f_1=8m\pm 1$ for some $m$, but it unfortunately does not work since for example $f=65$ never occurs for any value of $b$ or…
RTn
  • 299
0
votes
1 answer

How can I solve equations of the form $xy-k(x+y)=0$ where $k\geq 0$ where $x,y\in \mathbb{Z}$

Given $xy-k(x+y)=0$ where $k\geq 0\space where\space x,y\in \mathbb{Z} $ I know this is a diophantine equation which I have read about earlier. My attempt : $(x-k)\cdot(y-k)=k^2$ $\implies \space (x,y) \in {all \space factors \space of \space…
Saradamani
  • 1,579
0
votes
1 answer

Number of non-negative integer constraint solutions to simple linear equations

Suppose we want to find the number of non-negative integral solutions to the equation: $$x_1 + x_2+ x_3 = m$$ where we have $x_i \le L_i, i\ge2$ I found the solution as: $$\sum_{x_2=0}^{L_2} \sum_{x_3=0}^{L_3} \frac{m!}{x_2!x_3!(m-x_2-x_3)!}$$ My…
Truth-seek
  • 1,427
0
votes
0 answers

Does this involve solving a linear diophantine equation?

I'm not sure whether this is strictly a question about solving diophantine equations... Consider the linear diophantine equation: $$a_1x_1+a_2x_2+\cdots+a_kx_k = d$$ I know a solution to the equation exists and I know the values of $a_1, ... a_k$. I…
0
votes
0 answers

On distinct integer set.

All numbers here are integers. If $gcd(a,b)=1$ then if $(x_0,y_0)\neq(x_1,y_1)$ with $0
user257494
-2
votes
2 answers

Solve This Diophantine Equation : $11x+13y$=$1000$ where $(x,y)$ belongs to positive integers .

Please help me solve this Diophantine Equation : $11x+13y$=$1000$ where $(x,y)$ belongs to positive integers .
-2
votes
3 answers

Find the number of solutions.

Find the number of solutions $(x,y,z)$ of the equation $x+y+z=10$,where each of $x$,$y$,and $z$ is a positive integer.