We have been given a piece-wise definition
f(x)=⎩⎨⎧x1loge1−bx1+ax,k,x2+1−1cos2x−sin2x−1,x<0x=0x>0
and are told that the function is continuous at the point x=0. For continuity we must have
limx→0−f(x)=f(0)=limx→0+f(x)=k.
We shall therefore compute the left-hand limit (LHL) and the right-hand limit (RHL) separately and then equate them to k.
Left-hand limit
The expression to be handled for x<0 is
x1loge1−bx1+ax.
For small x, use the series expansion
loge(1+u)=u−2u2+3u3−⋯,∣u∣<1.
Put
u=axandv=bx.
Then
loge(1+u)=ax−2a2x2+O(x3),loge(1−v)=−(v+2v2+O(v3))=−bx−2b2x2+O(x3).
Therefore
loge(1−bx1+ax)=(ax−2a2x2)−(−bx−2b2x2)+O(x3)=x(a1+b1)+O(x2).
Dividing by x and letting x→0− gives
limx→0−f(x)=a1+b1.
Right-hand limit
For x>0 we have
x2+1−1cos2x−sin2x−1.
Recall the double-angle identity
cos2x−sin2x=cos2x.
Hence the numerator is cos2x−1. Using the Maclaurin series
cos2x=1−2(2x)2+24(2x)4−⋯=1−2x2+32x4−⋯,
we obtain
cos2x−1=−2x2+O(x4).
For the denominator employ the binomial expansion of the square root:
1+x2=1+2x2−8x4+O(x6),
so
1+x2−1=2x2−8x4+O(x6).
Now form the quotient:
1+x2−1cos2x−1=2x2+O(x4)−2x2+O(x4)=21+O(x2)−2+O(x2).
Letting x→0+ we get
limx→0+f(x)=−4.
Equating the limits to k
k=a1+b1=−4.
Required expression
a1+b1+k4=k+k4=−4+−44=−4−1=−5.
That value corresponds to Option D.
Hence, the correct answer is Option D.