-
For continuity at x=0, we must have
f(0)=limx→0tanx−sinxtan(tanx)−sin(sinx).
So we need to evaluate this limit.
-
Let
u=tanx,v=sinx.
As x→0, we have u→0 and v→0. Then
tanx−sinxtan(tanx)−sin(sinx)=u−vtanu−sinv.
This is not directly a standard form, so expand near 0.
-
Use series expansions:
tant=t+3t3+O(t5),sint=t−6t3+O(t5).
Hence
tan(tanx)=tanx+3(tanx)3+O(x5),
sin(sinx)=sinx−6(sinx)3+O(x5).
Therefore the numerator is
tan(tanx)−sin(sinx)=(tanx−sinx)+3(tanx)3+6(sinx)3+O(x5).
So
f(x)=1+tanx−sinx3(tanx)3+6(sinx)3+O(x5).
-
Now expand tanx−sinx:
tanx=x+3x3+O(x5),
sinx=x−6x3+O(x5).
Thus
tanx−sinx=3x3+6x3+O(x5)=2x3+O(x5).
Also,
(tanx)3=x3+O(x5),(sinx)3=x3+O(x5).
Hence
3(tanx)3+6(sinx)3=3x3+6x3+O(x5)=2x3+O(x5).
-
Substitute into the expression for f(x):
f(x)=1+2x3+O(x5)2x3+O(x5).
Therefore,
limx→0f(x)=1+1=2.
-
Since f(x) is continuous at x=0,
f(0)=2.
Thus the required integer is 2.
Comparison with stored answer: the stored correct answer is 2, which matches our derived result.