Question
Mathematics Question on Continuity and differentiability
Let f(x)=xlog(1+ex)−log(1−x),x=0 . Then f is continuous at x=0 if f(0) =
A
e−1
B
log(e+1)
C
log(e−1)
D
(e+1)
Answer
(e+1)
Explanation
Solution
f(x)=xlog(1+ex)−log(1−x)
It is continuous at x=0
∴x→0−limf(x)=x→0+limf(x)=f(0)
x→0−limxlog(1+ex)−log(1−x)
=x→0−lim0−hlog(1+e(0−h))−log(1−(0−h))
=x→0−lim−hlog(1−eh)−log(1+h)
It is continuous at
−1=x→0−lim(1−eh1)(−e)−(1+h1)
=−11−e−1⇒e+1
∴f(0)=e+1