Find the polynomial of minimal degree such that

Using the Taylor expansion of we know as we have

(This is where we see how nice -notation can be. All of the terms in the polynomials larger than will get absorbed into the . This simplifies computations tremendously when we don’t care about the higher order terms.) Therefore, we have

*Related*

Why does the expression inside the little o not change when you replace x in the sin expansion? Is it because the new sin expression approaches 0 as x approaches 0 both before and after the substituion?

The expression inside little o can be arbitrary and in this case the problem statement implied that we want to have a solution specifically with o(x). It could also be o(x-x^2) instead [and then we could stop the calculations at the first line as it’s clearly would be o((x-x^2)^6)].