Bézout's theorem for polynomials
----------------------------------------
Let Δ be the polynomial of minimum degree among those of the form AU + BV. The gcd (denoted by D) of A and B divides every polynomial AU + BV, and therefore divides Δ. Now divide A by Δ. This gives A = ΔQ + R, where the degree of R is strictly lower than that of Δ. Since AU + BV = Δ, multiplying by Q and adding R to obtain A, yields A (1 – UQ) + B (– VQ) = R. If R is nonzero, this contradicts the minimality of the degree of Δ. Thus R = 0, which means that Δ divides A. By symmetry, Δ also divides B, and therefore divides the gcd of A and B, namely D.
D divides Δ, and Δ divides D. They are therefore equal up to a nonzero constant factor. It follows that there exist U and V such that AU + BV = D.