Problem:
Solution:
The key proposition to prove is
GCD(f1,⋯.fs)=GCD(f1,GCD(f2,⋯,fs)).
Once we have this proposition, then all we have to do is to recursively compute the GCDs.
To prove the key proposition, we let a=GCD(f2,⋯,fs) and b=GCD(f1,a), obviously we need to prove b=GCD(f1,⋯,fs).
First, obviously, b is a factor of f1, b is also a factor of a so that it is also a factor of f2,⋯,fs.
So now we proved b is a common factor, but is it the greatest?
Suppose it is not, so that in fact c is GCD(f1,⋯,fs). Now we know c=bd and d is not a constant.
Because b=GCD(f1,a), c cannot be a factor of a, for if it were, then c is a factor of f1, c is a factor of a, c has a higher degree than b, yet b is the GCD.
Now c is a factor of f2,⋯,fs, a=GCD(f2,⋯,fs), yet c is not a factor of a. A common factor is not a factor of the greatest common factor. This is impossible (*), the contradiction proved our key proposition.
Now let us finish the unfinished business in Exercise 6. There we assumed if h=GCD(f1,⋯,fs), then we can write h=s∑i=1pifi.
If s=2 then Exercise 4 showed what we wanted.
Now assume it can be written so for s=k, now for s=k+1, we have the recursion above
GCD(f1,⋯,fk+1)=GCD(f1,GCD(f2,⋯fk+1))
So GCD(f1,⋯,fk+1)=Af1+BGCD(f2,⋯fk+1).
But we know by our induction hypothesis that
GCD(f2,⋯fk+1)=k+1∑i=2pifi.
Putting it back we get what we wanted.
GCD(f1,⋯,fk+1)=Af1+Bk+1∑i=2pifi=k+1∑i=1qifi.
By mathematical induction we proved our unfinished business in Exercise 6!
(*) To prove this, we leverage crucially on polynomials uniquely factorize.
Suppose d is a common factor and g is the greatest common factor, if d is not a factor of g, then dGCD(d,g)g is also a greater common factor. Prime factorization is needed to claim that.
Solution:
The key proposition to prove is
GCD(f1,⋯.fs)=GCD(f1,GCD(f2,⋯,fs)).
Once we have this proposition, then all we have to do is to recursively compute the GCDs.
To prove the key proposition, we let a=GCD(f2,⋯,fs) and b=GCD(f1,a), obviously we need to prove b=GCD(f1,⋯,fs).
First, obviously, b is a factor of f1, b is also a factor of a so that it is also a factor of f2,⋯,fs.
So now we proved b is a common factor, but is it the greatest?
Suppose it is not, so that in fact c is GCD(f1,⋯,fs). Now we know c=bd and d is not a constant.
Because b=GCD(f1,a), c cannot be a factor of a, for if it were, then c is a factor of f1, c is a factor of a, c has a higher degree than b, yet b is the GCD.
Now c is a factor of f2,⋯,fs, a=GCD(f2,⋯,fs), yet c is not a factor of a. A common factor is not a factor of the greatest common factor. This is impossible (*), the contradiction proved our key proposition.
Now let us finish the unfinished business in Exercise 6. There we assumed if h=GCD(f1,⋯,fs), then we can write h=s∑i=1pifi.
If s=2 then Exercise 4 showed what we wanted.
Now assume it can be written so for s=k, now for s=k+1, we have the recursion above
GCD(f1,⋯,fk+1)=GCD(f1,GCD(f2,⋯fk+1))
So GCD(f1,⋯,fk+1)=Af1+BGCD(f2,⋯fk+1).
But we know by our induction hypothesis that
GCD(f2,⋯fk+1)=k+1∑i=2pifi.
Putting it back we get what we wanted.
GCD(f1,⋯,fk+1)=Af1+Bk+1∑i=2pifi=k+1∑i=1qifi.
By mathematical induction we proved our unfinished business in Exercise 6!
(*) To prove this, we leverage crucially on polynomials uniquely factorize.
Suppose d is a common factor and g is the greatest common factor, if d is not a factor of g, then dGCD(d,g)g is also a greater common factor. Prime factorization is needed to claim that.
No comments:
Post a Comment