What Are the Non-Negative Integer Solutions to (xy-7)² = x² + y²?

  • MHB
  • Thread starter anemone
  • Start date
In summary, the purpose of finding non-negative integer solutions to this equation is to determine all possible combinations of values for x and y that satisfy the equation. To find these solutions, we can expand, rearrange, and factor the equation. There are restrictions on the values of x and y for this equation, as they must be whole numbers and satisfy the property of a perfect square. There can be multiple solutions to this equation, which can be applied in real-life situations involving quantities related by a square, such as in geometry, physics, and coding.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Here is this week's POTW:

-----

Find all non-negative integers $x,\,y$ satisfying $(xy-7)^2=x^2+y^2$.

-----

Remember to read the https://mathhelpboards.com/showthread.php?772-Problem-of-the-Week-%28POTW%29-Procedure-and-Guidelines to find out how to https://mathhelpboards.com/forms.php?do=form&fid=2!
 
Physics news on Phys.org
  • #2
Congratulations to the following members for their correct solution!(Cool)

1. Ackbach
2. kaliprasad
3. castor28
4. MegaMoh
5. Olinguito
6. Opalg

Solution from castor28
By symmetry, we may assume that $x\le y$.

If $x=0$, we have $y=7$. Otherwise, we have a proper Pythagorean triple (and $x<y$).

The smallest Pythagorean triples are $(3,4,5)$ and $(5,12,13)$. $(3,4)$ is a solution (since $3\times4-7=5$). We claim that there are no other solutions.

If $5\le x < y$, we have $7<2y$ and $xy-7>3y$. This implies that $(xy-7)^2>9y^2$. On the other hand, since $x<y$, $x^2+y^2<2y^2$, which gives a contradiction and proves the claim.

To summarize, the only solutions are $(0,7)$, $(7,0)$, $(3,4)$ and $(4,3)$.

Alternate solution from Olinguito:
$$(xy-7)^2\ =\ x^2+y^2$$
$\implies\ (x^2-1)(y^2-1)\ =\ 7(2xy-7)+1\ \equiv\ 1\pmod7$

$\implies\ (x^2-1,y^2-1)\ \equiv\ \begin{cases}(1,1)\pmod7 \\ (2,4)\pmod7 \\ (3,5)\pmod7 \\ (4,2)\pmod7 \\ (5,3)\pmod7 \\ (6,6)\pmod7\end{cases}$.

As $n^2-1\not\equiv2,4,5\pmod7$ for any integer $n$, we simply have
$$x^2-1,y^2-1\ \equiv\ 1,6\pmod7$$
$\implies\ x,y\ \equiv\ 0,3,4\pmod7$.

The possibilities reduce to
$$\boxed{(x,y)\ =\ (0,7),(3,4),(4,3),(7,0)}$$
for it is clear that $x,y>7\ \implies\ (xy-7)^2>x^2+y^2$.

Another solution from Opalg:
The equation $(xy-7)^2=x^2+y^2$ is symmetric in $x$ and $y$, so it will be sufficient to find solutions with $0\leqslant x\leqslant y$.

If $x=0$ then the equation becomes $7^2 = y^2$, with the solution $y=7$.

If $x=1$ then it becomes $(y-7)^2 = 1 + y^2$, which simplifies to $7y = 24$, with no integer solution.

If $x=2$ then it becomes $(2y-7)^2 = 4 + y^2$, which simplifies to $3y^2 - 28y + 45 = 0$, again with no integer solutions.

If $x=3$ then it becomes $(3y-7)^2 = 9 + y^2$, which simplifies to $4y^2 - 21y + 20 = (y-4)(4y-5) = 0$, with the solution $y=4$.

Now suppose that $4\leqslant x\leqslant y$. (Notice in passing that this implies $xy\geqslant16$, which means that $xy-7$ is positive.) Then $$(xy-7)^2=x^2+y^2 < x^2 + 2xy + y^2 = (x+y)^2.$$ Take the positive square root of both sides to get $xy-7 < x+y$, from which $(x-1)(y-1) < 8$.

But if $4\leqslant x\leqslant y$ then $(x-1)(y-1) \geqslant (4-1)(4-1) = 9$. That contradicts the previous inequality, showing that that are no solutions with $4\leqslant x\leqslant y$.

In conclusion, there are four solutions of $(xy-7)^2=x^2+y^2$, namely $(x,y) = (0,7),\ (3,4),\ (4,3),\ (7,0).$
 

Related to What Are the Non-Negative Integer Solutions to (xy-7)² = x² + y²?

1. What is the equation "Non-Negative Integer Solutions to (xy-7)^2=x^2+y^2 | POTW #381 Aug 28, 2019" about?

The equation is a problem from the "Problem of the Week" series, where the goal is to find all non-negative integer solutions to the equation (xy-7)^2=x^2+y^2.

2. What does the term "non-negative integer solutions" mean?

Non-negative integer solutions refer to values for x and y that are both positive whole numbers or zero. In other words, they cannot be fractions, decimals, or negative numbers.

3. How do you solve this equation?

The equation can be solved using algebraic methods, such as factoring, completing the square, or using the quadratic formula. It can also be solved through trial and error by plugging in different values for x and y and checking if they satisfy the equation.

4. Are there any restrictions on the values of x and y?

Yes, x and y must be non-negative integers, meaning they cannot be negative numbers or fractions.

5. What is the significance of the date in the equation's title?

The date in the equation's title, "POTW #381 Aug 28, 2019," indicates that this equation was the 381st problem in the "Problem of the Week" series and was published on August 28, 2019.

Similar threads

  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Back
Top