What is the Greatest Common Divisor of Two Polynomials?

Click For Summary

Homework Help Overview

The problem involves finding the greatest common divisor (gcd) of two polynomials, specifically ##X^a - 1## and ##X^b - 1##, where ##(a,b) \in \mathbb{N}^\star##. The discussion centers around the application of Euclid's algorithm in the context of polynomial division.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to apply Euclid's algorithm to determine the gcd of the two polynomials and questions whether their reasoning leads to the conclusion that ##X^{\text{gcd}(a,b)} - 1## is indeed the gcd of the polynomials.

Discussion Status

Some participants affirm the original poster's conclusion regarding the gcd, while others provide additional commentary on the notation used in mathematical expressions. The discussion appears to be progressing with some agreement on the approach taken.

Contextual Notes

There is a note regarding the proper formatting of the gcd notation in MathJax and LaTeX, indicating a concern for clarity in mathematical expressions.

geoffrey159
Messages
535
Reaction score
68

Homework Statement


What is the greatest common divisor of ##X^a - 1 ## and ## X^b - 1 ##, ##(a,b) \in \mathbb{N}^\star## ?

Homework Equations

The Attempt at a Solution



Assuming that ## a\le b ##, I find by euclidian division of ##b## by ##a## that

## b = an + r \Rightarrow X^b - 1 = (X^a-1) (\sum_{k=1}^{n} X ^ {b-ka}) + X ^r - 1 ##

So ##\text{gcd}(X^b - 1,X^a - 1) = \text{gcd}(X^a - 1,X^r - 1) ##
So if I apply Euclid's algorithm on ##a## and ##b##, I will automatically get that the last non-zero remainder, which is ## \text{gcd}(a,b)##, guarantees that ## X ^{ \text{gcd}(a,b) } - 1 ## is the last non-zero remainder of the algorithm applied on ##X^a - 1 ## and ## X^b - 1 ##, and therefore is their greatest common divisor. Right ?
 
Physics news on Phys.org
Yes, It is the greatest commun divisor :)
 
OK thank you ;-)
 
geoffrey159 said:
So ##\text{gcd}(X^b - 1,X^a - 1) = \text{gcd}(X^a - 1,X^r - 1) ##

In MathJax and LaTeX, don't write \text{gcd}; instead write \gcd. Unlike \text{gcd} this will yield proper spacing in expressions like ##8\gcd(a,b)##, whereas with \text{gcd} you'll see ##8\text{gcd}(a,b)## instead, with the conspicuous lack of spacing. And the amount of space to the left and right of ##\gcd## will actually depend on the context.
 

Similar threads

Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K