Task : Write down the McLaurin series till the 4th power ( Hope the translation from german is good :) ).
$f(x) = (e^{-x} - 1)^2$
What I did , because I thought that expanding $(e^{-x} - 1)^2$ till the 2nd power and having 2nd power above the paranthesis will give me the 4th power:
$(e^{-x} - 1)^2 = (1 - x + x^2\frac1{2!} + ... - 1)^2$ $$(x(-1 + x\frac12)^2= x^2(x^2\frac14 - x + 1)$$
What the author did :
$(e^{-x} - 1)^2 = (- x + x^2\frac1{2!} - x^3\frac16 + x^4\frac1{24}-+...) * (- x + x^2\frac1{2!} - x^3\frac16 + x^4\frac1{24}-+...) $
$f(x) = (e^{-x} - 1)^2 => x^2 - x^3 + x^4(\frac16 + \frac14 + \frac16)$
That's clearly different from mine , why is my thought wrong ?
The author is correct.
You could have done $$\left(x\left(-1 + x\frac12 - x^2\frac16+\cdots\right)\right)^2 = x^2\left(1-x+\frac7{12}x^2-\cdots\right).$$
For the fourth power you have taken $x^2\left(x\frac12\right)^2$ but missed $x^2\left(2 \times -1 \times -x^2 \frac16\right)$.