Diophantine equations

A Diophantine equation is any equation of the form

f(x1,x2,x3,,xn)=0f(x_1, x_2, x_3, \dots, x_n) = 0

where:

  • ff is a polynomial with integer coefficients,

  • the variables x1,x2,,xnx_1, x_2, \dots, x_n are required to take integer values,

  • and usually n1n \geq 1 (not necessarily n2n \geq 2).

If ff is polynomial with integer coefficients, then it is called an algebraic Diophantine equation.


Ex:
Determine the number of integers 'n' for which n^2 + 19n + 92 is square.
Let n^2 + 19n + 92 = k^2
n^2 + 2.(19/2).n + 92 = k^2
(19/2)^2 = 361/4
92 - 361/4 = 7/4
=> 
n^2 + 2.(19/2).n + 361/4 + 7/4 = k^2
=> (n + 19/2)^2 = k^2 - 7/4
=> (2n + 19)^2 = 4k^2 - 7
=> 4k^2 - (2n + 19)^2 = 7
=> (|2k| + |2n + 19|)
(|2k| - |2n + 19|) = 7
First factor is bigger so:
|2k| + |2n + 19| = 7
|2k| - |2n + 19| = 1
Add to get:
|2k| = 4 and |2n + 19| = 3
=> 2n + 19 = -+3
=> 2n = -19 -+ 3 => n = -11,-8 = Answer

Q. Find all unordered pairs of natural number, the difference of whose square is 45.
Solution:
a^2 - b^2 = 45
(a + b)(a - b) = 45
Here a,b are natural so no need to take modulus like the last question.
a+b is the bigger factor, so:
a + b = 45, a - b = 1 => a = 23, b = 22
a + b = 15, a - b = 3 => a = 9, b = 6
a + b = 9, a - b = 5 => a = 7, b = 2
Rest of the solutions would just flip a,b and the question says unordered so we just have these 3 answers.

Ex. Find all positive integers 'n' such that n^2 + 96 = perfect square.
Solution:
k^2 - n^2 = 96
(|k| + n)(|k| - n) = 96
Factor pair: 96,1 no solution as k,n should be integers.
Factor pair: 48,2 n = 23.
Factor pair: 32,3 not integer.
Factor pair: 24,4 n = 10.
Factor pair: 16,6 n = 5.

Total 4 answers.

Ex. 

Find all the positive integers x,y,zx, y, z satisfying

xyzyzxzxy=5xyz.x^{\,y^{z}} \cdot y^{\,z^{x}} \cdot z^{\,x^{y}} = 5xyz.

Solution:
Divide both sides by xyz to get:
x^(y^z - 1).y
^(z^x - 1).z^(x^y - 1) = 5
Since every term is integer => there are 3 ways to distribute integer factors across these 3 terms:
5,1,1
1,5,1
1,1,5
We can solve for one case and rest will be similar.
x^(y^z - 1) = 5 => x = 5, y^z - 1 = 1 => y^z = 2 => y = 2, z = 1
x = 5, y = 2, z = 1 which can be verified by putting these in the original equation.
Similarly other solutions will be:
y = 5, z = 2, x =1
z = 5, x = 2, y = 1.



Ex:

x+y=7\sqrt{x} + y = 7 x+y=11x + \sqrt{y} = 11

Find the natural numbers x,y

Solution:
x and y have to be perfect squares going by the given equations.
Let x = a^2, y = b^2.
a + b^2 = 7
a^2 + b = 11
Subtract:
a^2 - b^2 + b - a = 4
(a-b)(a + b - 1) = 4
Since both factors on LHS are integers, we can assign them factors of 4.
And a + b - 1 >= a - b so the first term will be having the bigger factor.
Case 1:
a - b = 1
a + b - 1 = 4
2a = 6 => a = 3 => b = 2

Case 2:

a - b = 2
a + b - 1 = 2
2a = 5 => a not integer. Ignore.
Answer: a = 3, b = 2




Ex: What is the largest n for which 4^27 + 4^1000 + 4^n is a perfect square?
Solution:

Answer: n=1972n = 1972



  1. Rewrite everything in powers of 2

427+41000+4n=  254+22000+22n  .4^{27}+4^{1000}+4^{n} =\;2^{54}+2^{2000}+2^{2n}\;.
  1. Factor out the smallest power of 2

Write

254+22000+22n=254(1+21946+22n54).2^{54}+2^{2000}+2^{2n} =2^{54}\Bigl(1+2^{1946}+2^{2n-54}\Bigr).

Because 2542^{54} itself is a perfect square, the whole expression is a square iff

B  =  1+21946+22n54B \;=\;1+2^{1946}+2^{2n-54}

is a perfect square.


  1. Use the only way three powers of 2 plus 1 form a square

A classical (and easily proved) identity tells us

(2k+1)2  =  1+2k+1+22k.\bigl(2^{k}+1\bigr)^2 \;=\;1+2^{k+1}+2^{2k}.

Thus the only chance for BB to be a square is to match
1+2k+1+22k1+2^{k+1}+2^{2k}.

So we must have the set of exponents {0,  k+1,  2k}\{\,0,\;k+1,\;2k\,\} equal to
{0,  1946,  2n54}\{\,0,\;1946,\;2n-54\,\}.


  1. Match the exponents — two possible cases

Which exponent is largest? Conditions that arise Value of nn
219462^{1946} largest (2n5419462n-54\le 1946) 2k=1946    k=9732k=1946\;\Rightarrow\;k=973 and k+1=2n54k+1 = 2n-54 2n54=974    n=5142n-54 = 974 \;\Rightarrow\; n=514
22n542^{2n-54} largest (2n5419462n-54\ge 1946) 2k=2n54    k=n272k = 2n-54 \;\Rightarrow\; k = n-27 and k+1=1946k+1 = 1946 n27=1945    n=1972n-27 = 1945 \;\Rightarrow\; n=1972

No other match is possible, so the only admissible nn are 514514 and 19721972.


  1. Take the largest

n=1972.\boxed{n=1972}.

(A quick check: with n=1972n=1972 the bracket becomes 1+21946+23890=(21945+1)21+2^{1946}+2^{3890}=(2^{1945}+1)^2, exactly a perfect square, confirming the result.)

Comments

Popular posts from this blog

IOQM 2024 Paper solutions (Done 1-21, 29)

Combinatorics DPP - RACE 6 - Q16 pending discussion

IOQM 2023 solutions