1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Polynomial Help

  1. Sep 19, 2010 #1
    1. The problem statement, all variables and given/known data

    find a polynomial P(x) which has nonnegative coefficients. If P(1)=1 and P(5)= 426, then wast is p(3)

    2. Relevant equations
    P(1)= 6
    P(5)= 426
    P(3)= x


    3. The attempt at a solution
    I have tried to use guess and check. I cant find a way to solve algebraically.
     
    Last edited: Sep 19, 2010
  2. jcsd
  3. Sep 19, 2010 #2

    rock.freak667

    User Avatar
    Homework Helper

    Do you have a specified degree for p(x) ?
     
  4. Sep 19, 2010 #3
    There is no specified degree for p(X). It just has to have nonnegative coefficents
     
  5. Sep 19, 2010 #4

    rock.freak667

    User Avatar
    Homework Helper

    Then it is best to choose a degree and work with that.
     
  6. Sep 19, 2010 #5
    There is only one polynomial that works. One hint I received was that it had to be less than 6.
     
  7. Sep 19, 2010 #6

    Mentallic

    User Avatar
    Homework Helper

    I have no idea how to approach it either. Can't quite gather what to do with the fact that all the coefficients aren't negative. Either way, it must be at least a polynomial of degree 4. But what suggests that it must be less than 6?
     
  8. Sep 19, 2010 #7
    how do you know it must be at least degree 4?
     
  9. Sep 19, 2010 #8

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    If you try to fit for example a quadratic

    [tex]ax^2+bx+c[/tex] to the conditions, then you get two conditions:

    a+b+c=1

    25a+5b+c=426

    We can subtract one from the other to get

    24a+4b=425

    Now we know that a+b+c=1 must be satisfied, with all non-negative numbers, so none of a, b or c can be larger than 1. That's clearly not possible if 24a+4b=425. A similar argument kills cubic polynomials
     
  10. Sep 19, 2010 #9
    i am afraid i made a mistake when I posted the question. Actually P(1)= 6. So, could you try again. I would appreciate it.
     
  11. Sep 19, 2010 #10

    Office_Shredder

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    There are lots of choices of polynomials actually, just consider a degree n polynomial of the form axn+b. We know that a+b=6, and that 5na+b=426. Two equations, two unknowns, start trying to find solutions!

    If you know a little linear algebra/convex geometry there's a neat explanation for how you can decide exactly which coefficients are able to be non-zero
     
    Last edited: Sep 19, 2010
  12. Sep 20, 2010 #11

    tiny-tim

    User Avatar
    Science Advisor
    Homework Helper

    welcome to pf!

    hi chillfactor! welcome to pf! :wink:
    i assume all the coefficients must be whole numbers?

    then ∑an = 6 and ∑an5n = 426

    obviously a0 = 1,

    and by subtracting we have 4a1 + 24a2 + 124a3 = 420 …

    carry on from there :smile:
     
  13. Sep 20, 2010 #12
    Re: welcome to pf!

    thanks!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Polynomial Help
  1. Polynomial Help (Replies: 6)

  2. Polynomials, Help with (Replies: 3)

  3. Polynomial help (Replies: 10)

  4. Polynomials help (Replies: 5)

Loading...