If y=x-log(1+x), then minimum value of y is
1
0
-1
12
y'(x)=1-11+x=x1+x The domain y is x>-1. so y'(x)=0⇒x=0
y''(x)=1(1+x)2>0. Hence y has min at x = 0 and ymin= 0-log1=0