Thread: A little maths problem for you

  1. #181
    Unregistered
    Guest
    Originally posted by alex
    7/12

    greetinx,
    alex
    please explain...
    somebody?
    anybody...

    i tried but did not get it

  2. #182
    Registered User alex's Avatar
    Join Date
    Sep 2001
    Posts
    132
    Hi!

    For any polynomial ... + c x^2 + b x + a (a and b nonzero), the sum of the reciprocals of the roots is equal to -b/a. It's that simple if you have that kind of black knowledge! If you want to prove it, it is easiest to start at the other end. If you knew the roots of the polynomial, then you could factor it like this:

    Code:
     -v-v- /          \
      | |  | x  -  r  |         :cool:
      | |  \  i     i /
    and then you can start multiplying... (the roots are called a, b, c, ... below)

    Code:
    (x-a) = x + (-a)
    (x-a)(x-b) = x^2 + (-a-b)x + (ab)
    (x-a)(x-b)(x-c) = x^3 + (-a-b-c)x^2 + (ab+ac+bc)x + (-abc)
    (x-a)(x-b)(x-c)(x-d) = x^4 + (-a-b-c-d)x^3 +
        + (ab+ac+ad+bc+bd+cd)x^2 + (-abc-abd-acd-bcd)x + (abcd)
    See what I mean?
    Now you divide the linear term by the constant term...

    greetinx,
    alex

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  4. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  5. Maths problem
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-13-2002, 02:34 PM