Given
8x−2xkk−1 for x =0
f(x)=12 for x ≠0
Since f(x) is continuous at x=0
∴limx→0 f(x)=12
limx→08x−2xkk−1=12
Or limx→08x−2x=12(kk−1)
Or 1−1=12(kk−1)
Or 0=12(kk−1)
Or 0= kk−1
∴kk=1
Now taking log both sides
logkk=log1
klogk=0
Therefore either k=0 or logk=0
But if k=0 , then logk can not be defined.
So logk must be 0 which gives k=1.