The tangent equation of curve y = Xe ^ x + 2x + 1 at point (0,1) is

The tangent equation of curve y = Xe ^ x + 2x + 1 at point (0,1) is

y'=e^x+xe^x+2
y'(0)=1+0+2=3
The tangent slope is 3
The tangent point is (0,1)
y-1=3x
y=3x+1