0

So I think I found these $$27y + 23 = 32x$$ $$81y + 85 = 128x$$ in a text-book or something, and it was a graphing problem. (These are not simultaneous equations, they are separate.)

I tried to find integer solutions to this and after putting in some numbers I still couldn't find any.

I used some graphing software and still could not find any integer solutions for $x, y \in \Bbb Z$.

So I wonder, do any solutions exist? But more importantly, is there a technique for checking if equations like these actually have integer solutions, if so what is the technique.

This isn't overly important, but if there was such a technique that would be helpful.

Thank you.

Roskiller
  • 617
  • The linear equations determine two straight lines of different slopes that must intersect in exactly one point. Solve for that point and see if it just happens to have integer components. – David G. Stork Jul 24 '18 at 12:07
  • No sorry they are not simultaneous. – Roskiller Jul 24 '18 at 12:08
  • 1
    If they are not simultaneous equations you work on each one separately with the extended Euclidean algorithm https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm (the way the powers of $2$ and $3$ determine the coefficients says that there will be solutions. – Ethan Bolker Jul 24 '18 at 12:09
  • @DavidG.Stork you misread the post, that's two separate Diophantine equations. – Arnaud Mortier Jul 24 '18 at 12:09
  • Try solving it @roskiller, then verify if the solutions are whole numbers or not. – Ahmad Bazzi Jul 24 '18 at 12:09
  • So are there any solutions to this? I looked at the other question and that did not really answer my question. Are there solutions to this specific example? – Roskiller Jul 24 '18 at 12:19
  • Hint: if the coefficients of $x$ and $y$ have a common divisor that does not divide the independent term, there can't be any solution. –  Jul 24 '18 at 12:22

2 Answers2

2

By the Bézout identity, these two equations do have solutions.

The criterion for existence is that the $\gcd$ of the coefficients of $x$ and $y$ must divide the constant term.


By the way,

$$27\cdot11+23=32\cdot10,$$

$$81\cdot59+85=128\cdot38.$$

0

You may write $x={27y+23\over 32}$ and observe whether $27y+23$ is divisible by $32$.
Now, $x=y+1-({5y+9\over 32})$ which gives $5y+9$ should be divisible by $32$. Now observe that $5y$ ends with $5$ or $0$. That means $5y+9$ either is of form $10k+4$ or $10k+9$. We know that some multiples of $32$ end with $4$. Hence there are whole number solutions.