If (x+2)(3x2−x+5)=Ax3+Bx2+Cx+D, what is the value of A+B+C+D?
Solution — click to reveal
Expanding (x+2)(3x2−x+5) gives x(3x2)+x(−x)+x(5)+2(3x2)+2(−x)+2(5)=Ax3+Bx2+Cx+D.Computing the products on the left side gives 3x3−x2+5x+6x2−2x+10=Ax3+Bx2+Cx+D.Simplifying the left side gives 3x3+5x2+3x+10=Ax3+Bx2+Cx+D,so A=3, B=5, C=3, and D=10 and A+B+C+D=3+5+3+10=21.