Freeks/pell.book(保存済みの内容) … 編集へ / ファイル一覧へ

ページ 3 / 14 … 1 2 3 4 5 … 14 … ← 前のページ … 次のページ →


3 #39 Pell's equation

Natural number solutions of Pell's equation \(x^2 - Dy^2 = 1\). If there is a smallest solution (the fundamental solution) with \(y \neq 0\), namely \((a, b)\), then all solutions are obtained by the recurrence \(x_{n+1} = a x_n + D b\, y_n,\ y_{n+1} = b x_n + a\, y_n\). (The existence of the fundamental solution itself is not shown in this book.)
Outline of the proof: divide a solution \((x, y)\) by the "inverse" of the fundamental solution to descend to a smaller solution \((x', y')\) (strong induction on \(y\)). The descent needs the order of squares of natural numbers (\(u \le v \iff u^2 \le v^2\)).

3.1 Order of squares

For natural numbers \(u, v\), \(u \le v\) and \(u^2 \le v^2\) are equivalent (used in the descent of Pell solutions).
Lsqa … \(u , v \in \mathbb{M} , u \le v \Longrightarrow u \cdot u \le v \cdot v\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅0X
Lsqb … \(u , v \in \mathbb{M} , v < u \Longrightarrow v \cdot v < u \cdot u\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅0X
Lsqc … \(u , v \in \mathbb{M} , u \cdot u \le v \cdot v \Longrightarrow u \le v\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅0X
Lsqd … \(u , v \in \mathbb{M} , u \cdot u < v \cdot v \Longrightarrow u < v\) \(\blacktriangleleft\) \(\mathbb{W}.\) ,Axℤ ,⋅0X

3.2 Generating solutions

From the smallest natural number solution of \(x^2 - Dy^2 = 1\) with \(y \neq 0\), namely \((a, b)\) (the fundamental solution), all solutions are obtained by \(x_{n+1} = a x_n + D b\, y_n,\ y_{n+1} = b x_n + a\, y_n\). First, all \((x_n, y_n)\) of this recurrence are solutions.
Pell𝕄 … \(\begin{cases} f ( 0 ) = 1 \\ g ( 0 ) = 0 \\ n \in \mathbb{M} \Longrightarrow f ( n + 1 ) = a \cdot f ( n ) + ( D \cdot b ) \cdot g ( n ) \\ n \in \mathbb{M} \Longrightarrow g ( n + 1 ) = b \cdot f ( n ) + a \cdot g ( n ) \end{cases}\)
Lpell1 … \(D , a , b \in \mathbb{M} , a \cdot a = D \cdot ( b \cdot b ) + 1 , n \in \mathbb{M} \Longrightarrow f ( n ) \in \mathbb{M} , g ( n ) \in \mathbb{M} , f ( n ) \cdot f ( n ) = D \cdot ( g ( n ) \cdot g ( n ) ) + 1\) \(\blacktriangleleft\) Pell𝕄 ,\(\mathbb{W}.\) ,Axℤ ,⋅0X

3.3 All solutions are obtained

Divide a solution \((x, y)\) (\(y \neq 0\)) by the "inverse" of the fundamental solution \((a, b)\): \(x' = ax - Dby,\ y' = ay - bx\). If \(b \le y\), then \(x', y'\) are natural numbers and \((x', y')\) is also a solution, with \(y' < y\). Repeat this by strong induction on \(y\).
Lpell2 … \(D , a , b \in \mathbb{M} , a \cdot a = D \cdot ( b \cdot b ) + 1 , b \neq 0 , \forall x \in \mathbb{M} . \forall y \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 , y \neq 0 \Longrightarrow b \le y ) \Longrightarrow \forall y \in \mathbb{M} . \forall x \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 \Longrightarrow \exists n \in \mathbb{M} . x = f ( n ) , y = g ( n ) )\) \(\blacktriangleleft\) Pell𝕄 ,\(\mathbb{W}.\) ,Axℤ ,⋅0X

3.4 Main theorem

If there is a fundamental solution \((a, b)\) (the solution with \(b \neq 0\) and smallest \(y\)), the natural number solutions of \(x^2 = Dy^2 + 1\) are exactly all \((x_n, y_n)\) of the recurrence. (The existence of the fundamental solution itself is not shown here.)
\(D , a , b \in \mathbb{M} , a \cdot a = D \cdot ( b \cdot b ) + 1 , b \neq 0 , \forall x \in \mathbb{M} . \forall y \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 , y \neq 0 \Longrightarrow b \le y ) \Longrightarrow \forall x \in \mathbb{M} . \forall y \in \mathbb{M} . ( x \cdot x = D \cdot ( y \cdot y ) + 1 \Longleftrightarrow \exists n \in \mathbb{M} . x = f ( n ) , y = g ( n ) )\) \(\blacktriangleleft\) Pell𝕄 ,\(\mathbb{W}.\) ,Axℤ ,⋅0X

ページ 3 / 14 … ← 前のページ … 次のページ →