Difference between revisions of "Pell's equation (simple solutions)"
(→Pythagorean triangles with almost equal legs) |
(→Equation for binomial coefficients) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 124: | Line 124: | ||
==Equation of the form <math>x^2 - 3y^2 = - 1</math>== | ==Equation of the form <math>x^2 - 3y^2 = - 1</math>== | ||
− | Prove that the equation <math>x^2 | + | Prove that the equation <math>x^2 - 3y^2 = -1</math> have not any solution. |
<i><b>Proof</b></i> | <i><b>Proof</b></i> | ||
Line 134: | Line 134: | ||
'''vladimir.shelomovskii@gmail.com, vvsss''' | '''vladimir.shelomovskii@gmail.com, vvsss''' | ||
− | ==Equation of the form <math>x^2 | + | ==Equation of the form <math>x^2 - 2y^2 = 7</math>== |
− | Prove that all positive integer solutions of the equation <math>x^2 | + | Prove that all positive integer solutions of the equation <math>x^2 - 2y^2 = 7</math> can be found using recursively transformation |
+ | <cmath>\[ \begin{cases} x_{i+1} &= 3 x_i + 4 y_i ,\\ | ||
+ | y_{i+1} &= 2 x_i + 3 y_i . \end{cases} \]</cmath> | ||
+ | of the pares <math>\{x_1, y_1\} = \{3,1\}</math> and <math>\{\hat{x}_1, \hat{y}_1 \} = \{5,3\}</math>. | ||
<i><b>Proof</b></i> | <i><b>Proof</b></i> | ||
<math>\boldsymbol{a.}</math> Let integers <math>(x_i, y_i)</math> are the solution of the equation <math>\hspace{10mm} x_i^2 - 2 y_i^2 = 7,</math> | <math>\boldsymbol{a.}</math> Let integers <math>(x_i, y_i)</math> are the solution of the equation <math>\hspace{10mm} x_i^2 - 2 y_i^2 = 7,</math> | ||
− | <cmath>\ | + | <cmath>\[ \begin{cases} x_{i+1} &= 3 x_i + 4 y_i ,\\ |
− | + | y_{i+1} &= 2 x_i + 3 y_i . \end{cases} \]</cmath> | |
− | + | ||
− | \end{ | ||
Then <cmath>x_{i+1}^2 - 2 y_{i+1}^2 = (3 x_i + 4 y_i)^2 - 2 (2 x_i + 3 y_i)^2 = x_i^2 - 2 y_i^2 = 7.</cmath> | Then <cmath>x_{i+1}^2 - 2 y_{i+1}^2 = (3 x_i + 4 y_i)^2 - 2 (2 x_i + 3 y_i)^2 = x_i^2 - 2 y_i^2 = 7.</cmath> | ||
Line 158: | Line 160: | ||
<math>\hat {x}_i^2 - 2 \hat {y}_i^2 = 7.</math> Let | <math>\hat {x}_i^2 - 2 \hat {y}_i^2 = 7.</math> Let | ||
− | <cmath>\ | + | |
− | + | <cmath>\[ \begin{cases} \hat{x}_{i+1} &= 3 \hat{x}_i - 4 \hat{y}_i ,\\ | |
− | + | \hat{y}_{i+1} &= - 2 \hat{x}_i + 3 \hat{y}_i . \end{cases} \]</cmath> | |
− | \end{ | + | |
then <cmath>\hat{x}_{i+1}^2 - 2 \hat{y}_{i+1}^2 = (3 \hat{x}_i - 4 \hat{y}_i)^2 - 2 (-2 \hat{x}_i + 3 \hat{y}_i)^2 = \hat{x}_i^2 - 2 \hat{y}_i^2 = 7,</cmath> | then <cmath>\hat{x}_{i+1}^2 - 2 \hat{y}_{i+1}^2 = (3 \hat{x}_i - 4 \hat{y}_i)^2 - 2 (-2 \hat{x}_i + 3 \hat{y}_i)^2 = \hat{x}_i^2 - 2 \hat{y}_i^2 = 7,</cmath> | ||
therefore integers <math>( \hat{x}_{i+1}, \hat{y}_{i+1})</math> are the solution of the given equation. | therefore integers <math>( \hat{x}_{i+1}, \hat{y}_{i+1})</math> are the solution of the given equation. | ||
Line 183: | Line 185: | ||
\end{array}</cmath> | \end{array}</cmath> | ||
'''vladimir.shelomovskii@gmail.com, vvsss''' | '''vladimir.shelomovskii@gmail.com, vvsss''' | ||
+ | |||
==Equation of the form <math>x^2 - xy - y^2 = 1</math>== | ==Equation of the form <math>x^2 - xy - y^2 = 1</math>== | ||
Prove that all positive integer solutions of the equation <math>x^2 - xy - y^2 = 1</math> are <math>\{x_i, y_i \} = \{F_{2i +1}, F_{2i}\}.</math> They can be found using recursively transformation <math>y_{i+1} = x_i + y_i , x_{i+1} = 2x_i + y_i = y_{i+1} + x_i </math> of the pares <math>\{x_0, y_0\} = \{1,0\}.</math> | Prove that all positive integer solutions of the equation <math>x^2 - xy - y^2 = 1</math> are <math>\{x_i, y_i \} = \{F_{2i +1}, F_{2i}\}.</math> They can be found using recursively transformation <math>y_{i+1} = x_i + y_i , x_{i+1} = 2x_i + y_i = y_{i+1} + x_i </math> of the pares <math>\{x_0, y_0\} = \{1,0\}.</math> | ||
<i><b>Proof</b></i> | <i><b>Proof</b></i> | ||
− | <cmath>x^2 - xy - y^2 = 1 \implies 4x^2 - 4xy + y^2 - 5y^2 = 1 \implies (2x+y)^2 | + | <cmath>x^2 - xy - y^2 = 1 \implies 4x^2 - 4xy + y^2 - 5y^2 = 1 \implies (2x+y)^2 - 5y^2 = 1.</cmath> |
− | Let the pare of the positive integers <math>(x_i, y_i)</math> be the solution of given equation <math> x_i^2 - x_i y_i - y_i^2 = 1</math> and < | + | Let the pare of the positive integers <math>(x_i, y_i)</math> be the solution of given equation <math> x_i^2 - x_i y_i - y_i^2 = 1</math> and |
− | <cmath>x_{i+1}^2 | + | <cmath>\[ \begin{cases} x_{i+1} &= 2x_i + y_i ,\\ |
+ | y_{i+1} &= x_i + y_i . \end{cases} \]</cmath> | ||
+ | Then | ||
+ | <cmath>x_{i + 1}^2 - x_{i + 1} y_{i + 1} - y_{i + 1}^2 = x_i^2 - x_i y_i - y_i^2 = 1.</cmath> | ||
<cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | <cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | ||
& & & & & & & & \\ [-2ex] | & & & & & & & & \\ [-2ex] | ||
Line 199: | Line 205: | ||
'''vladimir.shelomovskii@gmail.com, vvsss''' | '''vladimir.shelomovskii@gmail.com, vvsss''' | ||
+ | |||
==Equation of the form <math>x^2 - xy - y^2 = -1</math>== | ==Equation of the form <math>x^2 - xy - y^2 = -1</math>== | ||
− | Prove that all positive integer solutions of the equation <math>x^2 - xy - y^2 = -1</math> are <math>\{x_i, y_i \} = \{F_{2i}, F_{2i-1}\}.</math> They can be found using recursively transformation < | + | Prove that all positive integer solutions of the equation <math>x^2 - xy - y^2 = -1</math> are <math>\{x_i, y_i \} = \{F_{2i}, F_{2i-1}\}.</math> They can be found using recursively transformation |
+ | <cmath>\[ \begin{cases} x_{i+1} &= 2x_i + y_i = y_{i+1} + x_i,\\ | ||
+ | y_{i+1} &= x_i + y_i . \end{cases} \]</cmath> | ||
+ | of the pares <math>\{x_0, y_0\} = \{1,1\} = \{F_1, F_2 \}.</math> | ||
<cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | <cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | ||
& & & & & & & & \\ [-2ex] | & & & & & & & & \\ [-2ex] | ||
Line 210: | Line 220: | ||
'''vladimir.shelomovskii@gmail.com, vvsss''' | '''vladimir.shelomovskii@gmail.com, vvsss''' | ||
+ | |||
==Equation of the form <math>x^2 - 5y^2 = 4</math>== | ==Equation of the form <math>x^2 - 5y^2 = 4</math>== | ||
Prove that all positive integer solutions of the equation <math>x^2 - 5y^2 = 4</math> are <cmath>\{x_i, y_i \} = \{F_{2i+1} + F_{2i - 1}, F_{2i}\}.</cmath> | Prove that all positive integer solutions of the equation <math>x^2 - 5y^2 = 4</math> are <cmath>\{x_i, y_i \} = \{F_{2i+1} + F_{2i - 1}, F_{2i}\}.</cmath> | ||
− | It is clear that solutions can be found using recursively transformation | + | It is clear that solutions can be found using recursively transformation |
− | <cmath>x_{i+1} = \frac {3x_i }{2}+ \frac {5y_i }{2}, y_{i+1} = \frac {x_i }{2}+ \frac {3y_i }{2} </cmath> | + | <cmath>\[ \begin{cases} x_{i+1} = \frac {3x_i }{2}+ \frac {5y_i }{2},\\ |
+ | y_{i+1} = \frac {x_i }{2}+ \frac {3y_i }{2} \end{cases} \]</cmath> | ||
of the pare <math>\{x_1, y_1\} = \{3, 1\} = \{F_3 +F_1, F_2\}.</math> | of the pare <math>\{x_1, y_1\} = \{3, 1\} = \{F_3 +F_1, F_2\}.</math> | ||
One can use the small transform for understanding | One can use the small transform for understanding | ||
− | <cmath>x_{i+1} - y_{i+1} = x_i + y_i = (x_i - y_i) + 2y_i \Rightarrow 2F_{2i+1} = 2F_{2i-1} + 2F_{2i}, x_1-y_1 = 2F_1.</cmath> | + | <cmath>x_{i + 1} - y_{i + 1} = x_i + y_i = (x_i - y_i) + 2y_i \Rightarrow 2F_{2i+1} = 2F_{2i-1} + 2F_{2i}, x_1-y_1 = 2F_1.</cmath> |
− | <cmath>y_{i+1} = \frac {x_i - y_i}{2}+ 2 y_i \Rightarrow F_{2i +2} = F_{2i-1} + 2F_{2i} = F_{2i+1} + F_{2i}, y_1 = F_2.</cmath> | + | <cmath>y_{i + 1} = \frac {x_i - y_i}{2}+ 2 y_i \Rightarrow F_{2i +2} = F_{2i-1} + 2F_{2i} = F_{2i+1} + F_{2i}, y_1 = F_2.</cmath> |
<cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | <cmath>\begin{array}{c|c|c|c|c|c|c|c|c} | ||
& & & & & & & & \\ [-2ex] | & & & & & & & & \\ [-2ex] | ||
Line 236: | Line 248: | ||
<cmath>xy=(x-y+1) \cdot (x-y) \implies x^2 -3xy +y^2 +x - y = 0.</cmath> | <cmath>xy=(x-y+1) \cdot (x-y) \implies x^2 -3xy +y^2 +x - y = 0.</cmath> | ||
It is known that every real quadratic form under a linear change of variables may be transformed in a "diagonal form". | It is known that every real quadratic form under a linear change of variables may be transformed in a "diagonal form". | ||
− | <cmath>(x + \frac {1}{5})^2 + (y - \frac {1}{5})^2 - 3 (x + \frac {1}{5})(y - \frac {1}{5}) | + | <cmath>(x + \frac {1}{5})^2 + (y - \frac {1}{5})^2 - 3 (x + \frac {1}{5})(y - \frac {1}{5}) = \frac {1}{5},</cmath> |
− | <cmath>(5y - 1)^2 - 5 (2x - 3y + 1)^2 = - 4</cmath> | + | <cmath>(5y - 1)^2 - 5 (2x - 3y + 1)^2 = - 4,</cmath> |
<cmath>u = 5y - 1, v = 2x - 3y + 1 \implies u^2 - 5 v^2 = - 4 \implies</cmath> | <cmath>u = 5y - 1, v = 2x - 3y + 1 \implies u^2 - 5 v^2 = - 4 \implies</cmath> | ||
− | <cmath>u_i = 5y_i - 1 = F_{2i} + F_{2i - 2}, | + | |
+ | <cmath>\[ \begin{cases} u_i = 5y_i - 1 = F_{2i} + F_{2i - 2},\\ | ||
+ | v_i = 2x_i - 3y_i + 1 = F_{2i-1}. \end{cases} \]</cmath> | ||
<cmath>y_i = \frac {F_{2i} + F_{2i - 2} + 1}{5} = \frac {L_{2i - 1} + 1}{5},</cmath> where L is Lucas number, | <cmath>y_i = \frac {F_{2i} + F_{2i - 2} + 1}{5} = \frac {L_{2i - 1} + 1}{5},</cmath> where L is Lucas number, | ||
<math>L_0 = 2, L_1 = 1, L_i = F_{i-1} + F_{i+1} = L_i + L_{i - 1}.</math> | <math>L_0 = 2, L_1 = 1, L_i = F_{i-1} + F_{i+1} = L_i + L_{i - 1}.</math> | ||
− | It is clear that | + | It is clear that <cmath>\{L_i \} = \{2,1,3,4,\hspace{5mm} 7,11,18,29, \hspace{5mm} 47,...\}</cmath> |
− | <cmath> | + | <cmath>\{L_i \pmod 5 \} = \{2,1,3,4, \hspace{5mm} 2,1,3,4,\hspace{5mm} 2,...\}</cmath> |
− | <cmath> | + | <cmath>L_i \pmod 5 = (L_{i-1} \pmod 5 + L_{i-2} \pmod 5 ) \pmod 5 = L_{i+4} \pmod 5,</cmath> |
− | + | so sequence of Lucas numbers modulo <math>5</math> is periodic, the period is <math>4,</math> and the numbers with index <math>4i-1</math> (only these numbers) are <math>4</math> modulo <math>5.</math> | |
− | |||
− | <cmath> | ||
− | |||
− | Therefore numbers <cmath>y_i = \frac {F_{4i} + F_{4i – 2} + 1}{5}</cmath> are integer. | + | Therefore only numbers <cmath>y_i = \frac {F_{4i} + F_{4i – 2} + 1}{5}</cmath> are integer. |
− | We | + | We use the identities <cmath>F_{2i-1}^2- F_{2i} \cdot F_{2i-2} = 1, F_{4i} = F_{2i} (F_{2i+1} + F_{2i-1}), |
F_{4i – 2} = F_{2i-1}(2F_{2i} - F_{2i-1})</cmath> and get <cmath>y_i = F_{2i} F_{2i-1}.</cmath> | F_{4i – 2} = F_{2i-1}(2F_{2i} - F_{2i-1})</cmath> and get <cmath>y_i = F_{2i} F_{2i-1}.</cmath> | ||
− | We | + | We use the identities <cmath>F_{4i-1}= F_{2i}^2 + F_{2i-1}^2, F_{2i-1}^2 - F_{2i} \cdot F_{2i-2} = 1,</cmath> |
and get | and get | ||
<cmath>x_i = \frac{ 3y_i - 1 + F_{4i-1}}{2} = \frac{ F_{2i}(3F_{2i-1} + F_{2i} +F_{2i-2})}{2} = F_{2i} \cdot F_{2i+1}.</cmath> | <cmath>x_i = \frac{ 3y_i - 1 + F_{4i-1}}{2} = \frac{ F_{2i}(3F_{2i-1} + F_{2i} +F_{2i-2})}{2} = F_{2i} \cdot F_{2i+1}.</cmath> |
Latest revision as of 07:28, 20 April 2023
Pell's equation is any Diophantine equation of the form where is a given positive nonsquare integer, and integer solutions are sought for and
Denote the sequence of solutions It is clear that
During the solution we need:
a) to construct a recurrent sequence
b) to prove that the equation has no other integer solutions.
Contents
Equation of the form
Prove that all positive integer solutions of the equation can be found using recursively transformation of the pare
Proof
Let integers are the solution of the equation
Then
Therefore integers are the solution of the given equation. If then
Suppose that the pare of the positive integers is the solution different from founded in
Let
then therefore integers are the solution of the given equation.
Similarly
There is no integer solution if is impossible. So
There is no member in the sequence hence it is infinitely decreasing sequence of natural numbers. There is no such sequence. Contradiction.
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation can be found using recursively transformation of the pare In another form
Proof
It is the form of Pell's equation, therefore
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation can be found using recursively transformation of the pare
Proof
The solution is similar to that discussed in the previous section.
vladimir.shelomovskii@gmail.com, vvsss
Pythagorean triangles with almost equal legs
Find all triangles with integer sides one leg of which is more than the other.
Find all natural solutions of the equation
Solution
All positive integer solutions of the equation can be found using recursively transformation of the pare
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that the equation have not any solution.
Proof
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation can be found using recursively transformation of the pares and .
Proof
Let integers are the solution of the equation
Then
Therefore integers are the solution of the given equation. The pare of the positive integers is the solution different from founded in
Let
then therefore integers are the solution of the given equation.
Similarly
If then
There is no member in the sequence hence it is infinitely decreasing sequence of natural numbers. There is no such sequence. Contradiction.
We need to check (no solution), but gives the integer solution, so there is the second sequence of the integer solutions vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation are They can be found using recursively transformation of the pares
Proof Let the pare of the positive integers be the solution of given equation and Then
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation are They can be found using recursively transformation of the pares
vladimir.shelomovskii@gmail.com, vvsss
Equation of the form
Prove that all positive integer solutions of the equation are It is clear that solutions can be found using recursively transformation of the pare
One can use the small transform for understanding
vladimir.shelomovskii@gmail.com, vvsss
Equation for binomial coefficients
Find all positive integer solutions of equation
Solution It is known that every real quadratic form under a linear change of variables may be transformed in a "diagonal form".
where L is Lucas number, It is clear that so sequence of Lucas numbers modulo is periodic, the period is and the numbers with index (only these numbers) are modulo
Therefore only numbers are integer.
We use the identities and get
We use the identities and get
vladimir.shelomovskii@gmail.com, vvsss