Results 1 to 8 of 8

Thread: Factoring:Show that (x-y) is a factor of x^n-y^n

  1. #1

    Thread Starter
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375

    Factoring:Show that (x-y) is a factor of x^n-y^n

    Before I get flamed, yes this is a homework question, although its not being marked as I'm learning this course on the side, and will take it in september.

    The questions is:

    Show that (x - y) is a factor of xn - yn. I don't have a clue how...


    Thanks
    You just proved that sig advertisements work.

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    (x - y)*(xn-1 + xn-2*y + . . . + yn-1) = xn - yn

    For example, the following.

    (x - y)*(x + y) = x2 - y2

    (x - y)*(x2 + x*y + y2) = x3 - y3

    (x - y)*(x3 + x2*y + x*y2 + y3) = x4 - y4

    Sorry if there are any typo's in the above.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3

    Thread Starter
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Thanks
    You just proved that sig advertisements work.

  4. #4
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787
    what Guv said was true, but it does not prove that x-y is a factor of x^n-y^n

    you could use the factor theorem: if x-a is a factor of polynomial f(x), then f(a)=0

    f(x):=x^n-y^n

    and we see that f(y)=0 ie x-y is a factor of f(x)=x^n-y^n
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

  5. #5
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    BugzPodder: Very cute.

    I was considering posting multiplied out versions of the following.
    • x*(xn-1 + xn-2*y + . . . + yn-1)

      -y*(xn-1 + xn-2*y + . . . + yn-1)
    It is easy to show that every thing cancels out but the following.
    • xn - yn
    Isn't that a lot more work and not so elegant as your post?
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  6. #6
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking Also

    mods work nicely too:

    x == y (mod [x-y]) ->easy to see, just take y from each side

    => xn - yn (mod [x-y])
    == yn - yn (mod [x-y])
    == 0 (mod [x-y])

    => [x-y] is a factor of xn - yn

    P.S, i know that mods are only supposed to be for integers, but all of the logic used here works for reals too.
    sql_lall

  7. #7
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Re: Also

    Originally posted by sql_lall
    mods work nicely too:

    x == y (mod [x-y]) ->easy to see, just take y from each side

    => xn - yn (mod [x-y])
    == yn - yn (mod [x-y])
    == 0 (mod [x-y])

    => [x-y] is a factor of xn - yn

    P.S, i know that mods are only supposed to be for integers, but all of the logic used here works for reals too.
    You and mods.

  8. #8
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking hehe

    but of course...

    now that i think of it, because we are talking about factors, i guess that implies integers...

    oh, and possibly you could use induction:
    let p(n) = xn - yn

    (x-y) is a factor of p(1) [as p(1) IS (x-y)]

    p(k)-p(k-1)
    = xn - yn - xn-1 + yn-1
    = (x-y) (something else)
    now, all u gotta do is find the "something else"
    sql_lall

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width