Given f(x+y)=f(x)+f(y)+f(x)f(y)
Put x=y=0 in given relation.
⇒f(0)=f(0)+f(0)+f2(0)
⇒f(0)=0 or −1
∵f(x+y)=f(x)+f(y)+f(x)⋅f(y)
⇒yf(x+y)−f(x)=yf(y)(1+f(x))
⇒limy→0(yf(x+y)−f(x))=limy→0(1+f(x))⋅yf(y)
∵limx→0g(x)=limx→0xf(x)=1
⇒f′(x)=1+f(x)
⇒f′(0)=1+f(0)
⇒f′(0)=1+0
⇒f′(0)=1
Again 1+f(x)f′(x)=1⇒∫1+f(x)f′(x)dxdx=∫dx
⇒ln(1+f(x))=x+C
⇒ \ln \left[1 + f\left(x\right)\right] = x(∵C=0)
⇒1+f(x)=ex
⇒f(x)=ex−1⇒f′(x)=ex
⇒f′(1)=e
Also, f(x) is differentiable for every x∈R.
g(x)=xf(x)=xex−1y′(0+)=limh→0hg(0+h)−g(0)
If g(0)=1 then g′(0+)=limh→0hheh−1−1=limh→0h2eh−1−h=21
g′(0−)=limh→0−hg(0−h)−g(0)=limh→0−h−he−h−1
limh→0h2e−h−1+h=21
g(x) is differentiable for every x∈R.