All variables are integers:
conclude that if, in addition, ad−bc=±1, then
gcd(x,y)=gcd(ax+by,cx+dy).
The fact that gcd(x,y)=gcd(x+ky,y) used for the Euclidean Algorithm is a special case of this exercise.
I was also told to consider the idea of a matrix (abcd) as well as its inverse.
I understand that ad−bc is the determinant and that the determinant of the inverse is still equal to ad−bc as well but I'm not able to put the pieces together about how this helps me to show the two gcds are equal.
Answer
Let A:=(abcd). The condition that ad−bc=±1 means that A−1 also has integer coefficients. If you have integers u,v with ux+vy=gcd(x,y)=:z, then letting B:=(u,v), we have B⋅(x,y)T=z. But then also
z=BA−1A⋅(xy)=BA−1⋅(ax+bycx+dy),
so, if BA−1=:(n,m), then n⋅(ax+by)+m⋅(cx+dy)=z, which shows that gcd(ax+by,cx+dy) divides z=gcd(x,y).
Interchanging the roles of (xy) and (ax+bycx+dy) as well as of A and A−1 shows that gcd(x,y) divides gcd(ax+by,cx+dy), which shows that both are equal.
No comments:
Post a Comment