Solve Diophantine Equation using Continued Fractions

  • Thread starter Thread starter Zurtex
  • Start date Start date
  • Tags Tags
    Fractions
Click For Summary

Homework Help Overview

The discussion revolves around solving a Diophantine equation, specifically the equation 83x + 259y = 1, using continued fractions. The subject area includes number theory and methods for finding integer solutions to linear equations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster seeks guidance on applying continued fractions to solve the given Diophantine equation. Some participants provide links to resources, while others express that these resources do not meet their needs. There is a detailed breakdown of the steps involved in determining the continued fraction for the ratio of the coefficients.

Discussion Status

The discussion includes attempts to clarify the application of continued fractions to the problem. While some participants offer resources, there is a lack of consensus on their usefulness. The original poster has reiterated their request for guidance, indicating ongoing exploration of the topic.

Contextual Notes

Participants note that the equation has integer solutions only if the coefficients are relatively prime, and there is a mention of the general condition for the existence of solutions in Diophantine equations.

Zurtex
Science Advisor
Homework Helper
Messages
1,118
Reaction score
1
I'm about to do a test in a couple of days on a course titled "Topics in Pure and Experimental Maths". I was looking over some of the examples we have been given and I have utterly forgotten how to solve Diophantine Equations using Continued Fractions, could some one point me on the right track with this example please:

83x + 259y = 1
 
Physics news on Phys.org
Thanks but that doesn't really help at all.
 
Zurtex said:
I'm about to do a test in a couple of days on a course titled "Topics in Pure and Experimental Maths". I was looking over some of the examples we have been given and I have utterly forgotten how to solve Diophantine Equations using Continued Fractions, could some one point me on the right track with this example please:

83x + 259y = 1
Continued fractions can be applied to solve Diophantine Equations of the type:
a*x + b*y = 1
where "a" and "b" are given relatively prime positive integers, and "x" and "y" are required integer solutions.
(Note: Above Diophantine Equation with "1" on the right side has integer solutions only if "a" and "b" are relatively prime. More generally, the Diophantine Equation {a*x + b*y = w} will have integer solutions only if GCD(a,b) divides "w".)
Technique will be illustrated with the following example:
(83)*x + (259)*y = 1

STEP 1: Determine Continued Fraction for {a/b}
Results will be equivalent whether {a/b} or {b/a} continued fraction is determined. However, it's easier when the quotient is greater than 1. Thus, for this example, {259/83} continued fraction will be found. Let the continued fraction coefficients be designated c0, c1, ... , cn. Then it's required to find c's such that:
{259/83} = c0 + 1/c1+1/c2+1/ ... 1/cn-1+1/cn

Coefficients are found using successive quotients involving remainder terms:
{259/83} = 3 + 10/83 -----> c0 = 3
{83/10} = 8 + 3/10 -----> c1 = 8
{10/3} = 3 + 1/3 -----> c2 = 3
{3/1} = 3 -----> c3 = 3
::: ⇒ {259/83} = 3 + (1/(8 + 1/(3 + 1/3)))

STEP 2: Evaluate Continued Fraction Without Final Term
Continued fraction's last term is dropped, and the new FRACTION it represents is determined:
{259/83} = 3 + (1/(8 + 1/(3 + 1/3)))
3 + (1/(8 + 1/(3 + 0))) = {78/25}

STEP 3: Cross-Multiply And Determine Sign
{259/83} ~ {78/25}:
(259)*(25) = (6475)
(78)*(83) = (6474)
Thus, x=(-78) and y=(25):
(83)*(-78) + (259)*(25) = 1


~~
 
Last edited:

Similar threads

Replies
24
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 64 ·
3
Replies
64
Views
7K
  • · Replies 11 ·
Replies
11
Views
6K