Algebra · real student question

f(x) is a cubic polynomial and (x + 1)f(x) leaves remainder x + 2 when divided by x^3 + 2. If f(0) = 4, find f(2).

Question

Let f(x)f(x) be a cubic polynomial such that (x+1)f(x)(x+1)f(x) divided by x3+2x^3+2 leaves remainder x+2x+2.

Given f(0)=4f(0)=4, find f(2)f(2).

Step-by-step solution

  1. Write down the division algorithm. "Remainder x+2x+2 on division by x3+2x^3+2" means there is a polynomial Q(x)Q(x) with

    (x+1)f(x)=(x3+2)Q(x)+x+2(x+1)f(x)=(x^3+2)Q(x)+x+2

    This single identity is the whole content of the hypothesis, so everything else follows from it.

  2. Pin down the degree of QQ. Since ff is cubic, (x+1)f(x)(x+1)f(x) has degree 44. The product (x3+2)Q(x)(x^3+2)Q(x) must supply that degree 44, so degQ=1\deg Q=1. Write

    Q(x)=ax+bQ(x)=ax+b

    This is why the problem is solvable at all: only two unknowns remain.

  3. Use the factor x+1x+1 on the left. The left side vanishes at x=1x=-1, so the right side must too. Substituting x=1x=-1 into (x3+2)(ax+b)+x+2(x^3+2)(ax+b)+x+2:

    (1+2)(a+b)+1=0    ba+1=0    b=a1(-1+2)(-a+b)+1=0\;\Longrightarrow\;b-a+1=0\;\Longrightarrow\;b=a-1

  4. Use f(0)=4f(0)=4. Substituting x=0x=0 gives (0+1)f(0)=4(0+1)f(0)=4 on the left and (0+2)(b)+0+2=2b+2(0+2)(b)+0+2=2b+2 on the right, so

    2b+2=4    b=1    a=22b+2=4\;\Longrightarrow\;b=1\;\Longrightarrow\;a=2

    Hence Q(x)=2x+1Q(x)=2x+1.

  5. Evaluate at x=2x=2. With QQ known,

    (2+1)f(2)=(23+2)(22+1)+2+2=105+4=54(2+1)f(2)=(2^3+2)(2\cdot 2+1)+2+2=10\cdot 5+4=54

    so 3f(2)=543f(2)=54 and f(2)=18f(2)=18.

  6. Check by recovering ff explicitly. Expanding, (x+1)f(x)=2x4+x3+5x+4(x+1)f(x)=2x^4+x^3+5x+4. Dividing by x+1x+1 gives

    f(x)=2x3x2+x+4f(x)=2x^3-x^2+x+4

    Indeed f(0)=4f(0)=4 and f(2)=164+2+4=18f(2)=16-4+2+4=18, and 2x4+x3+5x+4(x3+2)(2x+1)=x+22x^4+x^3+5x+4-(x^3+2)(2x+1)=x+2 exactly.

Answer

f(2)=18f(2)=18

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