Akiva's question at Yahoo Answers regarding a Diophantine equation

  • MHB
  • Thread starter MarkFL
  • Start date
In summary, a Diophantine equation is an algebraic equation that involves finding integer solutions for variables. Akiva, a user on Yahoo Answers, asked about a specific Diophantine equation. These equations have real-world applications and are important for developing reasoning skills. They can be solved using various techniques, but there is no general method. Some famous examples include Fermat's Last Theorem and the Beal Conjecture.
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

X^2 + 1 = 2y^2 Diophantine equation?

I've been thinking about what whole numbers x and y satisfy:
x^2 + 1 = 2y^2

I know that (1, 1) works, as do (7, 5) and (41, 29), but I want a formula that gives me the next one, or any given one. What's the pattern?

The question is equivalent to asking which triangular numbers are twice other ones (the first three are (0, 0), (3, 2) (3rd is 6, 2nd is 3), and (20, 14)), and which right triangles with integer legs have one leg 1 unit longer than the other (first three triplets are (0, 1, 1), (3, 4, 5), (20, 21, 29)).

I'm not sure how to solve it. Which numbers x and y satisfy it? Is there an equation to find, say, the 20th x and y? Are there an infinite number of pairs that satisfy it, or just a few? Please help.

I have posted a link there to this topic so the OP can see my work.
 
Mathematics news on Phys.org
  • #2
Hello Akiva,

The Diophantine equation you are considering is closely related to Pell's equation.

You have made the astute observation that the solutions to this equation are related to Pythagorean triples where the legs differ by 1. You may find http://www.mathhelpboards.com/f49/pell-sequence-2905/ to be of interest.

Okay, you have found the solutions:

$(x,y)=(1,1),\,(7,5),\,(41,29)$

At this point, we could hypothesize that $x$ and $y$ can be given recursively with:

\(\displaystyle S_{n+1}=6S_{n}-S_{n-1}\)

which leads to the characteristic equation:

\(\displaystyle r^2-6r+1=0\)

which has the roots:

\(\displaystyle r=3\pm2\sqrt{2}=\left(1\pm\sqrt{2} \right)^2\)

and so we know the closed form is:

\(\displaystyle S_n=k_1\left(1-\sqrt{2} \right)^{2n}+k_2\left(1+\sqrt{2} \right)^{2n}\)

Next, we may using the initial values for each sequence to determine the parameters.

For $x_n$, we may use:

\(\displaystyle x_1=k_1\left(1-\sqrt{2} \right)^{2}+k_2\left(1+\sqrt{2} \right)^{2}=1\)

\(\displaystyle x_2=k_1\left(1-\sqrt{2} \right)^{4}+k_2\left(1+\sqrt{2} \right)^{4}=7\)

This gives rise to the system:

\(\displaystyle 3\left(k_1+k_2 \right)+2\sqrt{2}\left(k_2-k_1 \right)=1\)

\(\displaystyle 17\left(k_1+k_2 \right)+12\sqrt{2}\left(k_2-k_1 \right)=7\)

Multiplying the first equation by $-6$, then adding, we get:

\(\displaystyle -k_1-k_2=1\,\therefore\,k_1=-1-k_2\)

Substituting into the first equation for $k_1$, there results:

\(\displaystyle -3+2\sqrt{2}\left(2k_2+1 \right)=1\)

Solving for $k_2$, we find:

\(\displaystyle k_2=\frac{\sqrt{2}-1}{2}\)

Thus:

\(\displaystyle k_1=-1-\frac{\sqrt{2}-1}{2}=-\frac{\sqrt{2}+1}{2}\)

and so we find:

\(\displaystyle x_n=-\frac{\sqrt{2}+1}{2}\left(1-\sqrt{2} \right)^{2n}+\frac{\sqrt{2}-1}{2}\left(1+\sqrt{2} \right)^{2n}\)

\(\displaystyle x_n=\frac{1}{2}\left(\left(\sqrt{2}-1 \right)\left(1+\sqrt{2} \right)^{2n}-\left(\sqrt{2}+1 \right)\left(1-\sqrt{2} \right)^{2n} \right)\)

For $y_n$, we may use:

\(\displaystyle y_1=k_1\left(1-\sqrt{2} \right)^{2}+k_2\left(1+\sqrt{2} \right)^{2}=1\)

