The correct option is
D 2xexWe have
g′(0)=2 and
g(x+y)=ey.g(x)+ex.g(y)
Substituting y=−x, we get
g(0)=e−x.g(x)+ex.g(−x)
If x=0,g(0)=2g(0)⇒g(0)=0 and thus,
g(x)+e2x.g(−x)=0 ... (i)
Now, differentiating the given equation w.r.t. x, we have
g′(x+y)=ey⋅g′(x)+ex⋅g(y)... (ii)
Also, differentiating the equation (i) w.r.t. x, we have
g′(x)=e2x(g′(−x)−2g(−x)) ... (iii)
Substituting (iii) in (ii), we get
g′(x+y)=eye2x(g′(−x)−2g(−x))+exg(y) ...(iv)
Assuming y=−x in (iv), we get
g′(0)=exg′(−x)−exg(−x)
⇒2e−x=g′(−x)−g(−x)
Assuming −x=X, we get
2eX=g′(X)−g(X)
⇒g′(X)=g(X)+2eX
Using property of linear differential equation, we get
g(X)=∫2eX⋅e∫−1 dXe∫−1 dX
⇒g(X)=2XeX
Hence, g(x)=2xex
Constant of integration is 0 as g(0)=0