Results 1 to 15 of 15

Math Help - polynomials

  1. #1
    Member
    Joined
    Dec 2008
    Posts
    152

    polynomials

    Find a and b (from reals) so that

     p(x) = ax^{2008} + bx^{2007} - 1
    will be dividable by polynomial  (x - 1)^2.

    no idea how to begin.. can someone help?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Jun 2009
    From
    Africa
    Posts
    641

    Smile

    Quote Originally Posted by metlx View Post
    Find a and b (from reals) so that

     p(x) = ax^{2008} + bx^{2007} - 1
    will be dividable by polynomial  (x - 1)^2.

    no idea how to begin.. can someone help?
    i think P will be dividable by (x-1)^2 if P(1) =0.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    No one in Particular VonNemo19's Avatar
    Joined
    Apr 2009
    From
    Detroit, MI
    Posts
    1,823
    Quote Originally Posted by Raoh View Post
    i think P will be dividable by (x-1)^2 if P(1) =0.
    Yes, but I believe that this is only half of the story. 1 is a double root.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Member
    Joined
    Dec 2008
    Posts
    152
    so how do i solve this?

    I did this:

    If  p(1) = 0 \Rightarrow a + b = 1
     a = 1 - b

    x_{1,2} = \frac{-b \pm \sqrt{b^2 -(- 4(1 - b))}}{2(1 - b)} = \frac{-b \pm \sqrt{b^2 - 4b + 4}}{2 - 2b}

     = \frac {-b \pm \sqrt{(b - 2)^2}}{2 - 2b} = \frac{-b \pm (b - 2)}{2 - 2b}

    x_1 = \frac{-b + b - 2}{2 - 2b} = - \frac {1}{1 - b} = - \frac {1}{a}

     x_2 = \frac{ -b - b + 2}{2 - 2b} = 1

    does this help me in anyway?

    i can put those values instead of x-es..
    a \cdot (-\frac{1}{a})^{2008} + b \cdot (- \frac{1}{1 - b})^{2007} - 1 = 0

     a \cdot \frac{1}{a} - \frac{b}{1 - b} - 1 = 0 \Rightarrow -\frac{b}{1 - b} = 0 \Rightarrow b = 0

    a = 1 - b = 1.

    is that how you do it?
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Senior Member
    Joined
    Nov 2009
    Posts
    263

    Smile

    Quote Originally Posted by VonNemo19 View Post
    Yes, but I believe that this is only half of the story. 1 is a double root.
    try to use the synthetic division (Synthetic division - Wikipedia, the free encyclopedia) to divide p(x) by x^2 - 2x + 1

    hope it'll work
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Member
    Joined
    Dec 2008
    Posts
    152
    Quote Originally Posted by dedust View Post
    try to use the synthetic division (Synthetic division - Wikipedia, the free encyclopedia) to divide p(x) by x^2 - 2x + 1

    hope it'll work
    is that the same as Horner's algoritm?
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Super Member
    Joined
    Jun 2009
    From
    Africa
    Posts
    641

    Smile

    Quote Originally Posted by VonNemo19 View Post
    Yes, but I believe that this is only half of the story. 1 is a double root.
    exactly.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Senior Member
    Joined
    Nov 2009
    Posts
    263

    Smile

    Quote Originally Posted by metlx View Post
    is that the same as Horner's algoritm?
    yes, with a slight modification
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Super Member
    Joined
    Jun 2009
    From
    Africa
    Posts
    641

    Smile

    Quote Originally Posted by dedust View Post
    try to use the synthetic division (Synthetic division - Wikipedia, the free encyclopedia) to divide p(x) by x^2 - 2x + 1

    hope it'll work
    the degree of P is a LOT bigger than x^2 - 2x + 1,are you really sure about doing the division.
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Member
    Joined
    Dec 2008
    Posts
    152
    Quote Originally Posted by Raoh View Post
    exactly.
    so did i do it right or not? :P
    Last edited by metlx; December 17th 2009 at 07:39 AM.
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Senior Member Stroodle's Avatar
    Joined
    Jun 2009
    Posts
    367
    Edit* Made some silly errors...
    Last edited by Stroodle; December 17th 2009 at 07:27 AM.
    Follow Math Help Forum on Facebook and Google+

  12. #12
    Senior Member
    Joined
    Nov 2009
    Posts
    263

    Smile

    Quote Originally Posted by Raoh View Post
    the degree of P is a LOT bigger than x^2 - 2x + 1,are you really sure about doing the division.
    that is why i didn't do it

    Quote Originally Posted by Stroodle View Post
    Hi. The way I did it is:

    p(x)=ax^{2008}+bx^{2007}-1

    As previously stated, if (x-1) is a factor, then p(1)=0

    \therefore a+b=1

    Now if you divide P(x) by (x-1) you get:

    g(x)=ax^{2007}+(b-a)x^{2006}+(a-b)x^{2005}+(b-a)x^{2004}+(a-b)^{2003}.......(b-a)-1

    Now g(1)=0 for (x-1) to be a second factor.

    Which gives b-1=0

    \therefore a=0 and b=1
    i think g(x) should be
    g(x)=ax^{2007}+(b+a)x^{2006}+(a+b)x^{2005}+(b+a)x^  {2004}+(a+b)x^{2003}+ \cdot \cdot \cdot + (b+a)

    and

    g(1) = a + (b+a) + (a+b) + (b+a) + (a+b) + \cdot \cdot \cdot + (b+a) = 0

    or

    2008a + 2007b = 0

    now, we have two equations in a and b, solve it
    Last edited by dedust; December 17th 2009 at 04:32 PM. Reason: made a mistake in using horner's rule
    Follow Math Help Forum on Facebook and Google+

  13. #13
    Member
    Joined
    Dec 2008
    Posts
    152
    im lost.. from that i get

    b = 2007
    a = -2006

    im getting more and more confused.. what is wrong with my solution btw? :P
    Follow Math Help Forum on Facebook and Google+

  14. #14
    Senior Member
    Joined
    Nov 2009
    Posts
    263

    Smile

    Quote Originally Posted by metlx View Post

    x_{1,2} = \frac{-b \pm \sqrt{b^2 -(- 4(1 - b))}}{2(1 - b)} = \frac{-b \pm \sqrt{b^2 - 4b + 4}}{2 - 2b}
    this formula only work for 2 degrees polynomial
    Follow Math Help Forum on Facebook and Google+

  15. #15
    MHF Contributor
    Joined
    Sep 2008
    From
    West Malaysia
    Posts
    1,261
    Quote Originally Posted by metlx View Post
    Find a and b (from reals) so that

     p(x) = ax^{2008} + bx^{2007} - 1
    will be dividable by polynomial  (x - 1)^2.

    no idea how to begin.. can someone help?
    HI

    In other words , (x-1)^2 would be a factor of p(x) so p(1)=0

    p(1)=a(1)^{2008}+b(1)^{2007}-1

    a+b=1 --- 1

    p'(x)=2008ax^{2007}+2007bx^{2006}

    p'(1)=0

    2008a+2007b=0 --- 2

    Solving the system would give you a=-2007 and b=2008
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 7
    Last Post: April 7th 2011, 01:38 PM
  2. GCD of polynomials in Zn[x]
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: May 18th 2010, 07:22 AM
  3. Polynomials
    Posted in the Algebra Forum
    Replies: 3
    Last Post: May 16th 2010, 07:52 AM
  4. Replies: 7
    Last Post: January 8th 2010, 04:13 AM
  5. Replies: 5
    Last Post: November 29th 2005, 04:22 PM

Search Tags


/mathhelpforum @mathhelpforum