Professional Documents
Culture Documents
Team 3
Team 3
DIOPHANTINE
SUBJECT CODE: 191MAB403T
SUBJECT NAME: PROBABILITY AND NUMBER THEORY
EQUATION AND
HOW ITS SOLVED
SIVA SHANKAR.M 310622104142
RAMSUNDAR.M 310622104119
SIVA SURYA.V.S 310622104140
SARATHI 310622104131
SHREYA.B 310622104137
SANDHIYA.T 310622104124
DATE : 26-03-2024
CONTENTS:
Introduction
Difference between linear and non-
linear Diophantine equation
What is linear Diophantine equation
Euler’s method for solving linear
Diophantine equation
Application of Diophantine
equation
Conclusion
INTRODUCTION:
THEOREM:
The Linear Diophantine equations of the type ax + by = c -----(1),has the solution if and
only if the GCD(a,b)|c. The integer pair (x,y) which satisfies the above equation is called its
solution. It is also called a Lattice Point. If (x0,y0) is one solution of the equation(1) then there are
infinite of them and the general solution(x,y) is given by,
EXAMPLE 1: 18 = (7×2) + 4
7 = (4×1) + 3
4 = (3×1) + 1
3 = (3×1) + 0
We can see that GCD(7,18) = 1
We will now go backwards and use the theorem that for Linear Diophantine Equation
ax + by = c, we can always find integers x and y such that ax + by = GCD(a,b)
From the second last equation,
1 = 4 – (3×1)
= 4 –(7 – 4 ×1)
= (4 × 2) – 7
= (18–7× 2) × 2 – 7
= 18 × 2 – 7 × 5
Or 7(-5) + 18(2) =1………(1)
We have been able to find the integers –5 and 2 such that the linear combination of 7 and
18 is equal to the GCD(7,18).
The given equation, 7x + 18y = 208
If we multiply equation(1) by 208 all over we will get,
7(–5×208) + 18(2×208) = 208
7(–1040) + 18(416) = 208
Here (x0,y0) = (–1040,416) and the general solution(x,y) is given by,
x = –1040 + t = –1040 + 18t
y = 416 – t = 416 – 7t
Where t = 0,±1,±2,…
Solve 45x + 33y = 9.
Using Euclidean Algorithm,
45 = 33(1) + 12
33 = 12(2) + 9
EXAMPLE 2: 12 = 9(1) + 3
9 = 3(3) + 0
GCD(45,33) = 3
3 divides 9
The given equation has Many Solutions.
3 = 12 – 9
3 = 12 – [ 33 – 12(2) ]
= 12 – 33 + 12(2)
3 = 12(3) – 33
3 = (45 – 33 )(3) – 33
=45(3) – 33(3) – 33
3 = 45(3) + 33 (–4)
c = ax + by
Therefore , x = 3 and y = –4
EXAMPLE 3: EXAMPLE 4: