Greatest common divisor of two polynomials question

Maths and statistics discussion, revision, exam and homework help.

Announcements Posted on
Please change your TSR password 23-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
  1. Sasukekun's Avatar
    • Benevolent Member
    • Posts: 619
    Greatest common divisor of two polynomials question
    A part on wikipedia doesn't make sense to me;

    http://en.wikipedia.org/wiki/Greates...wo_polynomials

    Let  p(x) and  q(x) be non-zero polynomials, with coefficients in a field  F . A greatest common divisor of  p(x) and  q(x) is a polynomial  d(x) that is a divisor of  p(x) and of  q(x) .

    Note: If  f is another polynomial, then it too is a greatest common divisor of  p and  q if and only if  f is equal to  d multiplied by an element of  f .


    I don't understand how this last statement (the 'note') can be true. For example take (the field F is the real numbers);

     x(x+3)

    and

     x(x+4)


    In this case  d(x) = x . From the last statement does it not say that  f(x) = 2x = 2d(x) is also a greatest common divisor? It's clearly not though.


    That source was from wikipedia, my lecture notes say it in a different way;

    Also if  h is another polynomial that divides  p(x) and  q(x) then  h divides  d . Write  d = gcd(p,q) . This polynomial is defined only up to a non-zero scalar multiple so, if we want a unique gcd, then we insist  d(x) be monic (the co-efficient of the highest power of  x is 1).

    I don't get how make the co-efficient of the highest power makes the gcd unique. Surely, by the conditions imposed on the gcd, the gcd would always be unique anyway regardless of th co-efficient in front of the highest power?
    Last edited by Sasukekun; 19-04-2012 at 13:15.
  2. ghostwalker's Avatar
    • Outcast of Imrryr
    • Location: CA13
    Re: Greatest common divisor of two polynomials question
    (Original post by Sasukekun)
    ...
    Using the example you've given:

    d(x) = ax, where a is any non-zero real.

    I.e. \pi x, 1.2x, 10^6 x,... are all gcd's of your two functions.

    But there is only one monic gcd, and that is "x".
  3. Glutamic Acid's Avatar
    • TSR Legend
    • Location: E.I.R.E. / S.E. / Cam
    Re: Greatest common divisor of two polynomials question
    It's because 2 is a unit in the field of real numbers. The gcd is not unique when you're talking about the integers: is the gcd of 6 and 15 equal to 3 or -3? It doesn't really matter. if d and d' are two greatest common divisors (over an integral domain) then we obtain d | d' and d' | d. So if d = d'a and d' = db then ab = 1, so a and b are units, meaning d and d' are associates.
    Last edited by Glutamic Acid; 19-04-2012 at 13:49.
  4. Sasukekun's Avatar
    • Benevolent Member
    • Posts: 619
    Re: Greatest common divisor of two polynomials question
    (Original post by ghostwalker)
    Using the example you've given:

    d(x) = ax, where a is any non-zero real.

    I.e. \pi x, 1.2x, 10^6 x,... are all gcd's of your two functions.

    But there is only one monic gcd, and that is "x".
    (Original post by Glutamic Acid)
    It's because 2 is a unit in the field of real numbers. The gcd is not unique when you're talking about the integers: is the gcd of 6 and 15 equal to 3 or -3? It doesn't really matter. if d and d' are two greatest common divisors (over an integral domain) then we obtain d | d' and d' | d. So if d = d'a and d' = db then ab = 1, so a and b are units, meaning d and d' are associates.

    Thanks for the replies. I've understood what you guys have said but apologies as I am slow at understanding this. So in my example the field was the real numbers. When we define gcd, in this case, it does not matter that the GCD does not divide the numbers evenly? Ghostwalker, you for example said  \pi x is a GCD of those two functions.

    But

     x(x+3) = (\pi x)(\frac {(x+3)}{\pi})

    and

      x(x+4) = (\pi x)(\frac {(x+4)}{\pi})

    Is  \pi x a GCD because the polynomial left behind still has a co-efficient in the real numbers (i.e.  \frac {1}{\pi} )?
    Last edited by Sasukekun; 19-04-2012 at 17:25.
  5. nuodai's Avatar
    • PS Helper
    • TSR Legend
    Re: Greatest common divisor of two polynomials question
    (Original post by Sasukekun)
    Thanks for the replies. I've understood what you guys have said but apologies as I am slow at understanding this. So in my example the field was the real numbers. When we define gcd, in this case, it does not matter that the GCD does not divide the numbers evenly? Ghostwalker, you for example said  \pi x is a GCD of those two functions.

    But

     x(x+3) = (\pi x)(\frac {(x+3)}{\pi})

    and

      x(x+4) = (\pi x)(\frac {(x+4)}{\pi})


    If the field was the integers, this would not work because when taking a factor of  \pi x out it does leave behind a polynomial that has an integer co-efficient. Right?
    The set of integers forms a ring, not a field; and in a general ring, gcds needn't exist.
  6. Sasukekun's Avatar
    • Benevolent Member
    • Posts: 619
    Re: Greatest common divisor of two polynomials question
    Of course my mistake, I'll edit out that last bit then just to avoid confusion with my question.
  7. ghostwalker's Avatar
    • Outcast of Imrryr
    • Location: CA13
    Re: Greatest common divisor of two polynomials question
    (Original post by Sasukekun)
    Is  \pi x a GCD because the polynomial left behind still has a co-efficient in the real numbers (i.e.  \frac {1}{\pi} )?
    Yes. 1/pi is just a scalar, and it's valid as you're working over R.
  8. matt2k8's Avatar
    • Overlord in Training
    • Posts: 3,445
    Re: Greatest common divisor of two polynomials question
    Because any two GCDs divide each other, the GCD is unique up to multiplication by a constant - so to make thing simpler we can just define "the GCD" to be the monic GCD (which is unique). Just like with integers it's unique up to sign - so we can just define "the GCD" to be the positive one.
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.