Let \(\mathrm{f}(x)=(x^2+2x)\mathrm{e}^x\).
Using the definition \(\mathrm{g}'(x)=\lim_{h\to0}\dfrac{\mathrm{g}(x+h)-\mathrm{g}(x)}{h}\), show from first principles that the derivative of \(\mathrm{g}(x)=x^2+2x\) is \(2x+2\).[4]
Prove by induction that, for every positive integer \(n\), the \(n^{\mathrm{th}}\) derivative of \(\mathrm{f}\) is \(\mathrm{f}^{(n)}(x)=\mathrm{e}^x[x^2+2(n+1)x+n(n+1)]\).[9]