from the given function if we write domain it becomes;
for logx condition is x>0 from this we get
(1+x)>0
x>−1
from 2x2+x
we get (2+x)=0 that is x=−2 is not in our domain
so our domain is x>−1
for checking increasing or decreasing we need f′(x)
f′(x)=11+x−2(2+x)−2x(1)(2+x)2
f′(x)=(11+x)×(x2+x)2
we know that any squared expression is greater than or equal to zero;
(x2+x)2>0,equality occurs when x=0
and from domain (1+x)>0 which also means 11+x>0
so from this we can say that f′(x)>0 for all x>−1,except for x=0 it becomes 0.
so therefore we conclude that f(x) increases in the intervals xϵ(−1,0) and xϵ(0,∞)