The given function is f(x)=x1+kx−1−kx for x<0 and f(x)=1−x1+2x for x>0. Let's calculate the left-hand (x→0−) and the right-hand (x→0+) limits of the function: x→0−limf(x)=x→0limx1+kx−1−kx which is an indeterminate from 00 . Let's rationalize by multiplying with the conjugate:=x→0limx1+kx−1−kx×1+kx+1−kx1+kx+1−kx=x→0limx1×1+kx+1−kx(1+kx)−(1−kx)=x→0lim1+kx+1−kx2k=k And, x→0+limf(x)=x→0lim1−x1+2x=1 Since, f(x) is given to be continuous at x = 0, both the left-hand and the right-hand side limits must be equal. ∴ k = 1.