Maths Olympiad Prep

Library / /406 of 520

Number theory Difficulty 6.6 National olympiad Prove it

Bezout's Theorem: Let a,ba, b be integers, not both zero, then there exist integers x,yx, y such that
ax+by=(a,b).a x + b y = (a, b) \text{.}

Solution

Let d=(a,b)d=(a, b), in the Euclidean algorithm of Theorem 3 from the previous section, take u0=a,u1=bu_{0}=a, u_{1}=b (here we assume b0b \neq 0), then by the properties of divisibility, it can be known that du2,du3,d\left|u_{2}, d\right| u_{3}, \cdots, duk+1d \mid u_{k+1}. Therefore, duk+1d \leqslant u_{k+1}.

Conversely, by the properties of divisibility, it can be known that uk+1uk,uk+1uk1,,uk+1u1u_{k+1}\left|u_{k}, u_{k+1}\right| u_{k-1}, \cdots, u_{k+1} \mid u_{1}, uk+1u0u_{k+1} \mid u_{0}, i.e., uk+1u_{k+1} is a common divisor of aa and bb. Therefore, uk+1du_{k+1} \leqslant d.

The above discussion shows: d=uk+1d=u_{k+1}. Now, by reversing the equations in the Euclidean algorithm, we can see that
uk+1=uk1ukqk1=uk1(uk2uk1qk2)qk1=u_{k+1}=u_{k-1}-u_{k} q_{k-1}=u_{k-1}-\left(u_{k-2}-u_{k-1} q_{k-2}\right) q_{k-1}=\cdots

We successively express uk+1u_{k+1} as a linear combination of uk1u_{k-1} and uku_{k}; express uk+1u_{k+1} as a linear combination of uk2u_{k-2} and uk1u_{k-1}; and so on, until we express uk+1u_{k+1} as a linear combination of u0u_{0} and u1u_{1}. Therefore, there exist integers x,yx, y such that (1) holds.

Similarly, for more integers a1,a2,,aka_{1}, a_{2}, \cdots, a_{k}, the same conclusion holds.

If (a,b)=1(a, b)=1, then aa and bb are said to be coprime. According to the above theorem and the properties of divisibility, it can be known that
(a,b)=1(a, b)=1 \Leftrightarrow there exist x,yZx, y \in \mathbf{Z} such that ax+by=1a x+b y=1.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.