While answering a question about the MacLaurin Series Expansion of a composite function I noticed something strange I can not explain to myself. The task was to verify that the MacLaurin Series Expansion of $\ln(1+\sin x)$ is up to the fourth term given by
$$\ln(1+\sin x)=x-\frac{x^2}2+\frac{x^3}6-\frac{x^4}{12}+\left(\frac{x^5}{24}-\frac{x^6}{45}+\frac{61x^7}{5040}-\frac{17x^8}{2520}+\frac{277x^9}{72576}\cdots\right.$$
Not that hard actually. However, the OP tried something which made me smile in the first place but while examining his approach confuses me right away. Instead of computing the derivatives and evaluating them at $0$ he instead decided to just plug in the expansion of $\sin x$ as argument of the expansion of $\log(1+x)$. Well, apparently this works out; at least for a few terms!
Starting by using both, i.e. the one of the sine and the one of the logarithm, expansions up to the fifth term we obtain $$\ln(1+\sin x)=x-\frac{x^2}2+\frac{x^3}6-\frac{x^4}{12}+\frac{x^5}{24}+\color{red}{\frac{13x^6}{90}+\cdots}$$ I have marked the first erroneous term. At this point I though it was only a coincidence that this naïve approach leads to the right solution. So I tried the same with more terms, to be precise with both expansions up to the ninth term from which I got the $$\ln(1+\sin x)=x-\frac{x^2}2+\frac{x^3}6-\frac{x^4}{12}+\frac{x^5}{24}-\frac{x^6}{45}+\frac{61x^7}{5040}-\frac{17x^8}{2520}+\frac{277x^9}{72576}+\color{red}{\frac{2773x^{10}}{28350}+\cdots}$$ Again, I marked the first erroneous term. Notice that it is the tenth term, i.e. the one for which the used series representations were not correct anymore (hence non-existing tenth term). At least the accurency of the so obtained series seems reasonable to me. However, I am totally confused concerning the fact that this ridiculous straightforward approach works out.
Quite simple question: Why? Furthermore, is this actually used somewhere?
Thanks in advance!