Idea. For small x, tan(sinx) and sin(tanx) are both close to x, and, surprisingly, they agree up to order 5. The limit measures how they differ at order 7. This is a challenge in careful bookkeeping.
Step 1: the building blocks. As u→0,
sinu=u−6u3+120u5−5040u7+o(u7),
and
tanu=u+3u3+152u5+31517u7+o(u7).
Step 2: powers of sinx and tanx, up to order 7. Using sinx=x−6x3+120x5−5040x7 and tanx=x+3x3+152x5+31517x7 and expanding:
For u=sinx:
- u3=x3−2x5+12013x7,
- u5=x5−65x7,
- u7=x7.
For u=tanx:
- u3=x3+x5+1511x7,
- u5=x5+35x7,
- u7=x7.
Step 3: tan(sinx). Put u=sinx in u+3u3+152u5+31517u7 and collect:
- order 3: −61+31=61,
- order 5: 1201−61+152=−401,
- order 7: −50401+36013−91+31517=−5040107.
So tan(sinx)=x+6x3−40x5−5040107x7+o(x7).
Step 4: sin(tanx). Put u=tanx in u−6u3+120u5−5040u7:
- order 3: 31−61=61,
- order 5: 152−61+1201=−401,
- order 7: 31517−9011+721−50401=−5040275.
So sin(tanx)=x+6x3−40x5−5040275x7+o(x7).
Step 5: the difference. The terms up to order 5 cancel, and
tan(sinx)−sin(tanx)=5040−107+275x7+o(x7)=5040168x7+o(x7)=30x7+o(x7).
Conclusion. The limit is 301.
Remark. This example is famous because a naive approach ("both are ≈x") or even a computation up to order 5 gives 0. It was used by Arnold to illustrate how deep the order of contact between two functions can be.