f(x)=x+|x|x
Right limit at x=0
R.H.L.=f(0+0)
=limh→0f(0+h)
=limh→00+h+|0+h|0+h(h>0)
=limh→0h+|h|h
=limh→0h+hh
=limh→02hh=2....(i)
Left limit at x=0
L.H.L.=f(0−0)
=limh→0f(0−h)
=limh→00−h−(0−h)(0−h)(h<0)
=limh→0−h+h−h
=limh→00−h=∞...(ii)
It is clear from equation (i) and (ii),
L.H.L.≠R.H.L.
⇒f(0−0)≠x(0+0)
Hence, limit of function does not exist at x=0.