Greatest common divisor of two polynomials

In summary, Peter found that the greatest common divisor of x^3 - 2 and x + 1 is -3. However, this does not appear to be correct because -3 does not divide either x^3 - 2 or x + 1. He asked for help, but was not provided with a correct answer.
  • #1
Math Amateur
Gold Member
MHB
3,998
48
I am working on Exercise 8 of Dummit and Foote Section 9.2 Exercise 8

====================================================================================

Determine the greatest common divisor of [TEX] a(x) = x^3 - 2 [/TEX] and [TEX] b(x) = x + 1 [/TEX] in [TEX] \mathbb{Q} [x] [/TEX]

and write it as a linear combination (in [TEX] \mathbb{Q} [x] [/TEX] ) of a(x) and b(x).

=====================================================================================

In working on this I applied the Division Algorithm to a(x) and b(x) resulting in [TEX] x^3 - 2 = (x^2 - x + 1) (x+ 1) + (-3) [/TEX]

then

[TEX] (x + 1) = (1/3 x + 1/3) + 0 [/TEX]Last non-zero remainder is -3

Therefore, gcd is -3

BUT!

This does not seem to be correct because -3 does not divide either a(x) and b(x)

Can someone please help?

Peter
 
Physics news on Phys.org
  • #2
Peter said:
I am working on Exercise 8 of Dummit and Foote Section 9.2 Exercise 8

==================================================

Determine the greatest common divisor of [TEX] a(x) = x^3 - 2 [/TEX] and [TEX] b(x) = x + 1 [/TEX] in [TEX] \mathbb{Q} [x] [/TEX]

and write it as a linear combination (in [TEX] \mathbb{Q} [x] [/TEX] ) of a(x) and b(x).

==================================================

In working on this I applied the Division Algorithm to a(x) and b(x) resulting in [TEX] x^3 - 2 = (x^2 - x + 1) (x+ 1) + (-3) [/TEX]

then

[TEX] (x + 1) = (1/3 x + 1/3) + 0 [/TEX]Last non-zero remainder is -3

Therefore, gcd is -3

BUT!

This does not seem to be correct because -3 does not divide either a(x) and b(x)

Can someone please help?

Peter
$-3$ is a unit in $\mathbb{Q} [x]$, so is equivalent to $1$. You have shown that $$-\tfrac13(x^3-2) + \tfrac13(x^2-x+1)(x+1) = 1.$$ Thus $p(x)a(x)+q(x)b(x) = 1$, where $p(x) = -\frac13$ and $q(x) = \frac13(x^2-x+1)$. The polynomials $p(x)$ and $q(x)$ are both in $\mathbb{Q} [x]$.
 
  • #3
I am an amateur but i tried doing your problem the way they do it here.

http://www.math.niu.edu/~beachy/abstract_algebra/study_guide/soln4.html

wolfram confirms their answer so it appears wolfram is giving answers over Q[x] for gcd command.

gcd (x^8-1, x^6 - 1) - Wolfram|Alpha

I am not encouraging you to cheat but WIA can be a valuable resource to check your work AFTER you get an answer by manual computation.

For your question WIA gives 1 as gcd.

gcd (x^3-2, x + 1) - Wolfram|Alpha

:)
 

FAQ: Greatest common divisor of two polynomials

What is the definition of Greatest Common Divisor (GCD) of two polynomials?

The GCD of two polynomials is the polynomial of highest degree that can divide both of the given polynomials without leaving a remainder.

How do you find the GCD of two polynomials?

The GCD can be found by using the Euclidean algorithm, which involves a series of division steps until a remainder of 0 is reached. The last non-zero remainder is the GCD of the two polynomials.

What is the importance of finding the GCD of two polynomials?

The GCD helps in simplifying and factoring polynomials, and can also be used to find common factors between different polynomials.

Can the GCD of two polynomials be negative?

Yes, the GCD can be negative if one or both of the polynomials have negative coefficients. However, it is convention to express the GCD with positive coefficients.

What happens if the GCD of two polynomials is a constant?

If the GCD is a constant, it means that the two polynomials have no common factors other than the constant. This also means that the two polynomials are relatively prime.

Similar threads

Replies
4
Views
2K
Replies
1
Views
2K
Replies
8
Views
1K
Replies
8
Views
2K
Replies
4
Views
1K
Replies
2
Views
1K
Replies
24
Views
4K
Back
Top