Find the cubic polynomial f(x) such that
$(−1)=-4$, $'(−1)=4$, $''(−1)=-6$, $'''(−1)=12$
I know that i have to use an augmented matrix in order to solve it, so i decided to use the formula $a+bx+cx^2+dx^3$. But after that, do i have to input every x in the a,b,c,d and created the augmented matrix?
So let us use $f(x)=ax^3+bx^2+cx+d$
$\therefore f'(x)=3ax^2+2bx+c$
$\therefore f''(x)=6ax+2b$
$\therefore f'''(x)=6a$
$f'''(-1)=6a=12 \implies a=2$
$f''(-1)=-12+2b=-6\implies b=3$
$f'(-1)=6-6+c=4\implies c=4$
$f(-1)=-2+3-4+d=-4\implies d=-1$
$$\therefore f(x)=2x^3+3x^2+4x-1$$