We have to evaluate the limit
limx→0tanx−sinxtan(tanx)−sin(sinx)
because, for continuity at x=0, the value f(0) must equal this limit.
Step 1: Expand tanx and sinx about x=0 up to the order x3.
tanx=x+3x3+O(x5)
sinx=x−6x3+O(x5)
Step 2: Denote
A=tanx,B=sinx.
Using the results from Step 1,
A−B=(x+3x3)−(x−6x3)+O(x5)=2x3+O(x5).
Step 3: Expand tanA and sinB for small arguments A,B.
For any small y,
tany=y+3y3+O(y5),
siny=y−6y3+O(y5).
Applying these with y=A and y=B:
tan(tanx)=tanA=A+3A3+O(x5),
sin(sinx)=sinB=B−6B3+O(x5).
Step 4: Form the numerator.
tanA−sinB=(A−B)+(3A3+6B3)+O(x5).
Because A=x+O(x3) and B=x+O(x3), we have A3=x3+O(x5) and B3=x3+O(x5). Hence
3A3+6B3=3x3+6x3+O(x5)=2x3+O(x5).
Therefore
tanA−sinB=(2x3)+(2x3)+O(x5)=x3+O(x5).
Step 5: Form the denominator (already obtained in Step 2):
tanx−sinx=2x3+O(x5).
Step 6: Take the ratio and pass to the limit:
tanx−sinxtan(tanx)−sin(sinx)=2x3+O(x5)x3+O(x5)=2x3[1+O(x2)]x3[1+O(x2)]=2⋅1+O(x2)1+O(x2).
As x→0, the terms O(x2) vanish, giving
limx→0tanx−sinxtan(tanx)−sin(sinx)=2.
Hence, to make f(x) continuous at x=0, we must define
f(0)=2.
Answer: f(0)=2.