Those functions which are defined in such a way that they take different values just before and just after the point where you are discussing the limit of the function, then we find L.H.L. and R.H.L. shown below in the example :
Now, when we take L.H.L., then the value of f (x) will be as x is slightly less than 2.
Since L.H.L. ≠ R.H.L.
So, limit does not exists.
If the function is defined so that the values just before or just after the point say 'a' at which we are finding the limit are same, then we find only the .
For example –
Here, if x is slightly less than 3 or slightly more than 3, in each case we get x ≠ 3.
So function will be –x + 3.
and also f (3) = 0
So limit exists.