Maths WorkshopMaths problems with full solutions
Exercise 2067Calculus › Single-variable calculus › LimitsL2Added 1 Nov 2026

Tangent of sine minus sine of tangent

#Taylor expansion#composition#high order#challenge

Statement

Compute
lim⁡x→0tan⁡(sin⁡x)−sin⁡(tan⁡x)x7.\lim_{x\to0}\frac{\tan(\sin x)-\sin(\tan x)}{x^7}.

Hint

Both functions have the same expansion up to order 55, so everything happens at order 77. You need the expansions of sin⁡u\sin u and tan⁡u\tan u up to order 77, and the powers u3,u5,u7u^3,u^5,u^7 for u=sin⁡xu=\sin x and u=tan⁡xu=\tan x.

Show solutionHide solution

Solution

Idea. For small xx, tan⁡(sin⁡x)\tan(\sin x) and sin⁡(tan⁡x)\sin(\tan x) are both close to xx, and, surprisingly, they agree up to order 55. The limit measures how they differ at order 77. This is a challenge in careful bookkeeping.

Step 1: the building blocks. As u→0u\to0,
sin⁡u=u−u36+u5120−u75040+o(u7),\sin u=u-\frac{u^3}6+\frac{u^5}{120}-\frac{u^7}{5040}+o(u^7),
and
tan⁡u=u+u33+2u515+17u7315+o(u7).\tan u=u+\frac{u^3}3+\frac{2u^5}{15}+\frac{17u^7}{315}+o(u^7).

Step 2: powers of sin⁡x\sin x and tan⁡x\tan x, up to order 77. Using sin⁡x=x−x36+x5120−x75040\sin x=x-\frac{x^3}6+\frac{x^5}{120}-\frac{x^7}{5040} and tan⁡x=x+x33+2x515+17x7315\tan x=x+\frac{x^3}3+\frac{2x^5}{15}+\frac{17x^7}{315} and expanding:

For u=sin⁡xu=\sin x:
- u3=x3−x52+13x7120u^3=x^3-\frac{x^5}2+\frac{13x^7}{120},
- u5=x5−5x76u^5=x^5-\frac{5x^7}6,
- u7=x7u^7=x^7.

For u=tan⁡xu=\tan x:
- u3=x3+x5+11x715u^3=x^3+x^5+\frac{11x^7}{15},
- u5=x5+5x73u^5=x^5+\frac{5x^7}3,
- u7=x7u^7=x^7.

Step 3: tan⁡(sin⁡x)\tan(\sin x). Put u=sin⁡xu=\sin x in u+u33+2u515+17u7315u+\frac{u^3}3+\frac{2u^5}{15}+\frac{17u^7}{315} and collect:
- order 33: −16+13=16-\frac16+\frac13=\frac16,
- order 55: 1120−16+215=−140\frac1{120}-\frac16+\frac2{15}=-\frac1{40},
- order 77: −15040+13360−19+17315=−1075040-\frac1{5040}+\frac{13}{360}-\frac19+\frac{17}{315}=-\frac{107}{5040}.

So tan⁡(sin⁡x)=x+x36−x540−107 x75040+o(x7)\tan(\sin x)=x+\frac{x^3}6-\frac{x^5}{40}-\frac{107\,x^7}{5040}+o(x^7).

Step 4: sin⁡(tan⁡x)\sin(\tan x). Put u=tan⁡xu=\tan x in u−u36+u5120−u75040u-\frac{u^3}6+\frac{u^5}{120}-\frac{u^7}{5040}:
- order 33: 13−16=16\frac13-\frac16=\frac16,
- order 55: 215−16+1120=−140\frac2{15}-\frac16+\frac1{120}=-\frac1{40},
- order 77: 17315−1190+172−15040=−2755040\frac{17}{315}-\frac{11}{90}+\frac1{72}-\frac1{5040}=-\frac{275}{5040}.

So sin⁡(tan⁡x)=x+x36−x540−275 x75040+o(x7)\sin(\tan x)=x+\frac{x^3}6-\frac{x^5}{40}-\frac{275\,x^7}{5040}+o(x^7).

Step 5: the difference. The terms up to order 55 cancel, and
tan⁡(sin⁡x)−sin⁡(tan⁡x)=−107+2755040 x7+o(x7)=1685040 x7+o(x7)=x730+o(x7).\begin{aligned} \tan(\sin x)-\sin(\tan x)&=\frac{-107+275}{5040}\,x^7+o(x^7) \\&=\frac{168}{5040}\,x^7+o(x^7)\\&=\frac{x^7}{30}+o(x^7). \end{aligned}

Conclusion. The limit is 130\dfrac1{30}.

Remark. This example is famous because a naive approach ("both are ≈x\approx x") or even a computation up to order 55 gives 00. It was used by Arnold to illustrate how deep the order of contact between two functions can be.