We need limx→0x4cos(sinx)−cosx so that f(0)=k1.
We use Taylor series. Recall sinx=x−6x3+120x5−⋯ and cosu=1−2u2+24u4−⋯
First, expand cosx up to x4: cosx=1−2x2+24x4−⋯ −(1)
Next, expand cos(sinx). We have sinx=x−6x3+⋯, so (sinx)2=(x−6x3)2=x2−3x4+⋯ (keeping terms up to x4).
Also (sinx)4=x4+⋯ (higher-order terms are x6 and above).
Therefore cos(sinx)=1−2(sinx)2+24(sinx)4−⋯=1−2x2−x4/3+24x4−⋯
=1−2x2+6x4+24x4+⋯=1−2x2+244x4+x4+⋯=1−2x2+245x4+⋯ −(2)
Subtracting (1) from (2): cos(sinx)−cosx=(1−2x2+245x4)−(1−2x2+24x4)+⋯=245x4−24x4+⋯=244x4+⋯=6x4+⋯
Therefore limx→0x4cos(sinx)−cosx=61.
Since f(0)=k1=61, we get k=6.