16-12
Step-by-Step Examples
Part 2
Given the equation:
[1]
where the integers
x
and
y
are unknown and
b
3
and
c
3
are defined as in part 1 above:
1. Show that [1] has at least one solution.
2. Apply Euclid’s algorithm to
b
3
and
c
3
and find a
solution to [1].
3. Find all solutions of [1].
Solution
: Equation [1] must have at least one solution,
as it is actually a form of Bézout’s Identity.
In effect, Bézout’s Theorem states that if
a
and
b
are
relatively prime, there exists an
x
and
y
such that:
Therefore, the equation
has at least
one solution.
Now enter
IEGCD(B(3),
C(3))
.
Note that the
IEGCD
function can be found on
the
INTEGER
submenu of
the
MATH
menu.
Pressing
a number
of times returns the result
shown at the right:
In other words:
Therefore, we have a particular solution:
x
= 1000,
y
= –999
.
The rest can be done on paper:
,
GCD c
n
b
n
,
(
)
GCD c
n
2
,
(
)
GCD b
n
2
,
(
)
1
=
=
=
b
3
x c
3
y
1
=
⋅
+
⋅
a x
⋅
b y
⋅
+
1
=
b
3
x
⋅
c
3
y
⋅
+
1
=
b
3
1000
×
c
3
999
–
(
)
×
+
1
=
c
3
b
3
=
2
+
b
3
999 2 1
+
×
=
hp40g+.book Page 12 Friday, December 9, 2005 1:03 AM
Summary of Contents for 40gs
Page 10: ...hp40g book Page x Friday December 9 2005 1 03 AM ...
Page 64: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 80: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 86: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 100: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Page 126: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 182: ...hp40g book Page 28 Friday December 9 2005 1 03 AM ...
Page 274: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 303: ...Step by Step Examples 16 29 hp40g book Page 29 Friday December 9 2005 1 03 AM ...
Page 304: ...hp40g book Page 30 Friday December 9 2005 1 03 AM ...
Page 314: ...hp40g book Page 10 Friday December 9 2005 1 03 AM ...
Page 330: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...
Page 392: ...hp40g book Page 44 Friday December 9 2005 1 03 AM ...
Page 420: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Page 428: ...hp40g book Page 8 Friday December 9 2005 1 03 AM ...
Page 444: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...