\(\displaystyle y_2=k_1\left(1-\sqrt{2} \right)^{4}+k_2\left(1+\sqrt{2} \right)^{4}=5\)

This gives rise to the system:

\(\displaystyle 3\left(k_1+k_2 \right)+2\sqrt{2}\left(k_2-k_1 \right)=1\)

\(\displaystyle 17\left(k_1+k_2 \right)+12\sqrt{2}\left(k_2-k_1 \right)=5\)

Multiplying the first equation by $-6$, then adding, we get:

\(\displaystyle -k_1-k_2=-1\,\therefore\,k_1=1-k_2\)

Substituting into the first equation for $k_1$, there results:

\(\displaystyle 3+2\sqrt{2}\left(2k_2-1 \right)=1\)

Solving for $k_2$, we find:

\(\displaystyle k_2=\frac{\sqrt{2}-1}{2\sqrt{2}}\)

Thus:

\(\displaystyle k_1=1-\frac{\sqrt{2}-1}{2\sqrt{2}}=\frac{\sqrt{2}+1}{2\sqrt{2}}\)

and so we find:

\(\displaystyle y_n=\frac{\sqrt{2}+1}{2\sqrt{2}}\left(1-\sqrt{2} \right)^{2n}+\frac{\sqrt{2}-1}{2\sqrt{2}}\left(1+\sqrt{2} \right)^{2n}\)

\(\displaystyle y_n=\frac{1}{2\sqrt{2}}\left(\left(\sqrt{2}+1 \right)\left(1-\sqrt{2} \right)^{2n}+\left(\sqrt{2}-1 \right)\left(1+\sqrt{2} \right)^{2n} \right)\)

So, in summary, we find an infinite number of solution pairs, given:

i) recursively:

\(\displaystyle x_{n+1}=6x_{n}-x_{n-1}\) where \(\displaystyle x_1=1,\,x_2=7\)

\(\displaystyle y_{n+1}=6y_{n}-y_{n-1}\) where \(\displaystyle y_1=1,\,x_2=5\)

ii) closed form:

\(\displaystyle x_n=\frac{1}{2}\left(\left(\sqrt{2}-1 \right)\left(1+\sqrt{2} \right)^{2n}-\left(\sqrt{2}+1 \right)\left(1-\sqrt{2} \right)^{2n} \right)\)

\(\displaystyle y_n=\frac{1}{2\sqrt{2}}\left(\left(\sqrt{2}+1 \right)\left(1-\sqrt{2} \right)^{2n}+\left(\sqrt{2}-1 \right)\left(1+\sqrt{2} \right)^{2n} \right)\)
 

Related to Akiva's question at Yahoo Answers regarding a Diophantine equation

1. What is a Diophantine equation?

A Diophantine equation is a polynomial equation with integer coefficients that has the form of finding integer solutions for variables. In other words, it is an algebraic equation that requires the values of the variables to be whole numbers.

2. Who is Akiva and what was their question about a Diophantine equation?

Akiva is a user on Yahoo Answers who posted a question about a specific Diophantine equation. Their question was about finding the solutions for the equation 3x + 5y = 7.

3. Why are Diophantine equations important?

Diophantine equations have been studied for centuries as they have many real-world applications, especially in fields like cryptography, number theory, and engineering. They also provide a valuable tool for developing logical and mathematical reasoning skills.

4. How are Diophantine equations solved?

There is no general method for solving Diophantine equations, as it depends on the specific equation. Some equations can be solved by trial and error, while others require more complex techniques such as modular arithmetic, algebraic number theory, or computer algorithms.

5. Are there any famous Diophantine equations?

Yes, there are many famous Diophantine equations, such as Fermat's Last Theorem, which states that no three positive integers a, b, and c satisfy the equation an + bn = cn for any integer value of n greater than 2. Another famous example is the Beal Conjecture, which is still an unsolved problem stating that no three positive integers a, b, and c satisfy the equation an + bn = cn for any integer values of n, a, b, and c greater than 2.

Similar threads

Replies
4
Views
834
  • General Math
Replies
3
Views
1K
  • General Math
Replies
4
Views
916
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Replies
8
Views
2K
Replies
12
Views
7K
Replies
4
Views
1K
Replies
4
Views
1K
Replies
19
Views
6K
  • General Math
Replies
24
Views
2K
Back
Top