Algebra · real student question

Let P(x) be a degree 4 polynomial with P(1) = 1, P(2) = 5, P(3) = 9, P(4) = 13 and P(5) = 1. Determine the sum of the roots of P(x).

Question

Let P(x)P(x) be a polynomial of degree 44 such that

P(1)=1,P(2)=5,P(3)=9,P(4)=13,P(5)=1P(1)=1,\quad P(2)=5,\quad P(3)=9,\quad P(4)=13,\quad P(5)=1

Determine the sum of the roots of P(x)P(x).

Step-by-step solution

  1. Look for a pattern in the given values before doing any algebra. The first four outputs 1,5,9,131,5,9,13 increase by 44 each time, so they lie on the line

    L(x)=4x3L(x)=4x-3

    since 4(1)3=14(1)-3=1, 4(2)3=54(2)-3=5, 4(3)3=94(3)-3=9, 4(4)3=134(4)-3=13. Only the fifth value, P(5)=1P(5)=1, breaks the pattern (the line would predict 1717).

  2. Subtract the pattern to manufacture known roots. Define

    Q(x)=P(x)(4x3)Q(x)=P(x)-(4x-3)

    Then Q(1)=Q(2)=Q(3)=Q(4)=0Q(1)=Q(2)=Q(3)=Q(4)=0. Subtracting a degree-11 polynomial cannot change the degree-44 leading term, so QQ is still a quartic — and a quartic with four known roots is completely determined up to a constant:

    Q(x)=a(x1)(x2)(x3)(x4),a0Q(x)=a(x-1)(x-2)(x-3)(x-4),\qquad a\neq 0

  3. Write PP explicitly. Undoing the subtraction,

    P(x)=4x3+a(x1)(x2)(x3)(x4)P(x)=4x-3+a(x-1)(x-2)(x-3)(x-4)

    This single formula already encodes four of the five conditions; the fifth one will pin down aa.

  4. Use P(5)=1P(5)=1 to find aa. Substituting x=5x=5:

    1=4(5)3+a(4)(3)(2)(1)=17+24a1=4(5)-3+a(4)(3)(2)(1)=17+24a

    24a=16a=2324a=-16\qquad\Longrightarrow\qquad a=-\frac{2}{3}

  5. Apply Vieta's formula, and watch aa cancel. For P(x)=Ax4+Bx3+P(x)=Ax^4+Bx^3+\dots the sum of the roots is BA-\dfrac{B}{A}. Expanding only the top two terms,

    (x1)(x2)(x3)(x4)=x4(1+2+3+4)x3+=x410x3+(x-1)(x-2)(x-3)(x-4)=x^4-(1+2+3+4)x^3+\cdots=x^4-10x^3+\cdots

    so A=aA=a and B=10aB=-10a (the trailing 4x34x-3 touches neither coefficient). Therefore

    BA=10aa=10-\frac{B}{A}=-\frac{-10a}{a}=10

    The value of aa divides out. Computing a=23a=-\tfrac{2}{3} was a useful check, but the answer only needed a0a\neq 0, which is guaranteed because PP has degree 44.

  6. State the answer. The four roots of PP add up to

    10\boxed{10}

    Sanity check with the explicit polynomial P(x)=23x4+203x3703x2+1123x19P(x)=-\tfrac{2}{3}x^4+\tfrac{20}{3}x^3-\tfrac{70}{3}x^2+\tfrac{112}{3}x-19: it reproduces all five given values, and 20/32/3=10-\tfrac{20/3}{-2/3}=10.

Answer

1010

Need to solve a different problem like this? Open the solver →